[arch-commits] Commit in icecast/trunk (PKGBUILD icecast.service)
Date: Sunday, September 13, 2020 @ 12:25:21 Author: dvzrv Revision: 705112 upgpkg: icecast 2.4.4-4: Add AF_INET6 to RestrictAddressFamilies, so that the service can be used with IPv6 (FS#67638). Modified: icecast/trunk/PKGBUILD icecast/trunk/icecast.service -+ PKGBUILD|6 +++--- icecast.service |4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-09-13 12:20:45 UTC (rev 705111) +++ PKGBUILD2020-09-13 12:25:21 UTC (rev 705112) @@ -6,7 +6,7 @@ pkgname=icecast pkgver=2.4.4 -pkgrel=3 +pkgrel=4 pkgdesc='Streaming audio over the Internet' arch=('x86_64') license=('GPL2') @@ -24,12 +24,12 @@ ) sha512sums=('e9ffb478cac2570891787455591d881a59185e067bb36f51706a7070cd9d82d80425ec8cf151f5ebb17d1b75654449fc760f8b82a1bb05f020b47ec09e46b4d0' '1727ec4e66ce2939a6b66c23b2f0938e2e6c717d2753f4d8c05eb31ff211d50f7ce3d38b8fca93b8cb98c1b755a5d8e3baf381fe8eb0624e7e4fe9c7486ad14a' - '416ba7c259105edc38451131f9ec59ff96e6f97f758b9d3d46f7f2284fb880275ef4cba0ba1a90c2b07820f872e583f0b49eece2c8844b24d2c64e027a1161ff' + '89f65693cd59e6f6450e018e370d4893d6e31dfda93c6bb06786df99d1ca4b5569455b7a5543bcdd6270009011286390c23dafd1729d71a245d6ebd878b5' 'ca0c6e81e84910ac5bcd573aa280224426201b4aa8580f974b17daea6f95472e3ba47b3319ea1291d6762e858a3f7e9120f05357fe02aa83f01bb767862a04c8' 'db3cf00e5ff1e2f5636288992212964f068f94ee98a880c27f00afda44f048e608636a34f2ae551f3cf24f7c43ebd2f40ab8a9bcc5d8057901d4a871c6b79f13') b2sums=('fd4034749feb4bf38c684ac6d8de572fdebce875843dc1be286264c8fe8d38feb24ea889b07ec79aada34cf16dae46eb21a8c5470f67c08f2dd56dc04c12130f' '9d4897d84c4be355b04c542fcf5242d5341634eefb0ca8233f8bf944e208f4ba3a2855a922639979541ec55280cdbebbebedb2a3b8a59289d19803bf7d3cdc11' - 'c2d53ad2b22484d00e1d820bb703c19f3a4f0c386484bd9f913069b9cb88c45247ad7a0ea8c6ee90feb923cc6e20abec3511b3d1cdd2d6c144e45b24af74c083' + '42d2c7bdcd0e970f5750175e6e766e6dcecdc616819d36195b8025920d1997c6e74961aa8ed124f4c09d2391bd3f6f2b55282d2fff623c61d4dba7a22d2e3ac6' '61c3194a0ca86f19bd4d8153eb3589f0b400549605b588418bc60a5f8a70198d1532f53ca48070385012ef8346bed69b5e1b53d2cf2b803da921414365394224' 'b17bf9b34daa89e32a41be3364ca74f8d2403bc8f6a103e4db51c637b42f9cd0841553b2838ce9dcdb91c3561249f13fca39359636c07f163c90de3945bf1784') Modified: icecast.service === --- icecast.service 2020-09-13 12:20:45 UTC (rev 705111) +++ icecast.service 2020-09-13 12:25:21 UTC (rev 705112) @@ -25,8 +25,8 @@ ProtectSystem=strict ReadOnlyPaths=/etc/icecast.xml RemoveIPC=true -RestrictAddressFamilies=~AF_AX25 AF_IPX AF_APPLETALK AF_X25 AF_INET6 AF_DECnet AF_KEY AF_NETLINK AF_PACKET AF_RDS AF_PPPOX AF_LLC AF_IB AF_MPLS AF_CAN AF_TIPC AF_BLUETOOTH AF_ALG AF_VSOCK AF_KCM AF_XDP AF_UNIX -RestrictAddressFamilies=AF_INET +RestrictAddressFamilies=~AF_AX25 AF_IPX AF_APPLETALK AF_X25 AF_DECnet AF_KEY AF_NETLINK AF_PACKET AF_RDS AF_PPPOX AF_LLC AF_IB AF_MPLS AF_CAN AF_TIPC AF_BLUETOOTH AF_ALG AF_VSOCK AF_KCM AF_XDP AF_UNIX +RestrictAddressFamilies=AF_INET AF_INET6 RestrictNamespaces=true RestrictRealtime=true RestrictSUIDSGID=true
[arch-commits] Commit in icecast/trunk (PKGBUILD icecast.service)
Date: Friday, August 7, 2020 @ 08:54:22 Author: dvzrv Revision: 671369 upgpkg: icecast 2.4.4-3: Remove obsolete StandardError=syslog from service. Modified: icecast/trunk/PKGBUILD icecast/trunk/icecast.service -+ PKGBUILD|6 +++--- icecast.service |1 - 2 files changed, 3 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-08-07 08:54:20 UTC (rev 671368) +++ PKGBUILD2020-08-07 08:54:22 UTC (rev 671369) @@ -6,7 +6,7 @@ pkgname=icecast pkgver=2.4.4 -pkgrel=2 +pkgrel=3 pkgdesc='Streaming audio over the Internet' arch=('x86_64') license=('GPL2') @@ -24,12 +24,12 @@ ) sha512sums=('e9ffb478cac2570891787455591d881a59185e067bb36f51706a7070cd9d82d80425ec8cf151f5ebb17d1b75654449fc760f8b82a1bb05f020b47ec09e46b4d0' '1727ec4e66ce2939a6b66c23b2f0938e2e6c717d2753f4d8c05eb31ff211d50f7ce3d38b8fca93b8cb98c1b755a5d8e3baf381fe8eb0624e7e4fe9c7486ad14a' - 'debfd3e609d97b3e1297645e2f98851304c02ccaf791d339c40ad4ba02dfaf3dbcff6c455a80a8ad610c53ca388e6691a3b8d9c2171ff5ea031a4bc1' + '416ba7c259105edc38451131f9ec59ff96e6f97f758b9d3d46f7f2284fb880275ef4cba0ba1a90c2b07820f872e583f0b49eece2c8844b24d2c64e027a1161ff' 'ca0c6e81e84910ac5bcd573aa280224426201b4aa8580f974b17daea6f95472e3ba47b3319ea1291d6762e858a3f7e9120f05357fe02aa83f01bb767862a04c8' 'db3cf00e5ff1e2f5636288992212964f068f94ee98a880c27f00afda44f048e608636a34f2ae551f3cf24f7c43ebd2f40ab8a9bcc5d8057901d4a871c6b79f13') b2sums=('fd4034749feb4bf38c684ac6d8de572fdebce875843dc1be286264c8fe8d38feb24ea889b07ec79aada34cf16dae46eb21a8c5470f67c08f2dd56dc04c12130f' '9d4897d84c4be355b04c542fcf5242d5341634eefb0ca8233f8bf944e208f4ba3a2855a922639979541ec55280cdbebbebedb2a3b8a59289d19803bf7d3cdc11' - '65bbb1c6e601b92952f7c3ad318ed320eabd6443f6c6f16625fa28ffe1c4977094067169c89564c911673c4a7b881ee86d6dd792eced4ff3f36066ff26db4218' + 'c2d53ad2b22484d00e1d820bb703c19f3a4f0c386484bd9f913069b9cb88c45247ad7a0ea8c6ee90feb923cc6e20abec3511b3d1cdd2d6c144e45b24af74c083' '61c3194a0ca86f19bd4d8153eb3589f0b400549605b588418bc60a5f8a70198d1532f53ca48070385012ef8346bed69b5e1b53d2cf2b803da921414365394224' 'b17bf9b34daa89e32a41be3364ca74f8d2403bc8f6a103e4db51c637b42f9cd0841553b2838ce9dcdb91c3561249f13fca39359636c07f163c90de3945bf1784') Modified: icecast.service === --- icecast.service 2020-08-07 08:54:20 UTC (rev 671368) +++ icecast.service 2020-08-07 08:54:22 UTC (rev 671369) @@ -31,7 +31,6 @@ RestrictRealtime=true RestrictSUIDSGID=true RuntimeDirectory=icecast -StandardError=syslog StateDirectory=icecast SystemCallArchitectures=native SystemCallFilter=@system-service
[arch-commits] Commit in icecast/trunk (PKGBUILD)
Date: Monday, October 28, 2019 @ 14:29:44 Author: lfleischer Revision: 520852 upgpkg: icecast 2.4.4-1 Upstream update. Modified: icecast/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-10-28 14:28:02 UTC (rev 520851) +++ PKGBUILD2019-10-28 14:29:44 UTC (rev 520852) @@ -4,8 +4,8 @@ # Contributor: Jason Chu pkgname=icecast -pkgver=2.4.3 -pkgrel=3 +pkgver=2.4.4 +pkgrel=1 pkgdesc='Streaming audio over the Internet' arch=('x86_64') license=('GPL') @@ -17,7 +17,7 @@ 'icecast.logrotate' 'start-by-nobody.patch' 'icecast.service') -md5sums=('83d7d34dbe22f0f8fc119d2c9839efc0' +md5sums=('835c7b571643f6436726a6118defb366' '59c6552bcb1dd9fb542af8670dfabd3c' 'd8e929d2214123a1954da4383bf16583' '0753c15f01dc14852e5d70925fc1f6a0')
[arch-commits] Commit in icecast/trunk (PKGBUILD)
Date: Monday, April 22, 2019 @ 21:06:27 Author: arojas Revision: 453012 https Modified: icecast/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-04-22 21:05:09 UTC (rev 453011) +++ PKGBUILD2019-04-22 21:06:27 UTC (rev 453012) @@ -9,11 +9,11 @@ pkgdesc='Streaming audio over the Internet' arch=('x86_64') license=('GPL') -url='http://www.icecast.org/' +url='https://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; +source=("https://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz; 'icecast.logrotate' 'start-by-nobody.patch' 'icecast.service')
[arch-commits] Commit in icecast/trunk (PKGBUILD)
Date: Friday, November 9, 2018 @ 22:16:12 Author: felixonmars Revision: 404893 PIE/BUILDINFO rebuild Modified: icecast/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-11-09 22:16:09 UTC (rev 404892) +++ PKGBUILD2018-11-09 22:16:12 UTC (rev 404893) @@ -5,7 +5,7 @@ pkgname=icecast pkgver=2.4.3 -pkgrel=2 +pkgrel=3 pkgdesc='Streaming audio over the Internet' arch=('x86_64') license=('GPL')
[arch-commits] Commit in icecast/trunk (PKGBUILD)
Date: Thursday, February 23, 2017 @ 06:27:29 Author: lfleischer Revision: 213589 upgpkg: icecast 2.4.3-2 Rebuild against OpenSSL 1.1.0. Modified: icecast/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-02-23 06:24:32 UTC (rev 213588) +++ PKGBUILD2017-02-23 06:27:29 UTC (rev 213589) @@ -5,7 +5,7 @@ pkgname=icecast pkgver=2.4.3 -pkgrel=1 +pkgrel=2 pkgdesc='Streaming audio over the Internet' arch=('i686' 'x86_64') license=('GPL')
[arch-commits] Commit in icecast/trunk (PKGBUILD)
Date: Sunday, February 12, 2017 @ 12:29:17 Author: lfleischer Revision: 212024 upgpkg: icecast 2.4.3-1 Upstream update. Modified: icecast/trunk/PKGBUILD --+ PKGBUILD |9 - 1 file changed, 4 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-02-12 12:27:21 UTC (rev 212023) +++ PKGBUILD2017-02-12 12:29:17 UTC (rev 212024) @@ -1,12 +1,11 @@ -# $Id$ -# Maintainer: +# Maintainer: Lukas Fleischer# Contributor: Andrea Scarpino # Contributor: Andreas Radke # Contributor: Jason Chu pkgname=icecast -pkgver=2.4.2 -pkgrel=3 +pkgver=2.4.3 +pkgrel=1 pkgdesc='Streaming audio over the Internet' arch=('i686' 'x86_64') license=('GPL') @@ -18,7 +17,7 @@ 'icecast.logrotate' 'start-by-nobody.patch' 'icecast.service') -md5sums=('55947c83d31dfcbbede58c9521c676f4' +md5sums=('83d7d34dbe22f0f8fc119d2c9839efc0' '59c6552bcb1dd9fb542af8670dfabd3c' 'd8e929d2214123a1954da4383bf16583' '0753c15f01dc14852e5d70925fc1f6a0')
[arch-commits] Commit in icecast/trunk (PKGBUILD)
Date: Thursday, March 3, 2016 @ 13:44:41 Author: foutrelis Revision: 164467 OpenSSL 1.0.2g rebuild Modified: icecast/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-03-03 12:44:31 UTC (rev 164466) +++ PKGBUILD2016-03-03 12:44:41 UTC (rev 164467) @@ -6,7 +6,7 @@ pkgname=icecast pkgver=2.4.2 -pkgrel=2 +pkgrel=3 pkgdesc='Streaming audio over the Internet' arch=('i686' 'x86_64') license=('GPL')
[arch-commits] Commit in icecast/trunk (PKGBUILD)
Date: Monday, February 8, 2016 @ 01:06:36 Author: foutrelis Revision: 160598 Rebuild due to temporarily untrusted key Modified: icecast/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-02-08 00:05:39 UTC (rev 160597) +++ PKGBUILD2016-02-08 00:06:36 UTC (rev 160598) @@ -6,7 +6,7 @@ pkgname=icecast pkgver=2.4.2 -pkgrel=1 +pkgrel=2 pkgdesc='Streaming audio over the Internet' arch=('i686' 'x86_64') license=('GPL')
[arch-commits] Commit in icecast/trunk (PKGBUILD)
Date: Wednesday, November 26, 2014 @ 20:03:50 Author: lfleischer Revision: 123160 upgpkg: icecast 2.4.1-1 Upstream update. Modified: icecast/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-11-26 17:53:43 UTC (rev 123159) +++ PKGBUILD2014-11-26 19:03:50 UTC (rev 123160) @@ -5,7 +5,7 @@ # Contributor: Jason Chu j...@xentac.net pkgname=icecast -pkgver=2.4.0 +pkgver=2.4.1 pkgrel=1 pkgdesc='Streaming audio over the Internet' arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ 'icecast.logrotate' 'start-by-nobody.patch' 'icecast.service') -md5sums=('bb00bfc0d6d2dde24974641085602b81' +md5sums=('b1402712a79734d4720c8fe15fd9fb10' '59c6552bcb1dd9fb542af8670dfabd3c' 'd8e929d2214123a1954da4383bf16583' '0753c15f01dc14852e5d70925fc1f6a0')
[arch-commits] Commit in icecast/trunk (PKGBUILD icecast.service)
Date: Tuesday, May 27, 2014 @ 12:31:09 Author: lfleischer Revision: 111963 upgpkg: icecast 2.4.0-1 * Upstream update. * Add libkate dependency (implements FS#40469). * Add ExecReload to systemd unit (implements FS#40344). * Remove man page (dropped by upstream). Modified: icecast/trunk/PKGBUILD icecast/trunk/icecast.service -+ PKGBUILD| 14 +- icecast.service |2 ++ 2 files changed, 7 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-05-27 10:21:23 UTC (rev 111962) +++ PKGBUILD2014-05-27 10:31:09 UTC (rev 111963) @@ -5,13 +5,13 @@ # Contributor: Jason Chu j...@xentac.net pkgname=icecast -pkgver=2.3.3 -pkgrel=4 +pkgver=2.4.0 +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') +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; @@ -18,10 +18,10 @@ 'icecast.logrotate' 'start-by-nobody.patch' 'icecast.service') -md5sums=('2b5d1b40778922e5f6431b7758c359ad' +md5sums=('bb00bfc0d6d2dde24974641085602b81' '59c6552bcb1dd9fb542af8670dfabd3c' 'd8e929d2214123a1954da4383bf16583' - '1468e59f76de194579b615889e20198f') + '0753c15f01dc14852e5d70925fc1f6a0') build() { cd ${srcdir}/${pkgname}-${pkgver} @@ -37,10 +37,6 @@ 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 Modified: icecast.service === --- icecast.service 2014-05-27 10:21:23 UTC (rev 111962) +++ icecast.service 2014-05-27 10:31:09 UTC (rev 111963) @@ -3,7 +3,9 @@ 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
[arch-commits] Commit in icecast/trunk (PKGBUILD icecastd)
Date: Monday, May 13, 2013 @ 09:46:41 Author: lfleischer Revision: 90558 upgpkg: icecast 2.3.3-4 Remove rc.d script. Modified: icecast/trunk/PKGBUILD Deleted: icecast/trunk/icecastd --+ PKGBUILD |7 +- icecastd | 66 - 2 files changed, 2 insertions(+), 71 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-05-13 07:36:14 UTC (rev 90557) +++ PKGBUILD2013-05-13 07:46:41 UTC (rev 90558) @@ -6,7 +6,7 @@ pkgname=icecast pkgver=2.3.3 -pkgrel=3 +pkgrel=4 pkgdesc='Streaming audio over the Internet' arch=('i686' 'x86_64') license=('GPL') @@ -15,12 +15,10 @@ 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') @@ -43,8 +41,7 @@ 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 logrotate config (taken from Fedora) install -Dm644 ${srcdir}/icecast.logrotate ${pkgdir}/etc/logrotate.d/icecast # create log directory Deleted: icecastd === --- icecastd2013-05-13 07:36:14 UTC (rev 90557) +++ icecastd2013-05-13 07:46:41 UTC (rev 90558) @@ -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
[arch-commits] Commit in icecast/trunk (PKGBUILD icecast.service)
Date: Friday, February 8, 2013 @ 18:31:30 Author: lfleischer Revision: 84030 upgpkg: icecast 2.3.3-3 Remove -b parameter from systemd unit. Fixes FS#31309. Modified: icecast/trunk/PKGBUILD icecast/trunk/icecast.service -+ PKGBUILD|4 ++-- icecast.service |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-02-08 16:35:27 UTC (rev 84029) +++ PKGBUILD2013-02-08 17:31:30 UTC (rev 84030) @@ -6,7 +6,7 @@ pkgname=icecast pkgver=2.3.3 -pkgrel=2 +pkgrel=3 pkgdesc='Streaming audio over the Internet' arch=('i686' 'x86_64') license=('GPL') @@ -23,7 +23,7 @@ 'e823c1fdb080aae3d0c54ef8be95f7cb' '59c6552bcb1dd9fb542af8670dfabd3c' 'd8e929d2214123a1954da4383bf16583' - 'ada6c389351af0487b5c62198adb4e2f') + '1468e59f76de194579b615889e20198f') build() { cd ${srcdir}/${pkgname}-${pkgver} Modified: icecast.service === --- icecast.service 2013-02-08 16:35:27 UTC (rev 84029) +++ icecast.service 2013-02-08 17:31:30 UTC (rev 84030) @@ -3,7 +3,7 @@ After=network.target [Service] -ExecStart=/usr/bin/icecast -b -c /etc/icecast.xml +ExecStart=/usr/bin/icecast -c /etc/icecast.xml [Install] WantedBy=multi-user.target
[arch-commits] Commit in icecast/trunk (PKGBUILD icecastd)
Date: Saturday, February 5, 2011 @ 15:09:03 Author: andrea Revision: 109082 upgpkg: icecast 2.3.2-5 rewritten init script (FS#22776) Modified: icecast/trunk/PKGBUILD icecast/trunk/icecastd --+ PKGBUILD |8 +++--- icecastd | 73 ++--- 2 files changed, 40 insertions(+), 41 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-02-05 18:15:24 UTC (rev 109081) +++ PKGBUILD2011-02-05 20:09:03 UTC (rev 109082) @@ -1,12 +1,12 @@ # $Id$ -# Maintainer: Andrea Scarpino and...@archlinux.org +# Maintainer: +# Contributor: Andrea Scarpino and...@archlinux.org # Contributor: Andreas Radke andy...@archlinux.org # Contributor: Jason Chu j...@xentac.net -# Contributor: dorphell dorph...@archlinux.org pkgname=icecast pkgver=2.3.2 -pkgrel=4 +pkgrel=5 pkgdesc=Streaming audio over the Internet arch=('i686' 'x86_64') license=('GPL') @@ -18,7 +18,7 @@ 'icecastd' 'icecast.logrotate' 'start-by-nobody.patch') md5sums=('ff516b3ccd2bcc31e68f460cd316093f' - '464ef7e110d32998f60e5bea293acc92' + 'e823c1fdb080aae3d0c54ef8be95f7cb' '59c6552bcb1dd9fb542af8670dfabd3c' 'd8e929d2214123a1954da4383bf16583') Modified: icecastd === --- icecastd2011-02-05 18:15:24 UTC (rev 109081) +++ icecastd2011-02-05 20:09:03 UTC (rev 109082) @@ -3,58 +3,57 @@ . /etc/rc.conf . /etc/rc.d/functions +timeo=30 + getPID() { - echo $(pgrep -u nobody icecast 2/dev/null); + pgrep -u nobody icecast 2/dev/null } -case $1 in +case $1 in start) stat_busy Starting Icecast Server -if [ -z $(getPID) ]; then +if getPID /dev/null; then + # already running + stat_fail + exit 1 +else /usr/bin/icecast -b -c /etc/icecast.xml /dev/null - timeo=30 - while [ $timeo -gt 0 ]; do -[ ! -z $(getPID) ] break + while (( timeo 0 )); do +if getPID /dev/null; then + add_daemon icecast + stat_done + exit 0 +fi sleep 1 -let timeo=${timeo}-1 +(( timeo-- )) done - if [ $timeo -eq 0 ]; then -stat_fail -exit 1 - else -add_daemon icecast -stat_done - fi -else - stat_fail - exit 1 + stat_fail + exit 1 fi ;; stop) stat_busy Stopping Icecast Server -if [ ! -z $(getPID) ]; then - timeo=30 - kill $(getPID) /dev/null - if [ $? -gt 0 ]; then -stat_fail -exit 1 - fi - while [ ! -z $(getPID) -a $timeo -gt 0 ]; do -sleep 1 -let timeo=${timeo}-1 - done - if [ -z $(getPID) ]; then -rm_daemon icecast -stat_done - else -stat_fail -exit 1 - fi -else +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) @@ -62,6 +61,6 @@ $0 start ;; *) -echo usage: $0 {start|stop|restart} +echo usage: $0 {start|stop|restart} esac exit 0
[arch-commits] Commit in icecast/trunk (PKGBUILD)
Date: Thursday, April 1, 2010 @ 08:59:27 Author: andrea Revision: 75404 upgpkg: icecast 2.3.2-3 openssl rebuild Modified: icecast/trunk/PKGBUILD --+ PKGBUILD |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-04-01 12:58:24 UTC (rev 75403) +++ PKGBUILD2010-04-01 12:59:27 UTC (rev 75404) @@ -6,13 +6,12 @@ pkgname=icecast pkgver=2.3.2 -pkgrel=2 +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') -makedepends=('sed') backup=('etc/icecast.xml' 'etc/logrotate.d/icecast') source=(http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz;
[arch-commits] Commit in icecast/trunk (PKGBUILD icecast icecastd)
Date: Monday, March 15, 2010 @ 15:27:01 Author: andrea Revision: 72434 upgpkg: icecast 2.3.2-2 create log dir; forward icecast output to /dev/null Added: icecast/trunk/icecastd Modified: icecast/trunk/PKGBUILD Deleted: icecast/trunk/icecast --+ PKGBUILD | 38 +- icecast | 36 icecastd | 36 3 files changed, 61 insertions(+), 49 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-03-15 19:12:51 UTC (rev 72433) +++ PKGBUILD2010-03-15 19:27:01 UTC (rev 72434) @@ -1,37 +1,49 @@ # $Id$ -# Maintainer: Andreas Radke andy...@archlinux.org +# Maintainer: Andrea Scarpino and...@archlinux.org +# Contributor: Andreas Radke andy...@archlinux.org # Contributer: Jason Chu j...@xentac.net # Contributor: dorphell dorph...@archlinux.org pkgname=icecast pkgver=2.3.2 -pkgrel=1 -pkgdesc=Streaming OGG and MP3 server. Replacement for shoutcase. -arch=(i686 x86_64) +pkgrel=2 +pkgdesc=Streaming audio over the Internet +arch=('i686' 'x86_64') license=('GPL') url=http://www.icecast.org/; -depends=('libxslt' 'libvorbis' 'curl=7.19.2' 'speex' 'libtheora') +depends=('libxslt' 'libvorbis' 'curl' 'speex' 'libtheora') makedepends=('sed') backup=('etc/icecast.xml' 'etc/logrotate.d/icecast') -source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz -icecast icecast.logrotate) +source=(http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz; +'icecastd' 'icecast.logrotate') md5sums=('ff516b3ccd2bcc31e68f460cd316093f' - 'fe65f4d6826a750a868227b9d86f1be3' + '5500f0c01e48adf154bcc428f0515c9d' '8fad3bf3283fa2bd651b71fdf505eae9') build() { cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + ./configure --prefix=/usr \ +--sysconfdir=/etc \ +--localstatedir=/var make || return 1 +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} 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 + install -Dm644 debian/icecast2.1 \ +${pkgdir}/usr/share/man/man1/icecast.1 || return 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 + install -Dm755 ${srcdir}/icecastd \ +${pkgdir}/etc/rc.d/icecast || return 1 + # rotate the logs (taken from Fedora) + install -Dm644 ${srcdir}/icecast.logrotate \ +${pkgdir}/etc/logrotate.d/icecast || return 1 + # install log dir + install -d ${pkgdir}/var/log/icecast || return 1 } Deleted: icecast === --- icecast 2010-03-15 19:12:51 UTC (rev 72433) +++ icecast 2010-03-15 19:27:01 UTC (rev 72434) @@ -1,36 +0,0 @@ -#!/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 -sleep 1 -$0 start -;; - *) -echo usage: $0 {start|stop|restart} -esac -exit 0 Added: icecastd === --- icecastd(rev 0) +++ icecastd2010-03-15 19:27:01 UTC (rev 72434) @@ -0,0 +1,36 @@ +#!/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 /dev/null +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 +sleep 1 +$0 start +;; + *) +echo usage: $0 {start|stop|restart} +esac +exit 0
[arch-commits] Commit in icecast/trunk (PKGBUILD icecastd)
Date: Monday, March 15, 2010 @ 16:56:50 Author: andrea Revision: 72439 needs more time Modified: icecast/trunk/PKGBUILD icecast/trunk/icecastd --+ PKGBUILD |2 +- icecastd |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-03-15 19:27:58 UTC (rev 72438) +++ PKGBUILD2010-03-15 20:56:50 UTC (rev 72439) @@ -18,7 +18,7 @@ source=(http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz; 'icecastd' 'icecast.logrotate') md5sums=('ff516b3ccd2bcc31e68f460cd316093f' - '5500f0c01e48adf154bcc428f0515c9d' + '2cf9bb562e764ff451ed557711883978' '8fad3bf3283fa2bd651b71fdf505eae9') build() { Modified: icecastd === --- icecastd2010-03-15 19:27:58 UTC (rev 72438) +++ icecastd2010-03-15 20:56:50 UTC (rev 72439) @@ -27,7 +27,7 @@ ;; restart) $0 stop -sleep 1 +sleep 3 $0 start ;; *)