Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/shorewall/, net-firewall/shorewall/files/4.5.21.10-r1/, ...
Date: Sun, 28 Feb 2016 19:04:59
Message-Id: 1456673161.d0a4b519bad9c1e9aa18e1887a52b252b3dbe180.monsieurp@gentoo
1 commit: d0a4b519bad9c1e9aa18e1887a52b252b3dbe180
2 Author: Thomas D <whissi <AT> whissi <DOT> de>
3 AuthorDate: Sun Feb 28 15:26:01 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 28 15:26:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a4b519
7
8 net-firewall/shorewall: Dropped old
9
10 Package-Manager: portage-2.2.27
11
12 net-firewall/shorewall/Manifest | 14 -
13 .../shorewall-10-fix-ipset-support-detection.patch | 29 --
14 .../shorewall/files/4.5.21.10-r1/shorewall.confd | 15 -
15 .../shorewall/files/4.5.21.10-r1/shorewall.initd | 107 -----
16 .../shorewall/files/4.5.21.10-r1/shorewall.systemd | 17 -
17 .../shorewall/files/4.5.21.10-r1/shorewallrc | 23 --
18 .../shorewall/files/4.5.21.9/shorewall.confd | 15 -
19 .../shorewall/files/4.5.21.9/shorewall.initd | 107 -----
20 .../shorewall/files/4.5.21.9/shorewall.systemd | 17 -
21 net-firewall/shorewall/files/4.5.21.9/shorewallrc | 23 --
22 net-firewall/shorewall/shorewall-4.6.13.1.ebuild | 446 ---------------------
23 net-firewall/shorewall/shorewall-4.6.13.ebuild | 446 ---------------------
24 12 files changed, 1259 deletions(-)
25
26 diff --git a/net-firewall/shorewall/Manifest b/net-firewall/shorewall/Manifest
27 index 7666d08..c03ffce 100644
28 --- a/net-firewall/shorewall/Manifest
29 +++ b/net-firewall/shorewall/Manifest
30 @@ -1,42 +1,28 @@
31 DIST shorewall-4.6.10.1.tar.bz2 496061 SHA256 de527474f5bac6bf59678321c604748c48efe28a897d339a2187a45e3efed8ef SHA512 a5ef4783ff04b6faaa2e25d1da57ca3c46860960859dad5cd3b8d3cb252626b1db39c35767b226333f10db7b08b0fb18c0c09cd4eaf14586cb02b1a4259b571d WHIRLPOOL 26ebb72e769d5ca7489f718cabdb1f9cfb78e2acd514329c7036edcafe27f159ffa4cdadeeb1cee43619f748474fcc7a614011147976abb14cf627503a542e3f
32 -DIST shorewall-4.6.13.1.tar.bz2 498949 SHA256 fc2c390fecbc0c78d5cd648596abc1edb1d338d748b4a0605695c3141e24d35e SHA512 1b8e0a008660a8b66bcc77bb92f110fbdc04a0925d6f19bb01a6e798baa907f5ca4f6f60851c861963ab49b1a0b2ae652d4d1234fcf18ab56325ebcc66fbefb1 WHIRLPOOL 6c2a63a5c547d429c3d9c5d05683d8c4a2bdc662f58b7b8e7ae197053a13c06ad1c0ae9fcd0face2601d05a7becfaf0948e0765ff22e5dbeace0176e77e4bad6
33 -DIST shorewall-4.6.13.tar.bz2 500076 SHA256 fc4530d891da22d9efaa4339f10ebde27133bef9fe8c6e93abc701991f8b30ba SHA512 5018d34a15784870c521614a725baa05ea8df5e11e11d0177d01fc3012ed006f25b6a2afaf20cbae7b1c189ea841cc5ad2764067af0513f8378b316645524b48 WHIRLPOOL a6fef96deed7f7ad7bdc0273de88c15f77b901ec27905af474399b3b86fd8b6cdfe92556ae2314feaa73cd525960b56d986ce426225f7779e9235ccdc9f7248c
34 DIST shorewall-5.0.2.1.tar.bz2 478874 SHA256 10136cf586b620abdad1f3c716f03d1160cfa65c8461fba42d858fa1ab8d5856 SHA512 54589366a7743b9e8035a13b83a77e80a319531e07c803fd88ea31d2023445b9a63b99e0ad030997f43cb49050dfc4b0c94af2ec6c6631249fc1a2354d5565c1 WHIRLPOOL 559f916008b04c6779b50185e123274c8a20994c3ade58789ee840c5d9e13c7dba3e0885b3babd7a187aeb19a25b4ea8a6e151270fed3f363ce4d14d0fe749fc
35 DIST shorewall-5.0.4.tar.bz2 482227 SHA256 34a4ab3e4ded052cb563a280f07f350616db913ded124bfceb39adb325f1ce0a SHA512 7912d46e794b4facf29d290370a5cbad83a568873d8aca1b6efe7856c1420a7da882957d16bd4d376d9e7c69accb5263bfa0dd73af06f3c85eab41a0e244c362 WHIRLPOOL eb7351b01c9a3c709179eb6e21d6bb54935a11c066fb31588a1b90c9a089eac7e2d8387006f436c2a68c1618847f5ea69c65e8233240a8d3c8352e0a4d685dc9
36 DIST shorewall-5.0.5.1.tar.bz2 481202 SHA256 8964a5ace631865d9b69222ec2ce31aec69eb86cfafffc2fd63d5a73e4a463b4 SHA512 5516a38e73e106762b77da1c6fa77ea9fe2ba99a822f7d527201f20f683146e69c3058ae5f18821a850a63703442d7987f463e1cf6db9cc497dfec1d329763d2 WHIRLPOOL b879ce24f077b3ea27793d18e7cd8b593adec004164df60eed9cadc70a0647c107700a37bcbac6c061f5f00ece3bff9fab41314652cad936d96ed708efad5830
37 DIST shorewall-core-4.6.10.1.tar.bz2 58247 SHA256 5af804f39f4480685e995080dc8913d4af61af70d5a478dd00bbf0593851b44d SHA512 1028e0bf950aecbc77c6c263ab8351fb8ff90b6077a0d6bf7c0d882559f5d8644ce0f2c6aec6dd3614d90a319277763460909e345e1e004cf8ea1f548e369284 WHIRLPOOL 0a0834eb355e05679b5809a18dd0749c6c06ac3130a9ab375587c7e6134042c01762775ac136f0396c051f4ac4b2f379141d111760929a42da6f00656a96e120
38 -DIST shorewall-core-4.6.13.1.tar.bz2 61749 SHA256 d06a4c1050578013c6e37468f0a803fd129f1ac95b6ea5ab8af80f3eb0739539 SHA512 8db64a150101368ad50075f7ed97e2ceecf0d974ae1d0d61f6bc8dd967ff8f222265c543dfbe8f1217d90b21d93398669cc3d6e06a2b2c706c25347b27f13868 WHIRLPOOL 493f9a739388d3ecfe5fc9d04414c272d09a6eade8f236e21ec773b7df423844d2b9b427a297c9fa842ef22e7c491427d74e83dbc0aa267b16c20c1aff8525ed
39 -DIST shorewall-core-4.6.13.tar.bz2 61679 SHA256 e31dd55c8df37ee2168c5aa9843f9c2727f6a31a98634445e0c10990360665a4 SHA512 2c769f2f77ee51357f92daa1fe3f794fd3e3b537f0686a004809767340ad7bdd922be2580760cdbb834e8c80f53e9d5329ef86ee741520870c242452b1e44f30 WHIRLPOOL 90668efd2db2f09bf40934206b3124666b96157f085dfabc17ff2c2d65ebb8f348db6727516fced866d16eb4d44aa0ea9d6d91ed907593785788c6cdb50f10dc
40 DIST shorewall-core-5.0.2.1.tar.bz2 47922 SHA256 8be30270e527c7697c365c437bff07e6a41ccdcf28b7163b2866750158e5845d SHA512 bf614cc73bc321c46b0825deb198943ce3a37a6e1b5dc5f2b9be17799409de9909219dec327c493a8382111cc9b7e7319c15effd84b238bee85ed9b6f0281100 WHIRLPOOL 5e415c8fb17edb96978cd3f8811fdd0953de556efe3cb6e5b1e9abe98535f905119eb968dadb65b3a525801c49af1fdbabc3b3e7eb06364c420323be6eeecb51
41 DIST shorewall-core-5.0.4.tar.bz2 50604 SHA256 ea80b9e1854033c723a5321fc920b35aa0ebb0dea3721a47cee616aa3b92ed9f SHA512 1db3b7a44bf2f99d1a9c6775c798285bbc9a4bec5a340a10fd762600c01486f90d305297247cceb451616e852d9deb89163a43082e06f9eadad75cdd5d480a21 WHIRLPOOL bb4cea303c7ea1190ec3788f9e7cab4f0febf88ab5047c18adbe9e88476c5ebe569bd3ead6105131a61ac6c31bdab6d3192383e1709847e637220f223a8875b9
42 DIST shorewall-core-5.0.5.1.tar.bz2 51123 SHA256 6efc71fcd5cf5530f5db129e80ac828ca3a1665342ec491895d74d5774bfb299 SHA512 da419a495152467809b302d9033bf7dad5cd6c8db0ac2780c26d94eb881d2335cca1491a31fc4328954358001b65aebdd84136592ba7fec45d593c24e942227c WHIRLPOOL 41051760efb48618c7f985bf4708db20277677178d6d8df37d55cb4b46158bcee893c9932018e3503bb56f094d0ac2492ef39029b5ee64fb5c9ee4beafabe3dc
43 DIST shorewall-docs-html-4.6.10.1.tar.bz2 4185752 SHA256 eeaec18b7f8663f0b836b76d140d3fad7871075de90f18ccc7b9fbda1538a787 SHA512 1bf1b3f5745d54af3af5f9bb6417c661e2bde8028d699aed4c4fcbe7cf301b8eadfed7be5e9bfdd677659c362d1e757eee13cd1b497a0c6837c179883c33e3a8 WHIRLPOOL 937fc4f76174f615de86eaa08690ebbe42f658154320d3e9972cbb0bcaa461e11fdaf5390f517f5d2f905aa5996ecb7399ca07d1767f647a49d33b1220e8d547
44 -DIST shorewall-docs-html-4.6.13.1.tar.bz2 4280904 SHA256 ded94cd41022855bbb20e3a5a579f82515fea8eb3d6b7ea110e491a5cc654804 SHA512 0f6090a428ead0c5ccfca020776a93c6c69de7043b947c129ca9fba8289919448af4b5c6a2a65dc9317df2979688f86873dc0ff6a04ba6e9a14b26f183872f33 WHIRLPOOL 4cf65fd2e4afcf40d7e7fdaab43002551f7af4bba6a12466d7dab87d5df5cbcf5ed80d3238ec6cf77e59f7587056adc4450db4765a2ef47e9bcf2641cf38407a
45 -DIST shorewall-docs-html-4.6.13.tar.bz2 4280790 SHA256 2fdc3d5aa2d998831b66ed2ebf257a581924ef9b5ef1a5a2d18511aeb6f46d3d SHA512 40b3db8e8ca022ee47f928fac512f28dff7da597d19dbf9d19f5d706764d01aa09ff348df37be40a8551a7e6fae9a8b1be7e1321de7f581af4e7217ad6e3bc64 WHIRLPOOL e639126f0b16ad332bf115ccd773e7b32b1b9a0c7bda78cf072096a466d4e78d2a404f2ec923cd1acc152481a01cd90affa9af25496ee136555cc55ed1156a31
46 DIST shorewall-docs-html-5.0.2.1.tar.bz2 4272585 SHA256 a9c55c513fd086dc90d686f9a0444311453670487f10d3ed44505b952c72fcf2 SHA512 dc310f694b4cde8b27e3df99f75081019f752a3c7faa693093b1d5ec786392d2c2202f76b7372f894fd6e72fad5f7816db3b9a88a3a3409edcf4368d9e6b36d0 WHIRLPOOL 2f26c930a3aa56571cbfb02ba8f61b29103af91d46b014b21ed4b7da64f891c89df17fc725ba87b5809ad50d2d3ee2f8a55e6e983a612e6320d689afd6c287c6
47 DIST shorewall-docs-html-5.0.4.tar.bz2 4263406 SHA256 501d76f53d6e638aaa14ab60718fa173ef0c3a7756e325326288c353d2845707 SHA512 7e35191fbd5a1b7f0172880fa03ce95f4ac13da3a481c4c2cace83380bcacd23809c56ea12876e55c6d2371a4c88ba44d6a8a600c83481156294ff1a2a48c0e4 WHIRLPOOL 347666e97898ea19af93aef3fb2852b1453791038fa534bb5cad8e96acff75460cb5527389b726f7e09d4721a7b171ca9d2171ac5704f8fa50e172d7ac403929
48 DIST shorewall-docs-html-5.0.5.1.tar.bz2 4266435 SHA256 6f1bfe999d12fb561dfd7d31341fa814aad6e53f5e298e660dead5e52352ff44 SHA512 9f71d86886861ee373a29ad4043b4f70bf189a29481b7aaf9444bc07626ed4336d9af1d10574db5665dbd9b2796322ae531b11c505aa93bb44a13988f2cc4bad WHIRLPOOL 003110054e779d9fa4767fb51e04e0e0920855215b79165aadc86d274c650ff1c7d5539da6c8f87770ef4b4089d8b6308827492f60374dde0ed2ce2348f5e4da
49 DIST shorewall-init-4.6.10.1.tar.bz2 37674 SHA256 c3948dbe48230358eb4d5a370a44b247f4a6e6f28b1c4853be23d9abda79f6ba SHA512 71507a9c27f9a8286f82567f731714fe5a6f5b21f1f3f27f3a3ba9171301361948bef9824a9a45445d65f74039c4dca3ffc83e74a6ffd33783d1528ad581578e WHIRLPOOL 23c886b1015c6430d819d3010b8cdc587d88054f55b8092238438310562affdaead265a40a74dd888d1c939367afafa0ebecfe8946ceb202bab126ca2232cd97
50 -DIST shorewall-init-4.6.13.1.tar.bz2 40718 SHA256 35684f1955eed65d897f5c51a74b9bf431a839cdeabc9ca7b37109d7b47a9d95 SHA512 f6b5d6e59eb3e4f4408b68bee69dacd3e5b00b3d0628b4b0f6408342bd05b279efc3962c0b294e37b8e6c719442232e73e348f048534916f97e3f40fb3a598d5 WHIRLPOOL 05c774194b33e1ffecec42e756851d3a9bd6764a13b280f63737dca53efe4223cea081b42e4f1a205062baaa3fac62a92b490b1402a6cd0ada637f98bea1b690
51 -DIST shorewall-init-4.6.13.tar.bz2 40574 SHA256 a1ebf757ccf5b455220daf80af71d23dd6290d9bcd9440da2058bdf6fcfcd768 SHA512 63092ad30f4528e96ca8a12e0e76ef702446a9b61c880455f13ab9ce86c953a3cc3c3f05a04fff9df1a93cad8d01ffd2b846281a7f46a3d9000e5cd3c908051e WHIRLPOOL cf78de19cdcf6c0de23a3259509a95382aaac554a827cca4a031ce4c1ef3b57e7ccaa65c40daadea53dc4433ad819416cafb215aff7088b8eecfeecb1ab7983b
52 DIST shorewall-init-5.0.2.1.tar.bz2 27055 SHA256 2ce13881f7442b9e43bb1417bed9236931bb46ce8c74dd87af5d18be41b05311 SHA512 d8debb25e36d7829dcdb08698a889ccee680126da40f5606bba6a04b344cfd28660450cb3fd2037f6ec4d75058d8a243da82fb4c3b25184b609a5aa454739eca WHIRLPOOL 5d17a58c157993af37f75b64e53b693c8f62854bfebb8774520bd435a6c65e24e06c22398181941b352e218945055d8e3927f2cfbcb32e09d8c30f3f8e45fc29
53 DIST shorewall-init-5.0.4.tar.bz2 29902 SHA256 97c99c9e68f2546139f26f1f713e1a3377754e53bf2ba0d8f431469aed47ee9c SHA512 67a66ba6db64a320192f5affa38fb779c1f7d7b915523fe82e4dc8a79bb6590b8da62979f9108ba3f56beef05c1cddb5bb2ffea21317e516c2d8a380a5117567 WHIRLPOOL b4f7875ed0f52d8667135dc7204b1a570dec351a7d3fb42a37618af3d54b808355b4479bfb3421d29d4ab808aeae37cd3f1d12b66046f96ec80f776e796d86c7
54 DIST shorewall-init-5.0.5.1.tar.bz2 30371 SHA256 04e0de5b88916640b63470df35472e7af07104ca17913efb3191cf4df04900fd SHA512 6c0946f99ba3497509a9cf38fb60f22705a1a6355dd2c7e0a9fb262d267f5903dc498e573724af61772a9470790e2f7451006da6c0d184013e5a5ff16839aab1 WHIRLPOOL 23a29d8bd6f058cbe21f38de54d71506e46a579beef83fbfe67cf1643d39435c2331bcbcac4f3cc78e0d4429eb834039fddb312771d6322806ab6cc07d5b69ff
55 DIST shorewall-lite-4.6.10.1.tar.bz2 53535 SHA256 9944da74b9496fe29afe6ebab8f4a37cfb24a6a701282231dd6916831e064c38 SHA512 79347ae6c62e8f039efb2a21b10fd33d08831b6595b64fb4806cc5fd812216d295b73c859db775c0c19cd7c8bdfe67f21042db0d0b47ba47ab6b430d1d522659 WHIRLPOOL 593b8872ea0ff95c5847c51c9c3c312329017cbd7e96efcd39bf1a41a32ef3e99a29deb797a4260422d1bfd86ef4ca72b25024b7d2f5e4e17464df1f3f25571a
56 -DIST shorewall-lite-4.6.13.1.tar.bz2 56534 SHA256 639213a42c424def670a8b54ce13f0fe007aa9ff97e2beb8cb1cd98deb3fba2f SHA512 0fd3ac13e09dc4975d8a186a536b02420e00374376e3d8b903d6a69cb542de88a303bbe5d3e44831ef8d3ef3fd9ba0a34f19c89803d3ff4b622a366338cf7453 WHIRLPOOL 640541b5bb1c92d3fcb23ec970094200257af5b55a4a71be47a854be781d3e29d8354ea03d79b28fc654f3cab49c1e6de16ee01b3a02a61f0299a0a9bb4b5255
57 -DIST shorewall-lite-4.6.13.tar.bz2 56490 SHA256 b73707abeb7d9911cae12c8280c014ed4189bd181e8e45f341d9b786b2f22b82 SHA512 c19aaaec6f31efd1afc2cc8e00d341b6135bb5a3b019a3f4a050ec43e4c1f5e4f8d68b00ec29a41201bd8e37a39c4b37348ddef575a1771cc6e6f80024db027c WHIRLPOOL eef127d2c8b76e2846490c916ddfd95692f13f362fd8a522f4b14fe47aec3c91a18a96935db46f5f6bdeb148ce9b1287c99bb4cb4e8292d74812c3ac677a9b41
58 DIST shorewall-lite-5.0.2.1.tar.bz2 44159 SHA256 0b7074d098c44156aac4234c02c36ec97d8ac2fd8042ec1f5e5c390612e3620b SHA512 0d2f93622d9dc000c2e58c73a20b13ecf97e139d542f99db3690f75974bab579c8379bd56eb7ffbb58cabcefbedf685d50ed7748c39c15ef7b3636ddbdcece3c WHIRLPOOL 4fb32d7c66411e9b45decbb1fddae00ccad83ba226f8fab806a7e2c6f54f7fa9f2d94bcba3133cdc8bfe0fe240213e016b8b94cd9f00eb46cf2735ac111ce100
59 DIST shorewall-lite-5.0.4.tar.bz2 46454 SHA256 23ac0c1b5f8f1650e6a03a70022b3de0c705fb4257c56d0f84d823b0a10f659d SHA512 8f29c4318de4464eaaaab81096e6290abb0c5d148b043dda70f2f38b21823338e093766dd6fcf0d8924a8a7cd3dd84b5c253fdae421982bc2f9ada13a38db7ba WHIRLPOOL 271b9605e97b1f2c5891cae9c30b4b56b8e07e69f1effbc277d784d781cb35f33f1f3c8e2bcbae0e7ae0e6fe092937573cdbf7c9adea498212007b4db7a5ee95
60 DIST shorewall-lite-5.0.5.1.tar.bz2 46941 SHA256 2b84227553c8a69cfae1f9fe3dcfd119a1517e41fb34cc7603fb83279bd2dd42 SHA512 98494a885035d32944add6b1c94a54a5c6cf0f2eb59bc27aefd1e051c5222ccfe41b4003f4168ff3cad1a586f1dca6d578ea5c9353d4cb087a0ec03a6d9ef182 WHIRLPOOL bab30c208e9910e7d072df6d79d6af2ed937e15d1e8a5c27f2af27b6ab1c9723c7f25330701f8f82bce57ed412fd187138461638928a3391ae4bfc445febfae1
61 DIST shorewall6-4.6.10.1.tar.bz2 231553 SHA256 1a2e303e9361fccf393ebfe512cf8d770b522f6b65a0a125a5e4aa0b28dd6e0c SHA512 acb678bd84e68d72f5dafd00d03feedefc8b954f7df9a4e6d57c70647ad2b046f7145c7b5de729d8bf1258a036587a687ee41170add2a50a411675be61de7d3d WHIRLPOOL a3451ff58bc32f4d720f5b8c6db226ac924cf0179084f351b7b35773f011c1b0b5feff2e9544a7b198995d297637e210b80adfb483db198e186b24a1954d2cc1
62 -DIST shorewall6-4.6.13.1.tar.bz2 235114 SHA256 561887394a04532e06ebdf153aa60c6eaf176349f59a7a30e2c1d31aa48ba4eb SHA512 0700255da06c48577227439b3b358f4693a4e1e4c311f39079686c16b573e5bc4efd251160f69c1e6fc3daa8a503b2ede8fe44d51c93a9abd89431fd85081d72 WHIRLPOOL 9bcdf5b7a0c0a79143b3d451f7b362d41290ad641ab92b92abcfdda0fe15903ff2a225fc3571abe7c9c12e4b6ac34d054adf46372d94acfe997579a931a2979b
63 -DIST shorewall6-4.6.13.tar.bz2 235132 SHA256 dceb2de20460cd2015297925529fc95feb7bfc156465ef907dead663213a5994 SHA512 91184afc3b42b2b9d9ae679f9061964d79fd8320ff95eb8ab040dd2e2b144a2b546ba458c19a432992924b51c560cd04bff5750634b41f367f40314f8e3399a4 WHIRLPOOL d9a87edccc3d59146d3bcb97264b2a8c1c540b79885e76309ec8cfb9c73f0ce0332f9abc92574c5eb4812a000bede85ca28f5b144ceeb39af52f28cb9571a2a6
64 DIST shorewall6-5.0.2.1.tar.bz2 221777 SHA256 ab8489662511990c5430e795803a01249e26e036f84c1079f08c45f52ef501fd SHA512 f79e890b1d6af42c9f3ae236d63fc731d963fc6a0f121a5f3f5a820f8f578b82cc92d450b0385ac0c9446049701500f83bf64b28e00b604d6b89a39529c46519 WHIRLPOOL ea4b1c72515069f4a636c9aa139734dc8c46a1583a4feb8ed6992a36d2e5607c870613b5ad8f4d2ab92629e292150b586986a6e791f3755ee7e48588c2da184f
65 DIST shorewall6-5.0.4.tar.bz2 221062 SHA256 86b939f5a27e464d2d4928b66ba145c30c299bc90fd19802817d8a013cfc1fff SHA512 cc38b44fd4af38981d2a7acff11be4f481683f5d6227ed072a2147650ff20fbafdf2bdca63f66b330c11cabf521484f6d860ad1dc426f1d952d94643ff3d63dc WHIRLPOOL 2e0abbcd7e308f2523907be285c77a257a37aa70b81af0d356de53cd6e330305ca66be6972ab53954d0b02ada9fc6b5176b928db8f4a9ee588410c81dce55792
66 DIST shorewall6-5.0.5.1.tar.bz2 219004 SHA256 eb5cbba08e6d41086c53ec33fa89ab5cae3387b11b1bcdb0c46db72468039542 SHA512 ecc54b0a339c15c19037d7fc1fee221611ad4122b11f234e51bb3e12b2c36573028755929770a00f8b2f58c01b3df345c891d1949b64c8cfad80fae2e8924443 WHIRLPOOL 1650e82b92c91fa46931eaa537c17363398126f2bd90dcb5a15401eec18e3afb5c3b59a3e799afe01bdbb5408dd58dbf78722f185a40cbfb21ce6c8c2dcaae98
67 DIST shorewall6-lite-4.6.10.1.tar.bz2 52669 SHA256 ce19583541f5eb39acad33099af087d030374d467eb64aa4415ac9b18e65c5a8 SHA512 a33ab4b2397864329f35e6352606b13d04fb8ada17777c98d75bc685411bcf9453bf452d3a0b6699c537081483347c542bdfa547d71ca4c0c41967ccd755fd2e WHIRLPOOL ff3ef6e3ad68f69f47e71553061e845ed125735c1c6986180835397c8148386349a0317debf592917ec5ed0734c3af461c5161d9a061c6b8a6ff5c81d52743f0
68 -DIST shorewall6-lite-4.6.13.1.tar.bz2 55723 SHA256 33a95315f4b976a4fe003f084c3f4363761a076c758c05c6a211a884fe6a63c5 SHA512 6c240fc31bf07e8c52aae3285cf22e7b2fefe846898bea02514157cffbedb930a7cf6a12a4ef473b1713ef8c524b7a48b916f0ffff37477c4ac94afb72397e11 WHIRLPOOL c9b99295ee498e9be3ae7d2a947153828653c931fba90527ecb05254c1fccb1981f800894b31786bcfab50cffdc2dd7e91964e70e43ab67a2d3d0954303b35a3
69 -DIST shorewall6-lite-4.6.13.tar.bz2 55646 SHA256 9da8d4e29d867ba96aaaa9c0854e385e26b107aa0e5babbc5b1ffd36327cb413 SHA512 e826778478532f32155514e47aad35e2bace38933f5c4ccded67d058acba0766ef6687cc8bcdef6ba4ee1e629af7b5e8d11a77c5a8bb67d4fdc0b0167dadb731 WHIRLPOOL 9a6bba924e24f400d46afb0e13760ee4ed2e690c35e4364f652e4c252f9930d5710eed30e51ff5f312bff6bd56130321c49d0a8ea893c789122bd412c6c79993
70 DIST shorewall6-lite-5.0.2.1.tar.bz2 43345 SHA256 ebf19ef0ce409213b9c395911391f5f4e42c6542f6414cd849e66d6d19bd2751 SHA512 87fb50306c3e9d89cdf03bddb9b780929932ccbe5a346295f0bcdda8d3eeac6abd56387aad08aebc208228b5eee4378c29872d34b2d7ab11e8334ba5d7ec5165 WHIRLPOOL 9fbc60a75504be96b3bde80fc8c397d91af29c6c6d465bc14497586acbc8bd03a667f4680c847879dc59be2db9f15d5bed2fc22700d50a4d25eedc28d867c41a
71 DIST shorewall6-lite-5.0.4.tar.bz2 45573 SHA256 ea578f90bdb5b797c5604a4490ce90437bb4fbc1384f99ef131b2a6415ce6cfe SHA512 eb85ba4cc7992acb0667c735593cceb958ffa06fedd101a6c987078cbfb8509a7b979c92147dfbc4be58a00a2042a20d88873ba6048038ba5c6c8695487c3a85 WHIRLPOOL b040e1850f30103642d83a93467bb21d31a22a1e2c3759677720f0efc613d43759a278536f6304968fba208121f91a151df1b64f9dec6aaae3859f04a2da8215
72 DIST shorewall6-lite-5.0.5.1.tar.bz2 46118 SHA256 e28690bc6137ee59a264495c7496d66868a6178c06b1443b2c6f3e6b5716b084 SHA512 0998f87a2aab8637f54cc31eaa6b974c4eac7825cd65264420a975be8a887a4fb4042b3cb61c84cbcbd6d6c1ffc38cce73ccdda80234e9de93f1fff34e90ab93 WHIRLPOOL e0258127a1af10bb91f95757445e81471e593cc3fdf0155ce4d24022b46075c5885261747c54dec3e8c2c443c32ca65da0d67b91b5855e7f9c808bd4f178984c
73
74 diff --git a/net-firewall/shorewall/files/4.5.21.10-r1/shorewall-10-fix-ipset-support-detection.patch b/net-firewall/shorewall/files/4.5.21.10-r1/shorewall-10-fix-ipset-support-detection.patch
75 deleted file mode 100644
76 index 55b8f70..0000000
77 --- a/net-firewall/shorewall/files/4.5.21.10-r1/shorewall-10-fix-ipset-support-detection.patch
78 +++ /dev/null
79 @@ -1,29 +0,0 @@
80 -Beginning with 3.14, the address family of the ipset was checked and an
81 -error is generated:
82 -
83 -root@jessie:~# ipset -N foo iphash
84 -root@jessie:~# ip6tables -N foo
85 -root@jessie:~# ip6tables -A foo -m set --match-set foo src
86 -ip6tables v1.4.21: The protocol family of set foo is IPv4, which is not
87 -applicable.
88 -
89 -Try `ip6tables -h' or 'ip6tables --help' for more information.
90 -root@jessie:~#
91 -
92 -This caused the failure. By reversing the order of the terms, an ipv6
93 -ipset is created (if supported) and the ip6tables command succeeds.
94 -
95 -http://thread.gmane.org/gmane.comp.security.shorewall/31349
96 -
97 -diff -rupN old/shorewall-4.5.21.10/Perl/Shorewall/Config.pm new/shorewall-4.5.21.10/Perl/Shorewall/Config.pm
98 ---- old/shorewall-4.5.21.10/Perl/Shorewall/Config.pm 2014-05-26 16:47:21.000000000 +0200
99 -+++ new/shorewall-4.5.21.10/Perl/Shorewall/Config.pm 2014-07-20 18:11:28.186658453 +0200
100 -@@ -3961,7 +3961,7 @@ sub IPSet_Match() {
101 - if ( $ipset && -x $ipset ) {
102 - qt( "$ipset -X $sillyname" );
103 -
104 -- if ( qt( "$ipset -N $sillyname iphash" ) || qt( "$ipset -N $sillyname hash:ip family $fam") ) {
105 -+ if ( qt( "$ipset -N $sillyname hash:ip family $fam" ) || qt( "$ipset -N $sillyname iphash" ) ) {
106 - if ( qt1( "$iptables $iptablesw -A $sillyname -m set --match-set $sillyname src -j ACCEPT" ) ) {
107 - qt1( "$iptables $iptablesw -F $sillyname" );
108 - $result = ! ( $capabilities{OLD_IPSET_MATCH} = 0 );
109
110 diff --git a/net-firewall/shorewall/files/4.5.21.10-r1/shorewall.confd b/net-firewall/shorewall/files/4.5.21.10-r1/shorewall.confd
111 deleted file mode 100644
112 index e595716..0000000
113 --- a/net-firewall/shorewall/files/4.5.21.10-r1/shorewall.confd
114 +++ /dev/null
115 @@ -1,15 +0,0 @@
116 -# Global start/restart/stop options
117 -#
118 -OPTIONS=""
119 -
120 -# Start options
121 -#
122 -STARTOPTIONS=""
123 -
124 -# Stop options
125 -#
126 -STOPOPTIONS=""
127 -
128 -# Restart options
129 -#
130 -RESTARTOPTIONS=""
131
132 diff --git a/net-firewall/shorewall/files/4.5.21.10-r1/shorewall.initd b/net-firewall/shorewall/files/4.5.21.10-r1/shorewall.initd
133 deleted file mode 100644
134 index 898dc31..0000000
135 --- a/net-firewall/shorewall/files/4.5.21.10-r1/shorewall.initd
136 +++ /dev/null
137 @@ -1,107 +0,0 @@
138 -#!/sbin/runscript
139 -# Copyright 1999-2014 Gentoo Foundation
140 -# Distributed under the terms of the GNU General Public License v2
141 -# $Id$
142 -
143 -description='The Shoreline Firewall, more commonly known as "Shorewall", is'
144 -description="${description} a high-level tool for configuring Netfilter."
145 -
146 -extra_commands="check clear"
147 -extra_started_commands="refresh reset"
148 -
149 -description_check="Checks if the configuration will compile or not."
150 -
151 -description_clear="Clear will remove all rules and chains installed by"
152 -description_clear="${description_clear} Shorewall. The firewall is then"
153 -description_clear="${description_clear} wide open and unprotected."
154 -
155 -description_refresh="The mangle table will be refreshed along with the"
156 -description_refresh="${description_refresh} blacklist chain (if any)."
157 -
158 -description_reset="All the packet and byte counters in the firewall are reset."
159 -
160 -depend() {
161 - need net
162 - provide firewall
163 - after ulogd
164 -}
165 -
166 -status() {
167 - local _retval
168 - /sbin/shorewall status 1>/dev/null
169 - _retval=$?
170 - if [ ${_retval} = '0' ]; then
171 - einfo 'status: started'
172 - mark_service_started "${SVCNAME}"
173 - return 0
174 - else
175 - einfo 'status: stopped'
176 - mark_service_stopped "${SVCNAME}"
177 - return 3
178 - fi
179 -}
180 -
181 -start() {
182 - ebegin "Starting shorewall"
183 - /sbin/shorewall ${OPTIONS} start ${STARTOPTIONS} 1>/dev/null
184 - eend $?
185 -}
186 -
187 -stop() {
188 - ebegin "Stopping shorewall"
189 - /sbin/shorewall ${OPTIONS} stop ${STOPOPTIONS} 1>/dev/null
190 - eend $?
191 -}
192 -
193 -restart() {
194 - # shorewall comes with its own control script that includes a
195 - # restart function, so refrain from calling svc_stop/svc_start
196 - # here. Note that this comment is required to fix bug 55576;
197 - # runscript.sh greps this script... (09 Jul 2004 agriffis)
198 -
199 - ebegin "Restarting shorewall"
200 - /sbin/shorewall status 1>/dev/null
201 - if [ $? != 0 ] ; then
202 - svc_start
203 - else
204 - /sbin/shorewall ${OPTIONS} restart ${RESTARTOPTIONS} 1>/dev/null
205 - fi
206 - eend $?
207 -}
208 -
209 -clear() {
210 - # clear will remove all the rules and bring the system to an unfirewalled
211 - # state. (21 Nov 2004 eldad)
212 -
213 - ebegin "Clearing all shorewall rules and setting policy to ACCEPT"
214 - /sbin/shorewall ${OPTIONS} clear 1>/dev/null
215 - eend $?
216 -}
217 -
218 -reset() {
219 - # reset the packet and byte counters in the firewall
220 -
221 - ebegin "Resetting the packet and byte counters in shorewall"
222 - /sbin/shorewall ${OPTIONS} reset 1>/dev/null
223 - eend $?
224 -}
225 -
226 -refresh() {
227 - # refresh the rules involving the broadcast addresses of firewall
228 - # interfaces, the black list, traffic control rules and
229 - # ECN control rules
230 -
231 - ebegin "Refreshing shorewall rules"
232 - /sbin/shorewall ${OPTIONS} refresh 1>/dev/null
233 - eend $?
234 -}
235 -
236 -check() {
237 - # perform cursory validation of the zones, interfaces, hosts, rules
238 - # and policy files. CAUTION: does not parse and validate the generated
239 - # iptables commands.
240 -
241 - ebegin "Checking shorewall configuration"
242 - /sbin/shorewall ${OPTIONS} check 1>/dev/null
243 - eend $?
244 -}
245
246 diff --git a/net-firewall/shorewall/files/4.5.21.10-r1/shorewall.systemd b/net-firewall/shorewall/files/4.5.21.10-r1/shorewall.systemd
247 deleted file mode 100644
248 index db278fd..0000000
249 --- a/net-firewall/shorewall/files/4.5.21.10-r1/shorewall.systemd
250 +++ /dev/null
251 @@ -1,17 +0,0 @@
252 -#
253 -# The Shoreline Firewall (Shorewall) Packet Filtering Firewall - V4.5
254 -#
255 -[Unit]
256 -Description=Shorewall IPv4 firewall
257 -Documentation=man:shorewall(8) http://www.shorewall.net/Documentation_Index.html
258 -After=network.target
259 -
260 -[Service]
261 -Type=oneshot
262 -RemainAfterExit=yes
263 -EnvironmentFile=/etc/conf.d/shorewall
264 -ExecStart=/sbin/shorewall $OPTIONS start $STARTOPTIONS
265 -ExecStop=/sbin/shorewall $OPTIONS stop $STOPOPTIONS
266 -
267 -[Install]
268 -WantedBy=multi-user.target
269
270 diff --git a/net-firewall/shorewall/files/4.5.21.10-r1/shorewallrc b/net-firewall/shorewall/files/4.5.21.10-r1/shorewallrc
271 deleted file mode 100644
272 index 46f5eb9..0000000
273 --- a/net-firewall/shorewall/files/4.5.21.10-r1/shorewallrc
274 +++ /dev/null
275 @@ -1,23 +0,0 @@
276 -#
277 -# Gentoo Shorewall 4.5 rc file
278 -#
279 -BUILD= #Default is to detect the build system
280 -HOST=gentoo #Gentoo GNU Linux
281 -PREFIX=@GENTOO_PORTAGE_EPREFIX@/usr #Top-level directory for shared files, libraries, etc.
282 -SHAREDIR=${PREFIX}/share #Directory for arch-neutral files.
283 -LIBEXECDIR=${PREFIX}/share #Directory for executable scripts.
284 -PERLLIBDIR=${PREFIX}/share/shorewall #Directory to install Shorewall Perl module directory
285 -CONFDIR=@GENTOO_PORTAGE_EPREFIX@/etc #Directory where subsystem configurations are installed
286 -SBINDIR=@GENTOO_PORTAGE_EPREFIX@/sbin #Directory where system administration programs are installed
287 -MANDIR=${PREFIX}/share/man #Directory where manpages are installed.
288 -INITDIR=${CONFDIR}/init.d #Directory where SysV init scripts are installed.
289 -INITFILE=${PRODUCT} #Name of the product's installed SysV init script
290 -INITSOURCE=init.gentoo.sh #Name of the distributed file to be installed as the SysV init script
291 -ANNOTATED= #If non-zero, annotated configuration files are installed
292 -SYSTEMD=@GENTOO_PORTAGE_EPREFIX@/usr/lib/systemd/system #Directory where .service files are installed (systems running systemd only)
293 -SERVICEFILE=gentoo.service #Name of the distributed file to be installed as systemd service file
294 -SYSCONFFILE=default.gentoo #Name of the distributed file to be installed in $SYSCONFDIR
295 -SYSCONFDIR=${CONFDIR}/conf.d #Directory where SysV init parameter files are installed
296 -SPARSE= #If non-empty, only install $PRODUCT/$PRODUCT.conf in $CONFDIR
297 -VARLIB=@GENTOO_PORTAGE_EPREFIX@/var/lib #Directory where product variable data is stored.
298 -VARDIR=${VARLIB}/${PRODUCT} #Directory where product variable data is stored.
299
300 diff --git a/net-firewall/shorewall/files/4.5.21.9/shorewall.confd b/net-firewall/shorewall/files/4.5.21.9/shorewall.confd
301 deleted file mode 100644
302 index e595716..0000000
303 --- a/net-firewall/shorewall/files/4.5.21.9/shorewall.confd
304 +++ /dev/null
305 @@ -1,15 +0,0 @@
306 -# Global start/restart/stop options
307 -#
308 -OPTIONS=""
309 -
310 -# Start options
311 -#
312 -STARTOPTIONS=""
313 -
314 -# Stop options
315 -#
316 -STOPOPTIONS=""
317 -
318 -# Restart options
319 -#
320 -RESTARTOPTIONS=""
321
322 diff --git a/net-firewall/shorewall/files/4.5.21.9/shorewall.initd b/net-firewall/shorewall/files/4.5.21.9/shorewall.initd
323 deleted file mode 100644
324 index 898dc31..0000000
325 --- a/net-firewall/shorewall/files/4.5.21.9/shorewall.initd
326 +++ /dev/null
327 @@ -1,107 +0,0 @@
328 -#!/sbin/runscript
329 -# Copyright 1999-2014 Gentoo Foundation
330 -# Distributed under the terms of the GNU General Public License v2
331 -# $Id$
332 -
333 -description='The Shoreline Firewall, more commonly known as "Shorewall", is'
334 -description="${description} a high-level tool for configuring Netfilter."
335 -
336 -extra_commands="check clear"
337 -extra_started_commands="refresh reset"
338 -
339 -description_check="Checks if the configuration will compile or not."
340 -
341 -description_clear="Clear will remove all rules and chains installed by"
342 -description_clear="${description_clear} Shorewall. The firewall is then"
343 -description_clear="${description_clear} wide open and unprotected."
344 -
345 -description_refresh="The mangle table will be refreshed along with the"
346 -description_refresh="${description_refresh} blacklist chain (if any)."
347 -
348 -description_reset="All the packet and byte counters in the firewall are reset."
349 -
350 -depend() {
351 - need net
352 - provide firewall
353 - after ulogd
354 -}
355 -
356 -status() {
357 - local _retval
358 - /sbin/shorewall status 1>/dev/null
359 - _retval=$?
360 - if [ ${_retval} = '0' ]; then
361 - einfo 'status: started'
362 - mark_service_started "${SVCNAME}"
363 - return 0
364 - else
365 - einfo 'status: stopped'
366 - mark_service_stopped "${SVCNAME}"
367 - return 3
368 - fi
369 -}
370 -
371 -start() {
372 - ebegin "Starting shorewall"
373 - /sbin/shorewall ${OPTIONS} start ${STARTOPTIONS} 1>/dev/null
374 - eend $?
375 -}
376 -
377 -stop() {
378 - ebegin "Stopping shorewall"
379 - /sbin/shorewall ${OPTIONS} stop ${STOPOPTIONS} 1>/dev/null
380 - eend $?
381 -}
382 -
383 -restart() {
384 - # shorewall comes with its own control script that includes a
385 - # restart function, so refrain from calling svc_stop/svc_start
386 - # here. Note that this comment is required to fix bug 55576;
387 - # runscript.sh greps this script... (09 Jul 2004 agriffis)
388 -
389 - ebegin "Restarting shorewall"
390 - /sbin/shorewall status 1>/dev/null
391 - if [ $? != 0 ] ; then
392 - svc_start
393 - else
394 - /sbin/shorewall ${OPTIONS} restart ${RESTARTOPTIONS} 1>/dev/null
395 - fi
396 - eend $?
397 -}
398 -
399 -clear() {
400 - # clear will remove all the rules and bring the system to an unfirewalled
401 - # state. (21 Nov 2004 eldad)
402 -
403 - ebegin "Clearing all shorewall rules and setting policy to ACCEPT"
404 - /sbin/shorewall ${OPTIONS} clear 1>/dev/null
405 - eend $?
406 -}
407 -
408 -reset() {
409 - # reset the packet and byte counters in the firewall
410 -
411 - ebegin "Resetting the packet and byte counters in shorewall"
412 - /sbin/shorewall ${OPTIONS} reset 1>/dev/null
413 - eend $?
414 -}
415 -
416 -refresh() {
417 - # refresh the rules involving the broadcast addresses of firewall
418 - # interfaces, the black list, traffic control rules and
419 - # ECN control rules
420 -
421 - ebegin "Refreshing shorewall rules"
422 - /sbin/shorewall ${OPTIONS} refresh 1>/dev/null
423 - eend $?
424 -}
425 -
426 -check() {
427 - # perform cursory validation of the zones, interfaces, hosts, rules
428 - # and policy files. CAUTION: does not parse and validate the generated
429 - # iptables commands.
430 -
431 - ebegin "Checking shorewall configuration"
432 - /sbin/shorewall ${OPTIONS} check 1>/dev/null
433 - eend $?
434 -}
435
436 diff --git a/net-firewall/shorewall/files/4.5.21.9/shorewall.systemd b/net-firewall/shorewall/files/4.5.21.9/shorewall.systemd
437 deleted file mode 100644
438 index db278fd..0000000
439 --- a/net-firewall/shorewall/files/4.5.21.9/shorewall.systemd
440 +++ /dev/null
441 @@ -1,17 +0,0 @@
442 -#
443 -# The Shoreline Firewall (Shorewall) Packet Filtering Firewall - V4.5
444 -#
445 -[Unit]
446 -Description=Shorewall IPv4 firewall
447 -Documentation=man:shorewall(8) http://www.shorewall.net/Documentation_Index.html
448 -After=network.target
449 -
450 -[Service]
451 -Type=oneshot
452 -RemainAfterExit=yes
453 -EnvironmentFile=/etc/conf.d/shorewall
454 -ExecStart=/sbin/shorewall $OPTIONS start $STARTOPTIONS
455 -ExecStop=/sbin/shorewall $OPTIONS stop $STOPOPTIONS
456 -
457 -[Install]
458 -WantedBy=multi-user.target
459
460 diff --git a/net-firewall/shorewall/files/4.5.21.9/shorewallrc b/net-firewall/shorewall/files/4.5.21.9/shorewallrc
461 deleted file mode 100644
462 index 46f5eb9..0000000
463 --- a/net-firewall/shorewall/files/4.5.21.9/shorewallrc
464 +++ /dev/null
465 @@ -1,23 +0,0 @@
466 -#
467 -# Gentoo Shorewall 4.5 rc file
468 -#
469 -BUILD= #Default is to detect the build system
470 -HOST=gentoo #Gentoo GNU Linux
471 -PREFIX=@GENTOO_PORTAGE_EPREFIX@/usr #Top-level directory for shared files, libraries, etc.
472 -SHAREDIR=${PREFIX}/share #Directory for arch-neutral files.
473 -LIBEXECDIR=${PREFIX}/share #Directory for executable scripts.
474 -PERLLIBDIR=${PREFIX}/share/shorewall #Directory to install Shorewall Perl module directory
475 -CONFDIR=@GENTOO_PORTAGE_EPREFIX@/etc #Directory where subsystem configurations are installed
476 -SBINDIR=@GENTOO_PORTAGE_EPREFIX@/sbin #Directory where system administration programs are installed
477 -MANDIR=${PREFIX}/share/man #Directory where manpages are installed.
478 -INITDIR=${CONFDIR}/init.d #Directory where SysV init scripts are installed.
479 -INITFILE=${PRODUCT} #Name of the product's installed SysV init script
480 -INITSOURCE=init.gentoo.sh #Name of the distributed file to be installed as the SysV init script
481 -ANNOTATED= #If non-zero, annotated configuration files are installed
482 -SYSTEMD=@GENTOO_PORTAGE_EPREFIX@/usr/lib/systemd/system #Directory where .service files are installed (systems running systemd only)
483 -SERVICEFILE=gentoo.service #Name of the distributed file to be installed as systemd service file
484 -SYSCONFFILE=default.gentoo #Name of the distributed file to be installed in $SYSCONFDIR
485 -SYSCONFDIR=${CONFDIR}/conf.d #Directory where SysV init parameter files are installed
486 -SPARSE= #If non-empty, only install $PRODUCT/$PRODUCT.conf in $CONFDIR
487 -VARLIB=@GENTOO_PORTAGE_EPREFIX@/var/lib #Directory where product variable data is stored.
488 -VARDIR=${VARLIB}/${PRODUCT} #Directory where product variable data is stored.
489
490 diff --git a/net-firewall/shorewall/shorewall-4.6.13.1.ebuild b/net-firewall/shorewall/shorewall-4.6.13.1.ebuild
491 deleted file mode 100644
492 index f9f66e7..0000000
493 --- a/net-firewall/shorewall/shorewall-4.6.13.1.ebuild
494 +++ /dev/null
495 @@ -1,446 +0,0 @@
496 -# Copyright 1999-2016 Gentoo Foundation
497 -# Distributed under the terms of the GNU General Public License v2
498 -# $Id$
499 -
500 -EAPI="5"
501 -
502 -inherit eutils linux-info prefix systemd versionator
503 -
504 -DESCRIPTION='A high-level tool for configuring Netfilter'
505 -HOMEPAGE="http://www.shorewall.net/"
506 -LICENSE="GPL-2"
507 -SLOT="0"
508 -IUSE="doc +init +ipv4 ipv6 lite4 lite6"
509 -
510 -MY_PV=${PV/_rc/-RC}
511 -MY_PV=${MY_PV/_beta/-Beta}
512 -MY_P=${PN}-${MY_PV}
513 -
514 -MY_MAJOR_RELEASE_NUMBER=$(get_version_component_range 1-2)
515 -MY_MAJORMINOR_RELEASE_NUMBER=$(get_version_component_range 1-3)
516 -
517 -# shorewall
518 -MY_PN_IPV4=Shorewall
519 -MY_P_IPV4=${MY_PN_IPV4/#S/s}-${MY_PV}
520 -
521 -# shorewall6
522 -MY_PN_IPV6=Shorewall6
523 -MY_P_IPV6=${MY_PN_IPV6/#S/s}-${MY_PV}
524 -
525 -# shorewall-lite
526 -MY_PN_LITE4=Shorewall-lite
527 -MY_P_LITE4=${MY_PN_LITE4/#S/s}-${MY_PV}
528 -
529 -# shorewall6-lite
530 -MY_PN_LITE6=Shorewall6-lite
531 -MY_P_LITE6=${MY_PN_LITE6/#S/s}-${MY_PV}
532 -
533 -# shorewall-init
534 -MY_PN_INIT=Shorewall-init
535 -MY_P_INIT=${MY_PN_INIT/#S/s}-${MY_PV}
536 -
537 -# shorewall-core
538 -MY_PN_CORE=Shorewall-core
539 -MY_P_CORE=${MY_PN_CORE/#S/s}-${MY_PV}
540 -
541 -# shorewall-docs-html
542 -MY_PN_DOCS=Shorewall-docs-html
543 -MY_P_DOCS=${MY_PN_DOCS/#S/s}-${MY_PV}
544 -
545 -# Upstream URL schema:
546 -# Beta: $MIRROR/pub/shorewall/development/4.6/shorewall-4.6.4-Beta2/shorewall-4.6.4-Beta2.tar.bz2
547 -# RC: $MIRROR/pub/shorewall/development/4.6/shorewall-4.6.4-RC1/shorewall-4.6.4-RC1.tar.bz2
548 -# Release: $MIRROR/pub/shorewall/4.6/shorewall-4.6.3/shorewall-4.6.3.3.tar.bz2
549 -
550 -MY_URL_PREFIX=
551 -MY_URL_SUFFIX=
552 -if [[ ${MY_PV} = *-Beta* ]] || [[ ${MY_PV} = *-RC* ]]; then
553 - MY_URL_PREFIX='development/'
554 -
555 - _tmp_last_index=$(($(get_last_version_component_index ${MY_PV})+1))
556 - _tmp_suffix=$(get_version_component_range ${_tmp_last_index} ${MY_PV})
557 - if [[ ${_tmp_suffix} = *Beta* ]] || [[ ${_tmp_suffix} = *RC* ]]; then
558 - MY_URL_SUFFIX="-${_tmp_suffix}"
559 - fi
560 -
561 - # Cleaning up temporary variables
562 - unset _tmp_last_index
563 - unset _tmp_suffix
564 -else
565 - KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
566 -fi
567 -
568 -SRC_URI="
569 - http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall-core-${MY_PV}.tar.bz2
570 - ipv4? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall-${MY_PV}.tar.bz2 )
571 - ipv6? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall6-${MY_PV}.tar.bz2 )
572 - lite4? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall-lite-${MY_PV}.tar.bz2 )
573 - lite6? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall6-lite-${MY_PV}.tar.bz2 )
574 - init? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall-init-${MY_PV}.tar.bz2 )
575 - doc? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/${MY_P_DOCS}.tar.bz2 )
576 -"
577 -
578 -# - Shorewall6 requires Shorewall
579 -# - Installing Shorewall-init or just the documentation doesn't make any sense,
580 -# that's why we force the user to select at least one "real" Shorewall product
581 -#
582 -# See http://shorewall.net/download.htm#Which
583 -REQUIRED_USE="
584 - ipv6? ( ipv4 )
585 - || ( ipv4 lite4 lite6 )
586 -"
587 -
588 -# No build dependencies! Just plain shell scripts...
589 -DEPEND=""
590 -
591 -RDEPEND="
592 - >=net-firewall/iptables-1.4.20
593 - >=sys-apps/iproute2-3.8.0[-minimal]
594 - >=sys-devel/bc-1.06.95
595 - ipv4? (
596 - >=dev-lang/perl-5.16
597 - virtual/perl-Digest-SHA
598 - )
599 - ipv6? (
600 - >=dev-perl/Socket6-0.230.0
601 - >=net-firewall/iptables-1.4.20[ipv6]
602 - >=sys-apps/iproute2-3.8.0[ipv6]
603 - )
604 - lite6? (
605 - >=net-firewall/iptables-1.4.20[ipv6]
606 - >=sys-apps/iproute2-3.8.0[ipv6]
607 - )
608 - init? ( >=sys-apps/coreutils-8.20 )
609 - !net-firewall/shorewall-core
610 - !net-firewall/shorewall6
611 - !net-firewall/shorewall-lite
612 - !net-firewall/shorewall6-lite
613 - !net-firewall/shorewall-init
614 - !<sys-apps/systemd-214
615 -"
616 -
617 -S=${WORKDIR}
618 -
619 -pkg_pretend() {
620 - local CONFIG_CHECK="~NF_CONNTRACK"
621 -
622 - local WARNING_CONNTRACK="Without NF_CONNTRACK support, you will be unable"
623 - local WARNING_CONNTRACK+=" to run any shorewall-based firewall on the local system."
624 -
625 - if use ipv4 || use lite4; then
626 - CONFIG_CHECK="${CONFIG_CHECK} ~NF_CONNTRACK_IPV4"
627 -
628 - local WARNING_CONNTRACK_IPV4="Without NF_CONNTRACK_IPV4 support, you will"
629 - local WARNING_CONNTRACK_IPV4+=" be unable to run any shorewall-based IPv4 firewall on the local system."
630 - fi
631 -
632 - if use ipv6 || use lite6; then
633 - CONFIG_CHECK="${CONFIG_CHECK} ~NF_CONNTRACK_IPV6"
634 -
635 - local WARNING_CONNTRACK_IPV6="Without NF_CONNTRACK_IPV6 support, you will"
636 - local WARNING_CONNTRACK_IPV6+=" be unable to run any shorewall-based IPv6 firewall on the local system."
637 - fi
638 -
639 - check_extra_config
640 -}
641 -
642 -pkg_setup() {
643 - if [ -n "${DIGEST}" ]; then
644 - einfo "Unsetting environment variable \"DIGEST\" to prevent conflicts with package's \"install.sh\" script ..."
645 - unset DIGEST
646 - fi
647 -}
648 -
649 -src_prepare() {
650 - # We are moving each unpacked source from MY_P_* to MY_PN_*.
651 - # This allows us to use patches from upstream and keeps epatch_user working
652 -
653 - einfo "Preparing shorewallrc ..."
654 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewallrc "${S}"/shorewallrc.gentoo || die "Copying shorewallrc failed"
655 - eprefixify "${S}"/shorewallrc.gentoo
656 -
657 - # shorewall-core
658 - mv "${S}"/${MY_P_CORE} "${S}"/${MY_PN_CORE} || die "Failed to move '${S}/${MY_P_CORE}' to '${S}/${MY_PN_CORE}'"
659 - ebegin "Applying Gentoo-specific changes to ${MY_P_CORE} ..."
660 - ln -s ../shorewallrc.gentoo ${MY_PN_CORE}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
661 - eend 0
662 -
663 - # shorewall
664 - if use ipv4; then
665 - mv "${S}"/${MY_P_IPV4} "${S}"/${MY_PN_IPV4} || die "Failed to move '${S}/${MY_P_IPV4}' to '${S}/${MY_PN_IPV4}'"
666 - ebegin "Applying Gentoo-specific changes to ${MY_P_IPV4}"
667 - ln -s ../shorewallrc.gentoo ${MY_PN_IPV4}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
668 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall.confd "${S}"/${MY_PN_IPV4}/default.gentoo || die "Copying shorewall.confd failed"
669 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall.initd "${S}"/${MY_PN_IPV4}/init.gentoo.sh || die "Copying shorewall.initd failed"
670 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall.systemd-r1 "${S}"/${MY_PN_IPV4}/gentoo.service || die "Copying shorewall.systemd failed"
671 - eend 0
672 - fi
673 -
674 - # shorewall6
675 - if use ipv6; then
676 - mv "${S}"/${MY_P_IPV6} "${S}"/${MY_PN_IPV6} || die "Failed to move '${S}/${MY_P_IPV6}' to '${S}/${MY_PN_IPV6}'"
677 - ebegin "Applying Gentoo-specific changes to ${MY_P_IPV6}"
678 - ln -s ../shorewallrc.gentoo ${MY_PN_IPV6}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
679 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6.confd "${S}"/${MY_PN_IPV6}/default.gentoo || die "Copying shorewall6.confd failed"
680 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6.initd "${S}"/${MY_PN_IPV6}/init.gentoo.sh || die "Copying shorewall6.initd failed"
681 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6.systemd-r1 "${S}"/${MY_PN_IPV6}/gentoo.service || die "Copying shorewall6.systemd failed"
682 - eend 0
683 - fi
684 -
685 - # shorewall-lite
686 - if use lite4; then
687 - mv "${S}"/${MY_P_LITE4} "${S}"/${MY_PN_LITE4} || die "Failed to move '${S}/${MY_P_LITE4}' to '${S}/${MY_PN_LITE4}'"
688 - ebegin "Applying Gentoo-specific changes to ${MY_P_LITE4}"
689 - ln -s ../shorewallrc.gentoo ${MY_PN_LITE4}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
690 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-lite.confd "${S}"/${MY_PN_LITE4}/default.gentoo || die "Copying shorewall-lite.confd failed"
691 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-lite.initd "${S}"/${MY_PN_LITE4}/init.gentoo.sh || die "Copying shorewall-lite.initd failed"
692 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-lite.systemd-r1 "${S}"/${MY_PN_LITE4}/gentoo.service || die "Copying shorewall-lite.systemd failed"
693 - eend 0
694 - fi
695 -
696 - # shorewall6-lite
697 - if use lite6; then
698 - mv "${S}"/${MY_P_LITE6} "${S}"/${MY_PN_LITE6} || die "Failed to move '${S}/${MY_P_LITE6}' to '${S}/${MY_PN_LITE6}'"
699 - ebegin "Applying Gentoo-specific changes to ${MY_P_LITE6}"
700 - ln -s ../shorewallrc.gentoo ${MY_PN_LITE6}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
701 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6-lite.confd "${S}"/${MY_PN_LITE6}/default.gentoo || die "Copying shorewall6-lite.confd failed"
702 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6-lite.initd "${S}"/${MY_PN_LITE6}/init.gentoo.sh || die "Copying shorewall6-lite.initd failed"
703 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6-lite.systemd-r1 "${S}"/${MY_PN_LITE6}/gentoo.service || die "Copying shorewall6-lite.systemd failed"
704 - eend 0
705 - fi
706 -
707 - # shorewall-init
708 - if use init; then
709 - mv "${S}"/${MY_P_INIT} "${S}"/${MY_PN_INIT} || die "Failed to move '${S}/${MY_P_INIT}' to '${S}/${MY_PN_INIT}'"
710 - ebegin "Applying Gentoo-specific changes to ${MY_P_INIT}"
711 - ln -s ../shorewallrc.gentoo ${MY_PN_INIT}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
712 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-init.confd "${S}"/${MY_PN_INIT}/default.gentoo || die "Copying shorewall-init.confd failed"
713 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-init.initd "${S}"/${MY_PN_INIT}/init.gentoo.sh || die "Copying shorewall-init.initd failed"
714 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-init.systemd-r2 "${S}"/${MY_PN_INIT}/gentoo.service || die "Copying shorewall-init.systemd failed"
715 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-init.readme "${S}"/${MY_PN_INIT}/shorewall-init.README.Gentoo.txt || die "Copying shorewall-init.systemd failed"
716 - eend 0
717 -
718 - eprefixify "${S}"/${MY_PN_INIT}/init.gentoo.sh
719 -
720 - cd "${S}"/${MY_PN_INIT}
721 - epatch "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-init-01_remove-ipset-functionality-r1.patch
722 - cd "${S}"
723 - fi
724 -
725 - # shorewall-docs-html
726 - if use doc; then
727 - mv "${S}"/${MY_P_DOCS} "${S}"/${MY_PN_DOCS} || die "Failed to move '${S}/${MY_P_DOCS}' to '${S}/${MY_PN_DOCS}'"
728 - fi
729 -
730 - epatch_user
731 -}
732 -
733 -src_configure() {
734 - :;
735 -}
736 -
737 -src_compile() {
738 - :;
739 -}
740 -
741 -src_install() {
742 - # shorewall-core
743 - einfo "Installing ${MY_P_CORE} ..."
744 - DESTDIR="${D%/}" ${MY_PN_CORE}/install.sh shorewallrc.gentoo || die "${MY_PN_CORE}/install.sh failed"
745 - dodoc "${S}"/${MY_PN_CORE}/changelog.txt "${S}"/${MY_PN_CORE}/releasenotes.txt
746 -
747 - # shorewall
748 - if use ipv4; then
749 - einfo "Installing ${MY_P_IPV4} ..."
750 - keepdir /var/lib/shorewall
751 - DESTDIR="${D%/}" ${MY_PN_IPV4}/install.sh shorewallrc.gentoo || die "${MY_PN_IPV4}/install.sh failed"
752 -
753 - if use doc; then
754 - dodoc -r "${S}"/${MY_PN_IPV4}/Samples
755 - fi
756 - fi
757 -
758 - # shorewall6
759 - if use ipv6; then
760 - einfo "Installing ${MY_P_IPV6} ..."
761 - keepdir /var/lib/shorewall6
762 - DESTDIR="${D%/}" ${MY_PN_IPV6}/install.sh shorewallrc.gentoo || die "${MY_PN_IPV6}/install.sh failed"
763 -
764 - if use doc; then
765 - dodoc -r "${S}"/${MY_PN_IPV6}/Samples6
766 - fi
767 - fi
768 -
769 - # shorewall-lite
770 - if use lite4; then
771 - einfo "Installing ${MY_P_LITE4} ..."
772 - keepdir /var/lib/shorewall-lite
773 - DESTDIR="${D%/}" ${MY_PN_LITE4}/install.sh shorewallrc.gentoo || die "${MY_PN_LITE4}/install.sh failed"
774 - fi
775 -
776 - # shorewall6-lite
777 - if use lite6; then
778 - einfo "Installing ${MY_P_LITE6} ..."
779 - keepdir /var/lib/shorewall6-lite
780 - DESTDIR="${D%/}" ${MY_PN_LITE6}/install.sh shorewallrc.gentoo || die "${MY_PN_LITE6}/install.sh failed"
781 - fi
782 -
783 - # shorewall-init
784 - if use init; then
785 - einfo "Installing ${MY_P_INIT} ..."
786 - DESTDIR="${D%/}" ${MY_PN_INIT}/install.sh shorewallrc.gentoo || die "${MY_PN_INIT}/install.sh failed"
787 - dodoc "${S}"/${MY_PN_INIT}/shorewall-init.README.Gentoo.txt
788 -
789 - if [ -f "${D}etc/logrotate.d/shorewall-init" ]; then
790 - # On Gentoo, shorewall-init will not create shorewall-ifupdown.log,
791 - # so we don't need a logrotate configuration file for shorewall-init
792 - einfo "Removing unused \"${D}etc/logrotate.d/shorewall-init\" ..."
793 - rm -rf "${D}"etc/logrotate.d/shorewall-init || die "Removing \"${D}etc/logrotate.d/shorewall-init\" failed"
794 - fi
795 -
796 - if [ -d "${D}etc/NetworkManager" ]; then
797 - # On Gentoo, we don't support NetworkManager
798 - # so we don't need this folder at all
799 - einfo "Removing unused \"${D}etc/NetworkManager\" ..."
800 - rm -rf "${D}"etc/NetworkManager || die "Removing \"${D}etc/NetworkManager\" failed"
801 - fi
802 -
803 - if [ -f "${D}usr/share/shorewall-init/ifupdown" ]; then
804 - # This script isn't supported on Gentoo
805 - rm -rf "${D}"usr/share/shorewall-init/ifupdown || die "Removing \"${D}usr/share/shorewall-init/ifupdown\" failed"
806 - fi
807 - fi
808 -
809 - if use doc; then
810 - einfo "Installing ${MY_P_DOCS} ..."
811 - dohtml -r "${S}"/${MY_PN_DOCS}
812 - fi
813 -}
814 -
815 -pkg_postinst() {
816 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
817 - # This is a new installation
818 -
819 - # Show first steps for shorewall/shorewall6
820 - local _PRODUCTS=""
821 - if use ipv4; then
822 - _PRODUCTS="shorewall"
823 -
824 - if use ipv6; then
825 - _PRODUCTS="${_PRODUCTS}/shorewall6"
826 - fi
827 - fi
828 -
829 - if [[ -n "${_PRODUCTS}" ]]; then
830 - elog "Before you can use ${_PRODUCTS}, you need to edit its configuration in:"
831 - elog ""
832 - elog " /etc/shorewall/shorewall.conf"
833 -
834 - if use ipv6; then
835 - elog " /etc/shorewall6/shorewall6.conf"
836 - fi
837 -
838 - elog ""
839 - elog "To activate your shorewall-based firewall on system start, please add ${_PRODUCTS} to your default runlevel:"
840 - elog ""
841 - elog " # rc-update add shorewall default"
842 -
843 - if use ipv6; then
844 - elog " # rc-update add shorewall6 default"
845 - fi
846 - fi
847 -
848 - # Show first steps for shorewall-lite/shorewall6-lite
849 - _PRODUCTS=""
850 - if use lite4; then
851 - _PRODUCTS="shorewall-lite"
852 - fi
853 -
854 - if use lite6; then
855 - if [[ -z "${_PRODUCTS}" ]]; then
856 - _PRODUCTS="shorewall6-lite"
857 - else
858 - _PRODUCTS="${_PRODUCTS}/shorewall6-lite"
859 - fi
860 - fi
861 -
862 - if [[ -n "${_PRODUCTS}" ]]; then
863 - if use ipv4; then
864 - elog ""
865 - fi
866 -
867 - elog "Before you can use ${_PRODUCTS}, you need to provide a configuration, which you can"
868 - elog "create using ${CATEGORY}/shorewall (with \"ipv4\" and or \"ipv6\" USE flag)."
869 - elog ""
870 - elog "To read more about ${_PRODUCTS}, please visit"
871 - elog " http://shorewall.net/CompiledPrograms.html"
872 - elog ""
873 - elog "To activate your shorewall-lite-based firewall on system start, please add ${PRODUCTS} to your default runlevel:"
874 - elog ""
875 -
876 - if use lite4; then
877 - elog " # rc-update add shorewall-lite default"
878 - fi
879 -
880 - if use lite6; then
881 - elog " # rc-update add shorewall6-lite default"
882 - fi
883 - fi
884 -
885 - if use init; then
886 - elog ""
887 - elog "To secure your system on boot, please add shorewall-init to your boot runlevel:"
888 - elog ""
889 - elog " # rc-update add shorewall-init boot"
890 - elog ""
891 - elog "and review \$PRODUCTS in"
892 - elog ""
893 - elog " /etc/conf.d/shorewall-init"
894 - fi
895 -
896 - fi
897 -
898 - if [[ -n "${REPLACING_VERSIONS}" && ${REPLACING_VERSIONS} < ${MY_MAJOR_RELEASE_NUMBER} ]]; then
899 - # This is an upgrade
900 -
901 - elog "You are upgrading from a previous major version. It is highly recommended that you read"
902 - elog ""
903 - elog " - /usr/share/doc/shorewall*/releasenotes.tx*"
904 - elog " - http://shorewall.net/upgrade_issues.htm#idp8704902640"
905 -
906 - if use ipv4; then
907 - elog ""
908 - elog "You can auto-migrate your configuration using"
909 - elog ""
910 - elog " # shorewall update -A"
911 -
912 - if use ipv6; then
913 - elog " # shorewall6 update -A"
914 - fi
915 -
916 - elog ""
917 - elog "But if you are not familiar with the \"shorewall[6] update\" command,"
918 - elog "please read the shorewall[6] man page first."
919 - fi
920 - fi
921 -
922 - if ! use init; then
923 - elog ""
924 - elog "Consider emerging ${CATEGORY}/${PN} with USE flag \"init\" to secure your system on boot"
925 - elog "before your shorewall-based firewall is ready to start."
926 - elog ""
927 - elog "To read more about shorewall-init, please visit"
928 - elog " http://www.shorewall.net/Shorewall-init.html"
929 - fi
930 -
931 - if ! has_version "net-firewall/conntrack-tools"; then
932 - elog ""
933 - elog "Your Shorewall firewall can utilize \"conntrack\" from the \"net-firewall/conntrack-tools\""
934 - elog "package. if you want to use this feature, you need to install \"net-firewall/conntrack-tools\"!"
935 - fi
936 -
937 - if ! has_version "dev-perl/Devel-NYTProf"; then
938 - elog ""
939 - elog "If you want to profile your Shorewall firewall you need to install \"dev-perl/Devel-NYTProf\"!"
940 - fi
941 -}
942
943 diff --git a/net-firewall/shorewall/shorewall-4.6.13.ebuild b/net-firewall/shorewall/shorewall-4.6.13.ebuild
944 deleted file mode 100644
945 index f9f66e7..0000000
946 --- a/net-firewall/shorewall/shorewall-4.6.13.ebuild
947 +++ /dev/null
948 @@ -1,446 +0,0 @@
949 -# Copyright 1999-2016 Gentoo Foundation
950 -# Distributed under the terms of the GNU General Public License v2
951 -# $Id$
952 -
953 -EAPI="5"
954 -
955 -inherit eutils linux-info prefix systemd versionator
956 -
957 -DESCRIPTION='A high-level tool for configuring Netfilter'
958 -HOMEPAGE="http://www.shorewall.net/"
959 -LICENSE="GPL-2"
960 -SLOT="0"
961 -IUSE="doc +init +ipv4 ipv6 lite4 lite6"
962 -
963 -MY_PV=${PV/_rc/-RC}
964 -MY_PV=${MY_PV/_beta/-Beta}
965 -MY_P=${PN}-${MY_PV}
966 -
967 -MY_MAJOR_RELEASE_NUMBER=$(get_version_component_range 1-2)
968 -MY_MAJORMINOR_RELEASE_NUMBER=$(get_version_component_range 1-3)
969 -
970 -# shorewall
971 -MY_PN_IPV4=Shorewall
972 -MY_P_IPV4=${MY_PN_IPV4/#S/s}-${MY_PV}
973 -
974 -# shorewall6
975 -MY_PN_IPV6=Shorewall6
976 -MY_P_IPV6=${MY_PN_IPV6/#S/s}-${MY_PV}
977 -
978 -# shorewall-lite
979 -MY_PN_LITE4=Shorewall-lite
980 -MY_P_LITE4=${MY_PN_LITE4/#S/s}-${MY_PV}
981 -
982 -# shorewall6-lite
983 -MY_PN_LITE6=Shorewall6-lite
984 -MY_P_LITE6=${MY_PN_LITE6/#S/s}-${MY_PV}
985 -
986 -# shorewall-init
987 -MY_PN_INIT=Shorewall-init
988 -MY_P_INIT=${MY_PN_INIT/#S/s}-${MY_PV}
989 -
990 -# shorewall-core
991 -MY_PN_CORE=Shorewall-core
992 -MY_P_CORE=${MY_PN_CORE/#S/s}-${MY_PV}
993 -
994 -# shorewall-docs-html
995 -MY_PN_DOCS=Shorewall-docs-html
996 -MY_P_DOCS=${MY_PN_DOCS/#S/s}-${MY_PV}
997 -
998 -# Upstream URL schema:
999 -# Beta: $MIRROR/pub/shorewall/development/4.6/shorewall-4.6.4-Beta2/shorewall-4.6.4-Beta2.tar.bz2
1000 -# RC: $MIRROR/pub/shorewall/development/4.6/shorewall-4.6.4-RC1/shorewall-4.6.4-RC1.tar.bz2
1001 -# Release: $MIRROR/pub/shorewall/4.6/shorewall-4.6.3/shorewall-4.6.3.3.tar.bz2
1002 -
1003 -MY_URL_PREFIX=
1004 -MY_URL_SUFFIX=
1005 -if [[ ${MY_PV} = *-Beta* ]] || [[ ${MY_PV} = *-RC* ]]; then
1006 - MY_URL_PREFIX='development/'
1007 -
1008 - _tmp_last_index=$(($(get_last_version_component_index ${MY_PV})+1))
1009 - _tmp_suffix=$(get_version_component_range ${_tmp_last_index} ${MY_PV})
1010 - if [[ ${_tmp_suffix} = *Beta* ]] || [[ ${_tmp_suffix} = *RC* ]]; then
1011 - MY_URL_SUFFIX="-${_tmp_suffix}"
1012 - fi
1013 -
1014 - # Cleaning up temporary variables
1015 - unset _tmp_last_index
1016 - unset _tmp_suffix
1017 -else
1018 - KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
1019 -fi
1020 -
1021 -SRC_URI="
1022 - http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall-core-${MY_PV}.tar.bz2
1023 - ipv4? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall-${MY_PV}.tar.bz2 )
1024 - ipv6? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall6-${MY_PV}.tar.bz2 )
1025 - lite4? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall-lite-${MY_PV}.tar.bz2 )
1026 - lite6? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall6-lite-${MY_PV}.tar.bz2 )
1027 - init? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/shorewall-init-${MY_PV}.tar.bz2 )
1028 - doc? ( http://www.shorewall.net/pub/shorewall/${MY_URL_PREFIX}${MY_MAJOR_RELEASE_NUMBER}/shorewall-${MY_MAJORMINOR_RELEASE_NUMBER}${MY_URL_SUFFIX}/${MY_P_DOCS}.tar.bz2 )
1029 -"
1030 -
1031 -# - Shorewall6 requires Shorewall
1032 -# - Installing Shorewall-init or just the documentation doesn't make any sense,
1033 -# that's why we force the user to select at least one "real" Shorewall product
1034 -#
1035 -# See http://shorewall.net/download.htm#Which
1036 -REQUIRED_USE="
1037 - ipv6? ( ipv4 )
1038 - || ( ipv4 lite4 lite6 )
1039 -"
1040 -
1041 -# No build dependencies! Just plain shell scripts...
1042 -DEPEND=""
1043 -
1044 -RDEPEND="
1045 - >=net-firewall/iptables-1.4.20
1046 - >=sys-apps/iproute2-3.8.0[-minimal]
1047 - >=sys-devel/bc-1.06.95
1048 - ipv4? (
1049 - >=dev-lang/perl-5.16
1050 - virtual/perl-Digest-SHA
1051 - )
1052 - ipv6? (
1053 - >=dev-perl/Socket6-0.230.0
1054 - >=net-firewall/iptables-1.4.20[ipv6]
1055 - >=sys-apps/iproute2-3.8.0[ipv6]
1056 - )
1057 - lite6? (
1058 - >=net-firewall/iptables-1.4.20[ipv6]
1059 - >=sys-apps/iproute2-3.8.0[ipv6]
1060 - )
1061 - init? ( >=sys-apps/coreutils-8.20 )
1062 - !net-firewall/shorewall-core
1063 - !net-firewall/shorewall6
1064 - !net-firewall/shorewall-lite
1065 - !net-firewall/shorewall6-lite
1066 - !net-firewall/shorewall-init
1067 - !<sys-apps/systemd-214
1068 -"
1069 -
1070 -S=${WORKDIR}
1071 -
1072 -pkg_pretend() {
1073 - local CONFIG_CHECK="~NF_CONNTRACK"
1074 -
1075 - local WARNING_CONNTRACK="Without NF_CONNTRACK support, you will be unable"
1076 - local WARNING_CONNTRACK+=" to run any shorewall-based firewall on the local system."
1077 -
1078 - if use ipv4 || use lite4; then
1079 - CONFIG_CHECK="${CONFIG_CHECK} ~NF_CONNTRACK_IPV4"
1080 -
1081 - local WARNING_CONNTRACK_IPV4="Without NF_CONNTRACK_IPV4 support, you will"
1082 - local WARNING_CONNTRACK_IPV4+=" be unable to run any shorewall-based IPv4 firewall on the local system."
1083 - fi
1084 -
1085 - if use ipv6 || use lite6; then
1086 - CONFIG_CHECK="${CONFIG_CHECK} ~NF_CONNTRACK_IPV6"
1087 -
1088 - local WARNING_CONNTRACK_IPV6="Without NF_CONNTRACK_IPV6 support, you will"
1089 - local WARNING_CONNTRACK_IPV6+=" be unable to run any shorewall-based IPv6 firewall on the local system."
1090 - fi
1091 -
1092 - check_extra_config
1093 -}
1094 -
1095 -pkg_setup() {
1096 - if [ -n "${DIGEST}" ]; then
1097 - einfo "Unsetting environment variable \"DIGEST\" to prevent conflicts with package's \"install.sh\" script ..."
1098 - unset DIGEST
1099 - fi
1100 -}
1101 -
1102 -src_prepare() {
1103 - # We are moving each unpacked source from MY_P_* to MY_PN_*.
1104 - # This allows us to use patches from upstream and keeps epatch_user working
1105 -
1106 - einfo "Preparing shorewallrc ..."
1107 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewallrc "${S}"/shorewallrc.gentoo || die "Copying shorewallrc failed"
1108 - eprefixify "${S}"/shorewallrc.gentoo
1109 -
1110 - # shorewall-core
1111 - mv "${S}"/${MY_P_CORE} "${S}"/${MY_PN_CORE} || die "Failed to move '${S}/${MY_P_CORE}' to '${S}/${MY_PN_CORE}'"
1112 - ebegin "Applying Gentoo-specific changes to ${MY_P_CORE} ..."
1113 - ln -s ../shorewallrc.gentoo ${MY_PN_CORE}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
1114 - eend 0
1115 -
1116 - # shorewall
1117 - if use ipv4; then
1118 - mv "${S}"/${MY_P_IPV4} "${S}"/${MY_PN_IPV4} || die "Failed to move '${S}/${MY_P_IPV4}' to '${S}/${MY_PN_IPV4}'"
1119 - ebegin "Applying Gentoo-specific changes to ${MY_P_IPV4}"
1120 - ln -s ../shorewallrc.gentoo ${MY_PN_IPV4}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
1121 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall.confd "${S}"/${MY_PN_IPV4}/default.gentoo || die "Copying shorewall.confd failed"
1122 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall.initd "${S}"/${MY_PN_IPV4}/init.gentoo.sh || die "Copying shorewall.initd failed"
1123 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall.systemd-r1 "${S}"/${MY_PN_IPV4}/gentoo.service || die "Copying shorewall.systemd failed"
1124 - eend 0
1125 - fi
1126 -
1127 - # shorewall6
1128 - if use ipv6; then
1129 - mv "${S}"/${MY_P_IPV6} "${S}"/${MY_PN_IPV6} || die "Failed to move '${S}/${MY_P_IPV6}' to '${S}/${MY_PN_IPV6}'"
1130 - ebegin "Applying Gentoo-specific changes to ${MY_P_IPV6}"
1131 - ln -s ../shorewallrc.gentoo ${MY_PN_IPV6}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
1132 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6.confd "${S}"/${MY_PN_IPV6}/default.gentoo || die "Copying shorewall6.confd failed"
1133 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6.initd "${S}"/${MY_PN_IPV6}/init.gentoo.sh || die "Copying shorewall6.initd failed"
1134 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6.systemd-r1 "${S}"/${MY_PN_IPV6}/gentoo.service || die "Copying shorewall6.systemd failed"
1135 - eend 0
1136 - fi
1137 -
1138 - # shorewall-lite
1139 - if use lite4; then
1140 - mv "${S}"/${MY_P_LITE4} "${S}"/${MY_PN_LITE4} || die "Failed to move '${S}/${MY_P_LITE4}' to '${S}/${MY_PN_LITE4}'"
1141 - ebegin "Applying Gentoo-specific changes to ${MY_P_LITE4}"
1142 - ln -s ../shorewallrc.gentoo ${MY_PN_LITE4}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
1143 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-lite.confd "${S}"/${MY_PN_LITE4}/default.gentoo || die "Copying shorewall-lite.confd failed"
1144 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-lite.initd "${S}"/${MY_PN_LITE4}/init.gentoo.sh || die "Copying shorewall-lite.initd failed"
1145 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-lite.systemd-r1 "${S}"/${MY_PN_LITE4}/gentoo.service || die "Copying shorewall-lite.systemd failed"
1146 - eend 0
1147 - fi
1148 -
1149 - # shorewall6-lite
1150 - if use lite6; then
1151 - mv "${S}"/${MY_P_LITE6} "${S}"/${MY_PN_LITE6} || die "Failed to move '${S}/${MY_P_LITE6}' to '${S}/${MY_PN_LITE6}'"
1152 - ebegin "Applying Gentoo-specific changes to ${MY_P_LITE6}"
1153 - ln -s ../shorewallrc.gentoo ${MY_PN_LITE6}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
1154 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6-lite.confd "${S}"/${MY_PN_LITE6}/default.gentoo || die "Copying shorewall6-lite.confd failed"
1155 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6-lite.initd "${S}"/${MY_PN_LITE6}/init.gentoo.sh || die "Copying shorewall6-lite.initd failed"
1156 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall6-lite.systemd-r1 "${S}"/${MY_PN_LITE6}/gentoo.service || die "Copying shorewall6-lite.systemd failed"
1157 - eend 0
1158 - fi
1159 -
1160 - # shorewall-init
1161 - if use init; then
1162 - mv "${S}"/${MY_P_INIT} "${S}"/${MY_PN_INIT} || die "Failed to move '${S}/${MY_P_INIT}' to '${S}/${MY_PN_INIT}'"
1163 - ebegin "Applying Gentoo-specific changes to ${MY_P_INIT}"
1164 - ln -s ../shorewallrc.gentoo ${MY_PN_INIT}/shorewallrc.gentoo || die "Failed to symlink shorewallrc.gentoo"
1165 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-init.confd "${S}"/${MY_PN_INIT}/default.gentoo || die "Copying shorewall-init.confd failed"
1166 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-init.initd "${S}"/${MY_PN_INIT}/init.gentoo.sh || die "Copying shorewall-init.initd failed"
1167 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-init.systemd-r2 "${S}"/${MY_PN_INIT}/gentoo.service || die "Copying shorewall-init.systemd failed"
1168 - cp "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-init.readme "${S}"/${MY_PN_INIT}/shorewall-init.README.Gentoo.txt || die "Copying shorewall-init.systemd failed"
1169 - eend 0
1170 -
1171 - eprefixify "${S}"/${MY_PN_INIT}/init.gentoo.sh
1172 -
1173 - cd "${S}"/${MY_PN_INIT}
1174 - epatch "${FILESDIR}"/${MY_MAJOR_RELEASE_NUMBER}/shorewall-init-01_remove-ipset-functionality-r1.patch
1175 - cd "${S}"
1176 - fi
1177 -
1178 - # shorewall-docs-html
1179 - if use doc; then
1180 - mv "${S}"/${MY_P_DOCS} "${S}"/${MY_PN_DOCS} || die "Failed to move '${S}/${MY_P_DOCS}' to '${S}/${MY_PN_DOCS}'"
1181 - fi
1182 -
1183 - epatch_user
1184 -}
1185 -
1186 -src_configure() {
1187 - :;
1188 -}
1189 -
1190 -src_compile() {
1191 - :;
1192 -}
1193 -
1194 -src_install() {
1195 - # shorewall-core
1196 - einfo "Installing ${MY_P_CORE} ..."
1197 - DESTDIR="${D%/}" ${MY_PN_CORE}/install.sh shorewallrc.gentoo || die "${MY_PN_CORE}/install.sh failed"
1198 - dodoc "${S}"/${MY_PN_CORE}/changelog.txt "${S}"/${MY_PN_CORE}/releasenotes.txt
1199 -
1200 - # shorewall
1201 - if use ipv4; then
1202 - einfo "Installing ${MY_P_IPV4} ..."
1203 - keepdir /var/lib/shorewall
1204 - DESTDIR="${D%/}" ${MY_PN_IPV4}/install.sh shorewallrc.gentoo || die "${MY_PN_IPV4}/install.sh failed"
1205 -
1206 - if use doc; then
1207 - dodoc -r "${S}"/${MY_PN_IPV4}/Samples
1208 - fi
1209 - fi
1210 -
1211 - # shorewall6
1212 - if use ipv6; then
1213 - einfo "Installing ${MY_P_IPV6} ..."
1214 - keepdir /var/lib/shorewall6
1215 - DESTDIR="${D%/}" ${MY_PN_IPV6}/install.sh shorewallrc.gentoo || die "${MY_PN_IPV6}/install.sh failed"
1216 -
1217 - if use doc; then
1218 - dodoc -r "${S}"/${MY_PN_IPV6}/Samples6
1219 - fi
1220 - fi
1221 -
1222 - # shorewall-lite
1223 - if use lite4; then
1224 - einfo "Installing ${MY_P_LITE4} ..."
1225 - keepdir /var/lib/shorewall-lite
1226 - DESTDIR="${D%/}" ${MY_PN_LITE4}/install.sh shorewallrc.gentoo || die "${MY_PN_LITE4}/install.sh failed"
1227 - fi
1228 -
1229 - # shorewall6-lite
1230 - if use lite6; then
1231 - einfo "Installing ${MY_P_LITE6} ..."
1232 - keepdir /var/lib/shorewall6-lite
1233 - DESTDIR="${D%/}" ${MY_PN_LITE6}/install.sh shorewallrc.gentoo || die "${MY_PN_LITE6}/install.sh failed"
1234 - fi
1235 -
1236 - # shorewall-init
1237 - if use init; then
1238 - einfo "Installing ${MY_P_INIT} ..."
1239 - DESTDIR="${D%/}" ${MY_PN_INIT}/install.sh shorewallrc.gentoo || die "${MY_PN_INIT}/install.sh failed"
1240 - dodoc "${S}"/${MY_PN_INIT}/shorewall-init.README.Gentoo.txt
1241 -
1242 - if [ -f "${D}etc/logrotate.d/shorewall-init" ]; then
1243 - # On Gentoo, shorewall-init will not create shorewall-ifupdown.log,
1244 - # so we don't need a logrotate configuration file for shorewall-init
1245 - einfo "Removing unused \"${D}etc/logrotate.d/shorewall-init\" ..."
1246 - rm -rf "${D}"etc/logrotate.d/shorewall-init || die "Removing \"${D}etc/logrotate.d/shorewall-init\" failed"
1247 - fi
1248 -
1249 - if [ -d "${D}etc/NetworkManager" ]; then
1250 - # On Gentoo, we don't support NetworkManager
1251 - # so we don't need this folder at all
1252 - einfo "Removing unused \"${D}etc/NetworkManager\" ..."
1253 - rm -rf "${D}"etc/NetworkManager || die "Removing \"${D}etc/NetworkManager\" failed"
1254 - fi
1255 -
1256 - if [ -f "${D}usr/share/shorewall-init/ifupdown" ]; then
1257 - # This script isn't supported on Gentoo
1258 - rm -rf "${D}"usr/share/shorewall-init/ifupdown || die "Removing \"${D}usr/share/shorewall-init/ifupdown\" failed"
1259 - fi
1260 - fi
1261 -
1262 - if use doc; then
1263 - einfo "Installing ${MY_P_DOCS} ..."
1264 - dohtml -r "${S}"/${MY_PN_DOCS}
1265 - fi
1266 -}
1267 -
1268 -pkg_postinst() {
1269 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
1270 - # This is a new installation
1271 -
1272 - # Show first steps for shorewall/shorewall6
1273 - local _PRODUCTS=""
1274 - if use ipv4; then
1275 - _PRODUCTS="shorewall"
1276 -
1277 - if use ipv6; then
1278 - _PRODUCTS="${_PRODUCTS}/shorewall6"
1279 - fi
1280 - fi
1281 -
1282 - if [[ -n "${_PRODUCTS}" ]]; then
1283 - elog "Before you can use ${_PRODUCTS}, you need to edit its configuration in:"
1284 - elog ""
1285 - elog " /etc/shorewall/shorewall.conf"
1286 -
1287 - if use ipv6; then
1288 - elog " /etc/shorewall6/shorewall6.conf"
1289 - fi
1290 -
1291 - elog ""
1292 - elog "To activate your shorewall-based firewall on system start, please add ${_PRODUCTS} to your default runlevel:"
1293 - elog ""
1294 - elog " # rc-update add shorewall default"
1295 -
1296 - if use ipv6; then
1297 - elog " # rc-update add shorewall6 default"
1298 - fi
1299 - fi
1300 -
1301 - # Show first steps for shorewall-lite/shorewall6-lite
1302 - _PRODUCTS=""
1303 - if use lite4; then
1304 - _PRODUCTS="shorewall-lite"
1305 - fi
1306 -
1307 - if use lite6; then
1308 - if [[ -z "${_PRODUCTS}" ]]; then
1309 - _PRODUCTS="shorewall6-lite"
1310 - else
1311 - _PRODUCTS="${_PRODUCTS}/shorewall6-lite"
1312 - fi
1313 - fi
1314 -
1315 - if [[ -n "${_PRODUCTS}" ]]; then
1316 - if use ipv4; then
1317 - elog ""
1318 - fi
1319 -
1320 - elog "Before you can use ${_PRODUCTS}, you need to provide a configuration, which you can"
1321 - elog "create using ${CATEGORY}/shorewall (with \"ipv4\" and or \"ipv6\" USE flag)."
1322 - elog ""
1323 - elog "To read more about ${_PRODUCTS}, please visit"
1324 - elog " http://shorewall.net/CompiledPrograms.html"
1325 - elog ""
1326 - elog "To activate your shorewall-lite-based firewall on system start, please add ${PRODUCTS} to your default runlevel:"
1327 - elog ""
1328 -
1329 - if use lite4; then
1330 - elog " # rc-update add shorewall-lite default"
1331 - fi
1332 -
1333 - if use lite6; then
1334 - elog " # rc-update add shorewall6-lite default"
1335 - fi
1336 - fi
1337 -
1338 - if use init; then
1339 - elog ""
1340 - elog "To secure your system on boot, please add shorewall-init to your boot runlevel:"
1341 - elog ""
1342 - elog " # rc-update add shorewall-init boot"
1343 - elog ""
1344 - elog "and review \$PRODUCTS in"
1345 - elog ""
1346 - elog " /etc/conf.d/shorewall-init"
1347 - fi
1348 -
1349 - fi
1350 -
1351 - if [[ -n "${REPLACING_VERSIONS}" && ${REPLACING_VERSIONS} < ${MY_MAJOR_RELEASE_NUMBER} ]]; then
1352 - # This is an upgrade
1353 -
1354 - elog "You are upgrading from a previous major version. It is highly recommended that you read"
1355 - elog ""
1356 - elog " - /usr/share/doc/shorewall*/releasenotes.tx*"
1357 - elog " - http://shorewall.net/upgrade_issues.htm#idp8704902640"
1358 -
1359 - if use ipv4; then
1360 - elog ""
1361 - elog "You can auto-migrate your configuration using"
1362 - elog ""
1363 - elog " # shorewall update -A"
1364 -
1365 - if use ipv6; then
1366 - elog " # shorewall6 update -A"
1367 - fi
1368 -
1369 - elog ""
1370 - elog "But if you are not familiar with the \"shorewall[6] update\" command,"
1371 - elog "please read the shorewall[6] man page first."
1372 - fi
1373 - fi
1374 -
1375 - if ! use init; then
1376 - elog ""
1377 - elog "Consider emerging ${CATEGORY}/${PN} with USE flag \"init\" to secure your system on boot"
1378 - elog "before your shorewall-based firewall is ready to start."
1379 - elog ""
1380 - elog "To read more about shorewall-init, please visit"
1381 - elog " http://www.shorewall.net/Shorewall-init.html"
1382 - fi
1383 -
1384 - if ! has_version "net-firewall/conntrack-tools"; then
1385 - elog ""
1386 - elog "Your Shorewall firewall can utilize \"conntrack\" from the \"net-firewall/conntrack-tools\""
1387 - elog "package. if you want to use this feature, you need to install \"net-firewall/conntrack-tools\"!"
1388 - fi
1389 -
1390 - if ! has_version "dev-perl/Devel-NYTProf"; then
1391 - elog ""
1392 - elog "If you want to profile your Shorewall firewall you need to install \"dev-perl/Devel-NYTProf\"!"
1393 - fi
1394 -}