Skip to content

Commit

Permalink
net-firewall/pglinux: [QA] unconditionally install logrotate files
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
thesamesam committed Jul 31, 2021
1 parent 1a1d605 commit ab8b0d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion net-firewall/pglinux/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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="
Expand All @@ -35,7 +35,6 @@ RDEPEND="${DEPEND}
net-firewall/iptables
sys-apps/sysvinit
cron? ( virtual/cron )
logrotate? ( app-admin/logrotate )
networkmanager? ( net-misc/networkmanager:= )
"
BDEPEND="
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ab8b0d3

Please sign in to comment.