summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2017-08-20 15:14:29 +0200
committerMartin Väth <martin@mvath.de>2017-08-20 15:14:29 +0200
commitc51e285c6e3b6aa20d7ef7e4304fc612c70338e3 (patch)
tree67e1908c4a991aefad7c95ab00abfc3d961ba8e6 /net-firewall/firewall-mv
parentapp-shells/quoter: Version bump. Provide wrapper (diff)
downloadmv-c51e285c6e3b6aa20d7ef7e4304fc612c70338e3.tar.gz
mv-c51e285c6e3b6aa20d7ef7e4304fc612c70338e3.tar.bz2
mv-c51e285c6e3b6aa20d7ef7e4304fc612c70338e3.zip
net-firewall/firewall-mv: Version bump. Provide wrapper
Diffstat (limited to 'net-firewall/firewall-mv')
-rw-r--r--net-firewall/firewall-mv/Manifest2
-rw-r--r--net-firewall/firewall-mv/firewall-mv-12.0.ebuild (renamed from net-firewall/firewall-mv/firewall-mv-11.0.ebuild)28
-rw-r--r--net-firewall/firewall-mv/metadata.xml7
3 files changed, 9 insertions, 28 deletions
diff --git a/net-firewall/firewall-mv/Manifest b/net-firewall/firewall-mv/Manifest
index cc70acf5..3fed1bc2 100644
--- a/net-firewall/firewall-mv/Manifest
+++ b/net-firewall/firewall-mv/Manifest
@@ -1 +1 @@
-DIST firewall-mv-11.0.tar.gz 16449 SHA256 e956db60b4732f7ae83827fde773b48e6d3af01c46ab4761c0a53925e5a540ec
+DIST firewall-mv-12.0.tar.gz 16865 SHA256 af75082235165a93baeffe3831fc234399367fd880b3a43729d9007f051dccac
diff --git a/net-firewall/firewall-mv/firewall-mv-11.0.ebuild b/net-firewall/firewall-mv/firewall-mv-12.0.ebuild
index 54ec3ea7..8666268e 100644
--- a/net-firewall/firewall-mv/firewall-mv-11.0.ebuild
+++ b/net-firewall/firewall-mv/firewall-mv-12.0.ebuild
@@ -12,11 +12,8 @@ SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="old-openrc"
-RDEPEND="!<sys-apps/openrc-0.13
- !old-openrc? ( !<sys-apps/openrc-0.21.7 )
- old-openrc? ( !>=sys-apps/openrc-0.21.7 )
- >=app-shells/push-2.0-r2"
+IUSE=""
+RDEPEND=">=app-shells/push-2.0-r2"
DEPEND=""
src_prepare() {
@@ -29,23 +26,14 @@ src_prepare() {
-e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
-- sbin/* || die
fi
- eapply_user
+ default
+}
+
+src_compile() {
+ emake "SYSTEMUNITDIR=$(systemd_get_systemunitdir)"
}
src_install() {
- into /
- dosbin sbin/*
- insinto /etc
- doins -r etc/firewall.d
- insinto /usr/lib/modules-load.d
- doins modules-load.d/*
- insinto /lib/firewall
- doins etc/firewall.config
- insinto /usr/share/zsh/site-functions
- doins zsh/*
- doconfd openrc/conf.d/fire*
- ! use old-openrc || doconfd openrc/conf.d/modules
- doinitd openrc/init.d/*
dodoc README
- systemd_dounit systemd/*
+ emake DESTDIR="${ED}" "SYSTEMUNITDIR=$(systemd_get_systemunitdir)" install
}
diff --git a/net-firewall/firewall-mv/metadata.xml b/net-firewall/firewall-mv/metadata.xml
index c858f194..62185dea 100644
--- a/net-firewall/firewall-mv/metadata.xml
+++ b/net-firewall/firewall-mv/metadata.xml
@@ -13,11 +13,4 @@
<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>