> First, I must say the installation and initial setup have improved, 
> specially by splitting post-install configuration. Thanks for that.

No problem, let me know if there are still additional abstractions you need 
as we've only tested on Linux so far.

> I still had to make changes for FreeBSD, like specific to its PostgreSQL 
> installation. I'll send patches for the ones that are worth integrating 
> (which possibly apply to other platforms).

Yeah we're seeing some similar issues from Linux distro to Linux distro, so 
maybe your changes will help them too.

> agent=fosscp_agent host=localhost | 
> /usr/local/lib/fossology/agents/engine-shell fosscp_agent 
> '/usr/local/bin/cp2foss {*}'

I think there is supposed to be a % before the { above.
The section in mkschedconf.c that generates that line is

  /** fosscp **/
  fprintf(Fout,"agent=fosscp_agent %s| ",CmdHost);
  memset(Cmd,'\0',sizeof(Cmd));
  snprintf(Cmd,sizeof(Cmd)-1,Rcmd,"%s/engine-shell fosscp_agent '%s/cp2foss 
%{*}'");
  fprintf(Fout,Cmd,AGENTDIR,BINDIR);
  fprintf(Fout,"\n");


Maybe the freebsd snprintf is stealing the %? Do you get any 
warnings/errors when building that file? Let me know if you come up with 
syntax that's more portable.

Thanks,

-- 
Matt Taggart
[email protected]


_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to