summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-09-06 11:22:31 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-09-06 11:22:31 +0000
commit13bd9eb555e084de0a9eadee83a8e06a144bcfad (patch)
treeeb0d8bab6775cfde8ddb4f4c1ba62fffd3a87f06 /net-firewall
parentStable on sparc wrt security bug #191321 (diff)
downloadhistorical-13bd9eb555e084de0a9eadee83a8e06a144bcfad.tar.gz
historical-13bd9eb555e084de0a9eadee83a8e06a144bcfad.tar.bz2
historical-13bd9eb555e084de0a9eadee83a8e06a144bcfad.zip
Initial import of shorewall 4.x series wrt bug #174588 thanks to Vieri
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/shorewall-common/ChangeLog10
-rw-r--r--net-firewall/shorewall-common/Manifest21
-rw-r--r--net-firewall/shorewall-common/files/digest-shorewall-common-4.0.36
-rw-r--r--net-firewall/shorewall-common/files/shorewall.initd75
-rw-r--r--net-firewall/shorewall-common/metadata.xml8
-rw-r--r--net-firewall/shorewall-common/shorewall-common-4.0.3.ebuild101
-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
-rw-r--r--net-firewall/shorewall-shell/ChangeLog10
-rw-r--r--net-firewall/shorewall-shell/Manifest16
-rw-r--r--net-firewall/shorewall-shell/files/digest-shorewall-shell-4.0.33
-rw-r--r--net-firewall/shorewall-shell/metadata.xml8
-rw-r--r--net-firewall/shorewall-shell/shorewall-shell-4.0.3.ebuild52
-rw-r--r--net-firewall/shorewall/ChangeLog7
-rw-r--r--net-firewall/shorewall/files/digest-shorewall-4.00
-rw-r--r--net-firewall/shorewall/shorewall-4.0.ebuild25
17 files changed, 417 insertions, 2 deletions
diff --git a/net-firewall/shorewall-common/ChangeLog b/net-firewall/shorewall-common/ChangeLog
new file mode 100644
index 000000000000..c3fb1f8ab4e0
--- /dev/null
+++ b/net-firewall/shorewall-common/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-firewall/shorewall-common
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/ChangeLog,v 1.1 2007/09/06 11:16:44 jokey Exp $
+
+*shorewall-common-4.0.3 (06 Sep 2007)
+
+ 06 Sep 2007; Markus Ullmann <jokey@gentoo.org> +files/shorewall.initd,
+ +metadata.xml, +shorewall-common-4.0.3.ebuild:
+ Initial import of shorewall 4.x series wrt bug #174588 thanks to Vieri
+
diff --git a/net-firewall/shorewall-common/Manifest b/net-firewall/shorewall-common/Manifest
new file mode 100644
index 000000000000..e4705fccf6c5
--- /dev/null
+++ b/net-firewall/shorewall-common/Manifest
@@ -0,0 +1,21 @@
+AUX shorewall.initd 1812 RMD160 73672d6c34a14277b68e882f86158d09daa4a282 SHA1 929b2b6256a9776a6a88b613b50ea9879f98e938 SHA256 2936b7fcf96c5411d7cd5c0aa951664b840dfecd1bb8d369e10621a0d89a320e
+MD5 6f1c449b193857db7eeee19b118ff523 files/shorewall.initd 1812
+RMD160 73672d6c34a14277b68e882f86158d09daa4a282 files/shorewall.initd 1812
+SHA256 2936b7fcf96c5411d7cd5c0aa951664b840dfecd1bb8d369e10621a0d89a320e files/shorewall.initd 1812
+DIST shorewall-common-4.0.3.tar.bz2 127258 RMD160 d7894d7f5ce3f9b14645ef36b8b08f1f413cadf9 SHA1 45d864be4364cf861809860b37b893933f5f8c94 SHA256 05738d5c6c895f861d5946160c9f4daf8e8316a1fdbb222173c5f5fff133d314
+DIST shorewall-docs-html-4.0.3.tar.bz2 2324955 RMD160 cfe63071479637909b1ef9bd761814ec0b66cbc6 SHA1 fdf04fd104e4c255745522fe4deb40727ef8a064 SHA256 a7821b955272b149bb7c8dfe164ae338ff62a97c8b417d995af3bf440c968067
+EBUILD shorewall-common-4.0.3.ebuild 3602 RMD160 6417cab413ad38975e8a31445000d83bd856aead SHA1 4b03446aaf9981ffd9a9b77426b9c7f24dfbc8e0 SHA256 252ca16b412940ac031b14592b94f5440631b740f3f0fc11aab4e25512e59869
+MD5 6e97a6015881b5b37a9ce38e398e85db shorewall-common-4.0.3.ebuild 3602
+RMD160 6417cab413ad38975e8a31445000d83bd856aead shorewall-common-4.0.3.ebuild 3602
+SHA256 252ca16b412940ac031b14592b94f5440631b740f3f0fc11aab4e25512e59869 shorewall-common-4.0.3.ebuild 3602
+MISC ChangeLog 365 RMD160 c484bd2613e7552ce9452c9c01316eeca03bc729 SHA1 da81f9630c50f7063b206e94bf80d726d53b8248 SHA256 4f6b1dace6984eeede732fea8cc24dc31ba7b109c5a116f3c54a65526adfd2f4
+MD5 13645b70e3620fd004129b5c14a92856 ChangeLog 365
+RMD160 c484bd2613e7552ce9452c9c01316eeca03bc729 ChangeLog 365
+SHA256 4f6b1dace6984eeede732fea8cc24dc31ba7b109c5a116f3c54a65526adfd2f4 ChangeLog 365
+MISC metadata.xml 221 RMD160 6a612dbdb85b7cbc15a4f4924fc62b435900bee4 SHA1 59ce39c64900516f7d583951daacb16fc01f0ea1 SHA256 80bafe9d61de4580c061d796ca9c244633349b7a6da85aeae6e11bbaad597110
+MD5 9683bb7323c40d69b48d54ad0eb169ed metadata.xml 221
+RMD160 6a612dbdb85b7cbc15a4f4924fc62b435900bee4 metadata.xml 221
+SHA256 80bafe9d61de4580c061d796ca9c244633349b7a6da85aeae6e11bbaad597110 metadata.xml 221
+MD5 e2bb1a73a2dc8ea78e0533afc495d349 files/digest-shorewall-common-4.0.3 554
+RMD160 c9ccdf6951b91c765f69b1a17ff38f569dcc1c44 files/digest-shorewall-common-4.0.3 554
+SHA256 f993b931fd513d9b8c953259c13dd1dd862611d7f59d29d1cc2dc0d3a57be086 files/digest-shorewall-common-4.0.3 554
diff --git a/net-firewall/shorewall-common/files/digest-shorewall-common-4.0.3 b/net-firewall/shorewall-common/files/digest-shorewall-common-4.0.3
new file mode 100644
index 000000000000..b23580de6063
--- /dev/null
+++ b/net-firewall/shorewall-common/files/digest-shorewall-common-4.0.3
@@ -0,0 +1,6 @@
+MD5 34c462dd278592a9b4a98c7ebee5cc9b shorewall-common-4.0.3.tar.bz2 127258
+RMD160 d7894d7f5ce3f9b14645ef36b8b08f1f413cadf9 shorewall-common-4.0.3.tar.bz2 127258
+SHA256 05738d5c6c895f861d5946160c9f4daf8e8316a1fdbb222173c5f5fff133d314 shorewall-common-4.0.3.tar.bz2 127258
+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
diff --git a/net-firewall/shorewall-common/files/shorewall.initd b/net-firewall/shorewall-common/files/shorewall.initd
new file mode 100644
index 000000000000..27efb064ed91
--- /dev/null
+++ b/net-firewall/shorewall-common/files/shorewall.initd
@@ -0,0 +1,75 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/files/shorewall.initd,v 1.1 2007/09/06 11:16:44 jokey Exp $
+
+opts="start stop restart clear reset refresh check"
+
+depend() {
+ need net
+ provide firewall
+ after ulogd
+}
+
+start() {
+ ebegin "Starting firewall"
+ /sbin/shorewall -f start 1>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping firewall"
+ /sbin/shorewall stop 1>/dev/null
+ eend $?
+}
+
+restart() {
+ # shorewall comes with its own control script that includes a
+ # restart function, so refrain from calling svc_stop/svc_start
+ # here. Note that this comment is required to fix bug 55576;
+ # runscript.sh greps this script... (09 Jul 2004 agriffis)
+ ebegin "Restarting firewall"
+ if [ -f /var/lib/shorewall/restore ] ; then
+ /sbin/shorewall restore
+ else
+ /sbin/shorewall restart 1>/dev/null
+ fi
+ eend $?
+}
+
+clear() {
+ # clear will remove all the rules and bring the system to an unfirewalled
+ # state. (21 Nov 2004 eldad)
+
+ ebegin "Clearing all firewall rules and setting policy to ACCEPT"
+ /sbin/shorewall clear
+ eend $?
+}
+
+reset() {
+ # reset the packet and byte counters in the firewall
+
+ ebegin "Resetting the packet and byte counters in the firewall"
+ /sbin/shorewall reset
+ eend $?
+}
+
+refresh() {
+ # refresh the rules involving the broadcast addresses of firewall
+ # interfaces, the black list, traffic control rules and
+ # ECN control rules
+
+ ebegin "Refreshing firewall rules"
+ /sbin/shorewall refresh
+ eend $?
+}
+
+check() {
+ # perform cursory validation of the zones, interfaces, hosts, rules
+ # and policy files. CAUTION: does not parse and validate the generated
+ # iptables commands.
+
+ ebegin "Checking configuration files"
+ /sbin/shorewall check
+ eend $?
+}
diff --git a/net-firewall/shorewall-common/metadata.xml b/net-firewall/shorewall-common/metadata.xml
new file mode 100644
index 000000000000..1c54eb31a1ba
--- /dev/null
+++ b/net-firewall/shorewall-common/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+<maintainer>
+ <email>netmon@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-firewall/shorewall-common/shorewall-common-4.0.3.ebuild b/net-firewall/shorewall-common/shorewall-common-4.0.3.ebuild
new file mode 100644
index 000000000000..4c89b31c47b0
--- /dev/null
+++ b/net-firewall/shorewall-common/shorewall-common-4.0.3.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-common/shorewall-common-4.0.3.ebuild,v 1.1 2007/09/06 11:16:44 jokey Exp $
+
+inherit eutils
+
+# Choose between experimental, stable and beta:
+#MY_P_TREE="development/4.0" # experimental and beta
+MY_P_TREE="4.0" # stable
+#MY_P_BETA="-RC1" # only beta and RC
+MY_P_BETA="" # stable or experimental
+
+MY_P="${P/-common/}${MY_P_BETA}"
+MY_PN="${PN/-common/}"
+
+MY_P_DOCS="${MY_P/${MY_PN}/${MY_PN}-docs-html}"
+
+DESCRIPTION="Shoreline Firewall is an iptables-based firewall for Linux."
+HOMEPAGE="http://www.shorewall.net/"
+SRC_URI="http://www1.shorewall.net/pub/${MY_PN}/${MY_P_TREE}/${MY_P}/${P}${MY_P_BETA}.tar.bz2
+ doc? ( http://www1.shorewall.net/pub/${MY_PN}/${MY_P_TREE}/${MY_P}/${MY_P_DOCS}.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=net-firewall/iptables-1.2.4
+ sys-apps/iproute2
+ ~net-firewall/shorewall-shell-${PV}
+ !<net-firewall/shorewall-4.0.0"
+
+pkg_setup() {
+ if built_with_use sys-apps/iproute2 minimal; then
+ die "Shorewall requires sys-apps/iproute2 to be built without the \"minimal\" USE flag."
+ fi
+}
+
+src_compile() {
+ einfo "Nothing to compile."
+}
+
+src_install() {
+ keepdir /var/lib/shorewall
+
+ cd "${WORKDIR}/${P}${MY_P_BETA}"
+ PREFIX="${D}" ./install.sh || die "install.sh failed"
+ newinitd "${FILESDIR}"/shorewall.initd shorewall || die "doinitd failed"
+
+ dodoc changelog.txt releasenotes.txt
+ if use doc; then
+ cd "${WORKDIR}/${MY_P_DOCS}"
+ # install documentation
+ dohtml -r *
+ ## dosym Documentation_Index.html "/usr/share/doc/${PF}/html/index.htm"
+ # install samples
+ cp -pR "${S}${MY_P_BETA}/Samples" "${D}/usr/share/doc/${PF}"
+ fi
+}
+
+pkg_postinst() {
+ elog
+ if use doc ; then
+ elog "Documentation is available at /usr/share/doc/${PF}/html."
+ elog "Please read the Release Notes in /usr/share/doc/${PF}."
+ elog "Samples are available at /usr/share/doc/${PF}/Samples."
+ else
+ elog "Documentation is available at http://www.shorewall.net"
+ fi
+ elog "There are man pages for shorewall(8) and for each configuration file."
+ elog
+ elog "Bridging configuration has changed with kernel 2.6.20+."
+ elog "Check the documentation."
+ elog
+ elog "Do not blindly start shorewall, edit the files in /etc/shorewall first"
+ elog "At the very least, you must change 'STARTUP_ENABLED' in shorewall.conf"
+ elog
+ elog "Be aware that version ${MY_P_TREE} differs substantially from previous releases."
+ elog "Information on upgrading is available at:"
+ elog "http://www.shorewall.net/upgrade_issues.htm"
+ elog
+ elog "There is a 'shorewall compile' command to generate scripts to run"
+ elog "on systems with Shorewall Lite installed."
+ elog "Please refer to http://www.shorewall.net/CompiledPrograms.html"
+ elog "It is advised to copy the /usr/share/shorewall/configfiles dir to your"
+ elog "own 'export directories'. However, whenever you upgrade Shorewall you"
+ elog "should check for changes in configfiles and manually update your exports."
+ elog "Alternatively, if you only have one Shorewall-Lite system in your network"
+ elog "then you can use the configfiles dir but set CONFIG_PROTECT appropriately"
+ elog "in /etc/make.conf (man make.conf)."
+ elog
+ elog "Known problems:"
+ elog "http://shorewall.net/pub/${MY_PN}/${MY_P_TREE}/${MY_P}/known_problems.txt"
+ elog
+ elog "Whether upgrading or installing you should run shorewall check,"
+ elog "correct any errors found and run shorewall restart|start."
+ elog
+ elog "${PN} requires a compiler."
+ elog "You can choose to emerge shorewall-shell and/or shorewall-perl."
+ elog "As of ${PV} shorewall-shell is mandatory."
+}
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"
+}
diff --git a/net-firewall/shorewall-shell/ChangeLog b/net-firewall/shorewall-shell/ChangeLog
new file mode 100644
index 000000000000..a3081bf10c89
--- /dev/null
+++ b/net-firewall/shorewall-shell/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-firewall/shorewall-shell
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-shell/ChangeLog,v 1.1 2007/09/06 11:15:28 jokey Exp $
+
+*shorewall-shell-4.0.3 (06 Sep 2007)
+
+ 06 Sep 2007; Markus Ullmann <jokey@gentoo.org> +metadata.xml,
+ +shorewall-shell-4.0.3.ebuild:
+ Initial import of shorewall 4.x series wrt bug #174588 thanks to Vieri
+
diff --git a/net-firewall/shorewall-shell/Manifest b/net-firewall/shorewall-shell/Manifest
new file mode 100644
index 000000000000..9a4de3e32447
--- /dev/null
+++ b/net-firewall/shorewall-shell/Manifest
@@ -0,0 +1,16 @@
+DIST shorewall-shell-4.0.3.tar.bz2 70518 RMD160 eeef1d366d90db86510ec81715742a8c421b635d SHA1 21f6fa715e1ccd3573f581e95817ccdebd0d182b SHA256 ad01cc39114d3cc7b96f7f0594c879dc485737a7886f9e0421733c91adb24d1c
+EBUILD shorewall-shell-4.0.3.ebuild 1385 RMD160 f43aff44b46c326d0f56f5ae43445634236f4ef4 SHA1 6239b23ac737fd7d7ffb4126354fcfaa96c8b795 SHA256 e13ae0092cfff1bba24afd526ff2bc918c27ce7256a638d4f8e7b97373049772
+MD5 ca3bf30adf47e0db89c261e41da51200 shorewall-shell-4.0.3.ebuild 1385
+RMD160 f43aff44b46c326d0f56f5ae43445634236f4ef4 shorewall-shell-4.0.3.ebuild 1385
+SHA256 e13ae0092cfff1bba24afd526ff2bc918c27ce7256a638d4f8e7b97373049772 shorewall-shell-4.0.3.ebuild 1385
+MISC ChangeLog 338 RMD160 4bad0eec25f250784120c77738f6d5a928ca65aa SHA1 0ac36eb5a8b5903090fb8b44a9753b5915dc94d1 SHA256 1d6ba2df4c36ad4d0d209b4abae85a10e12f2a76e13642ccb89fac00ead03248
+MD5 aa69e0c19b597218c574defe4a61bf8f ChangeLog 338
+RMD160 4bad0eec25f250784120c77738f6d5a928ca65aa ChangeLog 338
+SHA256 1d6ba2df4c36ad4d0d209b4abae85a10e12f2a76e13642ccb89fac00ead03248 ChangeLog 338
+MISC metadata.xml 221 RMD160 6a612dbdb85b7cbc15a4f4924fc62b435900bee4 SHA1 59ce39c64900516f7d583951daacb16fc01f0ea1 SHA256 80bafe9d61de4580c061d796ca9c244633349b7a6da85aeae6e11bbaad597110
+MD5 9683bb7323c40d69b48d54ad0eb169ed metadata.xml 221
+RMD160 6a612dbdb85b7cbc15a4f4924fc62b435900bee4 metadata.xml 221
+SHA256 80bafe9d61de4580c061d796ca9c244633349b7a6da85aeae6e11bbaad597110 metadata.xml 221
+MD5 b5bc5cfa9f245cc05ce4f9964e3bf5f2 files/digest-shorewall-shell-4.0.3 265
+RMD160 6a3d6638cdb8fe6089654414a098bfc3853c281d files/digest-shorewall-shell-4.0.3 265
+SHA256 9929ba7149d34597912cf30268339e0b239d1e8f102e82aef611b5f4fa97986e files/digest-shorewall-shell-4.0.3 265
diff --git a/net-firewall/shorewall-shell/files/digest-shorewall-shell-4.0.3 b/net-firewall/shorewall-shell/files/digest-shorewall-shell-4.0.3
new file mode 100644
index 000000000000..f0ae904270af
--- /dev/null
+++ b/net-firewall/shorewall-shell/files/digest-shorewall-shell-4.0.3
@@ -0,0 +1,3 @@
+MD5 ac399971abf4f3d10dd84adcefd12146 shorewall-shell-4.0.3.tar.bz2 70518
+RMD160 eeef1d366d90db86510ec81715742a8c421b635d shorewall-shell-4.0.3.tar.bz2 70518
+SHA256 ad01cc39114d3cc7b96f7f0594c879dc485737a7886f9e0421733c91adb24d1c shorewall-shell-4.0.3.tar.bz2 70518
diff --git a/net-firewall/shorewall-shell/metadata.xml b/net-firewall/shorewall-shell/metadata.xml
new file mode 100644
index 000000000000..1c54eb31a1ba
--- /dev/null
+++ b/net-firewall/shorewall-shell/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+<maintainer>
+ <email>netmon@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-firewall/shorewall-shell/shorewall-shell-4.0.3.ebuild b/net-firewall/shorewall-shell/shorewall-shell-4.0.3.ebuild
new file mode 100644
index 000000000000..938bd3f40a57
--- /dev/null
+++ b/net-firewall/shorewall-shell/shorewall-shell-4.0.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-shell/shorewall-shell-4.0.3.ebuild,v 1.1 2007/09/06 11:15: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="shorewall-${PV}"
+
+DESCRIPTION="Shoreline Firewall shell-based compiler."
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="net-firewall/iptables
+ sys-apps/iproute2
+ !<net-firewall/shorewall-4.0.0"
+
+PDEPEND="~net-firewall/shorewall-common-${PV}"
+
+src_compile() {
+ einfo "Nothing to compile."
+}
+
+src_install() {
+ cd "${WORKDIR}/${P}${MY_P_BETA}"
+ PREFIX="${D}" ./install.sh || die "install.sh failed"
+
+ dodoc releasenotes.txt
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Documentation is available at http://www.shorewall.net"
+ einfo
+ einfo "In order to use the shell compiler you need to add"
+ einfo "SHOREWALL_COMPILER=shell"
+ einfo "to shorewall.conf"
+ einfo
+ einfo "Please read the included release notes for more information."
+ einfo
+ einfo "Known problems:"
+ einfo "http://www1.shorewall.net/pub/shorewall/${MY_P_TREE}/${MY_P}${MY_P_BETA}/known_problems.txt"
+ einfo
+}
diff --git a/net-firewall/shorewall/ChangeLog b/net-firewall/shorewall/ChangeLog
index 841087d8ccec..5afaafe4bc0a 100644
--- a/net-firewall/shorewall/ChangeLog
+++ b/net-firewall/shorewall/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-firewall/shorewall
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v 1.141 2007/09/06 09:27:16 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/ChangeLog,v 1.142 2007/09/06 11:22:31 jokey Exp $
+
+*shorewall-4.0 (06 Sep 2007)
+
+ 06 Sep 2007; Markus Ullmann <jokey@gentoo.org> +shorewall-4.0.ebuild:
+ Initial import of shorewall 4.x series wrt bug #174588 thanks to Vieri
06 Sep 2007; Markus Ullmann <jokey@gentoo.org> shorewall-3.4.6.ebuild:
Stable on sparc / x86
diff --git a/net-firewall/shorewall/files/digest-shorewall-4.0 b/net-firewall/shorewall/files/digest-shorewall-4.0
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/net-firewall/shorewall/files/digest-shorewall-4.0
diff --git a/net-firewall/shorewall/shorewall-4.0.ebuild b/net-firewall/shorewall/shorewall-4.0.ebuild
new file mode 100644
index 000000000000..b50778b9d40c
--- /dev/null
+++ b/net-firewall/shorewall/shorewall-4.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall/shorewall-4.0.ebuild,v 1.1 2007/09/06 11:22:31 jokey Exp $
+
+inherit eutils
+
+DESCRIPTION="Shoreline Firewall is an iptables-based firewall for Linux."
+HOMEPAGE="http://www.shorewall.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=net-firewall/shorewall-common-${PV}"
+
+pkg_setup() {
+ ewarn "Shorewall as such has been removed and split into three packages:"
+ ewarn "shorewall-common, shorewall-shell and shorewall-perl."
+ ewarn "From now on you should emerge shorewall-shell and/or shorewall-perl."
+ ewarn ""
+ ewarn "As of ${PV} shorewall-shell and shorewall-common are required at"
+ ewarn "compile time even if you only wish to use shorewall-perl."
+ ewarn "This will probably change in the future."
+}