audio/squeezeboxserver - install error
Torfinn Ingolfsen
tingox at gmail.com
Fri May 4 13:06:30 UTC 2012
Hello,
There seems to be a small error in the install procedure for the
audio/squeezeboxserver port. I installed the latest version under
FreeBSD 8.3-stable.
At the end of "make install", it gives this output:
===> Installing rc.d startup script(s)
Adding squeezeboxserver log entry to /etc/newsyslog.conf.
touch: /var/log/squeezeboxserver/server.log: No such file or directory
chown: /var/log/squeezeboxserver/server.log: No such file or directory
and sure enough, the directory isn't created:
root at kg-v5# ls -l /var/log/squeezeboxserver
ls: /var/log/squeezeboxserver: No such file or directory
Looking at files/pkg-install.in in the port directory it is clear why
it doesn't work:
..
serverlogfile=/var/log/${name}/server.log
...
if [ ! -f ${serverlogfile} ]; then
touch ${serverlogfile}
chown -H ${u}:${g} ${serverlogfile}
fi
...
Should this be split into a log directory + logfile part, or is ther a
more elegant way to fix it?
--
Regards,
Torfinn Ingolfsen
More information about the freebsd-ports
mailing list