[arch-commits] Commit in icecast/repos (18 files)

Lukas Fleischer lfleischer at nymeria.archlinux.org
Mon May 13 03:47:15 EDT 2013


    Date: Monday, May 13, 2013 @ 09:47:15
  Author: lfleischer
Revision: 90559

archrelease: copy trunk to community-i686, community-x86_64

Added:
  icecast/repos/community-i686/PKGBUILD
    (from rev 90558, icecast/trunk/PKGBUILD)
  icecast/repos/community-i686/icecast.logrotate
    (from rev 90558, icecast/trunk/icecast.logrotate)
  icecast/repos/community-i686/icecast.service
    (from rev 90558, icecast/trunk/icecast.service)
  icecast/repos/community-i686/start-by-nobody.patch
    (from rev 90558, icecast/trunk/start-by-nobody.patch)
  icecast/repos/community-x86_64/PKGBUILD
    (from rev 90558, icecast/trunk/PKGBUILD)
  icecast/repos/community-x86_64/icecast.logrotate
    (from rev 90558, icecast/trunk/icecast.logrotate)
  icecast/repos/community-x86_64/icecast.service
    (from rev 90558, icecast/trunk/icecast.service)
  icecast/repos/community-x86_64/start-by-nobody.patch
    (from rev 90558, 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

----------------------------------------+
 /PKGBUILD                              |  104 +++++++++++++++++++++++++++++++
 /icecast.logrotate                     |   16 ++++
 /icecast.service                       |   18 +++++
 /start-by-nobody.patch                 |   30 ++++++++
 community-i686/PKGBUILD                |   55 ----------------
 community-i686/icecast.logrotate       |    8 --
 community-i686/icecast.service         |    9 --
 community-i686/icecastd                |   66 -------------------
 community-i686/start-by-nobody.patch   |   15 ----
 community-x86_64/PKGBUILD              |   55 ----------------
 community-x86_64/icecast.logrotate     |    8 --
 community-x86_64/icecast.service       |    9 --
 community-x86_64/icecastd              |   66 -------------------
 community-x86_64/start-by-nobody.patch |   15 ----
 14 files changed, 168 insertions(+), 306 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-05-13 07:46:41 UTC (rev 90558)
+++ community-i686/PKGBUILD	2013-05-13 07:47:15 UTC (rev 90559)
@@ -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=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"
-}

Copied: icecast/repos/community-i686/PKGBUILD (from rev 90558, icecast/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-05-13 07:47:15 UTC (rev 90559)
@@ -0,0 +1,52 @@
+# $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=4
+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"
+        'icecast.logrotate'
+        'start-by-nobody.patch'
+        'icecast.service')
+md5sums=('2b5d1b40778922e5f6431b7758c359ad'
+         '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 logrotate config (taken from Fedora)
+  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-05-13 07:46:41 UTC (rev 90558)
+++ community-i686/icecast.logrotate	2013-05-13 07:47:15 UTC (rev 90559)
@@ -1,8 +0,0 @@
-/var/log/icecast/*log {
-    missingok
-    notifempty
-    sharedscripts
-    postrotate
-    endscript
-}
-

Copied: icecast/repos/community-i686/icecast.logrotate (from rev 90558, icecast/trunk/icecast.logrotate)
===================================================================
--- community-i686/icecast.logrotate	                        (rev 0)
+++ community-i686/icecast.logrotate	2013-05-13 07:47:15 UTC (rev 90559)
@@ -0,0 +1,8 @@
+/var/log/icecast/*log {
+    missingok
+    notifempty
+    sharedscripts
+    postrotate
+    endscript
+}
+

Deleted: community-i686/icecast.service
===================================================================
--- community-i686/icecast.service	2013-05-13 07:46:41 UTC (rev 90558)
+++ community-i686/icecast.service	2013-05-13 07:47:15 UTC (rev 90559)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Icecast Network Audio Streaming Server
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/icecast -c /etc/icecast.xml
-
-[Install]
-WantedBy=multi-user.target

Copied: icecast/repos/community-i686/icecast.service (from rev 90558, icecast/trunk/icecast.service)
===================================================================
--- community-i686/icecast.service	                        (rev 0)
+++ community-i686/icecast.service	2013-05-13 07:47:15 UTC (rev 90559)
@@ -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-05-13 07:46:41 UTC (rev 90558)
+++ community-i686/icecastd	2013-05-13 07:47:15 UTC (rev 90559)
@@ -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

Deleted: community-i686/start-by-nobody.patch
===================================================================
--- community-i686/start-by-nobody.patch	2013-05-13 07:46:41 UTC (rev 90558)
+++ community-i686/start-by-nobody.patch	2013-05-13 07:47:15 UTC (rev 90559)
@@ -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 90558, icecast/trunk/start-by-nobody.patch)
===================================================================
--- community-i686/start-by-nobody.patch	                        (rev 0)
+++ community-i686/start-by-nobody.patch	2013-05-13 07:47:15 UTC (rev 90559)
@@ -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-05-13 07:46:41 UTC (rev 90558)
+++ community-x86_64/PKGBUILD	2013-05-13 07:47:15 UTC (rev 90559)
@@ -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=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"
-}

Copied: icecast/repos/community-x86_64/PKGBUILD (from rev 90558, icecast/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-13 07:47:15 UTC (rev 90559)
@@ -0,0 +1,52 @@
+# $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=4
+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"
+        'icecast.logrotate'
+        'start-by-nobody.patch'
+        'icecast.service')
+md5sums=('2b5d1b40778922e5f6431b7758c359ad'
+         '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 logrotate config (taken from Fedora)
+  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-05-13 07:46:41 UTC (rev 90558)
+++ community-x86_64/icecast.logrotate	2013-05-13 07:47:15 UTC (rev 90559)
@@ -1,8 +0,0 @@
-/var/log/icecast/*log {
-    missingok
-    notifempty
-    sharedscripts
-    postrotate
-    endscript
-}
-

Copied: icecast/repos/community-x86_64/icecast.logrotate (from rev 90558, icecast/trunk/icecast.logrotate)
===================================================================
--- community-x86_64/icecast.logrotate	                        (rev 0)
+++ community-x86_64/icecast.logrotate	2013-05-13 07:47:15 UTC (rev 90559)
@@ -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-05-13 07:46:41 UTC (rev 90558)
+++ community-x86_64/icecast.service	2013-05-13 07:47:15 UTC (rev 90559)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Icecast Network Audio Streaming Server
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/icecast -c /etc/icecast.xml
-
-[Install]
-WantedBy=multi-user.target

Copied: icecast/repos/community-x86_64/icecast.service (from rev 90558, icecast/trunk/icecast.service)
===================================================================
--- community-x86_64/icecast.service	                        (rev 0)
+++ community-x86_64/icecast.service	2013-05-13 07:47:15 UTC (rev 90559)
@@ -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-05-13 07:46:41 UTC (rev 90558)
+++ community-x86_64/icecastd	2013-05-13 07:47:15 UTC (rev 90559)
@@ -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

Deleted: community-x86_64/start-by-nobody.patch
===================================================================
--- community-x86_64/start-by-nobody.patch	2013-05-13 07:46:41 UTC (rev 90558)
+++ community-x86_64/start-by-nobody.patch	2013-05-13 07:47:15 UTC (rev 90559)
@@ -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 90558, icecast/trunk/start-by-nobody.patch)
===================================================================
--- community-x86_64/start-by-nobody.patch	                        (rev 0)
+++ community-x86_64/start-by-nobody.patch	2013-05-13 07:47:15 UTC (rev 90559)
@@ -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