[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: c34b43716bd52f448c44ad5fea79d8a528d89a61 Author: Sam James gentoo org> AuthorDate: Wed Jun 28 07:41:32 2023 + Commit: Sam James gentoo org> CommitDate: Wed Jun 28 07:50:04 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c34b4371 net-misc/icecast: add missing selinux policy dep Signed-off-by: Sam James gentoo.org> net-misc/icecast/icecast-2.4.4-r1.ebuild | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net-misc/icecast/icecast-2.4.4-r1.ebuild b/net-misc/icecast/icecast-2.4.4-r1.ebuild index 3e9a5650a56b..46d51ac3475b 100644 --- a/net-misc/icecast/icecast-2.4.4-r1.ebuild +++ b/net-misc/icecast/icecast-2.4.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="https://downloads.xiph.org/releases/icecast/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" -IUSE="kate +speex +ssl +theora +yp" +IUSE="kate +speex selinux +ssl +theora +yp" #Although there is a --with-ogg and --with-orbis configure option, they're #only useful for specifying paths, not for disabling. @@ -31,7 +31,10 @@ DEPEND=" theora? ( media-libs/libtheora ) yp? ( net-misc/curl ) " -RDEPEND="${DEPEND}" +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-icecast ) +" PATCHES=( # bug #368539
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 1a1d605e9d4d2d23b221ac499b884f0bc59528a9 Author: Sam James gentoo org> AuthorDate: Sat Jul 31 00:32:44 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jul 31 00:32:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1d605e net-misc/icecast: [QA] unconditionally install logrotate files QA policy [0] says that we don't conditionalise installation of small files. It's a wasteful rebuild and inconsistent across packages for when users desire completions to be available. [0] https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301 Signed-off-by: Sam James gentoo.org> net-misc/icecast/icecast-2.4.4-r1.ebuild | 14 ++ net-misc/icecast/metadata.xml| 1 - 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/net-misc/icecast/icecast-2.4.4-r1.ebuild b/net-misc/icecast/icecast-2.4.4-r1.ebuild index 08a3afff7a2..3e9a5650a56 100644 --- a/net-misc/icecast/icecast-2.4.4-r1.ebuild +++ b/net-misc/icecast/icecast-2.4.4-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://downloads.xiph.org/releases/icecast/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" -IUSE="kate logrotate +speex +ssl +theora +yp" +IUSE="kate +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. @@ -24,7 +24,6 @@ DEPEND=" media-libs/libogg media-libs/libvorbis kate? ( media-libs/libkate ) - logrotate? ( app-admin/logrotate ) speex? ( media-libs/speex ) ssl? ( dev-libs/openssl:0= @@ -73,12 +72,11 @@ src_install() { 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 + dodir /etc/logrotate.d + insopts -m0644 + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotate ${PN} + diropts -m0764 -o icecast -g icecast dodir /var/log/icecast keepdir /var/log/icecast diff --git a/net-misc/icecast/metadata.xml b/net-misc/icecast/metadata.xml index fffe116b2fd..d16442c35c9 100644 --- a/net-misc/icecast/metadata.xml +++ b/net-misc/icecast/metadata.xml @@ -7,7 +7,6 @@ Add karaoke and text encapsulation support for Ogg files - Install support files for app-admin/logrotate? Build support for yp public directory listings
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 703df9acbc092ada09776766298746ee02c13429 Author: Conrad Kostecki gentoo org> AuthorDate: Fri Jul 23 20:49:50 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Fri Jul 23 20:55:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=703df9ac net-misc/icecast: drop old version Closes: https://bugs.gentoo.org/781416 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/icecast/icecast-2.4.4.ebuild | 92 --- 1 file changed, 92 deletions(-) diff --git a/net-misc/icecast/icecast-2.4.4.ebuild b/net-misc/icecast/icecast-2.4.4.ebuild deleted file mode 100644 index 7c424982d14..000 --- a/net-misc/icecast/icecast-2.4.4.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools systemd user - -DESCRIPTION="Opensource alternative to shoutcast that supports mp3, ogg and aac streaming" -HOMEPAGE="https://www.icecast.org/"; -SRC_URI="https://downloads.xiph.org/releases/icecast/${P}.tar.gz"; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" -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/libxml2 - dev-libs/libxslt - media-libs/libogg - media-libs/libvorbis - kate? ( media-libs/libkate ) - logrotate? ( app-admin/logrotate ) - speex? ( media-libs/speex ) - ssl? ( - dev-libs/openssl:0= - ) - theora? ( media-libs/libtheora ) - yp? ( net-misc/curl ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - # bug #368539 - "${FILESDIR}"/${PN}-2.3.3-libkate.patch - # bug #430434 - "${FILESDIR}"/${PN}-2.3.3-fix-xiph_openssl.patch -) - -pkg_setup() { - enewuser icecast -1 -1 -1 nogroup -} - -src_prepare() { - default - mv configure.{in,ac} || die - eautoreconf -} - -src_configure() { - local myeconfargs=( - --sysconfdir=/etc/icecast2 - $(use_enable kate) - $(use_enable yp) - $(use_with speex) - $(use_with ssl openssl) - $(use_with theora) - $(use_with yp curl) - ) - econf "${myeconfsrgs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS README TODO HACKING NEWS conf/icecast.xml.dist - docinto html - dodoc doc/*.html - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - systemd_dounit "${FILESDIR}"/${PN}.service - - 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 -r "${ED}"/usr/share/doc/icecast || die -} - -pkg_postinst() { - touch "${ROOT}"/var/log/icecast/{access,error}.log - chown icecast:nogroup "${ROOT}"/var/log/icecast/{access,error}.log -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: d56228b984d56c5224c38e33b6fe29b998023fe7 Author: Conrad Kostecki gentoo org> AuthorDate: Fri Jul 23 20:48:36 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Fri Jul 23 20:55:13 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d56228b9 net-misc/icecast: migrate to GLEP 81 Bug: https://bugs.gentoo.org/781416 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/icecast/icecast-2.4.4-r1.ebuild | 91 1 file changed, 91 insertions(+) diff --git a/net-misc/icecast/icecast-2.4.4-r1.ebuild b/net-misc/icecast/icecast-2.4.4-r1.ebuild new file mode 100644 index 000..08a3afff7a2 --- /dev/null +++ b/net-misc/icecast/icecast-2.4.4-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools systemd + +DESCRIPTION="Opensource alternative to shoutcast that supports mp3, ogg and aac streaming" +HOMEPAGE="https://www.icecast.org/"; +SRC_URI="https://downloads.xiph.org/releases/icecast/${P}.tar.gz"; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +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=" + acct-group/icecast + acct-user/icecast + dev-libs/libxml2 + dev-libs/libxslt + media-libs/libogg + media-libs/libvorbis + kate? ( media-libs/libkate ) + logrotate? ( app-admin/logrotate ) + speex? ( media-libs/speex ) + ssl? ( + dev-libs/openssl:0= + ) + theora? ( media-libs/libtheora ) + yp? ( net-misc/curl ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + # bug #368539 + "${FILESDIR}"/${PN}-2.3.3-libkate.patch + # bug #430434 + "${FILESDIR}"/${PN}-2.3.3-fix-xiph_openssl.patch +) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + --sysconfdir=/etc/icecast2 + $(use_enable kate) + $(use_enable yp) + $(use_with speex) + $(use_with ssl openssl) + $(use_with theora) + $(use_with yp curl) + ) + econf "${myeconfsrgs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS README TODO HACKING NEWS conf/icecast.xml.dist + docinto html + dodoc doc/*.html + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service + + 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 icecast + dodir /var/log/icecast + keepdir /var/log/icecast + rm -r "${ED}"/usr/share/doc/icecast || die +} + +pkg_postinst() { + touch "${ROOT}"/var/log/icecast/{access,error}.log + chown icecast:icecast "${ROOT}"/var/log/icecast/{access,error}.log +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 515aadfecc0c787d3d695fa85ac57b533b78c0e4 Author: Mikle Kolyada gentoo org> AuthorDate: Sun May 2 11:46:55 2021 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun May 2 11:46:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=515aadfe net-misc/icecast: remove libressl support Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Mikle Kolyada gentoo.org> net-misc/icecast/icecast-2.4.4.ebuild | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/net-misc/icecast/icecast-2.4.4.ebuild b/net-misc/icecast/icecast-2.4.4.ebuild index 1a0bb862d6a..7c424982d14 100644 --- a/net-misc/icecast/icecast-2.4.4.ebuild +++ b/net-misc/icecast/icecast-2.4.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://downloads.xiph.org/releases/icecast/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" -IUSE="kate libressl logrotate +speex +ssl +theora +yp" +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. @@ -24,8 +24,7 @@ DEPEND=" logrotate? ( app-admin/logrotate ) speex? ( media-libs/speex ) ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) + dev-libs/openssl:0= ) theora? ( media-libs/libtheora ) yp? ( net-misc/curl )
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 9c8e1b4295a7335497dfb0428435b7aa2e3d3000 Author: Michael Mair-Keimberger gmail com> AuthorDate: Tue Jun 30 18:32:55 2020 + Commit: Aaron Bauman gentoo org> CommitDate: Wed Jul 1 19:58:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8e1b42 net-misc/icecast: use HTTPS Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16514 Signed-off-by: Aaron Bauman gentoo.org> net-misc/icecast/icecast-2.4.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/icecast/icecast-2.4.4.ebuild b/net-misc/icecast/icecast-2.4.4.ebuild index 9b56924bcfd..1a0bb862d6a 100644 --- a/net-misc/icecast/icecast-2.4.4.ebuild +++ b/net-misc/icecast/icecast-2.4.4.ebuild @@ -5,8 +5,8 @@ EAPI=7 inherit autotools systemd user DESCRIPTION="Opensource alternative to shoutcast that supports mp3, ogg and aac streaming" -HOMEPAGE="http://www.icecast.org/"; -SRC_URI="http://downloads.xiph.org/releases/icecast/${P}.tar.gz"; +HOMEPAGE="https://www.icecast.org/"; +SRC_URI="https://downloads.xiph.org/releases/icecast/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 9ff3af5be94d2f44735a2f50c015693b8d714894 Author: Lars Wendler gentoo org> AuthorDate: Thu Nov 8 09:17:48 2018 + Commit: Lars Wendler gentoo org> CommitDate: Thu Nov 8 09:17:48 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ff3af5b net-misc/icecast: Security cleanup. Bug: https://bugs.gentoo.org/670148 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> net-misc/icecast/Manifest | 1 - net-misc/icecast/icecast-2.4.3.ebuild | 91 --- 2 files changed, 92 deletions(-) diff --git a/net-misc/icecast/Manifest b/net-misc/icecast/Manifest index 2bce981f62f..ff7441eddc6 100644 --- a/net-misc/icecast/Manifest +++ b/net-misc/icecast/Manifest @@ -1,2 +1 @@ -DIST icecast-2.4.3.tar.gz 2393358 BLAKE2B a2b34eeb7c94974e13250620f9a19ed0165ec0cc676c5947edf8f88cea76240ab5eb90807d598c29944573c3717b8b7951261434521bc81100c3a6ba22d85840 SHA512 70e755ee935e738f2b7310333823992517747897692d101b67d73d5cd40d6385a20c25d089a0430806c116021e6e2055761efee9fec27cd9bccb2b58a2bfd446 DIST icecast-2.4.4.tar.gz 2360592 BLAKE2B fd4034749feb4bf38c684ac6d8de572fdebce875843dc1be286264c8fe8d38feb24ea889b07ec79aada34cf16dae46eb21a8c5470f67c08f2dd56dc04c12130f SHA512 e9ffb478cac2570891787455591d881a59185e067bb36f51706a7070cd9d82d80425ec8cf151f5ebb17d1b75654449fc760f8b82a1bb05f020b47ec09e46b4d0 diff --git a/net-misc/icecast/icecast-2.4.3.ebuild b/net-misc/icecast/icecast-2.4.3.ebuild deleted file mode 100644 index 0bb95c58654..000 --- a/net-misc/icecast/icecast-2.4.3.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools systemd user - -DESCRIPTION="Opensource alternative to shoutcast that supports mp3, ogg 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 libressl 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? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - )" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewuser icecast -1 -1 -1 nogroup -} - -PATCHES=( - # bug #368539 - "${FILESDIR}"/${PN}-2.3.3-libkate.patch - # bug #430434 - "${FILESDIR}"/${PN}-2.3.3-fix-xiph_openssl.patch -) - -src_prepare() { - default - mv configure.{in,ac} || die - eautoreconf -} - -src_configure() { - econf \ - --disable-dependency-tracking \ - --docdir=/usr/share/doc/${PF} \ - --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 - docinto html - dodoc doc/*.html - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - systemd_dounit "${FILESDIR}"/${PN}.service - - 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 -r "${D}"/usr/share/doc/icecast || die -} - -pkg_postinst() { - touch "${ROOT}"var/log/icecast/{access,error}.log - chown icecast:nogroup "${ROOT}"var/log/icecast/{access,error}.log -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 87265f87175c596269a594d7a101b0516b68c956 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Nov 7 22:52:24 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Nov 7 22:59:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87265f87 net-misc/icecast: stable 2.4.4 for ppc, bug #670148 Package-Manager: Portage-2.3.51, Repoman-2.3.12 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> net-misc/icecast/icecast-2.4.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/icecast/icecast-2.4.4.ebuild b/net-misc/icecast/icecast-2.4.4.ebuild index ccc8f04d371..561df4885c2 100644 --- a/net-misc/icecast/icecast-2.4.4.ebuild +++ b/net-misc/icecast/icecast-2.4.4.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://downloads.xiph.org/releases/icecast/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~ppc ppc64 x86 ~x86-fbsd" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" IUSE="kate libressl logrotate +speex +ssl +theora +yp" #Although there is a --with-ogg and --with-orbis configure option, they're
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 4272ba98cf3e31d93ceda86233d27a5042db17da Author: Mikle Kolyada gentoo org> AuthorDate: Mon Nov 5 19:02:04 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Mon Nov 5 19:02:04 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4272ba98 net-misc/icecast: amd64 stable wrt bug #670148 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 net-misc/icecast/icecast-2.4.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/icecast/icecast-2.4.4.ebuild b/net-misc/icecast/icecast-2.4.4.ebuild index cfd3e03e886..ccc8f04d371 100644 --- a/net-misc/icecast/icecast-2.4.4.ebuild +++ b/net-misc/icecast/icecast-2.4.4.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://downloads.xiph.org/releases/icecast/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ppc64 x86 ~x86-fbsd" +KEYWORDS="amd64 ~ppc ppc64 x86 ~x86-fbsd" IUSE="kate libressl logrotate +speex +ssl +theora +yp" #Although there is a --with-ogg and --with-orbis configure option, they're
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 4f020c0e7283e70199d9db94f19403e9b1b81a23 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Nov 5 07:47:52 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Nov 5 07:47:52 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f020c0e net-misc/icecast: stable 2.4.4 for ppc64, bug #670148 Package-Manager: Portage-2.3.51, Repoman-2.3.12 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> net-misc/icecast/icecast-2.4.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/icecast/icecast-2.4.4.ebuild b/net-misc/icecast/icecast-2.4.4.ebuild index 98d967d380c..cfd3e03e886 100644 --- a/net-misc/icecast/icecast-2.4.4.ebuild +++ b/net-misc/icecast/icecast-2.4.4.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://downloads.xiph.org/releases/icecast/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 x86 ~x86-fbsd" +KEYWORDS="~amd64 ~ppc ppc64 x86 ~x86-fbsd" IUSE="kate libressl logrotate +speex +ssl +theora +yp" #Although there is a --with-ogg and --with-orbis configure option, they're
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 8b77b282e69731f752e828ba05f3ad7108902b4f Author: Lars Wendler gentoo org> AuthorDate: Fri Nov 2 16:31:38 2018 + Commit: Lars Wendler gentoo org> CommitDate: Fri Nov 2 16:31:53 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b77b282 net-misc/icecast: Security bump to version 2.4.4 Signed-off-by: Lars Wendler gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 net-misc/icecast/Manifest | 1 + net-misc/icecast/icecast-2.4.4.ebuild | 95 +++ 2 files changed, 96 insertions(+) diff --git a/net-misc/icecast/Manifest b/net-misc/icecast/Manifest index ece5918a7fb..2bce981f62f 100644 --- a/net-misc/icecast/Manifest +++ b/net-misc/icecast/Manifest @@ -1 +1,2 @@ DIST icecast-2.4.3.tar.gz 2393358 BLAKE2B a2b34eeb7c94974e13250620f9a19ed0165ec0cc676c5947edf8f88cea76240ab5eb90807d598c29944573c3717b8b7951261434521bc81100c3a6ba22d85840 SHA512 70e755ee935e738f2b7310333823992517747897692d101b67d73d5cd40d6385a20c25d089a0430806c116021e6e2055761efee9fec27cd9bccb2b58a2bfd446 +DIST icecast-2.4.4.tar.gz 2360592 BLAKE2B fd4034749feb4bf38c684ac6d8de572fdebce875843dc1be286264c8fe8d38feb24ea889b07ec79aada34cf16dae46eb21a8c5470f67c08f2dd56dc04c12130f SHA512 e9ffb478cac2570891787455591d881a59185e067bb36f51706a7070cd9d82d80425ec8cf151f5ebb17d1b75654449fc760f8b82a1bb05f020b47ec09e46b4d0 diff --git a/net-misc/icecast/icecast-2.4.4.ebuild b/net-misc/icecast/icecast-2.4.4.ebuild new file mode 100644 index 000..6c599a6c0cf --- /dev/null +++ b/net-misc/icecast/icecast-2.4.4.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools systemd user + +DESCRIPTION="Opensource alternative to shoutcast that supports mp3, ogg 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 libressl 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/libxml2 + dev-libs/libxslt + media-libs/libogg + media-libs/libvorbis + kate? ( media-libs/libkate ) + logrotate? ( app-admin/logrotate ) + speex? ( media-libs/speex ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + theora? ( media-libs/libtheora ) + yp? ( net-misc/curl ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + # bug #368539 + "${FILESDIR}"/${PN}-2.3.3-libkate.patch + # bug #430434 + "${FILESDIR}"/${PN}-2.3.3-fix-xiph_openssl.patch +) + +pkg_setup() { + enewuser icecast -1 -1 -1 nogroup +} + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-dependency-tracking + --docdir=/usr/share/doc/${PF} + --sysconfdir=/etc/icecast2 + $(use_enable kate) + $(use_enable yp) + $(use_with speex) + $(use_with ssl openssl) + $(use_with theora) + $(use_with yp curl) + ) + econf "${myeconfsrgs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS README TODO HACKING NEWS conf/icecast.xml.dist + docinto html + dodoc doc/*.html + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service + + 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 -r "${ED}"/usr/share/doc/icecast || die +} + +pkg_postinst() { + touch "${ROOT}"/var/log/icecast/{access,error}.log + chown icecast:nogroup "${ROOT}"/var/log/icecast/{access,error}.log +}
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 6cf0d5b2f14470bcee39802ba9214c2c898cb9a4 Author: David Seifert gentoo org> AuthorDate: Sun Nov 26 12:46:04 2017 + Commit: David Seifert gentoo org> CommitDate: Sun Nov 26 23:21:10 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cf0d5b2 net-misc/icecast: [QA] Consistent whitespace in metadata.xml net-misc/icecast/metadata.xml | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/net-misc/icecast/metadata.xml b/net-misc/icecast/metadata.xml index 706360d136c..fffe116b2fd 100644 --- a/net-misc/icecast/metadata.xml +++ b/net-misc/icecast/metadata.xml @@ -1,13 +1,13 @@ http://www.gentoo.org/dtd/metadata.dtd";> - -polynomia...@gentoo.org - Lars Wendler - - -Add karaoke and text encapsulation support for Ogg files - Install support files for app-admin/logrotate? -Build support for yp public directory listings - + + polynomia...@gentoo.org + Lars Wendler + + + Add karaoke and text encapsulation support for Ogg files + Install support files for app-admin/logrotate? + Build support for yp public directory listings +
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: f2435f57535fec6a6094108da8a2d683059c2d9a Author: Lars Wendler gentoo org> AuthorDate: Sun Jan 15 23:17:24 2017 + Commit: Lars Wendler gentoo org> CommitDate: Sun Jan 15 23:23:50 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2435f57 net-misc/icecast: Removed old. Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-misc/icecast/Manifest | 1 - net-misc/icecast/icecast-2.4.2.ebuild | 83 --- 2 files changed, 84 deletions(-) diff --git a/net-misc/icecast/Manifest b/net-misc/icecast/Manifest index 823056d..0653d27 100644 --- a/net-misc/icecast/Manifest +++ b/net-misc/icecast/Manifest @@ -1,2 +1 @@ -DIST icecast-2.4.2.tar.gz 2388381 SHA256 aa1ae2fa364454ccec61a9247949d19959cb0ce1b044a79151bf8657fd673f4f SHA512 6fc5a54b97f1efd63f0d3ea17fc7124cb30cfafae70615f5afdf878df9e3f57ca7882757a0691329d63ee4fc7555c695fefa415f2deb955d01244afc4528a260 WHIRLPOOL bbc369f1a5b35aec364a42aab28e92499fc0cb3a5fcef469899c77d801cd2123637328227d206c2bf9427a2c8c958036d706f61507677e240b6ef8e3546cb037 DIST icecast-2.4.3.tar.gz 2393358 SHA256 c85ca48c765d61007573ee1406a797ae6cb31fb5961a42e7f1c87adb45ddc592 SHA512 70e755ee935e738f2b7310333823992517747897692d101b67d73d5cd40d6385a20c25d089a0430806c116021e6e2055761efee9fec27cd9bccb2b58a2bfd446 WHIRLPOOL ab75b4f09bff4725fa2bf27f6a49c7f8dd7c9f66e9333e6cfe3ec92e4e84a0562648407ebb891ec7fea8d7bc9680204572972875c76d20f131f43f3748ca5347 diff --git a/net-misc/icecast/icecast-2.4.2.ebuild b/net-misc/icecast/icecast-2.4.2.ebuild deleted file mode 100644 index 225f05f.. --- a/net-misc/icecast/icecast-2.4.2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils autotools systemd 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:0= )" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewuser icecast -1 -1 -1 nogroup -} - -src_prepare() { - # bug #368539 - epatch "${FILESDIR}"/${PN}-2.3.3-libkate.patch - # bug #430434 - epatch "${FILESDIR}"/${PN}-2.3.3-fix-xiph_openssl.patch - eautoreconf -} - -src_configure() { - econf \ - --disable-dependency-tracking \ - --docdir=/usr/share/doc/${PF} \ - --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/* - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - systemd_dounit "${FILESDIR}"/${PN}.service - - 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 -}
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: b5de03ddf12f4978bcba1be7d87740e4d4898382 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Jan 2 08:58:29 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Jan 2 08:58:29 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5de03dd net-misc/icecast: amd64 stable wrt bug #604354 Package-Manager: portage-2.3.0 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-misc/icecast/icecast-2.4.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/icecast/icecast-2.4.3.ebuild b/net-misc/icecast/icecast-2.4.3.ebuild index c06dccf..966b696 100644 --- a/net-misc/icecast/icecast-2.4.3.ebuild +++ b/net-misc/icecast/icecast-2.4.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -11,7 +11,7 @@ SRC_URI="http://downloads.xiph.org/releases/icecast/${P}.tar.gz"; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" IUSE="kate libressl logrotate +speex +ssl +theora +yp" #Although there is a --with-ogg and --with-orbis configure option, they're
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 4e6104b1eb5c478b1d17e28254109313aaef5765 Author: Anthony G. Basile gentoo org> AuthorDate: Tue Aug 23 15:47:04 2016 + Commit: Anthony G. Basile gentoo org> CommitDate: Tue Aug 23 15:47:04 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e6104b1 net-misc/icecast: shorten description for repoman, add libressl support Package-Manager: portage-2.2.28 net-misc/icecast/icecast-2.4.3.ebuild | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net-misc/icecast/icecast-2.4.3.ebuild b/net-misc/icecast/icecast-2.4.3.ebuild index e14dda3..c06dccf 100644 --- a/net-misc/icecast/icecast-2.4.3.ebuild +++ b/net-misc/icecast/icecast-2.4.3.ebuild @@ -5,14 +5,14 @@ EAPI=6 inherit autotools systemd user -DESCRIPTION="An opensource alternative to shoutcast that supports mp3, ogg (vorbis/theora) and aac streaming" +DESCRIPTION="Opensource alternative to shoutcast that supports mp3, ogg 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" +IUSE="kate libressl 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. @@ -25,7 +25,10 @@ DEPEND="dev-libs/libxslt speex? ( media-libs/speex ) theora? ( media-libs/libtheora ) yp? ( net-misc/curl ) - ssl? ( dev-libs/openssl:0= )" + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" RDEPEND="${DEPEND}" pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/files/, net-misc/icecast/
commit: 9c0d4d7176d520fc1ebcf8ebc486b0f5d92b4d89 Author: Lars Wendler gentoo org> AuthorDate: Tue May 3 09:30:45 2016 + Commit: Lars Wendler gentoo org> CommitDate: Tue May 3 09:47:30 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c0d4d71 net-misc/icecast: Fixed openrc init script shebang. Converted ebuild to EAPI-6. Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler gentoo.org> .../files/{init.d.icecast-2 => icecast.initd} | 4 ++-- net-misc/icecast/icecast-2.4.2.ebuild | 2 +- net-misc/icecast/icecast-2.4.3.ebuild | 22 ++ 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/net-misc/icecast/files/init.d.icecast-2 b/net-misc/icecast/files/icecast.initd similarity index 86% rename from net-misc/icecast/files/init.d.icecast-2 rename to net-misc/icecast/files/icecast.initd index bde5877..cb658a3 100644 --- a/net-misc/icecast/files/init.d.icecast-2 +++ b/net-misc/icecast/files/icecast.initd @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2014 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 extra_started_commands="reload" diff --git a/net-misc/icecast/icecast-2.4.2.ebuild b/net-misc/icecast/icecast-2.4.2.ebuild index 31271f7..225f05f 100644 --- a/net-misc/icecast/icecast-2.4.2.ebuild +++ b/net-misc/icecast/icecast-2.4.2.ebuild @@ -58,7 +58,7 @@ src_install() { dodoc AUTHORS README TODO HACKING NEWS conf/icecast.xml.dist dohtml -A chm,hhc,hhp doc/* - newinitd "${FILESDIR}"/init.d.icecast-2 icecast + newinitd "${FILESDIR}"/${PN}.initd ${PN} systemd_dounit "${FILESDIR}"/${PN}.service insinto /etc/icecast2 diff --git a/net-misc/icecast/icecast-2.4.3.ebuild b/net-misc/icecast/icecast-2.4.3.ebuild index caecb9b..e14dda3 100644 --- a/net-misc/icecast/icecast-2.4.3.ebuild +++ b/net-misc/icecast/icecast-2.4.3.ebuild @@ -2,8 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -inherit eutils autotools systemd user +EAPI=6 +inherit autotools systemd user DESCRIPTION="An opensource alternative to shoutcast that supports mp3, ogg (vorbis/theora) and aac streaming" HOMEPAGE="http://www.icecast.org/"; @@ -32,11 +32,16 @@ pkg_setup() { enewuser icecast -1 -1 -1 nogroup } -src_prepare() { +PATCHES=( # bug #368539 - epatch "${FILESDIR}"/${PN}-2.3.3-libkate.patch + "${FILESDIR}"/${PN}-2.3.3-libkate.patch # bug #430434 - epatch "${FILESDIR}"/${PN}-2.3.3-fix-xiph_openssl.patch + "${FILESDIR}"/${PN}-2.3.3-fix-xiph_openssl.patch +) + +src_prepare() { + default + mv configure.{in,ac} || die eautoreconf } @@ -56,9 +61,10 @@ src_configure() { src_install() { emake DESTDIR="${D}" install dodoc AUTHORS README TODO HACKING NEWS conf/icecast.xml.dist - dohtml -A chm,hhc,hhp doc/* + docinto html + dodoc doc/*.html - newinitd "${FILESDIR}"/init.d.icecast-2 icecast + newinitd "${FILESDIR}"/${PN}.initd ${PN} systemd_dounit "${FILESDIR}"/${PN}.service insinto /etc/icecast2 @@ -74,7 +80,7 @@ src_install() { diropts -m0764 -o icecast -g nogroup dodir /var/log/icecast keepdir /var/log/icecast - rm -rf "${D}"/usr/share/doc/icecast + rm -r "${D}"/usr/share/doc/icecast || die } pkg_postinst() {
[gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
commit: 1d0d624bd98128e71566f0dd0e72d8d6a839d1ab Author: Lars Wendler gentoo org> AuthorDate: Sun Jan 24 13:29:58 2016 + Commit: Lars Wendler gentoo org> CommitDate: Sun Jan 24 13:30:12 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d0d624b net-misc/icecast: Bump to version 2.4.3 Package-Manager: portage-2.2.27 Signed-off-by: Lars Wendler gentoo.org> net-misc/icecast/Manifest | 1 + net-misc/icecast/icecast-2.4.3.ebuild | 83 +++ 2 files changed, 84 insertions(+) diff --git a/net-misc/icecast/Manifest b/net-misc/icecast/Manifest index 559ddcd..823056d 100644 --- a/net-misc/icecast/Manifest +++ b/net-misc/icecast/Manifest @@ -1 +1,2 @@ DIST icecast-2.4.2.tar.gz 2388381 SHA256 aa1ae2fa364454ccec61a9247949d19959cb0ce1b044a79151bf8657fd673f4f SHA512 6fc5a54b97f1efd63f0d3ea17fc7124cb30cfafae70615f5afdf878df9e3f57ca7882757a0691329d63ee4fc7555c695fefa415f2deb955d01244afc4528a260 WHIRLPOOL bbc369f1a5b35aec364a42aab28e92499fc0cb3a5fcef469899c77d801cd2123637328227d206c2bf9427a2c8c958036d706f61507677e240b6ef8e3546cb037 +DIST icecast-2.4.3.tar.gz 2393358 SHA256 c85ca48c765d61007573ee1406a797ae6cb31fb5961a42e7f1c87adb45ddc592 SHA512 70e755ee935e738f2b7310333823992517747897692d101b67d73d5cd40d6385a20c25d089a0430806c116021e6e2055761efee9fec27cd9bccb2b58a2bfd446 WHIRLPOOL ab75b4f09bff4725fa2bf27f6a49c7f8dd7c9f66e9333e6cfe3ec92e4e84a0562648407ebb891ec7fea8d7bc9680204572972875c76d20f131f43f3748ca5347 diff --git a/net-misc/icecast/icecast-2.4.3.ebuild b/net-misc/icecast/icecast-2.4.3.ebuild new file mode 100644 index 000..caecb9b --- /dev/null +++ b/net-misc/icecast/icecast-2.4.3.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils autotools systemd 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:0= )" +RDEPEND="${DEPEND}" + +pkg_setup() { + enewuser icecast -1 -1 -1 nogroup +} + +src_prepare() { + # bug #368539 + epatch "${FILESDIR}"/${PN}-2.3.3-libkate.patch + # bug #430434 + epatch "${FILESDIR}"/${PN}-2.3.3-fix-xiph_openssl.patch + eautoreconf +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + --docdir=/usr/share/doc/${PF} \ + --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/* + + newinitd "${FILESDIR}"/init.d.icecast-2 icecast + systemd_dounit "${FILESDIR}"/${PN}.service + + 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 +}