diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2004-09-23 05:21:42 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2004-09-23 05:21:42 +0000 |
commit | 2345c091569f894ab8e0992e94fd9f37f4eed481 (patch) | |
tree | d8913d2e5555e9d271f180473a7891dcb03e4a7a /audio/squeezecenter/pkg-install | |
parent | - fixes some problems with two-stage name-lookup; (diff) |
Upgrade to 5.3.0. This fixes a minior security problem where
"a thirdparty web page could cause your browser to trigger changes to
setup." The other major change is support for the new graphical display
shipping standard on all Squeezeboxes.
Because I had it already done in perforce and doing an upgrade without
it would be more difficult, I have also modified the port to auto
generate its pkg-plist.
Approved by: portmgr (linimon)
Notes
Notes:
svn path=/head/; revision=118349
Diffstat (limited to 'audio/squeezecenter/pkg-install')
-rw-r--r-- | audio/squeezecenter/pkg-install | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/audio/squeezecenter/pkg-install b/audio/squeezecenter/pkg-install index bc5b8c3e11f5..aaf7fbd5923d 100644 --- a/audio/squeezecenter/pkg-install +++ b/audio/squeezecenter/pkg-install @@ -11,6 +11,7 @@ comment="Slim Devices SlimServer pseudo-user" statedir=/var/db/slimserver cachedir=${statedir}/cache pidfile=/var/run/${name}.pid +newsyslogfile=/etc/newsyslog.conf logfile=/var/log/slimserver.log logcomment="# added by audio/slimserver port" logline="${logfile} ${u}:${g} 644 3 100 * Z ${pidfile}" @@ -48,12 +49,12 @@ POST-INSTALL) mkdir -p ${cachedir} chown -R ${u}:${g} ${cachedir} fi - if egrep -q "^${logfile}\>" /etc/newsyslog.conf; then - echo "Using existing /etc/newsyslog.conf entry." + if egrep -q "^${logfile}\>" ${newsyslogfile}; then + echo "Using existing ${newsyslogfile} entry." else - echo "Adding slimserver log entry to /etc/newsyslog.conf." - echo "$logcomment" >> /etc/newsyslog.conf - echo "$logline" >> /etc/newsyslog.conf + echo "Adding slimserver log entry to ${newsyslogfile}." + echo "$logcomment" >> ${newsyslogfile} + echo "$logline" >> ${newsyslogfile} fi ;; esac |