summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-31 01:32:45 +0100
committerSam James <sam@gentoo.org>2021-07-31 01:32:53 +0100
commitab8b0d3c153afeb3447963dcc4807fc41a288df6 (patch)
tree3a58fc0da6c1076904140f6a789b3b88e4057134 /net-firewall
parentnet-misc/icecast: [QA] unconditionally install logrotate files (diff)
downloadgentoo-ab8b0d3c153afeb3447963dcc4807fc41a288df6.tar.gz
gentoo-ab8b0d3c153afeb3447963dcc4807fc41a288df6.tar.bz2
gentoo-ab8b0d3c153afeb3447963dcc4807fc41a288df6.zip
net-firewall/pglinux: [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 <sam@gentoo.org>
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/pglinux/metadata.xml1
-rw-r--r--net-firewall/pglinux/pglinux-2.3.1_p20171006-r1.ebuild (renamed from net-firewall/pglinux/pglinux-2.3.1_p20171006.ebuild)5
2 files changed, 2 insertions, 4 deletions
diff --git a/net-firewall/pglinux/metadata.xml b/net-firewall/pglinux/metadata.xml
index dcc75e5ecdcd..e2699e133a8b 100644
--- a/net-firewall/pglinux/metadata.xml
+++ b/net-firewall/pglinux/metadata.xml
@@ -10,7 +10,6 @@
</upstream>
<use>
<flag name="cron">Install cron script</flag>
- <flag name="logrotate">Install logrotate.d file</flag>
</use>
<longdescription lang="en">
PeerGuardian Linux (pgl) is a privacy oriented firewall application. It blocks
diff --git a/net-firewall/pglinux/pglinux-2.3.1_p20171006.ebuild b/net-firewall/pglinux/pglinux-2.3.1_p20171006-r1.ebuild
index 4c8bd3811e74..c3893308ef37 100644
--- a/net-firewall/pglinux/pglinux-2.3.1_p20171006.ebuild
+++ b/net-firewall/pglinux/pglinux-2.3.1_p20171006-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://sourceforge.net/code-snapshots/git/p/pe/peerguardian/code.git/p
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="cron dbus logrotate networkmanager qt5 zlib"
+IUSE="cron dbus networkmanager qt5 zlib"
REQUIRED_USE="qt5? ( dbus )"
DEPEND="
@@ -35,7 +35,6 @@ RDEPEND="${DEPEND}
net-firewall/iptables
sys-apps/sysvinit
cron? ( virtual/cron )
- logrotate? ( app-admin/logrotate )
networkmanager? ( net-misc/networkmanager:= )
"
BDEPEND="
@@ -77,9 +76,9 @@ src_configure() {
--with-iconsdir=/usr/share/icons/hicolor/128x128/apps
--with-gentoo-init
--localstatedir=/var
+ --enable-logrotate
$(use_enable cron)
$(use_enable dbus)
- $(use_enable logrotate)
$(use_enable networkmanager)
$(use_with qt5)
LRELEASE=$(qt5_get_bindir)/lrelease