diff options
author | Constanze Hausner <constanze@gentoo.org> | 2013-12-02 20:06:49 +0000 |
---|---|---|
committer | Constanze Hausner <constanze@gentoo.org> | 2013-12-02 20:06:49 +0000 |
commit | e60a289ac265b7b2ed33bfeb1cdee1e3441b1cc3 (patch) | |
tree | a47d531ae0fb099392f78664a5325154766acf7c /net-firewall/shorewall6-lite | |
parent | Remove old. (diff) | |
download | historical-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-lite')
7 files changed, 265 insertions, 6 deletions
diff --git a/net-firewall/shorewall6-lite/ChangeLog b/net-firewall/shorewall6-lite/ChangeLog index da95ee16d6a2..291ecb993752 100644 --- a/net-firewall/shorewall6-lite/ChangeLog +++ b/net-firewall/shorewall6-lite/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-firewall/shorewall6-lite # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog,v 1.68 2013/11/10 17:37:51 constanze Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6-lite/ChangeLog,v 1.69 2013/12/02 20:06:45 constanze Exp $ + +*shorewall6-lite-4.5.21.4 (02 Dec 2013) + + 02 Dec 2013; Constanze Hausner <constanze@gentoo.org> + +files/4.5.21.4/shorewall6-lite.confd, +files/4.5.21.4/shorewall6-lite.initd, + +files/4.5.21.4/shorewallrc, +shorewall6-lite-4.5.21.4.ebuild, + +files/4.5.21.4/shorewall6-lite.systemd: + Version Bump; Thanks to Thomas D. *shorewall6-lite-4.5.21.2 (10 Nov 2013) diff --git a/net-firewall/shorewall6-lite/Manifest b/net-firewall/shorewall6-lite/Manifest index 8d48c866db0c..3ab95e16122d 100644 --- a/net-firewall/shorewall6-lite/Manifest +++ b/net-firewall/shorewall6-lite/Manifest @@ -12,27 +12,34 @@ AUX 4.5.21.2/shorewall6-lite.confd 160 SHA256 99aa9a4d3ae9f3bb590f5426c1266b6f7e AUX 4.5.21.2/shorewall6-lite.initd 2287 SHA256 d6d1dc9ff2060dde3affc4004d4e543cbca150b129d7cfb478a3f1803af0bb7d SHA512 c55c419533f4e720246d3f7915ee94c349bba49adb299be913aa99424464b3d0d774c1edb65b92b92ba2d6d846fedfa8f73c86b60b8c02be5cdaf70bfe6bb8a7 WHIRLPOOL 0ffcd3a7a188a5e73c04c2ed1735cc34fe09812a6117dc9f47892e09ab7fbb3c4913b3e21bf867ee99b6ad5112ff438510818df592f7172dbc6c502f0473c915 AUX 4.5.21.2/shorewall6-lite.systemd 488 SHA256 f8e0a127bb4e7216120a38ec09e35e2928b54dd5fc4e2bdefc66dbe20897ba43 SHA512 3710760fe27ee07a92170be6ebf423a6353e4712080a6c0c2c63958ec4f658add4743d60dcc91348b734c896d029227a4f6024d316ba96ea558f6c1db2246074 WHIRLPOOL 7541bddbce4c105c3a0dc1aab3ab64d96b41a27a87650fc48b63b07cb5a0b55524c1f4b50fee05104e82afa1b256ce8b809ddda5d9ac05da8b06991220c9da55 AUX 4.5.21.2/shorewallrc 2006 SHA256 1f5a784ccb33ffe50cbacc066f783e1446996a60d99deb473ffbd5a69e9150a6 SHA512 c397c556f56444b08b091f405f2b82d16cf4b4e42d98176bede01ff32f270841fbaa6e0e5f5e7e1e4871ed5a0be22b654ae5c07f728e747449ab5f43025cde9f WHIRLPOOL 1d94b8bc7a9a4ac73480a610be58d4842bf0243f004fd7d5f668eab9be0e02ed3ce58bef9281bb638e5e5d346f47e8a15cc33d9a1e0bba1d642e125923d953e3 +AUX 4.5.21.4/shorewall6-lite.confd 160 SHA256 99aa9a4d3ae9f3bb590f5426c1266b6f7ee50a9e52f5a65b4cc56744a953982b SHA512 00e58351aade2ea9ade38373f3cacca3f10dcf4230b29e4a4e2b5d5d449ea9b78f40e2da7d94ed7c23980de2428198e3472399c6268662598b0fdbe008aff4b8 WHIRLPOOL 18532d1659a794d531548a91b0f096942fe5e82637ed05a9c5d49ed580d99a3e0c2807fd5ca5ea5c38139dc4c6f798b952433e59ee893f80240e5f4254435eda +AUX 4.5.21.4/shorewall6-lite.initd 2287 SHA256 b8a494132173862d6a9dd324b378ab03d712c2d4db941774bb017cc000566091 SHA512 3990bf16e9f4b8e62e7823dbdbc194d4c3db2bc3ba82ab2f4a6e0484c4432a62317e8c9889a25e45f2af8cb2522fd924c92726a129099d7a80c3f9f0177cfe17 WHIRLPOOL 3a7bc75e551b38c55782dbc20a469318b2a0ab058927bc58ac454db3c4a240be30291fb73472563e24a876d28f91dd17ba25f47d4fd83ca225d542bb7ae03ef1 +AUX 4.5.21.4/shorewall6-lite.systemd 488 SHA256 f8e0a127bb4e7216120a38ec09e35e2928b54dd5fc4e2bdefc66dbe20897ba43 SHA512 3710760fe27ee07a92170be6ebf423a6353e4712080a6c0c2c63958ec4f658add4743d60dcc91348b734c896d029227a4f6024d316ba96ea558f6c1db2246074 WHIRLPOOL 7541bddbce4c105c3a0dc1aab3ab64d96b41a27a87650fc48b63b07cb5a0b55524c1f4b50fee05104e82afa1b256ce8b809ddda5d9ac05da8b06991220c9da55 +AUX 4.5.21.4/shorewallrc 2006 SHA256 1f5a784ccb33ffe50cbacc066f783e1446996a60d99deb473ffbd5a69e9150a6 SHA512 c397c556f56444b08b091f405f2b82d16cf4b4e42d98176bede01ff32f270841fbaa6e0e5f5e7e1e4871ed5a0be22b654ae5c07f728e747449ab5f43025cde9f WHIRLPOOL 1d94b8bc7a9a4ac73480a610be58d4842bf0243f004fd7d5f668eab9be0e02ed3ce58bef9281bb638e5e5d346f47e8a15cc33d9a1e0bba1d642e125923d953e3 AUX shorewall6-lite.initd 1810 SHA256 525c21d81294cbcbb25cffd1a0caa86e9ae481da322f817f582f2f5be8d798be SHA512 ce9c3ca091003b171e62ee9f656174547e88beb6cc2fba78589cc37d56907dc9616bbf5930f76dcbc553597fc549750b7299946ab9b8dc00149e33f0f1f6c476 WHIRLPOOL 9a569dd111c00700163b3677e434f5b12bc9f3762e79221c7883f08bfee2cba58881b213e5a5ba05c615816a024e9bf995942202a68ed5773469f5f05eee3e0e AUX shorewall6-lite.systemd 475 SHA256 95dec92e61eda3543ada0bc05c9eecf87ca5dcc449448b5c04dbcf72045006cb SHA512 a9a258b0b430a88bcf6d6ccec56ded96422c0c52574cd45b552c04f4c1b5758476ea708d13b517dab686d859f4a503a348de6bd2acb5e60797172e502e387831 WHIRLPOOL c38c053ade59895c5605182241e154ab2624187a8367f7d371111ccdf5f4145d32b3c3bc358fb590d85cd044ad1c76a7f49af57d6ea6ec71fa25f773b644fd0f 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-lite-4.5.18.tar.bz2 73212 SHA256 f4fa454812ac0fa3da96569dcac3c6bff0022477e1ba55eee0df5d260f8091f0 SHA512 42939a8fbd6190f396ad31d5107dd28df831ee5236329d714f209c33cdaa00976931da3e3c0e6e92f5f963d054aac6987686e90f47fd4879a96320e93a769e8a WHIRLPOOL 156e60c4c4665cc6b8c5c0687880f07a9d27151dc0919cc6add388c84e1c3e23dd9ac46fa0ae941e0ccd674a70ff89b8573bf1463b350574cab469cdac7d9945 DIST shorewall6-lite-4.5.19.tar.bz2 73853 SHA256 c42b43c95ccb4de1f4ba2392321909c4e060b1facf1265745ec320a2b27b92a5 SHA512 51e72981acf5421db84472f707ccfd4af6c3b761453d144b6d57def3937d02c2200afc4669e3a9b3e7c200e308ce6cc8e1526231546ac9e3b8aa72b4593b93ac WHIRLPOOL 8f5c7c490b8f2346686d68c6c6e7d0227ff47a52eb70d9220b2f967eab725e2ed2486d91ded8c0944dd1d0a294e9e192a0bfb7cab4a5284e1837bcb8bba35219 DIST shorewall6-lite-4.5.21.2.tar.bz2 77438 SHA256 dbe97281621f8af2cdc8a347b0cf6f34f9f42da786fed56b6bdc367752f66817 SHA512 3cdd70370ede5e1c77007d219b6313bca818e4de9d4e8a7056903b00a8586461370bcd6c18a3a8cf8e96b33a36d91509687b59abad1e549fb31d186b8fa2466a WHIRLPOOL 946873ced8e08c15b9422b4849bc72d63657fa01e816e189613717c283acda9951d2e90016b4ae55a43dde9c3f87b32dd7bc66fb2e98500c81883f50f0600d9d +DIST shorewall6-lite-4.5.21.4.tar.bz2 77632 SHA256 e2df3dfe5b3308afce491cd71881ea01fb999e400cdadd85afc209aa3af299a8 SHA512 d4e599b59185563125a3d18207e1224d69cdc7d223a12a40bce1e5e938af0983fb4ef68f2061c9881f9e48ae191bba045e5774ac0e589e58170cc21635e434ef WHIRLPOOL 7b313cc8a0dd654db80215cf9a2d9b1eec00a46675b9497d96fb8481ccc8df93380fe36a5544c09075ae40d093d3d1d39892861509d19e278017912dd97855fa EBUILD shorewall6-lite-4.5.18-r1.ebuild 1843 SHA256 919bd8bbef54899279ef4ee18d74f5a5cf25b7132d2abb1221646d702b48d417 SHA512 04450eca24b6f2f08f1ac8e907e21ab3be43166c88134c78f3e8e34c3a8d0bfdfcb2eb1dd4ea38c25036249dbaf6ea8e82f8745e3ea3283aeb337a4f77d2af75 WHIRLPOOL 7e0fc32234ac96d889dea6a150de0e7ab50bf8bffede35b5b58f065285964923be2b9554e48ce90ba5474f1c79975dfe110a19819eb5a5e847ecb52a9d88f60e EBUILD shorewall6-lite-4.5.18.ebuild 1594 SHA256 16b1e974275ce30be5e1310e73d24e135a0117960574d8a886c46c27fed2be03 SHA512 67190d8004b43680bc478262685ff089d97d081906aace42828921a7ea1dd2ecde9a1660b79aca758c0155beae77baa93d6eb7b5d8625bdc5eadb350f9f9c081 WHIRLPOOL 2f15e9a17b6271c0d6c0bbd737c8b4e70a5d11b84ae1089cf9bb1cca45ba9ec29d0dc9432dd56dc2897dfa68aec46b1bba6d08a966af7b0cbd2cfc48e4138ec4 EBUILD shorewall6-lite-4.5.19.ebuild 2722 SHA256 d60a581080ad0437af974cdbf39521332a3082b47215550af38728c0ae3c5ec1 SHA512 be7e4cd1e36212fb0eee055777eb7e44d5b4ad531a450db9c1b8624173074d2e4cd519ca613a61be4a4e44d3da22154fafc707c4f67a9bd99fc0524856d1c34b WHIRLPOOL 605f56a6b59f7809d994392224b7376561f0b7ec3b8df209d686f9edc2bb2ab30a51cd638ca636b54d9e365138c5a038022f8d77a3d92ec62f98f611f5283ec1 EBUILD shorewall6-lite-4.5.21.2.ebuild 3087 SHA256 547ba64379295c0a240e2c6fb7421ab1e6130bfdba18a9b29ba9a0f11646b5ce SHA512 df42267f3c33e686982ea243da2ecea52b21a2b6745d2dfa4a265b5d64aecb259d4ff8c42c26fdf059b45302c97853244bda6cce860c7d05c136944700bc771f WHIRLPOOL 9343a888aaf25b0d4878e36d796adb5746ab809f5f10aefdf51754a95fd22112799b175bb08299481d49d9a40060dcf5afe46718f517be9fad2f03a9ea72c4c1 -MISC ChangeLog 12092 SHA256 6cd0355a9c099e801f0a666576c6bf14692b50e9e807424fe9e6278447fc5680 SHA512 b97aaa6d515aafcfbb9e28b310ee45f357eeded1c21bb3399883e8d39e1af583c21bc2a2d1ed93da781ee774271e4ebce451fa6047d78c5e03bc74b55a6606c2 WHIRLPOOL 29d226207babccab3d2c4f2bf44649db35f0d982d9bc12641bca97a8aacf36d87ed20b7059bc987bfc0c1dbb82f189dc3d0eb849e3374d4a4ac3339fb525dc43 +EBUILD shorewall6-lite-4.5.21.4.ebuild 3087 SHA256 fbde69b597d9285e63d4f72f2e00e7b706ecf2299844048ef491e3a3cd95c270 SHA512 915d50a97c7744d1299062a31775754a355ce1e6d741a753bd0964b71c7d27a6ce757bd8852b8ea02ce1bdc0739dd257ed9125aa1b2acbdd2b7b1307df17179f WHIRLPOOL 1a55c2b58494dce30e7cad1bdf81c51f81d02652be419cacff2968742e0a6d1cadcdd6e2ee494d13d8830a35513be61f494f0b80790516a49f38eeb66767d0e5 +MISC ChangeLog 12414 SHA256 df185c10bb210b2f33556f97a609c88b2746f288470aeffa9b5d305331540742 SHA512 410aa34b0ab8f04f73aa34ecfb0769ea961629d047530161885d145b1c363024e6e56aba23cad102aef2ae372250ea197f28e2597ff209205fe882a2564ddd19 WHIRLPOOL 0ccde4f8f157e9174a1c7cd8143b0f8f123216b626dc053d31d38fd28b58eea5587d710264af075298b22b650cdf2a11c5a81b4f9b87e1f9f2901842e9cf84aa MISC metadata.xml 361 SHA256 ea12ad6e474c28d25b9203225c99d9a0336bd606fd3c2cd260c11d4982712357 SHA512 da1d88bdae3187e1c5d63b90da4fb2798f0a3f79558a57eb5ae0fab42eaa7268bfbd4102a870cbff73aa83c64bc1b10c1c7f71c01ee29f64772f7635e7da0ac9 WHIRLPOOL ae0b57811bf7617fb9cf3840a2e182d334a8303fda841c879c2791b893bd5515cae72fc0bb38f6554045bb531774798539f80b474a6152ebc04c31e5bc2f0464 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iL4EAREIAGYFAlJ/xHBfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl +iL4EAREIAGYFAlKc6FZfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl bnBncC5maWZ0aGhvcnNlbWFuLm5ldEIwNjQwRkMzRTI1OTEyQUUwM0MwQjVBQUJC -ODBGNDE5MDEwRTNFQzMACgkQu4D0GQEOPsOtLQD+KhFZ2vIMCqvaCaEI3fC38LZk -8E/GXfJLcHIkFpf6zqEA/Aydtdm5Yvl28NS1B4g6C6z3xtrx7q0W/oiFYRuFG2B4 -=0hym +ODBGNDE5MDEwRTNFQzMACgkQu4D0GQEOPsMW4AD/ahzh1KQgtGKyYdyc3PZWJTBN +R9K5Hn7aT/RD6i3SsVYBAIUEBZ41pf2ImMHT0OVKBuEyyu0IcP9ewyyiSKVw0h/l +=Ty42 -----END PGP SIGNATURE----- diff --git a/net-firewall/shorewall6-lite/files/4.5.21.4/shorewall6-lite.confd b/net-firewall/shorewall6-lite/files/4.5.21.4/shorewall6-lite.confd new file mode 100644 index 000000000000..e5957167b5b9 --- /dev/null +++ b/net-firewall/shorewall6-lite/files/4.5.21.4/shorewall6-lite.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-lite/files/4.5.21.4/shorewall6-lite.initd b/net-firewall/shorewall6-lite/files/4.5.21.4/shorewall6-lite.initd new file mode 100644 index 000000000000..80196b957b85 --- /dev/null +++ b/net-firewall/shorewall6-lite/files/4.5.21.4/shorewall6-lite.initd @@ -0,0 +1,82 @@ +#!/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-lite/files/4.5.21.4/shorewall6-lite.initd,v 1.1 2013/12/02 20:06:45 constanze Exp $ + +description='The Shoreline Firewall 6 Lite, more commonly known as "Shorewall6 Lite", is' +description="${description} a high-level tool for configuring Netfilter." + +extra_commands="clear" +extra_started_commands="reset" + +description_clear="Clear will remove all rules and chains installed by" +description_clear="${description_clear} Shorewall6 Lite. The firewall is" +description_clear="${description_clear} then wide open and unprotected." + +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-lite 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-lite" + /sbin/shorewall6-lite ${OPTIONS} start ${STARTOPTIONS} 1>/dev/null + eend $? +} + +stop() { + ebegin "Stopping shorewall6-lite" + /sbin/shorewall6-lite ${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-lite" + /sbin/shorewall6-lite status 1>/dev/null + if [ $? != 0 ] ; then + svc_start + else + /sbin/shorewall6-lite ${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 shorewall6-lite rules and setting policy to ACCEPT" + /sbin/shorewall6-lite ${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-lite" + /sbin/shorewall6-lite ${OPTIONS} reset 1>/dev/null + eend $? +} diff --git a/net-firewall/shorewall6-lite/files/4.5.21.4/shorewall6-lite.systemd b/net-firewall/shorewall6-lite/files/4.5.21.4/shorewall6-lite.systemd new file mode 100644 index 000000000000..5af21b6c19bd --- /dev/null +++ b/net-firewall/shorewall6-lite/files/4.5.21.4/shorewall6-lite.systemd @@ -0,0 +1,17 @@ +# +# The Shoreline Firewall 6 Lite (Shorewall6-Lite) Packet Filtering Firewall - V4.5 +# +[Unit] +Description=Shorewall IPv6 firewall lite +Documentation=man:shorewall6-lite(8) http://www.shorewall.net/Documentation_Index.html +After=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +EnvironmentFile=/etc/conf.d/shorewall6-lite +ExecStart=/sbin/shorewall6-lite $OPTIONS start $STARTOPTIONS +ExecStop=/sbin/shorewall6-lite $OPTIONS stop $STOPOPTIONS + +[Install] +WantedBy=multi-user.target diff --git a/net-firewall/shorewall6-lite/files/4.5.21.4/shorewallrc b/net-firewall/shorewall6-lite/files/4.5.21.4/shorewallrc new file mode 100644 index 000000000000..46f5eb9a3603 --- /dev/null +++ b/net-firewall/shorewall6-lite/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-lite/shorewall6-lite-4.5.21.4.ebuild b/net-firewall/shorewall6-lite/shorewall6-lite-4.5.21.4.ebuild new file mode 100644 index 000000000000..7ed9ba23c131 --- /dev/null +++ b/net-firewall/shorewall6-lite/shorewall6-lite-4.5.21.4.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall6-lite/shorewall6-lite-4.5.21.4.ebuild,v 1.1 2013/12/02 20:06:45 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="An iptables-based firewall whose config is handled by a normal Shorewall6." +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-core-${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 ERROR_CONNTRACK="${PN} requires NF_CONNTRACK support." + + local ERROR_CONNTRACK_IPV6="${PN} requires NF_CONNTRACK_IPV6 support." + + 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 + 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 provide a configuration, which you can" + elog "create using ${CATEGORY}/shorewall6 (the full version, including the compiler)." + 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-lite-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 +} |