Date: Friday, November 9, 2018 @ 22:17:06 Author: felixonmars Revision: 404897
archrelease: copy trunk to community-staging-x86_64 Added: icecast/repos/community-staging-x86_64/ icecast/repos/community-staging-x86_64/PKGBUILD (from rev 404893, icecast/trunk/PKGBUILD) icecast/repos/community-staging-x86_64/icecast.logrotate (from rev 404893, icecast/trunk/icecast.logrotate) icecast/repos/community-staging-x86_64/icecast.service (from rev 404893, icecast/trunk/icecast.service) icecast/repos/community-staging-x86_64/start-by-nobody.patch (from rev 404893, icecast/trunk/start-by-nobody.patch) -----------------------+ PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++ icecast.logrotate | 8 ++++++++ icecast.service | 11 +++++++++++ start-by-nobody.patch | 15 +++++++++++++++ 4 files changed, 81 insertions(+) Copied: icecast/repos/community-staging-x86_64/PKGBUILD (from rev 404893, icecast/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-11-09 22:17:06 UTC (rev 404897) @@ -0,0 +1,47 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Andreas Radke <andy...@archlinux.org> +# Contributor: Jason Chu <j...@xentac.net> + +pkgname=icecast +pkgver=2.4.3 +pkgrel=3 +pkgdesc='Streaming audio over the Internet' +arch=('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 404893, icecast/trunk/icecast.logrotate) =================================================================== --- community-staging-x86_64/icecast.logrotate (rev 0) +++ community-staging-x86_64/icecast.logrotate 2018-11-09 22:17:06 UTC (rev 404897) @@ -0,0 +1,8 @@ +/var/log/icecast/*log { + missingok + notifempty + sharedscripts + postrotate + endscript +} + Copied: icecast/repos/community-staging-x86_64/icecast.service (from rev 404893, icecast/trunk/icecast.service) =================================================================== --- community-staging-x86_64/icecast.service (rev 0) +++ community-staging-x86_64/icecast.service 2018-11-09 22:17:06 UTC (rev 404897) @@ -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 404893, icecast/trunk/start-by-nobody.patch) =================================================================== --- community-staging-x86_64/start-by-nobody.patch (rev 0) +++ community-staging-x86_64/start-by-nobody.patch 2018-11-09 22:17:06 UTC (rev 404897) @@ -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>