[arch-commits] Commit in icecast/repos (20 files)
Lukas Fleischer
lfleischer at nymeria.archlinux.org
Fri Feb 8 17:31:50 UTC 2013
Date: Friday, February 8, 2013 @ 18:31:49
Author: lfleischer
Revision: 84031
archrelease: copy trunk to community-i686, community-x86_64
Added:
icecast/repos/community-i686/PKGBUILD
(from rev 84030, icecast/trunk/PKGBUILD)
icecast/repos/community-i686/icecast.logrotate
(from rev 84030, icecast/trunk/icecast.logrotate)
icecast/repos/community-i686/icecast.service
(from rev 84030, icecast/trunk/icecast.service)
icecast/repos/community-i686/icecastd
(from rev 84030, icecast/trunk/icecastd)
icecast/repos/community-i686/start-by-nobody.patch
(from rev 84030, icecast/trunk/start-by-nobody.patch)
icecast/repos/community-x86_64/PKGBUILD
(from rev 84030, icecast/trunk/PKGBUILD)
icecast/repos/community-x86_64/icecast.logrotate
(from rev 84030, icecast/trunk/icecast.logrotate)
icecast/repos/community-x86_64/icecast.service
(from rev 84030, icecast/trunk/icecast.service)
icecast/repos/community-x86_64/icecastd
(from rev 84030, icecast/trunk/icecastd)
icecast/repos/community-x86_64/start-by-nobody.patch
(from rev 84030, icecast/trunk/start-by-nobody.patch)
Deleted:
icecast/repos/community-i686/PKGBUILD
icecast/repos/community-i686/icecast.logrotate
icecast/repos/community-i686/icecast.service
icecast/repos/community-i686/icecastd
icecast/repos/community-i686/start-by-nobody.patch
icecast/repos/community-x86_64/PKGBUILD
icecast/repos/community-x86_64/icecast.logrotate
icecast/repos/community-x86_64/icecast.service
icecast/repos/community-x86_64/icecastd
icecast/repos/community-x86_64/start-by-nobody.patch
----------------------------------------+
community-i686/PKGBUILD | 110 ++++++++++++-------------
community-i686/icecast.logrotate | 16 +--
community-i686/icecast.service | 18 ++--
community-i686/icecastd | 132 +++++++++++++++----------------
community-i686/start-by-nobody.patch | 30 +++----
community-x86_64/PKGBUILD | 110 ++++++++++++-------------
community-x86_64/icecast.logrotate | 16 +--
community-x86_64/icecast.service | 18 ++--
community-x86_64/icecastd | 132 +++++++++++++++----------------
community-x86_64/start-by-nobody.patch | 30 +++----
10 files changed, 306 insertions(+), 306 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-02-08 17:31:30 UTC (rev 84030)
+++ community-i686/PKGBUILD 2013-02-08 17:31:49 UTC (rev 84031)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Jason Chu <jchu at xentac.net>
-
-pkgname=icecast
-pkgver=2.3.3
-pkgrel=2
-pkgdesc='Streaming audio over the Internet'
-arch=('i686' 'x86_64')
-license=('GPL')
-url='http://www.icecast.org/'
-depends=('libxslt' 'libvorbis' 'curl' 'speex' 'libtheora')
-backup=('etc/icecast.xml'
- 'etc/logrotate.d/icecast')
-source=("http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- 'icecastd'
- 'icecast.logrotate'
- 'start-by-nobody.patch'
- 'icecast.service')
-md5sums=('2b5d1b40778922e5f6431b7758c359ad'
- 'e823c1fdb080aae3d0c54ef8be95f7cb'
- '59c6552bcb1dd9fb542af8670dfabd3c'
- 'd8e929d2214123a1954da4383bf16583'
- 'ada6c389351af0487b5c62198adb4e2f')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -Np1 -i "${srcdir}/start-by-nobody.patch"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- # install man page
- sed -i -e 's/icecast2/icecast/g' debian/icecast2.1
- install -Dm644 debian/icecast2.1 "${pkgdir}/usr/share/man/man1/icecast.1"
-
- # install rc.d script and logrotate config (taken from Fedora)
- install -Dm755 "${srcdir}/icecastd" "${pkgdir}/etc/rc.d/icecast"
- install -Dm644 "${srcdir}/icecast.logrotate" "${pkgdir}/etc/logrotate.d/icecast"
-
- # create log directory
- install -d -g99 -o99 "${pkgdir}/var/log/icecast"
-
- # install systemd unit
- install -Dm0644 "${srcdir}/icecast.service" "${pkgdir}/usr/lib/systemd/system/icecast.service"
-}
Copied: icecast/repos/community-i686/PKGBUILD (from rev 84030, icecast/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-02-08 17:31:49 UTC (rev 84031)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Jason Chu <jchu at xentac.net>
+
+pkgname=icecast
+pkgver=2.3.3
+pkgrel=3
+pkgdesc='Streaming audio over the Internet'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://www.icecast.org/'
+depends=('libxslt' 'libvorbis' 'curl' 'speex' 'libtheora')
+backup=('etc/icecast.xml'
+ 'etc/logrotate.d/icecast')
+source=("http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'icecastd'
+ 'icecast.logrotate'
+ 'start-by-nobody.patch'
+ 'icecast.service')
+md5sums=('2b5d1b40778922e5f6431b7758c359ad'
+ 'e823c1fdb080aae3d0c54ef8be95f7cb'
+ '59c6552bcb1dd9fb542af8670dfabd3c'
+ 'd8e929d2214123a1954da4383bf16583'
+ '1468e59f76de194579b615889e20198f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np1 -i "${srcdir}/start-by-nobody.patch"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ # install man page
+ sed -i -e 's/icecast2/icecast/g' debian/icecast2.1
+ install -Dm644 debian/icecast2.1 "${pkgdir}/usr/share/man/man1/icecast.1"
+
+ # install rc.d script and logrotate config (taken from Fedora)
+ install -Dm755 "${srcdir}/icecastd" "${pkgdir}/etc/rc.d/icecast"
+ install -Dm644 "${srcdir}/icecast.logrotate" "${pkgdir}/etc/logrotate.d/icecast"
+
+ # create log directory
+ install -d -g99 -o99 "${pkgdir}/var/log/icecast"
+
+ # install systemd unit
+ install -Dm0644 "${srcdir}/icecast.service" "${pkgdir}/usr/lib/systemd/system/icecast.service"
+}
Deleted: community-i686/icecast.logrotate
===================================================================
--- community-i686/icecast.logrotate 2013-02-08 17:31:30 UTC (rev 84030)
+++ community-i686/icecast.logrotate 2013-02-08 17:31:49 UTC (rev 84031)
@@ -1,8 +0,0 @@
-/var/log/icecast/*log {
- missingok
- notifempty
- sharedscripts
- postrotate
- endscript
-}
-
Copied: icecast/repos/community-i686/icecast.logrotate (from rev 84030, icecast/trunk/icecast.logrotate)
===================================================================
--- community-i686/icecast.logrotate (rev 0)
+++ community-i686/icecast.logrotate 2013-02-08 17:31:49 UTC (rev 84031)
@@ -0,0 +1,8 @@
+/var/log/icecast/*log {
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ endscript
+}
+
Deleted: community-i686/icecast.service
===================================================================
--- community-i686/icecast.service 2013-02-08 17:31:30 UTC (rev 84030)
+++ community-i686/icecast.service 2013-02-08 17:31:49 UTC (rev 84031)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Icecast Network Audio Streaming Server
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/icecast -b -c /etc/icecast.xml
-
-[Install]
-WantedBy=multi-user.target
Copied: icecast/repos/community-i686/icecast.service (from rev 84030, icecast/trunk/icecast.service)
===================================================================
--- community-i686/icecast.service (rev 0)
+++ community-i686/icecast.service 2013-02-08 17:31:49 UTC (rev 84031)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Icecast Network Audio Streaming Server
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/icecast -c /etc/icecast.xml
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-i686/icecastd
===================================================================
--- community-i686/icecastd 2013-02-08 17:31:30 UTC (rev 84030)
+++ community-i686/icecastd 2013-02-08 17:31:49 UTC (rev 84031)
@@ -1,66 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-timeo=30
-
-getPID() {
- pgrep -u nobody icecast 2>/dev/null
-}
-
-case $1 in
- start)
- stat_busy "Starting Icecast Server"
- if getPID >/dev/null; then
- # already running
- stat_fail
- exit 1
- else
- /usr/bin/icecast -b -c /etc/icecast.xml &>/dev/null
- while (( timeo > 0 )); do
- if getPID >/dev/null; then
- add_daemon icecast
- stat_done
- exit 0
- fi
- sleep 1
- (( timeo-- ))
- done
- stat_fail
- exit 1
- fi
- ;;
-
- stop)
- stat_busy "Stopping Icecast Server"
- if ! getPID >/dev/null; then
- # not running
- stat_done
- exit 1
- fi
- if ! kill $(getPID) &> /dev/null; then
- stat_fail
- exit 1
- fi
- while (( timeo > 0 )); do
- if getPID >/dev/null; then
- rm_daemon icecast
- stat_done
- exit 0
- fi
- sleep 1
- (( timeo-- ))
- done
- stat_fail
- exit 1
- ;;
-
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Copied: icecast/repos/community-i686/icecastd (from rev 84030, icecast/trunk/icecastd)
===================================================================
--- community-i686/icecastd (rev 0)
+++ community-i686/icecastd 2013-02-08 17:31:49 UTC (rev 84031)
@@ -0,0 +1,66 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+timeo=30
+
+getPID() {
+ pgrep -u nobody icecast 2>/dev/null
+}
+
+case $1 in
+ start)
+ stat_busy "Starting Icecast Server"
+ if getPID >/dev/null; then
+ # already running
+ stat_fail
+ exit 1
+ else
+ /usr/bin/icecast -b -c /etc/icecast.xml &>/dev/null
+ while (( timeo > 0 )); do
+ if getPID >/dev/null; then
+ add_daemon icecast
+ stat_done
+ exit 0
+ fi
+ sleep 1
+ (( timeo-- ))
+ done
+ stat_fail
+ exit 1
+ fi
+ ;;
+
+ stop)
+ stat_busy "Stopping Icecast Server"
+ if ! getPID >/dev/null; then
+ # not running
+ stat_done
+ exit 1
+ fi
+ if ! kill $(getPID) &> /dev/null; then
+ stat_fail
+ exit 1
+ fi
+ while (( timeo > 0 )); do
+ if getPID >/dev/null; then
+ rm_daemon icecast
+ stat_done
+ exit 0
+ fi
+ sleep 1
+ (( timeo-- ))
+ done
+ stat_fail
+ exit 1
+ ;;
+
+ restart)
+ $0 stop
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Deleted: community-i686/start-by-nobody.patch
===================================================================
--- community-i686/start-by-nobody.patch 2013-02-08 17:31:30 UTC (rev 84030)
+++ community-i686/start-by-nobody.patch 2013-02-08 17:31:49 UTC (rev 84031)
@@ -1,15 +0,0 @@
---- icecast-2.3.2/conf/icecast.xml.in~ 2010-11-12 16:47:54.750000918 +0100
-+++ icecast-2.3.2/conf/icecast.xml.in 2010-11-12 16:48:08.086667585 +0100
-@@ -164,11 +164,9 @@
-
- <security>
- <chroot>0</chroot>
-- <!--
- <changeowner>
- <user>nobody</user>
-- <group>nogroup</group>
-+ <group>nobody</group>
- </changeowner>
-- -->
- </security>
- </icecast>
Copied: icecast/repos/community-i686/start-by-nobody.patch (from rev 84030, icecast/trunk/start-by-nobody.patch)
===================================================================
--- community-i686/start-by-nobody.patch (rev 0)
+++ community-i686/start-by-nobody.patch 2013-02-08 17:31:49 UTC (rev 84031)
@@ -0,0 +1,15 @@
+--- icecast-2.3.2/conf/icecast.xml.in~ 2010-11-12 16:47:54.750000918 +0100
++++ icecast-2.3.2/conf/icecast.xml.in 2010-11-12 16:48:08.086667585 +0100
+@@ -164,11 +164,9 @@
+
+ <security>
+ <chroot>0</chroot>
+- <!--
+ <changeowner>
+ <user>nobody</user>
+- <group>nogroup</group>
++ <group>nobody</group>
+ </changeowner>
+- -->
+ </security>
+ </icecast>
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-02-08 17:31:30 UTC (rev 84030)
+++ community-x86_64/PKGBUILD 2013-02-08 17:31:49 UTC (rev 84031)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: Jason Chu <jchu at xentac.net>
-
-pkgname=icecast
-pkgver=2.3.3
-pkgrel=2
-pkgdesc='Streaming audio over the Internet'
-arch=('i686' 'x86_64')
-license=('GPL')
-url='http://www.icecast.org/'
-depends=('libxslt' 'libvorbis' 'curl' 'speex' 'libtheora')
-backup=('etc/icecast.xml'
- 'etc/logrotate.d/icecast')
-source=("http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- 'icecastd'
- 'icecast.logrotate'
- 'start-by-nobody.patch'
- 'icecast.service')
-md5sums=('2b5d1b40778922e5f6431b7758c359ad'
- 'e823c1fdb080aae3d0c54ef8be95f7cb'
- '59c6552bcb1dd9fb542af8670dfabd3c'
- 'd8e929d2214123a1954da4383bf16583'
- 'ada6c389351af0487b5c62198adb4e2f')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -Np1 -i "${srcdir}/start-by-nobody.patch"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- # install man page
- sed -i -e 's/icecast2/icecast/g' debian/icecast2.1
- install -Dm644 debian/icecast2.1 "${pkgdir}/usr/share/man/man1/icecast.1"
-
- # install rc.d script and logrotate config (taken from Fedora)
- install -Dm755 "${srcdir}/icecastd" "${pkgdir}/etc/rc.d/icecast"
- install -Dm644 "${srcdir}/icecast.logrotate" "${pkgdir}/etc/logrotate.d/icecast"
-
- # create log directory
- install -d -g99 -o99 "${pkgdir}/var/log/icecast"
-
- # install systemd unit
- install -Dm0644 "${srcdir}/icecast.service" "${pkgdir}/usr/lib/systemd/system/icecast.service"
-}
Copied: icecast/repos/community-x86_64/PKGBUILD (from rev 84030, icecast/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-02-08 17:31:49 UTC (rev 84031)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Jason Chu <jchu at xentac.net>
+
+pkgname=icecast
+pkgver=2.3.3
+pkgrel=3
+pkgdesc='Streaming audio over the Internet'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://www.icecast.org/'
+depends=('libxslt' 'libvorbis' 'curl' 'speex' 'libtheora')
+backup=('etc/icecast.xml'
+ 'etc/logrotate.d/icecast')
+source=("http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'icecastd'
+ 'icecast.logrotate'
+ 'start-by-nobody.patch'
+ 'icecast.service')
+md5sums=('2b5d1b40778922e5f6431b7758c359ad'
+ 'e823c1fdb080aae3d0c54ef8be95f7cb'
+ '59c6552bcb1dd9fb542af8670dfabd3c'
+ 'd8e929d2214123a1954da4383bf16583'
+ '1468e59f76de194579b615889e20198f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np1 -i "${srcdir}/start-by-nobody.patch"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ # install man page
+ sed -i -e 's/icecast2/icecast/g' debian/icecast2.1
+ install -Dm644 debian/icecast2.1 "${pkgdir}/usr/share/man/man1/icecast.1"
+
+ # install rc.d script and logrotate config (taken from Fedora)
+ install -Dm755 "${srcdir}/icecastd" "${pkgdir}/etc/rc.d/icecast"
+ install -Dm644 "${srcdir}/icecast.logrotate" "${pkgdir}/etc/logrotate.d/icecast"
+
+ # create log directory
+ install -d -g99 -o99 "${pkgdir}/var/log/icecast"
+
+ # install systemd unit
+ install -Dm0644 "${srcdir}/icecast.service" "${pkgdir}/usr/lib/systemd/system/icecast.service"
+}
Deleted: community-x86_64/icecast.logrotate
===================================================================
--- community-x86_64/icecast.logrotate 2013-02-08 17:31:30 UTC (rev 84030)
+++ community-x86_64/icecast.logrotate 2013-02-08 17:31:49 UTC (rev 84031)
@@ -1,8 +0,0 @@
-/var/log/icecast/*log {
- missingok
- notifempty
- sharedscripts
- postrotate
- endscript
-}
-
Copied: icecast/repos/community-x86_64/icecast.logrotate (from rev 84030, icecast/trunk/icecast.logrotate)
===================================================================
--- community-x86_64/icecast.logrotate (rev 0)
+++ community-x86_64/icecast.logrotate 2013-02-08 17:31:49 UTC (rev 84031)
@@ -0,0 +1,8 @@
+/var/log/icecast/*log {
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ endscript
+}
+
Deleted: community-x86_64/icecast.service
===================================================================
--- community-x86_64/icecast.service 2013-02-08 17:31:30 UTC (rev 84030)
+++ community-x86_64/icecast.service 2013-02-08 17:31:49 UTC (rev 84031)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Icecast Network Audio Streaming Server
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/icecast -b -c /etc/icecast.xml
-
-[Install]
-WantedBy=multi-user.target
Copied: icecast/repos/community-x86_64/icecast.service (from rev 84030, icecast/trunk/icecast.service)
===================================================================
--- community-x86_64/icecast.service (rev 0)
+++ community-x86_64/icecast.service 2013-02-08 17:31:49 UTC (rev 84031)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Icecast Network Audio Streaming Server
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/icecast -c /etc/icecast.xml
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/icecastd
===================================================================
--- community-x86_64/icecastd 2013-02-08 17:31:30 UTC (rev 84030)
+++ community-x86_64/icecastd 2013-02-08 17:31:49 UTC (rev 84031)
@@ -1,66 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-timeo=30
-
-getPID() {
- pgrep -u nobody icecast 2>/dev/null
-}
-
-case $1 in
- start)
- stat_busy "Starting Icecast Server"
- if getPID >/dev/null; then
- # already running
- stat_fail
- exit 1
- else
- /usr/bin/icecast -b -c /etc/icecast.xml &>/dev/null
- while (( timeo > 0 )); do
- if getPID >/dev/null; then
- add_daemon icecast
- stat_done
- exit 0
- fi
- sleep 1
- (( timeo-- ))
- done
- stat_fail
- exit 1
- fi
- ;;
-
- stop)
- stat_busy "Stopping Icecast Server"
- if ! getPID >/dev/null; then
- # not running
- stat_done
- exit 1
- fi
- if ! kill $(getPID) &> /dev/null; then
- stat_fail
- exit 1
- fi
- while (( timeo > 0 )); do
- if getPID >/dev/null; then
- rm_daemon icecast
- stat_done
- exit 0
- fi
- sleep 1
- (( timeo-- ))
- done
- stat_fail
- exit 1
- ;;
-
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Copied: icecast/repos/community-x86_64/icecastd (from rev 84030, icecast/trunk/icecastd)
===================================================================
--- community-x86_64/icecastd (rev 0)
+++ community-x86_64/icecastd 2013-02-08 17:31:49 UTC (rev 84031)
@@ -0,0 +1,66 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+timeo=30
+
+getPID() {
+ pgrep -u nobody icecast 2>/dev/null
+}
+
+case $1 in
+ start)
+ stat_busy "Starting Icecast Server"
+ if getPID >/dev/null; then
+ # already running
+ stat_fail
+ exit 1
+ else
+ /usr/bin/icecast -b -c /etc/icecast.xml &>/dev/null
+ while (( timeo > 0 )); do
+ if getPID >/dev/null; then
+ add_daemon icecast
+ stat_done
+ exit 0
+ fi
+ sleep 1
+ (( timeo-- ))
+ done
+ stat_fail
+ exit 1
+ fi
+ ;;
+
+ stop)
+ stat_busy "Stopping Icecast Server"
+ if ! getPID >/dev/null; then
+ # not running
+ stat_done
+ exit 1
+ fi
+ if ! kill $(getPID) &> /dev/null; then
+ stat_fail
+ exit 1
+ fi
+ while (( timeo > 0 )); do
+ if getPID >/dev/null; then
+ rm_daemon icecast
+ stat_done
+ exit 0
+ fi
+ sleep 1
+ (( timeo-- ))
+ done
+ stat_fail
+ exit 1
+ ;;
+
+ restart)
+ $0 stop
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Deleted: community-x86_64/start-by-nobody.patch
===================================================================
--- community-x86_64/start-by-nobody.patch 2013-02-08 17:31:30 UTC (rev 84030)
+++ community-x86_64/start-by-nobody.patch 2013-02-08 17:31:49 UTC (rev 84031)
@@ -1,15 +0,0 @@
---- icecast-2.3.2/conf/icecast.xml.in~ 2010-11-12 16:47:54.750000918 +0100
-+++ icecast-2.3.2/conf/icecast.xml.in 2010-11-12 16:48:08.086667585 +0100
-@@ -164,11 +164,9 @@
-
- <security>
- <chroot>0</chroot>
-- <!--
- <changeowner>
- <user>nobody</user>
-- <group>nogroup</group>
-+ <group>nobody</group>
- </changeowner>
-- -->
- </security>
- </icecast>
Copied: icecast/repos/community-x86_64/start-by-nobody.patch (from rev 84030, icecast/trunk/start-by-nobody.patch)
===================================================================
--- community-x86_64/start-by-nobody.patch (rev 0)
+++ community-x86_64/start-by-nobody.patch 2013-02-08 17:31:49 UTC (rev 84031)
@@ -0,0 +1,15 @@
+--- icecast-2.3.2/conf/icecast.xml.in~ 2010-11-12 16:47:54.750000918 +0100
++++ icecast-2.3.2/conf/icecast.xml.in 2010-11-12 16:48:08.086667585 +0100
+@@ -164,11 +164,9 @@
+
+ <security>
+ <chroot>0</chroot>
+- <!--
+ <changeowner>
+ <user>nobody</user>
+- <group>nogroup</group>
++ <group>nobody</group>
+ </changeowner>
+- -->
+ </security>
+ </icecast>
More information about the arch-commits
mailing list