summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2016-08-30 20:40:14 +0200
committerMartin Väth <martin@mvath.de>2016-08-30 20:40:14 +0200
commitf71c7b14fb73201c63f9960b64ab574f26e78eca (patch)
tree45350bd8851db8fe1f4b931e7d9ed0ceed909bc5 /net-firewall/firewall-mv
parentapp-portage/portage-postsyncd-mv: Version bump (diff)
downloadmv-f71c7b14fb73201c63f9960b64ab574f26e78eca.tar.gz
mv-f71c7b14fb73201c63f9960b64ab574f26e78eca.tar.bz2
mv-f71c7b14fb73201c63f9960b64ab574f26e78eca.zip
net-firewall/firewall-mv: Version bump. Add IUSE=old-openrc
Diffstat (limited to 'net-firewall/firewall-mv')
-rw-r--r--net-firewall/firewall-mv/Manifest2
-rw-r--r--net-firewall/firewall-mv/firewall-mv-9.6.ebuild (renamed from net-firewall/firewall-mv/firewall-mv-9.5.ebuild)7
-rw-r--r--net-firewall/firewall-mv/metadata.xml7
3 files changed, 13 insertions, 3 deletions
diff --git a/net-firewall/firewall-mv/Manifest b/net-firewall/firewall-mv/Manifest
index 974f12f5..6c45578c 100644
--- a/net-firewall/firewall-mv/Manifest
+++ b/net-firewall/firewall-mv/Manifest
@@ -1 +1 @@
-DIST firewall-mv-9.5.tar.gz 16172 SHA256 6b62900a55d8ba443f0f169f6ce5e9963f66a3504d8061836c2633a5bedaa5a1
+DIST firewall-mv-9.6.tar.gz 16263 SHA256 475d4a5ec436b5848edebc9ad576b0017220205cd96eddf1449acd2ff82d97e4
diff --git a/net-firewall/firewall-mv/firewall-mv-9.5.ebuild b/net-firewall/firewall-mv/firewall-mv-9.6.ebuild
index c12b6d7e..75a63e5d 100644
--- a/net-firewall/firewall-mv/firewall-mv-9.5.ebuild
+++ b/net-firewall/firewall-mv/firewall-mv-9.6.ebuild
@@ -12,8 +12,10 @@ SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="old-openrc"
RDEPEND="!<sys-apps/openrc-0.13
+ old-openrc? ( !>sys-apps/openrc-0.21.5 )
+ !old-openrc? ( !<=sys-apps/openrc-0.21.5 )
app-shells/push"
DEPEND=""
@@ -39,7 +41,8 @@ src_install() {
doins modules-load.d/*
insinto /usr/share/zsh/site-functions
doins zsh/*
- doconfd openrc/conf.d/*
+ doconfd openrc/conf.d/fire*
+ ! use old-openrc || doconfd openrc/conf.d/modules
doinitd openrc/init.d/*
dodoc README
systemd_dounit systemd/*
diff --git a/net-firewall/firewall-mv/metadata.xml b/net-firewall/firewall-mv/metadata.xml
index 62185dea..c858f194 100644
--- a/net-firewall/firewall-mv/metadata.xml
+++ b/net-firewall/firewall-mv/metadata.xml
@@ -13,4 +13,11 @@
<bugs-to>mailto:martin@mvath.de</bugs-to>
<remote-id type="github">vaeth/firewall-mv</remote-id>
</upstream>
+ <use>
+ <flag name="old-openrc">Install rudimentary support for
+/etc/modules.load.d for sys-apps/openrc-0.21.5 or older. This is a temporary
+hack of /etc/conf.d/modules which should not be used with more recent versions
+of sys-apps/openrc. Therefore, newer or older versions of openrc are blocked
+depending on this flag, respectively.</flag>
+ </use>
</pkgmetadata>