summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2012-02-02 21:56:17 +0100
committerMartin Väth <martin@mvath.de>2015-10-11 10:47:15 +0200
commitb1b309ff4bf91e90a4cb49251e35c32322a042f6 (patch)
tree1dbe3a5b9f102c3cb74b3b52967f008a52722876 /net-firewall
parentBump archwrap (diff)
downloadmv-b1b309ff4bf91e90a4cb49251e35c32322a042f6.tar.gz
mv-b1b309ff4bf91e90a4cb49251e35c32322a042f6.tar.bz2
mv-b1b309ff4bf91e90a4cb49251e35c32322a042f6.zip
Add firewall-mv
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/firewall-mv/ChangeLog8
-rw-r--r--net-firewall/firewall-mv/Manifest1
-rw-r--r--net-firewall/firewall-mv/firewall-mv-6.0.ebuild36
-rw-r--r--net-firewall/firewall-mv/metadata.xml9
4 files changed, 54 insertions, 0 deletions
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 <martin@mvath.de>
+ 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>martin@mvath.de</email>
+ <name>Martin Väth</name>
+</maintainer>
+</pkgmetadata>