Commit 2d1f5c77 authored by Leonardo Arena's avatar Leonardo Arena

testing/icecast: confd added

parent 090a9555
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com> # Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=icecast pkgname=icecast
pkgver=2.3.2 pkgver=2.3.2
pkgrel=3 pkgrel=4
pkgdesc="Open source media server" pkgdesc="Open source media server"
url="http://www.icecast.org" url="http://www.icecast.org"
arch="all" arch="all"
...@@ -15,7 +15,8 @@ makedepends="libxslt-dev libxml2-dev libogg-dev libvorbis-dev libtheora-dev open ...@@ -15,7 +15,8 @@ makedepends="libxslt-dev libxml2-dev libogg-dev libvorbis-dev libtheora-dev open
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz
conf-change-owner.patch conf-change-owner.patch
icecast.initd" icecast.initd
icecast.confd"
prepare() { prepare() {
cd "$srcdir"/$pkgname-$pkgver cd "$srcdir"/$pkgname-$pkgver
...@@ -38,9 +39,11 @@ package() { ...@@ -38,9 +39,11 @@ package() {
cd "$srcdir"/$pkgname-$pkgver cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
install -D -m755 ../icecast.initd "$pkgdir"/etc/init.d/icecast 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 install -d -D -o icecast -g icecast "$pkgdir"/var/log/icecast
} }
md5sums="ff516b3ccd2bcc31e68f460cd316093f icecast-2.3.2.tar.gz md5sums="ff516b3ccd2bcc31e68f460cd316093f icecast-2.3.2.tar.gz
d65fe756a3811e21fd8327ec599206c8 conf-change-owner.patch d65fe756a3811e21fd8327ec599206c8 conf-change-owner.patch
0dc8432dbd5cba6a5ace22028adfe287 icecast.initd" 09ff43498c4f09b0076b10c659c6f71a icecast.initd
37ceeb26f61551e712364a2dffa8c208 icecast.confd"
ICEC_OPTS="-b -c ${icecast_conf:-/etc/icecast.xml}"
...@@ -8,8 +8,7 @@ depend() { ...@@ -8,8 +8,7 @@ depend() {
start() { start() {
ebegin "Starting Icecast 2" ebegin "Starting Icecast 2"
start-stop-daemon --start --exec /usr/bin/icecast \ start-stop-daemon --start --exec /usr/bin/icecast \
-- \ -- ${ICEC_OPTS}
-b -c ${icecast_conf:-/etc/icecast.xml} > /dev/null
eend $? eend $?
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment