From f13dcde71c6016d1e015deb7cd9dd34d4209c54f Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Fri, 31 Dec 2004 00:17:05 +0000 Subject: Various enhancements and fixes for slimserver: - Use a new system to track which files in the CPAN directory should be installed. As a side effect, generate most of the RUN_DEPENDS list at runtime. - Add a script to start softsqueeze. The javavm port and a Jave VM must be installed to the script to actually work. A dependency was not added at this point because that's a huge barrier. - Fix a bug in EXCEPTFILES processing. - Patch the configuration parsing code to default the cache and playlist directories to locations under /var/db/slimserver instead of the weird defaults. This will fix the cache on new installs. [0] - Bump port revision. Reported by: Kraig Vander Berg [0] --- audio/squeezecenter/pkg-install | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'audio/squeezecenter/pkg-install') diff --git a/audio/squeezecenter/pkg-install b/audio/squeezecenter/pkg-install index aaf7fbd5923d..a4141e4262fa 100644 --- a/audio/squeezecenter/pkg-install +++ b/audio/squeezecenter/pkg-install @@ -10,6 +10,7 @@ shell=/sbin/nologin comment="Slim Devices SlimServer pseudo-user" statedir=/var/db/slimserver cachedir=${statedir}/cache +playlistdir=${statedir}/playlists pidfile=/var/run/${name}.pid newsyslogfile=/etc/newsyslog.conf logfile=/var/log/slimserver.log @@ -49,6 +50,10 @@ POST-INSTALL) mkdir -p ${cachedir} chown -R ${u}:${g} ${cachedir} fi + if [ ! -d ${playlistdir} ]; then + mkdir -p ${playlistdir} + chown -R ${u}:${g} ${playlistdir} + fi if egrep -q "^${logfile}\>" ${newsyslogfile}; then echo "Using existing ${newsyslogfile} entry." else -- cgit v1.2.3