summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstanze Hausner <constanze@gentoo.org>2013-12-02 20:06:49 +0000
committerConstanze Hausner <constanze@gentoo.org>2013-12-02 20:06:49 +0000
commite60a289ac265b7b2ed33bfeb1cdee1e3441b1cc3 (patch)
treea47d531ae0fb099392f78664a5325154766acf7c /net-firewall/shorewall6
parentRemove old. (diff)
downloadhistorical-e60a289ac265b7b2ed33bfeb1cdee1e3441b1cc3.tar.gz
historical-e60a289ac265b7b2ed33bfeb1cdee1e3441b1cc3.tar.bz2
historical-e60a289ac265b7b2ed33bfeb1cdee1e3441b1cc3.zip
Version Bump; Thanks to Thomas D.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xBB80F419010E3EC3
Diffstat (limited to 'net-firewall/shorewall6')
-rw-r--r--net-firewall/shorewall6/ChangeLog10
-rw-r--r--net-firewall/shorewall6/Manifest17
-rw-r--r--net-firewall/shorewall6/files/4.5.21.4/shorewall6.confd15
-rw-r--r--net-firewall/shorewall6/files/4.5.21.4/shorewall6.initd107
-rw-r--r--net-firewall/shorewall6/files/4.5.21.4/shorewall6.systemd17
-rw-r--r--net-firewall/shorewall6/files/4.5.21.4/shorewallrc23
-rw-r--r--net-firewall/shorewall6/shorewall6-4.5.21.4.ebuild112
7 files changed, 295 insertions, 6 deletions
diff --git a/net-firewall/shorewall6/ChangeLog b/net-firewall/shorewall6/ChangeLog
index 1b123cd0bc83..d1604db23855 100644
--- a/net-firewall/shorewall6/ChangeLog
+++ b/net-firewall/shorewall6/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-firewall/shorewall6
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6/ChangeLog,v 1.89 2013/10/26 18:38:21 constanze Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6/ChangeLog,v 1.90 2013/12/02 20:04:55 constanze Exp $
+
+*shorewall6-4.5.21.4 (02 Dec 2013)
+
+ 02 Dec 2013; Constanze Hausner <constanze@gentoo.org>
+ +files/4.5.21.4/shorewall6.confd, +files/4.5.21.4/shorewall6.initd,
+ +files/4.5.21.4/shorewallrc, +shorewall6-4.5.21.4.ebuild,
+ +files/4.5.21.4/shorewall6.systemd:
+ Version Bump; Thanks to Thomas D.
*shorewall6-4.5.21.2 (26 Oct 2013)
diff --git a/net-firewall/shorewall6/Manifest b/net-firewall/shorewall6/Manifest
index f71d20c698bc..ca71855e5b5c 100644
--- a/net-firewall/shorewall6/Manifest
+++ b/net-firewall/shorewall6/Manifest
@@ -14,27 +14,34 @@ AUX 4.5.21.2/shorewall6.confd 160 SHA256 99aa9a4d3ae9f3bb590f5426c1266b6f7ee50a9
AUX 4.5.21.2/shorewall6.initd 2966 SHA256 56b9d8c79a07ac35298d6f48bfc91ffb619fb6fba7107d65f9a22be0e67c1f47 SHA512 430758539a369222732f568db1b0d57044aaa1cbb36fddec434a3a7f3ed689613f7053956c87b1fde3f15ce3e6e6ee567429225f17d9a3b9745e9b3a2b990870 WHIRLPOOL 325dfbb718593c523f6c63d4cd648c13064a31606a40fc7399d63feea57e489a3b5b96d1810960a0d95f6ee7435d573d16f769a712984c46f6e3e04fa3085168
AUX 4.5.21.2/shorewall6.systemd 453 SHA256 8d6bb489efaef58a09c0588feb3e281c3fc2b8bfbe44306c6fd9f4cf6b7a1546 SHA512 df02db52e24ba80ec2b9c25e68049ddc6ee49aa0468fafc882d322faf05bc4e000fc57d06301252723e6f6f43fee603c805f26d0ac9174c944c3af2ca816ca68 WHIRLPOOL 215fc9911a1e77a69c9a53334d7d9e2b2e0c27cdbd06cfd8ad93049bba0f0b0bd86c41836dd1a56836836785aeb4207df607dad81817e2b9577de9b03178b6d7
AUX 4.5.21.2/shorewallrc 2006 SHA256 1f5a784ccb33ffe50cbacc066f783e1446996a60d99deb473ffbd5a69e9150a6 SHA512 c397c556f56444b08b091f405f2b82d16cf4b4e42d98176bede01ff32f270841fbaa6e0e5f5e7e1e4871ed5a0be22b654ae5c07f728e747449ab5f43025cde9f WHIRLPOOL 1d94b8bc7a9a4ac73480a610be58d4842bf0243f004fd7d5f668eab9be0e02ed3ce58bef9281bb638e5e5d346f47e8a15cc33d9a1e0bba1d642e125923d953e3
+AUX 4.5.21.4/shorewall6.confd 160 SHA256 99aa9a4d3ae9f3bb590f5426c1266b6f7ee50a9e52f5a65b4cc56744a953982b SHA512 00e58351aade2ea9ade38373f3cacca3f10dcf4230b29e4a4e2b5d5d449ea9b78f40e2da7d94ed7c23980de2428198e3472399c6268662598b0fdbe008aff4b8 WHIRLPOOL 18532d1659a794d531548a91b0f096942fe5e82637ed05a9c5d49ed580d99a3e0c2807fd5ca5ea5c38139dc4c6f798b952433e59ee893f80240e5f4254435eda
+AUX 4.5.21.4/shorewall6.initd 2966 SHA256 25b2fa0f7eea23828a7a29d4553921ca7f887457c21887769c88e070ca050e1a SHA512 6e1f09aa4a53a0938e3b719a03f6f22e842cbfffee475a8e5a9e675957d66f6344a7fd6965b04c78ff8fddb24a6cdf7e2dbf7af9a02320f27a226c6d55381c5d WHIRLPOOL 23057cc5f8c8500b2d70d28d484380cac24f608d1e6702d149c0a402eb31edc65848ac605799cde569e7ac1decee153510deb517505513daeb34716da797b171
+AUX 4.5.21.4/shorewall6.systemd 453 SHA256 8d6bb489efaef58a09c0588feb3e281c3fc2b8bfbe44306c6fd9f4cf6b7a1546 SHA512 df02db52e24ba80ec2b9c25e68049ddc6ee49aa0468fafc882d322faf05bc4e000fc57d06301252723e6f6f43fee603c805f26d0ac9174c944c3af2ca816ca68 WHIRLPOOL 215fc9911a1e77a69c9a53334d7d9e2b2e0c27cdbd06cfd8ad93049bba0f0b0bd86c41836dd1a56836836785aeb4207df607dad81817e2b9577de9b03178b6d7
+AUX 4.5.21.4/shorewallrc 2006 SHA256 1f5a784ccb33ffe50cbacc066f783e1446996a60d99deb473ffbd5a69e9150a6 SHA512 c397c556f56444b08b091f405f2b82d16cf4b4e42d98176bede01ff32f270841fbaa6e0e5f5e7e1e4871ed5a0be22b654ae5c07f728e747449ab5f43025cde9f WHIRLPOOL 1d94b8bc7a9a4ac73480a610be58d4842bf0243f004fd7d5f668eab9be0e02ed3ce58bef9281bb638e5e5d346f47e8a15cc33d9a1e0bba1d642e125923d953e3
AUX shorewall6.initd 2082 SHA256 a4c0a5ec7fe64e4af91b7ded8ca983fcc58cf003a778948b65b01669641b7ad2 SHA512 a2f21727870b841ca3aad0c70ba233798513504d5e5ecac2f002fe754230042a6cd5308a385de4a9f3204f36f4f1e751391b8f49d784c31e8f7ee6546f7e349b WHIRLPOOL cff3753023ab4125fa1bd15541c85dde6da6a43bd1af70357ba87f7e90be5582f724079abe649075acd891f6236266e54c2b979a205f052fffa739fbbec69988
AUX shorewall6.systemd 453 SHA256 9e1e5d7657591a395b3f66849f323e00226c0bf739e7c875b9787b43cc64d11c SHA512 a7cfe34c106bdc2d50cceb607d92888f4c6b0d618d5dfa96f0c3a78689ab1f2092db609427393718495ed6753f89a4279e6883d44743da6bdeb1da3a111b1da3 WHIRLPOOL bd4253a8b58975674bd40b0606efcbcbdc6facf8ecb48e9c14792f96fa1fe49eb84fb05f89e7a54b1cd01d7f9b4463894670738b3b0b0ad2b7a01fbadc64ade6
AUX shorewallrc_new 1773 SHA256 24a169e763eea3926b8d1c44d62c52d3e2cad94eccea303376ba3e873e0a8224 SHA512 e080f4bce47fa5482dee46486e358ed17f35edeaf9050126b8c6f009cb29d1ca2ead2821153233e15fc18757f6cb72ff60f72b3f2d65aca32f9a63bc33a31f0e WHIRLPOOL 54311d12f85c1b9791a0e8db32878e7031c846471594400011236c58ef0183d75be960f65ce207d909758107a9bd13aee6fff2fc001b42651397ae877162e654
DIST shorewall-docs-html-4.5.18.tar.bz2 4022828 SHA256 a98263059952ed50b826eb1787e18eccff09f41fa8f5d70f705ce39660b0c835 SHA512 790b89c3ee885a70daf62d145fcc3e1fb15871abcc9e8a868154c982e264a46acd8dfba81986604de60eb1c375b080d52992b6435b15b3cca91ab3afb895708f WHIRLPOOL 72c73ed925f3289978bfdfd8490bd617c0d39190ce874583773f04ec16d5710d007fd2edaef80b20e7b504e58df0d7bcf09595ee228a0948500295b848c333b3
DIST shorewall-docs-html-4.5.19.tar.bz2 4033970 SHA256 7be6ebfa73a52151137201e098588ff6e67aa6fc21cf530a0fba564eeb8e77d1 SHA512 8ce06db614a6114cfe2c5c78acfaf111cba0ae5aa488df3879af6b5ecb20205ee453e308a7299e5df243a71067f93dcd8f4cf5faefbd8729ba11acee35cf34e0 WHIRLPOOL b55f90c6f9ca28cccddfb7bd899ce5815573db3ff4b4deabe454c6f30a9b01196ec4609d5251413d9761a28944a6acb19b6748c4dd41ea58fe2fa8da9845ed49
DIST shorewall-docs-html-4.5.21.2.tar.bz2 4144789 SHA256 b4cfdcb84525a3df1430c71eba4c1f86378d96283c250d8c2a9d81ac921bef88 SHA512 57a5dce628301a043110a28874dc73244ac8aedb756c62bdbc9ebc66ba324c989debc6dfdc6e9f19538356b60230d88b708fb9562cb9016783d41d9efbdb495a WHIRLPOOL fce6eca901c7444fe05cbd72b59aa836967de19bccbba3335b74b05e220ad297da15451d853188d5dc65276b13af70c7134eb17a0119dd695e571fe23ee71b07
+DIST shorewall-docs-html-4.5.21.4.tar.bz2 4144800 SHA256 92167814eb92f2b7d0f3d94ea16542ad946f566cfe44b86ff447cd11c75391c4 SHA512 e65836162fe376da9f992b90e839d8ec5d3d1213449dce7f97f04e93fa1b2d52ce0acb2741be68eafe6101fceec9bece767d870d67beb48709de5421ea175c4e WHIRLPOOL d3c353735099677b084a8ca6b8aaeb802f0acb0aadb7e3f8bf6fbe27dedc388affc1a8113b383b055f3ef89e2b441bfba3f564a4ad16412d8bdd216277879693
DIST shorewall6-4.5.18.tar.bz2 245009 SHA256 f3fb0cec903b98bed6c968e2d6af6faf49b346cbb6508731888304e1372cf62c SHA512 d3ce8d70239cc76d05520d244b958078240af795cfbbfddf010cb31681f1453d40817497939ff02b7e0a5da57291b707254a9eea420d7ad4921edad126eb585f WHIRLPOOL ed6e83b67d680493574818f0ada820f704aad37baf9dd973ea7702890d25a2989c53c5a4f1d8272ca4741aac595c9124011fe95071ee87ab3064e048d65192d8
DIST shorewall6-4.5.19.tar.bz2 245873 SHA256 6681669055d86338bcb3959afce43b9d073fe8e10ba9b482b5664ddb196a9201 SHA512 aa38fbc494a2c5f59f7bf4e5f84443c092e7bfff757e0b9e4f2669a0a214ce28f0022cae9a4ed51624de1974a261df6a3c43055b2e990af011e2027929e250de WHIRLPOOL fcb736bb440973b7997b79adc8021b618e8e8a9ebc0df81e9c9c07736df072de16f6a9d9a727520528b396c96264497d9f6f367bd6125a389a66a6d3a442db1c
DIST shorewall6-4.5.21.2.tar.bz2 251470 SHA256 1d9a560e0f2a1d959ac5e2d8a351a05906b843bd8ea717c5f5e38173009c857c SHA512 7f406fae1635e3d0e0bb4637155c7548a27bea131117fadb33da55a83b60682ed35a9781d1ad066804ccfae4059ac10c6edad7522e5145f26445fed957b96f4a WHIRLPOOL be7d7bd75be7405b12b949c62516ac270874f361c10b850ec66c07b2ab62d6e20d6cede14bdd1f5250087a7e292142e6b42112cfb0c5e0c28e2f3b3387ca37cf
+DIST shorewall6-4.5.21.4.tar.bz2 251455 SHA256 32c76e983c3f5c559a9de29cecfa9e918ed3f242d7bd4c1d49c4dfe5fff49a5f SHA512 4935752e77826bbee0cf241a9f6800f9437f1fb5fc9cb1201a4abb8f93c7a323c41afe7019771e8730568771b2a71087a0cdc8e7caf13b894a7c3eac136f3cfd WHIRLPOOL 7918322ee736774b411baf3fffb41d6a7bd645b39244c0327b1858f740f79c79b0f6617d5aa5abb9a68a090024d954a69353b79ead392644d1ee11469b7f1ccb
EBUILD shorewall6-4.5.18-r1.ebuild 1936 SHA256 7b7d4ce1043cc0508b9cf02db47664a0cc7f70075ae5efb7116d53a366e5c5cb SHA512 73333edcc552d25f825012d1eb97e151b971b0b3b27d59cb19f302438ef46636b6631ab3691520a45bd23366f868097615642abc834da047547ea9b8d9eae5f5 WHIRLPOOL b51e332a15e23d576e9d3b62c79b41b4b6fcdf067295c6f378dbb91a736471dcb5b71a3860eec4c6db731a34797edc12cf887d8740cbcd54ad8ce3806d2d31ea
EBUILD shorewall6-4.5.18.ebuild 1631 SHA256 4ad78a59af8c9ea6f657033c1aa332b865bd8888a069ef2c5db088df92e9abb2 SHA512 278f7c3824d266b24db67c71709955287fef59c1a5467a5e8be935b0117fc0d3171ae09d231f5379ba3a21e4be941a82c38bb7cb9205c6e3925701cd06b753bb WHIRLPOOL e7cb6faa7cbc1ec6545b0237c8be6a861a8b6ce702461c52f202b97df795cc3cc8669fd01772646f251caeadecb9f3ce29a83fea79f69ae69ddc3ae3f2b814e1
EBUILD shorewall6-4.5.19.ebuild 2902 SHA256 f8fa92a85d7cb5352cf14b77acf0e81db461583594ca214ea93895e50375b4a6 SHA512 9ee94ef13cb107e819281e15d001de92cc3e57ba595d76260ac8b535a842155fa1e873ad2bba14d71b960300764af6858f34bb7f8ab367fe32491764d3427a2a WHIRLPOOL 5c40af6bee9616486b6a35f0988e3b93a2529ffacbd88530285e29f8d2178d107090daaa2d29e39e82c4bceaad1eea69daed3382bdf99d5cbab8b3d097a7c7a4
EBUILD shorewall6-4.5.21.2.ebuild 3208 SHA256 98969e02f33f6ef86a4a9146e80f1de242b19ed417e26b2a3816a98b835c9906 SHA512 d87be24fd3a6b4494c246020a8075d7f3d68661e9ad574a1eae325b39631be5020bf147e5f43e65ad8855301af2f3fa326a8fcaf62213095fccb63d9fdc7273c WHIRLPOOL 202a70574cc1d17b9140a25347a2dd50139cb9670487bd533dd0aa049290d3c2464f6ebc6be8318a7afb62be3a21b32da2a036fd3b6d8bd69e3c960fbdaa94dd
-MISC ChangeLog 14326 SHA256 8b85c2b8493657fa7ab1333fa6b83ea1dc2a39ef03c1e9b2329c60b44b5def26 SHA512 8b1f458d232f7743596c8e505764f787ec44d6d10aab91f68a7227abd5792d3bbd323a1a28c4459899ca89fe2e6b59d859ab9a214e07b2f4d7e0c3663cad06b7 WHIRLPOOL 626db3ac17779defa289c74a2527e50c6807e7e5b1b4eb0f733dc39daec8abaab7407fb36549db56f1bab58565e427a0b4c68366df9cc685bf3a13cd04e8be90
+EBUILD shorewall6-4.5.21.4.ebuild 3208 SHA256 b4090f7adf0020b98cb4786d92ca1a57f51a98a047ba7b310b7ab01dee4a608a SHA512 11b94d1daa50f4f62121d3777e1964dae65e6e2cd5bcb53b1126476d0f55c86a7e7ba8f6a2d6bab5fa76e439cc8a93bc7f9c3bcf1f4c7a35006c856a9131bd8d WHIRLPOOL a7b4edce2f0c0127df602d99011e60eb973545698d29479e2937e257e060b396c04bb5f7edb53776f9572beb5ab0de8a6e43b20c63cbf8e58b4a755d55764edb
+MISC ChangeLog 14623 SHA256 40fa548a4ec3ada830698c62087329b8ee97beef1bb0e96933e03878d6987fca SHA512 17843323ee38c445e67c054ed8e40903abfaf695e70ca87e9c9eea174980c399269022df9456aa3e22ab546bd16747751df83465900843dfb809c64d0d084c85 WHIRLPOOL dd09acda0d4b0857f79d70ec2bea02a2f13dc090df3fcbab057fe84bb2b6cd4bc17e45c80e585ec0fd47667abd5a36b5cdb35a16fee9d348b38c692ed3b5cfaa
MISC metadata.xml 361 SHA256 ea12ad6e474c28d25b9203225c99d9a0336bd606fd3c2cd260c11d4982712357 SHA512 da1d88bdae3187e1c5d63b90da4fb2798f0a3f79558a57eb5ae0fab42eaa7268bfbd4102a870cbff73aa83c64bc1b10c1c7f71c01ee29f64772f7635e7da0ac9 WHIRLPOOL ae0b57811bf7617fb9cf3840a2e182d334a8303fda841c879c2791b893bd5515cae72fc0bb38f6554045bb531774798539f80b474a6152ebc04c31e5bc2f0464
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iL4EAREIAGYFAlJsDB5fFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
+iL4EAREIAGYFAlKc5+hfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldEIwNjQwRkMzRTI1OTEyQUUwM0MwQjVBQUJC
-ODBGNDE5MDEwRTNFQzMACgkQu4D0GQEOPsMgRAEAoamApYlfykoX5ffQJ7nTyurs
-vjwH6bp/X3j+WWCFAhgA+QE9SCZOIQEHR7ixYUUOJMeDfkYIFOxnnZ7VTK045T/j
-=6PzT
+ODBGNDE5MDEwRTNFQzMACgkQu4D0GQEOPsOofwD+OlZYSqdPIk928t/gAR5lTtBV
+Ts9nWHE/oDbks+JaYF8A/0YmpTJROqR5YuPe8E/KUtDizb1ZTPda2SWia/dln3DE
+=yArP
-----END PGP SIGNATURE-----
diff --git a/net-firewall/shorewall6/files/4.5.21.4/shorewall6.confd b/net-firewall/shorewall6/files/4.5.21.4/shorewall6.confd
new file mode 100644
index 000000000000..e5957167b5b9
--- /dev/null
+++ b/net-firewall/shorewall6/files/4.5.21.4/shorewall6.confd
@@ -0,0 +1,15 @@
+# Global start/restart/stop options
+#
+OPTIONS=""
+
+# Start options
+#
+STARTOPTIONS=""
+
+# Stop options
+#
+STOPOPTIONS=""
+
+# Restart options
+#
+RESTARTOPTIONS=""
diff --git a/net-firewall/shorewall6/files/4.5.21.4/shorewall6.initd b/net-firewall/shorewall6/files/4.5.21.4/shorewall6.initd
new file mode 100644
index 000000000000..6417a25d18bd
--- /dev/null
+++ b/net-firewall/shorewall6/files/4.5.21.4/shorewall6.initd
@@ -0,0 +1,107 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6/files/4.5.21.4/shorewall6.initd,v 1.1 2013/12/02 20:04:55 constanze Exp $
+
+description='The Shoreline Firewall 6, more commonly known as "Shorewall6", is'
+description="${description} a high-level tool for configuring Netfilter."
+
+extra_commands="check clear"
+extra_started_commands="refresh reset"
+
+description_check="Checks if the configuration will compile or not."
+
+description_clear="Clear will remove all rules and chains installed by"
+description_clear="${description_clear} Shorewall6. The firewall is then"
+description_clear="${description_clear} wide open and unprotected."
+
+description_refresh="The mangle table will be refreshed along with the"
+description_refresh="${description_refresh} blacklist chain (if any)."
+
+description_reset="All the packet and byte counters in the firewall are reset."
+
+depend() {
+ need net
+ provide firewall
+ after ulogd
+}
+
+status() {
+ local _retval
+ /sbin/shorewall6 status 1>/dev/null
+ _retval=$?
+ if [ ${_retval} = '0' ]; then
+ einfo 'status: started'
+ mark_service_started "${SVCNAME}"
+ return 0
+ else
+ einfo 'status: stopped'
+ mark_service_stopped "${SVCNAME}"
+ return 3
+ fi
+}
+
+start() {
+ ebegin "Starting shorewall6"
+ /sbin/shorewall6 ${OPTIONS} start ${STARTOPTIONS} 1>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping shorewall6"
+ /sbin/shorewall6 ${OPTIONS} stop ${STOPOPTIONS} 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 shorewall6"
+ /sbin/shorewall6 status 1>/dev/null
+ if [ $? != 0 ] ; then
+ svc_start
+ else
+ /sbin/shorewall6 ${OPTIONS} restart ${RESTARTOPTIONS} 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 shorewall rules and setting policy to ACCEPT"
+ /sbin/shorewall6 ${OPTIONS} clear 1>/dev/null
+ eend $?
+}
+
+reset() {
+ # reset the packet and byte counters in the firewall
+
+ ebegin "Resetting the packet and byte counters in shorewall6"
+ /sbin/shorewall6 ${OPTIONS} reset 1>/dev/null
+ eend $?
+}
+
+refresh() {
+ # refresh the rules involving the broadcast addresses of firewall
+ # interfaces, the black list, traffic control rules and
+ # ECN control rules
+
+ ebegin "Refreshing shorewall6 rules"
+ /sbin/shorewall6 ${OPTIONS} refresh 1>/dev/null
+ 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 shorewall6 configuration"
+ /sbin/shorewall6 ${OPTIONS} check 1>/dev/null
+ eend $?
+}
diff --git a/net-firewall/shorewall6/files/4.5.21.4/shorewall6.systemd b/net-firewall/shorewall6/files/4.5.21.4/shorewall6.systemd
new file mode 100644
index 000000000000..448226c88736
--- /dev/null
+++ b/net-firewall/shorewall6/files/4.5.21.4/shorewall6.systemd
@@ -0,0 +1,17 @@
+#
+# The Shoreline Firewall 6 (Shorewall6) Packet Filtering Firewall - V4.5
+#
+[Unit]
+Description=Shorewall IPv6 firewall
+Documentation=man:shorewall6(8) http://www.shorewall.net/Documentation_Index.html
+After=network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+EnvironmentFile=/etc/conf.d/shorewall6
+ExecStart=/sbin/shorewall6 $OPTIONS start $STARTOPTIONS
+ExecStop=/sbin/shorewall6 $OPTIONS stop $STOPOPTIONS
+
+[Install]
+WantedBy=multi-user.target
diff --git a/net-firewall/shorewall6/files/4.5.21.4/shorewallrc b/net-firewall/shorewall6/files/4.5.21.4/shorewallrc
new file mode 100644
index 000000000000..46f5eb9a3603
--- /dev/null
+++ b/net-firewall/shorewall6/files/4.5.21.4/shorewallrc
@@ -0,0 +1,23 @@
+#
+# Gentoo Shorewall 4.5 rc file
+#
+BUILD= #Default is to detect the build system
+HOST=gentoo #Gentoo GNU Linux
+PREFIX=@GENTOO_PORTAGE_EPREFIX@/usr #Top-level directory for shared files, libraries, etc.
+SHAREDIR=${PREFIX}/share #Directory for arch-neutral files.
+LIBEXECDIR=${PREFIX}/share #Directory for executable scripts.
+PERLLIBDIR=${PREFIX}/share/shorewall #Directory to install Shorewall Perl module directory
+CONFDIR=@GENTOO_PORTAGE_EPREFIX@/etc #Directory where subsystem configurations are installed
+SBINDIR=@GENTOO_PORTAGE_EPREFIX@/sbin #Directory where system administration programs are installed
+MANDIR=${PREFIX}/share/man #Directory where manpages are installed.
+INITDIR=${CONFDIR}/init.d #Directory where SysV init scripts are installed.
+INITFILE=${PRODUCT} #Name of the product's installed SysV init script
+INITSOURCE=init.gentoo.sh #Name of the distributed file to be installed as the SysV init script
+ANNOTATED= #If non-zero, annotated configuration files are installed
+SYSTEMD=@GENTOO_PORTAGE_EPREFIX@/usr/lib/systemd/system #Directory where .service files are installed (systems running systemd only)
+SERVICEFILE=gentoo.service #Name of the distributed file to be installed as systemd service file
+SYSCONFFILE=default.gentoo #Name of the distributed file to be installed in $SYSCONFDIR
+SYSCONFDIR=${CONFDIR}/conf.d #Directory where SysV init parameter files are installed
+SPARSE= #If non-empty, only install $PRODUCT/$PRODUCT.conf in $CONFDIR
+VARLIB=@GENTOO_PORTAGE_EPREFIX@/var/lib #Directory where product variable data is stored.
+VARDIR=${VARLIB}/${PRODUCT} #Directory where product variable data is stored.
diff --git a/net-firewall/shorewall6/shorewall6-4.5.21.4.ebuild b/net-firewall/shorewall6/shorewall6-4.5.21.4.ebuild
new file mode 100644
index 000000000000..1fa7ea20e4b9
--- /dev/null
+++ b/net-firewall/shorewall6/shorewall6-4.5.21.4.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6/shorewall6-4.5.21.4.ebuild,v 1.1 2013/12/02 20:04:55 constanze Exp $
+
+EAPI="5"
+
+inherit eutils linux-info prefix systemd versionator
+
+MY_URL_PREFIX=
+case ${P} in
+ *_beta* | \
+ *_rc*)
+ MY_URL_PREFIX='development/'
+ ;;
+esac
+
+MY_PV=${PV/_rc/-RC}
+MY_PV=${MY_PV/_beta/-Beta}
+MY_P=${PN}-${MY_PV}
+MY_P_DOCS=shorewall-docs-html-${MY_PV}
+
+MY_MAJOR_RELEASE_NUMBER=$(get_version_component_range 1-2)
+MY_MAJORMINOR_RELEASE_NUMBER=$(get_version_component_range 1-3)
+
+DESCRIPTION='The Shoreline Firewall, commonly known as Shorewall,'
+DESCRIPTION+=' IPv6 component.'
+HOMEPAGE="http://www.shorewall.net/"
+SRC_URI="
+ http://www1.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}/${MY_P}.tar.bz2
+ doc? ( http://www1.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}/${MY_P_DOCS}.tar.bz2 )
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+DEPEND="=net-firewall/shorewall-${PVR}"
+RDEPEND="
+ ${DEPEND}
+ >=net-firewall/iptables-1.4.20[ipv6]
+ sys-apps/iproute2[-minimal]
+ dev-perl/Socket6
+"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_pretend() {
+ local CONFIG_CHECK="~NF_CONNTRACK ~NF_CONNTRACK_IPV6"
+
+ local WARNING_CONNTRACK="Without NF_CONNTRACK support, you will be unable"
+ local WARNING_CONNTRACK+=" to run ${PN} on the local system."
+
+ local WARNING_CONNTRACK_IPV6="Without NF_CONNTRACK_IPV6 support, you will"
+ local WARNING_CONNTRACK_IPV6+=" be unable to run ${PN} on the local system."
+
+ check_extra_config
+}
+
+src_prepare() {
+ cp "${FILESDIR}"/${PVR}/shorewallrc "${S}"/shorewallrc.gentoo || die "Copying shorewallrc failed"
+ eprefixify "${S}"/shorewallrc.gentoo
+
+ cp "${FILESDIR}"/${PVR}/${PN}.confd "${S}"/default.gentoo || die "Copying ${PN}.confd failed"
+ cp "${FILESDIR}"/${PVR}/${PN}.initd "${S}"/init.gentoo.sh || die "Copying ${PN}.initd failed"
+ cp "${FILESDIR}"/${PVR}/${PN}.systemd "${S}"/gentoo.service || die "Copying ${PN}.systemd failed"
+
+ epatch_user
+}
+
+src_configure() {
+ :;
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ keepdir /var/lib/${PN}
+
+ DESTDIR="${D}" ./install.sh shorewallrc.gentoo || die "install.sh failed"
+
+ dodoc changelog.txt releasenotes.txt
+ if use doc; then
+ dodoc -r Samples6
+ cd "${WORKDIR}"/${MY_P_DOCS}
+ dohtml -r *
+ fi
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ # This is a new installation
+ elog "Before you can use ${PN}, you need to edit its configuration in:"
+ elog ""
+ elog " ${EPREFIX}/etc/${PN}/${PN}.conf"
+ elog ""
+ elog "To activate ${PN} on system start, please add ${PN} to your default runlevel:"
+ elog ""
+ elog " # rc-update add ${PN} default"
+ fi
+
+ if ! has_version ${CATEGORY}/shorewall-init; then
+ elog ""
+ elog "Starting with shorewall6-4.5.21.2, Gentoo also offers ${CATEGORY}/shorewall-init,"
+ elog "which we recommend to install, to protect your firewall at system boot."
+ elog ""
+ elog "To read more about shorewall-init, please visit"
+ elog " http://www.shorewall.net/Shorewall-init.html"
+ fi
+}