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-firewall/pglinux/
Date: Sat, 31 Jul 2021 00:33:07
Message-Id: 1627691573.ab8b0d3c153afeb3447963dcc4807fc41a288df6.sam@gentoo
1 commit: ab8b0d3c153afeb3447963dcc4807fc41a288df6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 31 00:32:45 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=ab8b0d3c
7
8 net-firewall/pglinux: [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-firewall/pglinux/metadata.xml | 1 -
18 ...inux-2.3.1_p20171006.ebuild => pglinux-2.3.1_p20171006-r1.ebuild} | 5 ++---
19 2 files changed, 2 insertions(+), 4 deletions(-)
20
21 diff --git a/net-firewall/pglinux/metadata.xml b/net-firewall/pglinux/metadata.xml
22 index dcc75e5ecdc..e2699e133a8 100644
23 --- a/net-firewall/pglinux/metadata.xml
24 +++ b/net-firewall/pglinux/metadata.xml
25 @@ -10,7 +10,6 @@
26 </upstream>
27 <use>
28 <flag name="cron">Install cron script</flag>
29 - <flag name="logrotate">Install logrotate.d file</flag>
30 </use>
31 <longdescription lang="en">
32 PeerGuardian Linux (pgl) is a privacy oriented firewall application. It blocks
33
34 diff --git a/net-firewall/pglinux/pglinux-2.3.1_p20171006.ebuild b/net-firewall/pglinux/pglinux-2.3.1_p20171006-r1.ebuild
35 similarity index 95%
36 rename from net-firewall/pglinux/pglinux-2.3.1_p20171006.ebuild
37 rename to net-firewall/pglinux/pglinux-2.3.1_p20171006-r1.ebuild
38 index 4c8bd3811e7..c3893308ef3 100644
39 --- a/net-firewall/pglinux/pglinux-2.3.1_p20171006.ebuild
40 +++ b/net-firewall/pglinux/pglinux-2.3.1_p20171006-r1.ebuild
41 @@ -15,7 +15,7 @@ SRC_URI="https://sourceforge.net/code-snapshots/git/p/pe/peerguardian/code.git/p
42 LICENSE="GPL-3"
43 SLOT="0"
44 KEYWORDS="~amd64 ~x86"
45 -IUSE="cron dbus logrotate networkmanager qt5 zlib"
46 +IUSE="cron dbus networkmanager qt5 zlib"
47 REQUIRED_USE="qt5? ( dbus )"
48
49 DEPEND="
50 @@ -35,7 +35,6 @@ RDEPEND="${DEPEND}
51 net-firewall/iptables
52 sys-apps/sysvinit
53 cron? ( virtual/cron )
54 - logrotate? ( app-admin/logrotate )
55 networkmanager? ( net-misc/networkmanager:= )
56 "
57 BDEPEND="
58 @@ -77,9 +76,9 @@ src_configure() {
59 --with-iconsdir=/usr/share/icons/hicolor/128x128/apps
60 --with-gentoo-init
61 --localstatedir=/var
62 + --enable-logrotate
63 $(use_enable cron)
64 $(use_enable dbus)
65 - $(use_enable logrotate)
66 $(use_enable networkmanager)
67 $(use_with qt5)
68 LRELEASE=$(qt5_get_bindir)/lrelease