summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-09-06 11:19:28 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-09-06 11:19:28 +0000
commit6e946f367554ce2bfdb593ef6849f8cf5f099181 (patch)
treea93ef1cf51ca600cd563cbe4296709b266b5d14d /net-firewall/shorewall-lite
parentInitial import of shorewall 4.x series wrt bug #174588 thanks to Vieri (diff)
downloadgentoo-2-6e946f367554ce2bfdb593ef6849f8cf5f099181.tar.gz
gentoo-2-6e946f367554ce2bfdb593ef6849f8cf5f099181.tar.bz2
gentoo-2-6e946f367554ce2bfdb593ef6849f8cf5f099181.zip
Initial import of shorewall 4.x series wrt bug #174588 thanks to Vieri
(Portage version: 2.1.3.7)
Diffstat (limited to 'net-firewall/shorewall-lite')
-rw-r--r--net-firewall/shorewall-lite/ChangeLog8
-rw-r--r--net-firewall/shorewall-lite/files/digest-shorewall-lite-4.0.36
-rw-r--r--net-firewall/shorewall-lite/shorewall-lite-4.0.3.ebuild63
3 files changed, 76 insertions, 1 deletions
diff --git a/net-firewall/shorewall-lite/ChangeLog b/net-firewall/shorewall-lite/ChangeLog
index 719b0d5d385c..7db91317b0b1 100644
--- a/net-firewall/shorewall-lite/ChangeLog
+++ b/net-firewall/shorewall-lite/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-firewall/shorewall-lite
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-lite/ChangeLog,v 1.17 2007/09/06 09:28:31 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-lite/ChangeLog,v 1.18 2007/09/06 11:19:28 jokey Exp $
+
+*shorewall-lite-4.0.3 (06 Sep 2007)
+
+ 06 Sep 2007; Markus Ullmann <jokey@gentoo.org>
+ +shorewall-lite-4.0.3.ebuild:
+ Initial import of shorewall 4.x series wrt bug #174588 thanks to Vieri
06 Sep 2007; Markus Ullmann <jokey@gentoo.org>
shorewall-lite-3.4.6.ebuild:
diff --git a/net-firewall/shorewall-lite/files/digest-shorewall-lite-4.0.3 b/net-firewall/shorewall-lite/files/digest-shorewall-lite-4.0.3
new file mode 100644
index 000000000000..d0999f6bffb8
--- /dev/null
+++ b/net-firewall/shorewall-lite/files/digest-shorewall-lite-4.0.3
@@ -0,0 +1,6 @@
+MD5 4657acca54b086992c5b979a99355f5b shorewall-docs-html-4.0.3.tar.bz2 2324955
+RMD160 cfe63071479637909b1ef9bd761814ec0b66cbc6 shorewall-docs-html-4.0.3.tar.bz2 2324955
+SHA256 a7821b955272b149bb7c8dfe164ae338ff62a97c8b417d995af3bf440c968067 shorewall-docs-html-4.0.3.tar.bz2 2324955
+MD5 9c47bebf3c8dce0f2005dbfa9b2468c0 shorewall-lite-4.0.3.tar.bz2 51946
+RMD160 2281219c2727df2f071cb51f2b06dad31834287b shorewall-lite-4.0.3.tar.bz2 51946
+SHA256 734b5ab9de4fae9c9004904bb6e3493ba7926531d03585b51be9810ae0ed0ca8 shorewall-lite-4.0.3.tar.bz2 51946
diff --git a/net-firewall/shorewall-lite/shorewall-lite-4.0.3.ebuild b/net-firewall/shorewall-lite/shorewall-lite-4.0.3.ebuild
new file mode 100644
index 000000000000..7257d47acbee
--- /dev/null
+++ b/net-firewall/shorewall-lite/shorewall-lite-4.0.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-lite/shorewall-lite-4.0.3.ebuild,v 1.1 2007/09/06 11:19:28 jokey Exp $
+
+# Choose between experimental, stable and beta:
+#MY_P_TREE="development/4.0" # experimental and beta
+MY_P_TREE="4.0" # stable
+#MY_P_BETA="-Beta7" # only beta
+MY_P_BETA="" # stable or experimental
+
+MY_P_DOCS="${P/${PN}/shorewall-docs-html}"
+
+MY_P="shorewall-${PV}"
+
+DESCRIPTION="An iptables-based firewall whose config is handled by a normal Shorewall."
+HOMEPAGE="http://www.shorewall.net/"
+SRC_URI="http://www1.shorewall.net/pub/shorewall/${MY_P_TREE}/${MY_P}${MY_P_BETA}/${P}${MY_P_BETA}.tar.bz2
+ doc? ( http://www1.shorewall.net/pub/shorewall/${MY_P_TREE}/${MY_P}${MY_P_BETA}/${MY_P_DOCS}${MY_P_BETA}.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="net-firewall/iptables
+ sys-apps/iproute2"
+
+src_compile() {
+ einfo "Nothing to compile."
+}
+
+src_install() {
+ keepdir /var/lib/shorewall-lite
+
+ cd "${WORKDIR}/${P}${MY_P_BETA}"
+ PREFIX="${D}" ./install.sh || die "install.sh failed"
+ newinitd "${FILESDIR}/shorewall-lite" shorewall-lite
+
+ dodoc changelog.txt releasenotes.txt
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Documentation is available at http://www.shorewall.net"
+ einfo "There are man pages for shorewall-lite(8) and for each"
+ einfo "configuration file."
+ einfo
+ einfo "You should have already generated a firewall script with"
+ einfo "'shorewall compile' on the administrative Shorewall."
+ einfo "Please refer to"
+ einfo "http://www.shorewall.net/CompiledPrograms.html"
+ einfo
+ einfo "If you intend to use the 2.6 IPSEC Support, you must retrieve the"
+ einfo "kernel patches from http://shorewall.net/pub/shorewall/contrib/IPSEC/"
+ einfo "or install kernel 2.6.16+ as well as a recent Netfilter iptables"
+ einfo "and compile it with support for policy match."
+ einfo
+ einfo "Note that /etc/shorewall-lite/shorewall.conf has been renamed"
+ einfo "to /etc/shorewall-lite/shorewall-lite.conf"
+ einfo
+ einfo "Known problems:"
+ einfo "http://shorewall.net/pub/shorewall/${MY_P_TREE}/${MY_P}${MY_P_BETA}/known_problems.txt"
+}