[arch-commits] Commit in icecast/repos/extra-x86_64 (3 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Wed Dec 24 10:32:26 UTC 2008


    Date: Wednesday, December 24, 2008 @ 05:32:26
  Author: andyrtr
Revision: 22243

readd the extra repo dir x86_64

Added:
  icecast/repos/extra-x86_64/PKGBUILD
    (from rev 22241, icecast/trunk/PKGBUILD)
  icecast/repos/extra-x86_64/icecast
    (from rev 22241, icecast/trunk/icecast)
  icecast/repos/extra-x86_64/icecast.logrotate
    (from rev 22241, icecast/trunk/icecast.logrotate)

-------------------+
 PKGBUILD          |   38 ++++++++++++++++++++++++++++++++++++++
 icecast           |   35 +++++++++++++++++++++++++++++++++++
 icecast.logrotate |    9 +++++++++
 3 files changed, 82 insertions(+)

Copied: icecast/repos/extra-x86_64/PKGBUILD (from rev 22241, icecast/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2008-12-24 10:32:26 UTC (rev 22243)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributer: Jason Chu <jchu at xentac.net>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=icecast
+pkgver=2.3.2
+pkgrel=1
+pkgdesc="Streaming OGG and MP3 server. Replacement for shoutcase."
+arch=(i686 x86_64)
+license=('GPL')
+url="http://www.icecast.org/"
+depends=('libxslt' 'libvorbis' 'curl>=7.19.2' 'speex' 'libtheora')
+makedepends=('sed')
+backup=('etc/icecast.xml')
+source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz
+        icecast icecast.logrotate)
+md5sums=('ff516b3ccd2bcc31e68f460cd316093f'
+         'fe65f4d6826a750a868227b9d86f1be3'
+         '8fad3bf3283fa2bd651b71fdf505eae9')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+  make || return 1
+  make DESTDIR=${pkgdir} install || return 1
+
+  # install man-page
+  sed -i -e 's/icecast2/icecast/g' debian/icecast2.1
+  install -D -m 644 debian/icecast2.1 ${pkgdir}/usr/share/man/man1/icecast.1
+
+  # init file
+  install -D -m755 ${srcdir}/icecast ${pkgdir}/etc/rc.d/icecast
+  # rotate the logs (taken from Fedora
+  install -D -m644 ${srcdir}/icecast.logrotate ${pkgdir}/etc/logrotate.d/icecast
+}
+
+


Property changes on: icecast/repos/extra-x86_64/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:mergeinfo
   + 

Copied: icecast/repos/extra-x86_64/icecast (from rev 22241, icecast/trunk/icecast)
===================================================================
--- icecast	                        (rev 0)
+++ icecast	2008-12-24 10:32:26 UTC (rev 22243)
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/bin/icecast`
+case "$1" in
+  start)
+    stat_busy "Starting Icecast Server"
+    [ -z "$PID" ] && /usr/bin/icecast -b -c /etc/icecast.xml
+    if [ $? -gt 0 ]; then
+      stat_fail
+    else
+      add_daemon icecast
+      stat_done
+    fi
+    ;;
+  stop)
+    stat_busy "Stopping Icecast Server"
+    [ ! -z "$PID" ]  && kill $PID &> /dev/null
+    if [ $? -gt 0 ]; then
+      stat_fail
+    else
+      rm_daemon icecast
+      stat_done
+    fi
+    ;;
+  restart)
+    $0 stop
+    $0 start
+    ;;
+  *)
+    echo "usage: $0 {start|stop|restart}"  
+esac
+exit 0


Property changes on: icecast/repos/extra-x86_64/icecast
___________________________________________________________________
Added: svn:mergeinfo
   + 

Copied: icecast/repos/extra-x86_64/icecast.logrotate (from rev 22241, icecast/trunk/icecast.logrotate)
===================================================================
--- icecast.logrotate	                        (rev 0)
+++ icecast.logrotate	2008-12-24 10:32:26 UTC (rev 22243)
@@ -0,0 +1,9 @@
+/var/log/icecast/*log {
+    missingok
+    notifempty
+    sharedscripts
+    postrotate
+	/bin/kill -HUP `cat /var/run/icecast/icecast.pid 2>/dev/null` 2> /dev/null || true
+    endscript
+}
+


Property changes on: icecast/repos/extra-x86_64/icecast.logrotate
___________________________________________________________________
Added: svn:mergeinfo
   + 




More information about the arch-commits mailing list