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

Lukas Fleischer lfleischer at archlinux.org
Thu Feb 23 06:27:36 UTC 2017


    Date: Thursday, February 23, 2017 @ 06:27:35
  Author: lfleischer
Revision: 213590

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

Added:
  icecast/repos/community-staging-i686/
  icecast/repos/community-staging-i686/PKGBUILD
    (from rev 213589, icecast/trunk/PKGBUILD)
  icecast/repos/community-staging-i686/icecast.logrotate
    (from rev 213589, icecast/trunk/icecast.logrotate)
  icecast/repos/community-staging-i686/icecast.service
    (from rev 213589, icecast/trunk/icecast.service)
  icecast/repos/community-staging-i686/start-by-nobody.patch
    (from rev 213589, icecast/trunk/start-by-nobody.patch)
  icecast/repos/community-staging-x86_64/
  icecast/repos/community-staging-x86_64/PKGBUILD
    (from rev 213589, icecast/trunk/PKGBUILD)
  icecast/repos/community-staging-x86_64/icecast.logrotate
    (from rev 213589, icecast/trunk/icecast.logrotate)
  icecast/repos/community-staging-x86_64/icecast.service
    (from rev 213589, icecast/trunk/icecast.service)
  icecast/repos/community-staging-x86_64/start-by-nobody.patch
    (from rev 213589, icecast/trunk/start-by-nobody.patch)

------------------------------------------------+
 community-staging-i686/PKGBUILD                |   47 +++++++++++++++++++++++
 community-staging-i686/icecast.logrotate       |    8 +++
 community-staging-i686/icecast.service         |   11 +++++
 community-staging-i686/start-by-nobody.patch   |   15 +++++++
 community-staging-x86_64/PKGBUILD              |   47 +++++++++++++++++++++++
 community-staging-x86_64/icecast.logrotate     |    8 +++
 community-staging-x86_64/icecast.service       |   11 +++++
 community-staging-x86_64/start-by-nobody.patch |   15 +++++++
 8 files changed, 162 insertions(+)

Copied: icecast/repos/community-staging-i686/PKGBUILD (from rev 213589, icecast/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-02-23 06:27:35 UTC (rev 213590)
@@ -0,0 +1,47 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# 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.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' '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=('83d7d34dbe22f0f8fc119d2c9839efc0'
+         '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-staging-i686/icecast.logrotate (from rev 213589, icecast/trunk/icecast.logrotate)
===================================================================
--- community-staging-i686/icecast.logrotate	                        (rev 0)
+++ community-staging-i686/icecast.logrotate	2017-02-23 06:27:35 UTC (rev 213590)
@@ -0,0 +1,8 @@
+/var/log/icecast/*log {
+    missingok
+    notifempty
+    sharedscripts
+    postrotate
+    endscript
+}
+

Copied: icecast/repos/community-staging-i686/icecast.service (from rev 213589, icecast/trunk/icecast.service)
===================================================================
--- community-staging-i686/icecast.service	                        (rev 0)
+++ community-staging-i686/icecast.service	2017-02-23 06:27:35 UTC (rev 213590)
@@ -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-staging-i686/start-by-nobody.patch (from rev 213589, icecast/trunk/start-by-nobody.patch)
===================================================================
--- community-staging-i686/start-by-nobody.patch	                        (rev 0)
+++ community-staging-i686/start-by-nobody.patch	2017-02-23 06:27:35 UTC (rev 213590)
@@ -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-staging-x86_64/PKGBUILD (from rev 213589, icecast/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-02-23 06:27:35 UTC (rev 213590)
@@ -0,0 +1,47 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# 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.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' '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=('83d7d34dbe22f0f8fc119d2c9839efc0'
+         '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-staging-x86_64/icecast.logrotate (from rev 213589, icecast/trunk/icecast.logrotate)
===================================================================
--- community-staging-x86_64/icecast.logrotate	                        (rev 0)
+++ community-staging-x86_64/icecast.logrotate	2017-02-23 06:27:35 UTC (rev 213590)
@@ -0,0 +1,8 @@
+/var/log/icecast/*log {
+    missingok
+    notifempty
+    sharedscripts
+    postrotate
+    endscript
+}
+

Copied: icecast/repos/community-staging-x86_64/icecast.service (from rev 213589, icecast/trunk/icecast.service)
===================================================================
--- community-staging-x86_64/icecast.service	                        (rev 0)
+++ community-staging-x86_64/icecast.service	2017-02-23 06:27:35 UTC (rev 213590)
@@ -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-staging-x86_64/start-by-nobody.patch (from rev 213589, icecast/trunk/start-by-nobody.patch)
===================================================================
--- community-staging-x86_64/start-by-nobody.patch	                        (rev 0)
+++ community-staging-x86_64/start-by-nobody.patch	2017-02-23 06:27:35 UTC (rev 213590)
@@ -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