diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2011-03-31 08:27:50 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2011-03-31 08:27:50 +0000 |
commit | 2d1f5c7758911890b79850336203c14f31ed6bf0 (patch) | |
tree | 15266f09169af74309de36640088bbfee8f9326f /testing/icecast | |
parent | 090a955573541a0c1f81095bb58bc26d812edac8 (diff) | |
download | aports-2d1f5c7758911890b79850336203c14f31ed6bf0.tar.bz2 aports-2d1f5c7758911890b79850336203c14f31ed6bf0.tar.xz |
testing/icecast: confd added
Diffstat (limited to 'testing/icecast')
-rw-r--r-- | testing/icecast/APKBUILD | 9 | ||||
-rw-r--r-- | testing/icecast/icecast.confd | 1 | ||||
-rw-r--r-- | testing/icecast/icecast.initd | 3 |
3 files changed, 8 insertions, 5 deletions
diff --git a/testing/icecast/APKBUILD b/testing/icecast/APKBUILD index 5c7cf97383..e280d103b2 100644 --- a/testing/icecast/APKBUILD +++ b/testing/icecast/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=icecast pkgver=2.3.2 -pkgrel=3 +pkgrel=4 pkgdesc="Open source media server" url="http://www.icecast.org" arch="all" @@ -15,7 +15,8 @@ makedepends="libxslt-dev libxml2-dev libogg-dev libvorbis-dev libtheora-dev open subpackages="$pkgname-doc" source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz conf-change-owner.patch - icecast.initd" + icecast.initd + icecast.confd" prepare() { cd "$srcdir"/$pkgname-$pkgver @@ -38,9 +39,11 @@ package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install install -D -m755 ../icecast.initd "$pkgdir"/etc/init.d/icecast + install -D -m755 ../icecast.confd "$pkgdir"/etc/conf.d/icecast install -d -D -o icecast -g icecast "$pkgdir"/var/log/icecast } md5sums="ff516b3ccd2bcc31e68f460cd316093f icecast-2.3.2.tar.gz d65fe756a3811e21fd8327ec599206c8 conf-change-owner.patch -0dc8432dbd5cba6a5ace22028adfe287 icecast.initd" +09ff43498c4f09b0076b10c659c6f71a icecast.initd +37ceeb26f61551e712364a2dffa8c208 icecast.confd" diff --git a/testing/icecast/icecast.confd b/testing/icecast/icecast.confd new file mode 100644 index 0000000000..80cdfc57fb --- /dev/null +++ b/testing/icecast/icecast.confd @@ -0,0 +1 @@ +ICEC_OPTS="-b -c ${icecast_conf:-/etc/icecast.xml}" diff --git a/testing/icecast/icecast.initd b/testing/icecast/icecast.initd index fbfc6a8432..b30027b2fe 100644 --- a/testing/icecast/icecast.initd +++ b/testing/icecast/icecast.initd @@ -8,8 +8,7 @@ depend() { start() { ebegin "Starting Icecast 2" start-stop-daemon --start --exec /usr/bin/icecast \ - -- \ - -b -c ${icecast_conf:-/etc/icecast.xml} > /dev/null + -- ${ICEC_OPTS} eend $? } |