diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-12-23 19:24:10 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-12-23 19:24:10 +0000 |
commit | 9041cde87ffb429cd526585049513f5d231def8d (patch) | |
tree | ba925026fbf98a85806b06b170b3e6e63a8a632e /net-misc | |
parent | add ~arm (diff) | |
download | historical-9041cde87ffb429cd526585049513f5d231def8d.tar.gz historical-9041cde87ffb429cd526585049513f5d231def8d.tar.bz2 historical-9041cde87ffb429cd526585049513f5d231def8d.zip |
Add logrotate file thanks to DEMAINE Benoît-Pierre <dhp_gentoo@doublehp.org>. Bug #324727
Package-Manager: portage-2.1.11.38/cvs/Linux x86_64
Manifest-Sign-Key: 0xB4AFF2C2
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/icecast/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/icecast/Manifest | 32 | ||||
-rw-r--r-- | net-misc/icecast/files/icecast.logrotate | 8 | ||||
-rw-r--r-- | net-misc/icecast/icecast-2.3.3-r1.ebuild | 82 | ||||
-rw-r--r-- | net-misc/icecast/metadata.xml | 3 |
5 files changed, 117 insertions, 17 deletions
diff --git a/net-misc/icecast/ChangeLog b/net-misc/icecast/ChangeLog index c13d373465e3..584b915d9ad1 100644 --- a/net-misc/icecast/ChangeLog +++ b/net-misc/icecast/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/icecast # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/ChangeLog,v 1.93 2012/09/18 10:09:10 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/ChangeLog,v 1.94 2012/12/23 19:24:09 hwoarang Exp $ + +*icecast-2.3.3-r1 (23 Dec 2012) + + 23 Dec 2012; Markos Chandras <hwoarang@gentoo.org> +files/icecast.logrotate, + +icecast-2.3.3-r1.ebuild, metadata.xml: + Add logrotate file thanks to DEMAINE Benoît-Pierre <dhp_gentoo@doublehp.org>. + Bug #324727 18 Sep 2012; Kacper Kowalik <xarthisius@gentoo.org> icecast-2.3.3.ebuild: ppc64 stable wrt #394847, add missing inherit of user.eclass and explicit diff --git a/net-misc/icecast/Manifest b/net-misc/icecast/Manifest index 8790eda19a84..41682f8f9a20 100644 --- a/net-misc/icecast/Manifest +++ b/net-misc/icecast/Manifest @@ -3,28 +3,30 @@ Hash: SHA256 AUX icecast-2.3.3-fix-xiph_openssl.patch 648 SHA256 5804664e9add19dd679056b7ea07f19aa63205c7e5b84b2bc858c420e9688c57 SHA512 fa4014a3aad9886b14f6551cf72c8ae8d97b6879302fc11e8a7b120464540c077786a3209e5f87316393362a9e00d759686c9a3448dd00ec0503e025d28301f2 WHIRLPOOL 2b1e52069b970ecd2091236287c09034741959d61b9a18dcb66fc7059817367e5cabea7334d3887f432b4a26a578225cfb240ff68cdaa5c03ea35bfb2dd9077e AUX icecast-2.3.3-libkate.patch 1175 SHA256 880cef8feed886933eae495f547d10b3f9462a87f0812718bca6f454f25ecc40 SHA512 4ecacacb422ceb71bb6f8857228b2c00e2564d6926124aa8e9430b0f1466df934146fcbbc67194a6e644f6c4c16421474016909c385ec2271967730f80f5b8b3 WHIRLPOOL 0a2bea3dc404a61663b606bb14e862a3e2a985519133d80919406a7e4c86dddb3d2bb25e2af044cc02fd5d0528dcf7889e66b30dc5c05a3068cd3ab0af7b98d0 +AUX icecast.logrotate 140 SHA256 da38b3c3233bf7a4a059100361ecb1083fd74f22dbb5b8200a0eaad699ae1d0d SHA512 8aead6208b97b1d1cbd5d17a61dd3dd2493bdf68bfefc3ab6f9ae3e1acc856435942de7a129ef701c5379450428b9718e50701636e16d9e1ddccc8c752c2ccac WHIRLPOOL 88ae3b16f3e2c0a2e3defc86eabe24a83a94e23267a362652dc6282d04c31b8d33f6d377426c6a45b58fffb5569a7ba1e3303af9cc9d37318ea1d72a2b44c082 AUX icecast.xml 6810 SHA256 8c9c209797d79153e0995665d08007bc2d59ff564f5e415df77212767b78f3cb SHA512 605628963c989661936249bccf7318f0de40ae65f0122297d7cdce2a21f6db93d127b9b17d695a0218a3eea5bccbc31c3c8ef8c3e3750ac3351c9de1038190b3 WHIRLPOOL 412f9a578f59c2a29deb97451be28e095a3492fff0895cbb867f6a90f7e3c88beee6bd35233b4997b0e9fa5e5cd80321bd73e8915a97726964f92e0adc392482 AUX init.d.icecast 357 SHA256 bffdb754a923d12fd619b022b94398b609b940214ef012ed8e9cd03ebb2b60e6 SHA512 fa6a738f1ed2c238cdcbd4dd92bce161ea2ed40c8886afe62006f2baa898859285d8a6cf2e2fad780533d35d954fd5dd69b6be6bf4f41bc9bcee475a53c8628d WHIRLPOOL cf79f403af7ee142a4a0199dd09f077e698e15c39ecf8b904f7f70f050a260cd3145d26446f3a14ed52c6cb28424db2153ca14ac08c51129d4a6ef9c9173fd40 DIST icecast-2.3.2.tar.gz 1152319 SHA256 4742b38fc55b6373895a7c0a35baed49a848fec99f5e8538e3f0157383d0b3f0 SHA512 c971b1ead32e76e493d95de34297084a6c09d6ade1aa3836c36e58290aec294e57b2729c0f9e2765bd3d7a0d728761b7f5174e8abddb72375a8b24f7df45db34 WHIRLPOOL af33bc0c4555c868acaa0c764b2fcb98672fedaa9fbf4adea06392a059c8935df23cd1c07a680bb158f0cd7046a73c35b2ae9197bea1cd7545f4337eaf457357 DIST icecast-2.3.3.tar.gz 1161774 SHA256 1b1d06f5f83c9a983cd28cc78aa90e4038f933511b3d20d7fd2cfc116645c36d SHA512 e0ae26047744bfcb902dd5418bb83a6e25956109bd410f244fb23dd21216d2d0456c29684c38db99cfa6c5496353a860be776f569964b98286f0deca78156aba WHIRLPOOL 7042eb5f86f03b613e56c9a2362738cde9cf8bb6addfdc36a53b5a476c12edfbf6ff83612de4acba0cec7c62f7b26cf06a7f0b55cde67d81f9dd2a12fa6a8af8 EBUILD icecast-2.3.2.ebuild 1841 SHA256 3453f7ddf96e1b82385b242cae0e4fdbbf89a5226904244297e97f6133125f50 SHA512 3e595ff7ccdc61cfd511a33add2e6a862ccc3bebc8833eb04fcd54263c3dc061d51ec9106b24c04fed7fd2a2738cbb56c6242cd861484d0d6eeb3412065f7e83 WHIRLPOOL 41256dd41e5328fe4ee7e709e9dc823950cabd9ca88e5b98b28e620c91e69d162c8a59c5f4a0e8e8dc736557d715acf520b94e3e09e1c22d622183a103f8c974 +EBUILD icecast-2.3.3-r1.ebuild 2157 SHA256 d23e118d1c7d8842d5f7e04fb064306d69c533a14191527a7302ec734fe64b21 SHA512 761167b82066d49c7496a2282935485e0dc61bcff7b63b98ced3b57dd3343d3f459e3545ae9daf035a7771873a8afc7a25a04961ecf97cb335397abb1e82c172 WHIRLPOOL 41d47c52051366e970d7129331d91b12d26036d91fc9a3ffb1705852bfaf54ae01353451ae3b53161334ca2b5673ef31b9ea5a042a00b985bae4052cd9bdbbf8 EBUILD icecast-2.3.3.ebuild 1964 SHA256 fa318be5ace0df29661e42e7384da60af23dd87da22992d8f8e40eae74b3e2ad SHA512 80dd14fdf0ad8f88d7d5caeb33d7f1aec2a0d18c4cc7677d55dbea011cc6e2bb1d1fe2161440c94d6d742e47ce5441a15426bd0b9d15ba30ca0af74f6c3377f4 WHIRLPOOL 940c889bde36c3cf55989148e8a54b8f22183ecb4c73e297253b27fda9f18a74bbaec4a893ac9ff15f909222a39a1e4495922b062a4d4c0dc1a5187d69b69380 -MISC ChangeLog 13288 SHA256 e95d9d4ec0d480f873c935a36b3d15b8d4155e8f0f070308b862463d7dd78a0e SHA512 a865f65f0bfa7efeb479677d9c20476c201966bd9c7ffdc0413d2c37ca87ff777904fb283858f10d4afcf9a1dd980e50d7acc0ab53c573a58a9dbc78f39e96c3 WHIRLPOOL a1ea257758284304a52bf3706ae779baec7d3a0cca94528ed12c30c7cab9d0c54a0005823565e513a24107f3deea953054cfe59a400cd34f8b3927e8157f699b -MISC metadata.xml 437 SHA256 c644bb366bc4f4b3faa2390526516ce133d780f5781e7058be2284720dcdf9e3 SHA512 ed7862fc62ba469ad909a72bd03f56b513b97c792c016ca3d0bfbee72b5c983baf59a3b443eb9866dc7f674a05e9d3e9ed29425a8d41f8fc4f7c001b946d88ec WHIRLPOOL a00e9154160f5c2305ecbf7adb51d982968cedd4a07d71042a9a4fe9a0dfa12035ed664e46c62999edbbae530aad6fc12c71b4f0dc8aeacf528ceee530fe46db +MISC ChangeLog 13536 SHA256 aac9bae910887a19e0c8d96323a22573624eaa70bd1f2b176929a9123b7cf7c2 SHA512 ad04980bb86899842b9b02bdfc6ea8c9da999f50aa7cea2b76f5223586e2009f8f687a92d2f6be365672492f604d73898c73b4c0abe5759cabd1dfba2bef0ff3 WHIRLPOOL d87a0da1eb59c2176a5b23a7ae015a55347c8d374d9a08bf319738bbbf18048cd7f1eea4bb60012236335a177958547e7db86a0e5f3401a41b4cb99669a43d69 +MISC metadata.xml 528 SHA256 40d1728bb715171c34ecdd5f4339e5fbcb9c0f076dbfe2a9165f527c10f78471 SHA512 3aa7fa1b733b8515827c15207b0e38d121ad08de7ffae62765990a4fb6718834dbb8563c53e369cab7d0f0745c0fc1c84536bf4c11f9dc24d9d28f703cc7250d WHIRLPOOL 67b58e437ceccbfb8059f66725997a7ea3f58365d1b67e9d8273962d72583de687adf174d770bc85c55051e5edec8caff3e9612ef9b104d5e333724bdbf23f04 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJQWEhkAAoJEF0huFKJUZL5W8YP/iEhI4WamN2Bx9ff9il4anzS -nrslGImJ+CcXUYpJHyaqVDSiQvSgMwQWfS6VInJoV2dCXhHVNaQo6eZB1ZUcQ4JJ -OCDORQ3Zp7Jni7uzHib0qZTdAAidiwmWlZPzVxYFia1hjhG8Wq7UHzHQg/6jpq1W -pvb+sFd27r9Serv+aQhJu2EiRJ01I64Jj67qTtfFVK6I26R/q5eE9JTugiIO5Xfg -zVAdSySD/HWwmswcXLGMp67lH8jaQvflRdMhdgi/1+fK03aNPq3bwWXL5cZ1yiuf -Zfta2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zZ+dl3d0RpUUc +nqs/rux2hLM8fy603gEESD+ALwmyMlfjVockn5yLmUFHqK2clEoMYekzuOD+nDdE +IfpDJKfFWL3tp50KE9BY +=fNss -----END PGP SIGNATURE----- diff --git a/net-misc/icecast/files/icecast.logrotate b/net-misc/icecast/files/icecast.logrotate new file mode 100644 index 000000000000..4e7aafb8edcb --- /dev/null +++ b/net-misc/icecast/files/icecast.logrotate @@ -0,0 +1,8 @@ +/var/log/icecast/*log { + missingok + notifempty + sharedscripts + postrotate + /etc/init.d/icecast reload > /dev/null 2>&1 || true + endscript +} diff --git a/net-misc/icecast/icecast-2.3.3-r1.ebuild b/net-misc/icecast/icecast-2.3.3-r1.ebuild new file mode 100644 index 000000000000..6bf9660bc0d4 --- /dev/null +++ b/net-misc/icecast/icecast-2.3.3-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/icecast-2.3.3-r1.ebuild,v 1.1 2012/12/23 19:24:09 hwoarang Exp $ + +EAPI=4 +inherit eutils autotools user + +DESCRIPTION="An opensource alternative to shoutcast that supports mp3, ogg (vorbis/theora) and aac streaming" +HOMEPAGE="http://www.icecast.org/" +SRC_URI="http://downloads.xiph.org/releases/icecast/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="kate logrotate +speex +ssl +theora +yp" + +#Although there is a --with-ogg and --with-orbis configure option, they're +#only useful for specifying paths, not for disabling. +DEPEND="dev-libs/libxslt + dev-libs/libxml2 + media-libs/libogg + media-libs/libvorbis + kate? ( media-libs/libkate ) + logrotate? ( app-admin/logrotate ) + speex? ( media-libs/speex ) + theora? ( media-libs/libtheora ) + yp? ( net-misc/curl ) + ssl? ( dev-libs/openssl )" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewuser icecast -1 -1 -1 nogroup +} + +src_prepare() { + # bug #368539 + epatch "${FILESDIR}"/${P}-libkate.patch + # bug #430434 + epatch "${FILESDIR}"/${P}-fix-xiph_openssl.patch + eautoreconf +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + --sysconfdir=/etc/icecast2 \ + $(use_enable kate) \ + $(use_with theora) \ + $(use_with speex) \ + $(use_with yp curl) \ + $(use_with ssl openssl) \ + $(use_enable yp) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS README TODO HACKING NEWS conf/icecast.xml.dist + dohtml -A chm,hhc,hhp doc/* + doman debian/icecast2.1 + + newinitd "${FILESDIR}"/init.d.icecast icecast + + insinto /etc/icecast2 + doins "${FILESDIR}"/icecast.xml + fperms 600 /etc/icecast2/icecast.xml + + if use logrotate; then + dodir /etc/logrotate.d + insopts -m0644 + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotate ${PN} + fi + diropts -m0764 -o icecast -g nogroup + dodir /var/log/icecast + keepdir /var/log/icecast + rm -rf "${D}"/usr/share/doc/icecast +} + +pkg_postinst() { + touch "${ROOT}"var/log/icecast/{access,error}.log + chown icecast:nogroup "${ROOT}"var/log/icecast/{access,error}.log +} diff --git a/net-misc/icecast/metadata.xml b/net-misc/icecast/metadata.xml index 2abecb635d5a..85bbe6075fae 100644 --- a/net-misc/icecast/metadata.xml +++ b/net-misc/icecast/metadata.xml @@ -1,13 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sound</herd> + <herd>no-herd</herd> <maintainer> <email>hwoarang@gentoo.org</email> <name>Markos Chandras</name> </maintainer> <use> <flag name="kate">Add karaoke and text encapsulation support for Ogg files</flag> + <flag name="logrotate">Install support files for <pkg>app-admin/logrotate</pkg>?</flag> <flag name="yp">Build support for yp public directory listings</flag> </use> </pkgmetadata> |