From b1b309ff4bf91e90a4cb49251e35c32322a042f6 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Thu, 2 Feb 2012 21:56:17 +0100 Subject: Add firewall-mv --- net-firewall/firewall-mv/ChangeLog | 8 ++++++ net-firewall/firewall-mv/Manifest | 1 + net-firewall/firewall-mv/firewall-mv-6.0.ebuild | 36 +++++++++++++++++++++++++ net-firewall/firewall-mv/metadata.xml | 9 +++++++ 4 files changed, 54 insertions(+) create mode 100644 net-firewall/firewall-mv/ChangeLog create mode 100644 net-firewall/firewall-mv/Manifest create mode 100644 net-firewall/firewall-mv/firewall-mv-6.0.ebuild create mode 100644 net-firewall/firewall-mv/metadata.xml (limited to 'net-firewall') diff --git a/net-firewall/firewall-mv/ChangeLog b/net-firewall/firewall-mv/ChangeLog new file mode 100644 index 00000000..f30d2293 --- /dev/null +++ b/net-firewall/firewall-mv/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-firewall/firewall-mv +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header $ + +*firewall-mv-6.0 (02 Feb 2012) + + 02 Feb 2012; Martin Väth + New ebuild from scratch. diff --git a/net-firewall/firewall-mv/Manifest b/net-firewall/firewall-mv/Manifest new file mode 100644 index 00000000..fa583096 --- /dev/null +++ b/net-firewall/firewall-mv/Manifest @@ -0,0 +1 @@ +DIST firewall-mv-6.0.tar.gz 10254 RMD160 0672e8670515053dc89b9ae1ec91e41cde17afa0 SHA1 15144b388adda1521747dc5b30ac0a89600cfbcf SHA256 9aadbbb49a42483be9e17d37d097fe03dc6c5decb0c6c55121d72eb62ee42276 diff --git a/net-firewall/firewall-mv/firewall-mv-6.0.ebuild b/net-firewall/firewall-mv/firewall-mv-6.0.ebuild new file mode 100644 index 00000000..c9a772fb --- /dev/null +++ b/net-firewall/firewall-mv/firewall-mv-6.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +EAPI="4" +RESTRICT="mirror" + +DESCRIPTION="Initialize iptables and net-related sysctl variables" +HOMEPAGE="https://github.com/vaeth/${PN}" +SRC_URI="http://github.com/vaeth/${PN}/tarball/release-${PV} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_unpack() { + default + cd *"${PN}"-* + S="${PWD}" +} + +src_prepare() { + sed -i \ + -e "s!/etc/!${EPREFIX%/}/etc/!g" \ + -e "s!/usr/!${EPREFIX%/}/usr/!g" \ + firewall \ + firewall.config +} + +src_install() { + into / + dosbin firewall sysctl.net + insinto /etc + doins firewall.config + dodoc README +} diff --git a/net-firewall/firewall-mv/metadata.xml b/net-firewall/firewall-mv/metadata.xml new file mode 100644 index 00000000..0c91bdcd --- /dev/null +++ b/net-firewall/firewall-mv/metadata.xml @@ -0,0 +1,9 @@ + + + +no-herd + + martin@mvath.de + Martin Väth + + -- cgit v1.2.3-65-gdbad