Date: Fri, 4 May 2012 15:06:28 +0200 From: Torfinn Ingolfsen <tingox@gmail.com> To: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: audio/squeezeboxserver - install error Message-ID: <CAJ_iqtbf-OYZTendRX=CyZwHQQuQj7sW1NyQY2o4zEJnmsCYAA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ_iqtbf-OYZTendRX=CyZwHQQuQj7sW1NyQY2o4zEJnmsCYAA>