diff options
author | brooks <brooks@FreeBSD.org> | 2005-07-22 22:48:55 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2005-07-22 22:48:55 +0000 |
commit | e7d3e7df3d542340fa50ce6a82157eaa7b3feb50 (patch) | |
tree | 993443c614e1f32edd302e323567ac1d81bade0f /audio/squeezecenter | |
parent | c255a8ece411150d4f645e698f43acebd6392914 (diff) | |
download | FreeBSD-ports-e7d3e7df3d542340fa50ce6a82157eaa7b3feb50.zip FreeBSD-ports-e7d3e7df3d542340fa50ce6a82157eaa7b3feb50.tar.gz |
- Upgrade to slimserver 6.1.1.
- Don't quote IGNORE message.
- Don't put pid file in /var/run/slimserver/. It's now created early
enough to put it directly in /var/run/.
Diffstat (limited to 'audio/squeezecenter')
-rw-r--r-- | audio/squeezecenter/Makefile | 4 | ||||
-rw-r--r-- | audio/squeezecenter/distinfo | 4 | ||||
-rw-r--r-- | audio/squeezecenter/files/slimserver.sh.in | 9 | ||||
-rw-r--r-- | audio/squeezecenter/files/squeezecenter.sh.in | 9 |
4 files changed, 8 insertions, 18 deletions
diff --git a/audio/squeezecenter/Makefile b/audio/squeezecenter/Makefile index c7a2d61..5d054ed 100644 --- a/audio/squeezecenter/Makefile +++ b/audio/squeezecenter/Makefile @@ -6,7 +6,7 @@ # PORTNAME= slimserver -PORTVERSION?= 6.0.2 +PORTVERSION?= 6.1.1 PORTREVISION= 0 CATEGORIES= audio MASTER_SITES= http://www.slimdevices.com/downloads/${NIGHTLY}SlimServer_v${DISTVERSION}/ @@ -41,7 +41,7 @@ SLIMCPANPKGS= Compress-Zlib-1.33.tar.gz \ ALLFILES= ${DISTFILES} ${SLIMCPANPKGS} .if ${PERL_LEVEL} < 500800 -IGNORE= "Perl 5.8 or newer required. Install lang/perl5.8 and try again." +IGNORE= Perl 5.8 or newer required. Install lang/perl5.8 and try again. .endif .if ${OSVERSION} < 502110 diff --git a/audio/squeezecenter/distinfo b/audio/squeezecenter/distinfo index bdd46f7..626a49a 100644 --- a/audio/squeezecenter/distinfo +++ b/audio/squeezecenter/distinfo @@ -1,5 +1,5 @@ -MD5 (slimserver/SlimServer_v6.0.2.no-cpan-arch.tar.gz) = 10e52b095ead3b88b1a126aab9812a7c -SIZE (slimserver/SlimServer_v6.0.2.no-cpan-arch.tar.gz) = 6011445 +MD5 (slimserver/SlimServer_v6.1.1.no-cpan-arch.tar.gz) = 241e4ba20bc7a80baae94b4419e56352 +SIZE (slimserver/SlimServer_v6.1.1.no-cpan-arch.tar.gz) = 6149126 MD5 (slimserver/Compress-Zlib-1.33.tar.gz) = 724552bde7f380e8c8a9da00a9bbc3d2 SIZE (slimserver/Compress-Zlib-1.33.tar.gz) = 113859 MD5 (slimserver/DBI-1.46.tar.gz) = 863034a912ae56968e48d1c30d5954ef diff --git a/audio/squeezecenter/files/slimserver.sh.in b/audio/squeezecenter/files/slimserver.sh.in index 91838a0..d4617c1 100644 --- a/audio/squeezecenter/files/slimserver.sh.in +++ b/audio/squeezecenter/files/slimserver.sh.in @@ -21,7 +21,7 @@ stop_cmd="slimserver_stop" rcvar=`set_rcvar` command=%%PREFIX%%/%%SLIMDIR%%/slimserver.pl -pidfile=/var/run/slimserver/${name}.pid +pidfile=/var/run/${name}.pid logfile=/var/log/slimserver.log statedir=/var/db/slimserver cachedir=${statedir}/cache @@ -47,10 +47,6 @@ slimserver_start_precmd() mkdir -p ${playlistdir} chown -R ${u}:${g} ${playlistdir} fi - if [ ! -d /var/run/slimserver ]; then - mkdir -p /var/run/slimserver - chown -R ${u}:${g} /var/run/slimserver - fi if [ ! -f ${conffile} ]; then touch ${conffile} chown ${u}:${g} ${conffile} @@ -82,10 +78,9 @@ slimserver_stop() rm -f ${pidfile} } -# set defaults +load_rc_config ${name} slimserver_enable=${slimserver_enable:-"NO"} slimserver_flags=${slimserver_flags:-""} -load_rc_config ${name} run_rc_command "$1" diff --git a/audio/squeezecenter/files/squeezecenter.sh.in b/audio/squeezecenter/files/squeezecenter.sh.in index 91838a0..d4617c1 100644 --- a/audio/squeezecenter/files/squeezecenter.sh.in +++ b/audio/squeezecenter/files/squeezecenter.sh.in @@ -21,7 +21,7 @@ stop_cmd="slimserver_stop" rcvar=`set_rcvar` command=%%PREFIX%%/%%SLIMDIR%%/slimserver.pl -pidfile=/var/run/slimserver/${name}.pid +pidfile=/var/run/${name}.pid logfile=/var/log/slimserver.log statedir=/var/db/slimserver cachedir=${statedir}/cache @@ -47,10 +47,6 @@ slimserver_start_precmd() mkdir -p ${playlistdir} chown -R ${u}:${g} ${playlistdir} fi - if [ ! -d /var/run/slimserver ]; then - mkdir -p /var/run/slimserver - chown -R ${u}:${g} /var/run/slimserver - fi if [ ! -f ${conffile} ]; then touch ${conffile} chown ${u}:${g} ${conffile} @@ -82,10 +78,9 @@ slimserver_stop() rm -f ${pidfile} } -# set defaults +load_rc_config ${name} slimserver_enable=${slimserver_enable:-"NO"} slimserver_flags=${slimserver_flags:-""} -load_rc_config ${name} run_rc_command "$1" |