[arch-commits] Commit in icecast/repos (10 files)
Lukas Fleischer
lfleischer at archlinux.org
Wed Nov 26 19:04:06 UTC 2014
Date: Wednesday, November 26, 2014 @ 20:04:06
Author: lfleischer
Revision: 123161
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
icecast/repos/community-testing-i686/
icecast/repos/community-testing-i686/PKGBUILD
(from rev 123160, icecast/trunk/PKGBUILD)
icecast/repos/community-testing-i686/icecast.logrotate
(from rev 123160, icecast/trunk/icecast.logrotate)
icecast/repos/community-testing-i686/icecast.service
(from rev 123160, icecast/trunk/icecast.service)
icecast/repos/community-testing-i686/start-by-nobody.patch
(from rev 123160, icecast/trunk/start-by-nobody.patch)
icecast/repos/community-testing-x86_64/
icecast/repos/community-testing-x86_64/PKGBUILD
(from rev 123160, icecast/trunk/PKGBUILD)
icecast/repos/community-testing-x86_64/icecast.logrotate
(from rev 123160, icecast/trunk/icecast.logrotate)
icecast/repos/community-testing-x86_64/icecast.service
(from rev 123160, icecast/trunk/icecast.service)
icecast/repos/community-testing-x86_64/start-by-nobody.patch
(from rev 123160, icecast/trunk/start-by-nobody.patch)
------------------------------------------------+
community-testing-i686/PKGBUILD | 48 +++++++++++++++++++++++
community-testing-i686/icecast.logrotate | 8 +++
community-testing-i686/icecast.service | 11 +++++
community-testing-i686/start-by-nobody.patch | 15 +++++++
community-testing-x86_64/PKGBUILD | 48 +++++++++++++++++++++++
community-testing-x86_64/icecast.logrotate | 8 +++
community-testing-x86_64/icecast.service | 11 +++++
community-testing-x86_64/start-by-nobody.patch | 15 +++++++
8 files changed, 164 insertions(+)
Copied: icecast/repos/community-testing-i686/PKGBUILD (from rev 123160, icecast/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-11-26 19:04:06 UTC (rev 123161)
@@ -0,0 +1,48 @@
+# $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.4.1
+pkgrel=1
+pkgdesc='Streaming audio over the Internet'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://www.icecast.org/'
+depends=('libxslt' 'libvorbis' 'curl' 'speex' 'libtheora' 'libkate')
+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=('b1402712a79734d4720c8fe15fd9fb10'
+ '59c6552bcb1dd9fb542af8670dfabd3c'
+ 'd8e929d2214123a1954da4383bf16583'
+ '0753c15f01dc14852e5d70925fc1f6a0')
+
+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 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"
+}
Copied: icecast/repos/community-testing-i686/icecast.logrotate (from rev 123160, icecast/trunk/icecast.logrotate)
===================================================================
--- community-testing-i686/icecast.logrotate (rev 0)
+++ community-testing-i686/icecast.logrotate 2014-11-26 19:04:06 UTC (rev 123161)
@@ -0,0 +1,8 @@
+/var/log/icecast/*log {
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ endscript
+}
+
Copied: icecast/repos/community-testing-i686/icecast.service (from rev 123160, icecast/trunk/icecast.service)
===================================================================
--- community-testing-i686/icecast.service (rev 0)
+++ community-testing-i686/icecast.service 2014-11-26 19:04:06 UTC (rev 123161)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Icecast Network Audio Streaming Server
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/icecast -c /etc/icecast.xml
+ExecReload=/usr/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
Copied: icecast/repos/community-testing-i686/start-by-nobody.patch (from rev 123160, icecast/trunk/start-by-nobody.patch)
===================================================================
--- community-testing-i686/start-by-nobody.patch (rev 0)
+++ community-testing-i686/start-by-nobody.patch 2014-11-26 19:04:06 UTC (rev 123161)
@@ -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>
Copied: icecast/repos/community-testing-x86_64/PKGBUILD (from rev 123160, icecast/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2014-11-26 19:04:06 UTC (rev 123161)
@@ -0,0 +1,48 @@
+# $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.4.1
+pkgrel=1
+pkgdesc='Streaming audio over the Internet'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://www.icecast.org/'
+depends=('libxslt' 'libvorbis' 'curl' 'speex' 'libtheora' 'libkate')
+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=('b1402712a79734d4720c8fe15fd9fb10'
+ '59c6552bcb1dd9fb542af8670dfabd3c'
+ 'd8e929d2214123a1954da4383bf16583'
+ '0753c15f01dc14852e5d70925fc1f6a0')
+
+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 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"
+}
Copied: icecast/repos/community-testing-x86_64/icecast.logrotate (from rev 123160, icecast/trunk/icecast.logrotate)
===================================================================
--- community-testing-x86_64/icecast.logrotate (rev 0)
+++ community-testing-x86_64/icecast.logrotate 2014-11-26 19:04:06 UTC (rev 123161)
@@ -0,0 +1,8 @@
+/var/log/icecast/*log {
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ endscript
+}
+
Copied: icecast/repos/community-testing-x86_64/icecast.service (from rev 123160, icecast/trunk/icecast.service)
===================================================================
--- community-testing-x86_64/icecast.service (rev 0)
+++ community-testing-x86_64/icecast.service 2014-11-26 19:04:06 UTC (rev 123161)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Icecast Network Audio Streaming Server
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/icecast -c /etc/icecast.xml
+ExecReload=/usr/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
Copied: icecast/repos/community-testing-x86_64/start-by-nobody.patch (from rev 123160, icecast/trunk/start-by-nobody.patch)
===================================================================
--- community-testing-x86_64/start-by-nobody.patch (rev 0)
+++ community-testing-x86_64/start-by-nobody.patch 2014-11-26 19:04:06 UTC (rev 123161)
@@ -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