Igor Zinovik wrote:
Fake framework complained that free-sa tried to install configuration
files in /etc/free-sa when ETCDIR was set to /etc/free-sa, so i changed
it to $(PREFIX)/etc/free-sa and made PREFIX overrideble (PREFIX ?=
/usr/local), but when i tried to install, all files were installed under
/usr/local.  Then i read about @sample instruction in
porting/config.html, i added them, but then i get problems with PLIST
generation.  I also tried to use FAKE_FLAGS, but also failed.

You should set ETCDIR to ${PREFIX}/share/examples/free-sa, then put on the packing list some @sample lines like in Squid's PLIST.

free-sa has one special twist.  It uses 2 file descriptors for each user
in log file, so it may show "Too many opened files" message and
terminates.  You have to increase your limit by doing ulimit -n
`total_users * 2'.  It is not a bug, and such behabiour is documented in
FAQ that is included in source code archive.

You can add a MESSAGE in pkg/ for that.
 Cheers
  Giovanni

Reply via email to