Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/icecast/
Date: Sat, 31 Jul 2021 00:33:08
Message-Id: 1627691573.1a1d605e9d4d2d23b221ac499b884f0bc59528a9.sam@gentoo
1 commit: 1a1d605e9d4d2d23b221ac499b884f0bc59528a9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 31 00:32:44 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 31 00:32:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1d605e
7
8 net-misc/icecast: [QA] unconditionally install logrotate files
9
10 QA policy [0] says that we don't conditionalise installation of
11 small files. It's a wasteful rebuild and inconsistent across packages
12 for when users desire completions to be available.
13
14 [0] https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 net-misc/icecast/icecast-2.4.4-r1.ebuild | 14 ++++++--------
18 net-misc/icecast/metadata.xml | 1 -
19 2 files changed, 6 insertions(+), 9 deletions(-)
20
21 diff --git a/net-misc/icecast/icecast-2.4.4-r1.ebuild b/net-misc/icecast/icecast-2.4.4-r1.ebuild
22 index 08a3afff7a2..3e9a5650a56 100644
23 --- a/net-misc/icecast/icecast-2.4.4-r1.ebuild
24 +++ b/net-misc/icecast/icecast-2.4.4-r1.ebuild
25 @@ -12,7 +12,7 @@ SRC_URI="https://downloads.xiph.org/releases/icecast/${P}.tar.gz"
26 LICENSE="GPL-2"
27 SLOT="0"
28 KEYWORDS="amd64 ppc ppc64 x86"
29 -IUSE="kate logrotate +speex +ssl +theora +yp"
30 +IUSE="kate +speex +ssl +theora +yp"
31
32 #Although there is a --with-ogg and --with-orbis configure option, they're
33 #only useful for specifying paths, not for disabling.
34 @@ -24,7 +24,6 @@ DEPEND="
35 media-libs/libogg
36 media-libs/libvorbis
37 kate? ( media-libs/libkate )
38 - logrotate? ( app-admin/logrotate )
39 speex? ( media-libs/speex )
40 ssl? (
41 dev-libs/openssl:0=
42 @@ -73,12 +72,11 @@ src_install() {
43 doins "${FILESDIR}"/icecast.xml
44 fperms 600 /etc/icecast2/icecast.xml
45
46 - if use logrotate; then
47 - dodir /etc/logrotate.d
48 - insopts -m0644
49 - insinto /etc/logrotate.d
50 - newins "${FILESDIR}"/${PN}.logrotate ${PN}
51 - fi
52 + dodir /etc/logrotate.d
53 + insopts -m0644
54 + insinto /etc/logrotate.d
55 + newins "${FILESDIR}"/${PN}.logrotate ${PN}
56 +
57 diropts -m0764 -o icecast -g icecast
58 dodir /var/log/icecast
59 keepdir /var/log/icecast
60
61 diff --git a/net-misc/icecast/metadata.xml b/net-misc/icecast/metadata.xml
62 index fffe116b2fd..d16442c35c9 100644
63 --- a/net-misc/icecast/metadata.xml
64 +++ b/net-misc/icecast/metadata.xml
65 @@ -7,7 +7,6 @@
66 </maintainer>
67 <use>
68 <flag name="kate">Add karaoke and text encapsulation support for Ogg files</flag>
69 - <flag name="logrotate">Install support files for <pkg>app-admin/logrotate</pkg>?</flag>
70 <flag name="yp">Build support for yp public directory listings</flag>
71 </use>
72 </pkgmetadata>