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>
This commit is contained in:
parent
1a1d605e9d
commit
ab8b0d3c15
|
@ -10,7 +10,6 @@
|
||||||
</upstream>
|
</upstream>
|
||||||
<use>
|
<use>
|
||||||
<flag name="cron">Install cron script</flag>
|
<flag name="cron">Install cron script</flag>
|
||||||
<flag name="logrotate">Install logrotate.d file</flag>
|
|
||||||
</use>
|
</use>
|
||||||
<longdescription lang="en">
|
<longdescription lang="en">
|
||||||
PeerGuardian Linux (pgl) is a privacy oriented firewall application. It blocks
|
PeerGuardian Linux (pgl) is a privacy oriented firewall application. It blocks
|
||||||
|
|
|
@ -15,7 +15,7 @@ SRC_URI="https://sourceforge.net/code-snapshots/git/p/pe/peerguardian/code.git/p
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
IUSE="cron dbus logrotate networkmanager qt5 zlib"
|
IUSE="cron dbus networkmanager qt5 zlib"
|
||||||
REQUIRED_USE="qt5? ( dbus )"
|
REQUIRED_USE="qt5? ( dbus )"
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
|
@ -35,7 +35,6 @@ RDEPEND="${DEPEND}
|
||||||
net-firewall/iptables
|
net-firewall/iptables
|
||||||
sys-apps/sysvinit
|
sys-apps/sysvinit
|
||||||
cron? ( virtual/cron )
|
cron? ( virtual/cron )
|
||||||
logrotate? ( app-admin/logrotate )
|
|
||||||
networkmanager? ( net-misc/networkmanager:= )
|
networkmanager? ( net-misc/networkmanager:= )
|
||||||
"
|
"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
|
@ -77,9 +76,9 @@ src_configure() {
|
||||||
--with-iconsdir=/usr/share/icons/hicolor/128x128/apps
|
--with-iconsdir=/usr/share/icons/hicolor/128x128/apps
|
||||||
--with-gentoo-init
|
--with-gentoo-init
|
||||||
--localstatedir=/var
|
--localstatedir=/var
|
||||||
|
--enable-logrotate
|
||||||
$(use_enable cron)
|
$(use_enable cron)
|
||||||
$(use_enable dbus)
|
$(use_enable dbus)
|
||||||
$(use_enable logrotate)
|
|
||||||
$(use_enable networkmanager)
|
$(use_enable networkmanager)
|
||||||
$(use_with qt5)
|
$(use_with qt5)
|
||||||
LRELEASE=$(qt5_get_bindir)/lrelease
|
LRELEASE=$(qt5_get_bindir)/lrelease
|
Loading…
Reference in New Issue