diff options
author | Eray Aslan <eras@gentoo.org> | 2015-07-31 05:22:41 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2015-07-31 05:22:41 +0000 |
commit | 550161c2dfa58b1153a288a2ec1fad994f72fa30 (patch) | |
tree | 6eaf4f02669dd3b21bf7d9a2843ece1546c3a3c7 | |
parent | Cleanup. (diff) | |
download | historical-550161c2dfa58b1153a288a2ec1fad994f72fa30.tar.gz historical-550161c2dfa58b1153a288a2ec1fad994f72fa30.tar.bz2 historical-550161c2dfa58b1153a288a2ec1fad994f72fa30.zip |
Remove old
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Manifest-Sign-Key: 0x77F1F175586A3B1F
-rw-r--r-- | net-proxy/squid/ChangeLog | 8 | ||||
-rw-r--r-- | net-proxy/squid/Manifest | 46 | ||||
-rw-r--r-- | net-proxy/squid/files/squid-13211_13210.patch | 41 | ||||
-rw-r--r-- | net-proxy/squid/files/squid-3.5.3-eDirectory.patch | 18 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.4.11-r1.ebuild | 255 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.4.12.ebuild | 254 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.4.13.ebuild | 254 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.5.3.ebuild | 248 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.5.4.ebuild | 247 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.5.5.ebuild | 247 |
10 files changed, 24 insertions, 1594 deletions
diff --git a/net-proxy/squid/ChangeLog b/net-proxy/squid/ChangeLog index e50d42b21054..5963da26717d 100644 --- a/net-proxy/squid/ChangeLog +++ b/net-proxy/squid/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-proxy/squid # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.541 2015/07/23 09:34:41 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.542 2015/07/31 05:22:39 eras Exp $ + + 31 Jul 2015; Eray Aslan <eras@gentoo.org> -files/squid-13211_13210.patch, + -files/squid-3.5.3-eDirectory.patch, -squid-3.4.11-r1.ebuild, + -squid-3.4.12.ebuild, -squid-3.4.13.ebuild, -squid-3.5.3.ebuild, + -squid-3.5.4.ebuild, -squid-3.5.5.ebuild: + Remove old 23 Jul 2015; Agostino Sarubbo <ago@gentoo.org> squid-3.5.6.ebuild: Stable for sparc, wrt bug #554168 diff --git a/net-proxy/squid/Manifest b/net-proxy/squid/Manifest index c88ed3a46caa..6b5732682050 100644 --- a/net-proxy/squid/Manifest +++ b/net-proxy/squid/Manifest @@ -1,44 +1,32 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX squid-13211_13210.patch 1719 SHA256 2e1e45f4800cb17a5e35fdc5a8add7581e08cb7c0bb39852be63fe84127f3d85 SHA512 764359afa7aa1ccd80b8349a01a6c92eb4c32ca1106776fde5f59b5af71cfeb63cf6d9afc777d12a8e13db46a92ee2d4cd1dc1b79a48fb06c92f433c66b7fb64 WHIRLPOOL 3f9c95888f82d499a9e95de0f49474a06727916d7928e8f8c7ff2ad3bdf14213b60f97d0a4547e8e81f88c16c41c8bc404c04dd93d6788c2bf33b2687d495a7f AUX squid-3.3.4-gentoo.patch 4358 SHA256 d52c1c89c81540dfd6c464f7c4245857fdd6cc9e45568a03d4f028fe5feb8bb0 SHA512 b1bfb0a1298e30ce30681b8bcaed292a883f8153e3df61861d1dfd691c5f4d5bc4651531ac69932fcbdc74c5896ed4495d54810203d4c0674ceb49b33454f297 WHIRLPOOL 3b98a43c1cc98d20f28dd5eb096344ff80ec5de1e4e17c4a3b8fb5d89044b6090466bfd3a7e24dfb975d9e02009af900372ee8c791991921def12820a191da97 -AUX squid-3.5.3-eDirectory.patch 568 SHA256 a12ae7c1940058e594a377208e9b3e62e20822ec15983be085b880ec3052010e SHA512 36b652c4ddefbab2ac3e45a7a0cf30234782caf7d40f64bce352f2c7c9b2d27c7b0c3f444d0a2b5612ed1bf23f0250f85891390f6e7a4acdb6d37c4fb8bbdb30 WHIRLPOOL b3f67fc4f6bc4643e0dad09ee1f5968deb17b839bc3372f3e31b3b690d7fc71402d455472b366fdbbe23c1ba8d10119c465927853c1eae1699c984389b26b4b4 AUX squid.confd-r1 493 SHA256 214a184495a3384eb452caef435256043bc51e35140a61b1f5fdff32603c8f7e SHA512 3f92645275e077bcf36e4cd2ccb56812540276d9456bc6f68268010aac57214f0d96b0aff74dc57cbc3446705a9fae8a5bb7a07304afeea45615ebf2cf2b7ab0 WHIRLPOOL 080cfb797ddb49f7c59463eaef0db8c3a6ec5e5da949884e9ccdf54d608b22fb81971aec21fab704c832c86a8c8e3d4795a7b09456c273d7c4bbb65692a68870 AUX squid.cron 143 SHA256 4c9e2afe5b0bba583ce896233ea1f9262beeb1b6cf51b4adb48d5f5c03933b2f SHA512 cec563c20799ffea8b4fb418d5015d6dc437bd38c35e7150ed01bc298dab5214132e10f4e7b8176da1966e16a7f53f423c36e8419642cb16716f5c346c30d749 WHIRLPOOL 029c94d4e4826ee612c7dc12acc088e3100c9d1737baebb74b25b6e7ac2ba78d0bab9f744c12b5de4113c9727892c9a30dd17067409ac8da62afeee552de391e AUX squid.initd-r4 3370 SHA256 3830cb94600ac658a6ff1f9f31bdbece64caf3ad23c62ae0a887d152970125f5 SHA512 f4edec6d001292ae62bcc6a70f864c334ce3efd8ac7c1b7286e65f330453cbde4d3ec8ef9ca86df7cc2b58795808fe50349a48474165d12e2ffb158d8701e2ba WHIRLPOOL 697be7cd90ef06e8b29d86af26143b6d67e5bae84e89ab717d9f9b495ada6df2c446008c3f881914513127a8f893b9e1732bbd7b1b7c7eef6578e377c4c23baf AUX squid.logrotate 103 SHA256 e5ddce1c9af851040affa15e1a59e89d8db0f2eea7c461320a1d3784578f4482 SHA512 d75a667c3ffa32fdd938ef40df8813a467d9f10b2363107bf915cb0c99834fbe8d0eb502a18a816875b67b0db1b27806ed3caf620c38516040cb644b225f5a55 WHIRLPOOL 1cbce1fb05d4661d26f80baeafad0d3a5de1108a21eb6519775b9be2c549d1ca1b85575b72941fd246e4e9fbdf466b302b767aa7ce002f990f6ca4a9844e1e41 AUX squid.pam 315 SHA256 68ef4282f9fb8506df710d0ae16e84e991e9b138c7f1d0af922682219c7a971f SHA512 a73c98eef2d99bfd871c192195f3c815bff1cd4fa66b87ac185fde891e5cf5fb464fe0ce376c16ac68065c53726784229ad96c24835138244eee2ca2807887c3 WHIRLPOOL e8a6345c634694ce1e21fc4d69ea059d2da9f5d3b7ad34b4a49c570161cddab615fb4ed9e274397ddd4887e4b027aa90339bb8fbb5a71f3bdf506d70cefb99c1 -DIST squid-3.4.11.tar.xz 2162148 SHA256 b4ede14221d043bbde94655aee195b090fe33a9a0a3d4ed83a9b41fcd46cac1d SHA512 e485e195f6ef95d7d2f5d327d9e229d9b3b678b035595853bc5d9a56a0494536239fa591bd56213014e08f9584e56d3511b0429e9fe9076d6e64a8b09867be69 WHIRLPOOL 5a3b1829eeda2b507971346bab3af142f19c650185940af82a238787b7265ab5e51535e815e1f87f0800071ca3053d8a0195da0ef02d27361e83951c4631ea63 -DIST squid-3.4.12.tar.xz 2162096 SHA256 a3f4f18fa17e81a8d8e1a2ec059cdbe3211a90ccd1717c3d9e092c0afdde2864 SHA512 7745e1a8ba7f458eae9b9017c16a13c3e724d54be48fc592fda9715d047db6f13a7b59dd9b6bd80e2f450373f30f7307a34d7d3cb3ff192a10abd8eb30da8b0a WHIRLPOOL 43d0db0137cfa35f91a4e1233c3a16e095742035b98331d983b047d5c6c45b5c36cb96def15764bc6c5c6eda892307387475953a94d5dd9fbfb10af4d86b06e0 -DIST squid-3.4.13.tar.xz 2163996 SHA256 8f786ea2f4e6bd349ae65626459699f1ce4980acd4fc6148ad68518b4457650c SHA512 1a7fb5da1979b392c2ee63b99ffad7ce6617f1a2ba72570906eddefeee0fdced0888401ce8e15c9599f142dadac0296347b00140cd0c67f7917bdd94bfcce452 WHIRLPOOL 01d10f8cc7cd948a78ccccbbbec01b5edfdfe44446dda24df0b1403e70697a7e7426d0d87198e1c9bfcfb66e59306b03b096e254baa1c6c55a6cfe1c8b6fd30a -DIST squid-3.5.3.tar.xz 2283580 SHA256 73ec65a08384a3ec93ccc17e89ef7a06ba221816551946f2f051cc736c2981c0 SHA512 aeafe302e81c78ae4cf9ca49133855559a2908d053aa5ce5e7ce6fc9a9e0188d824422c38f16e0b29182ac8103221d7f3aba765fd5160007a077be1be5343739 WHIRLPOOL a954c15872dd5b7efd260116358835f5f1f6c2e84374486efd1bfbc0f3c85515803dced352a4181d34084d02f65e58906cef00b4c58d17386d9697c56177c7a6 -DIST squid-3.5.4.tar.xz 2289772 SHA256 dce615d08e349caf3975fc5d51ce4c3c69b9995fb83f51dc5d55ae873d8bf6a4 SHA512 7eea6ed9b3bb2fd55b23970393a837f0361be1018832d60e07d03ffcece1acc7e1be5469fdd9b4be07a030573a0e09a137b78169efb18269a8de1df37dbac3d3 WHIRLPOOL bf57c690e7960d45f0a7edbc26d19363ac98b4bc95e3afee0d7b221c322c64fc807b078f47c6797f5cedb19946664130b0bfc8f20e5ecaeb0f82d6bd0c1cadb8 -DIST squid-3.5.5.tar.xz 2290016 SHA256 23793da6b23871765188becae59a6f4b6c3672c256ba9be90743b46a3c7921cf SHA512 59d4e49ee9044d68e8d8246f2cc43cd9a76454a8978b92dbc8e29bb9cdf92d2e7164f43c63a35380187f0d76d788358099c5e61288335680e188362d872d5dd4 WHIRLPOOL 50a6bc988ecdf194c543d61e4d51a7f6b1ed759a39c4aa83f510a4e05939b3d7be2f7cdad7f60103901b41a9330f8b2953aac62a7887a165b16171452173a18e DIST squid-3.5.6.tar.xz 2291152 SHA256 cd080e8d5eaabebf6808792751322bd05f2a9c8fe4377f54c7155682ef6c38d5 SHA512 f6c2550cdb5b2f3317105c986caddf06d010bffa0c61d065cffcde72e5bc30c4608486c79c4b25418dfb9f0a8d7ef1d2fabb6b07d1f0262a19fafc945af98bef WHIRLPOOL 863c6f73c3c26737d98cbff15afa5b6630310226ee9ec10a3e38f646b1416137e998f9bb1e5b492e5871129aed3c98e729b3a757d35088162e671d310a887336 -EBUILD squid-3.4.11-r1.ebuild 7957 SHA256 a638a494b0223723b071a8525b8f9abfe67dfa69ea28e839ee8dcc09924cd4c9 SHA512 92fbf528ee43e134f48ed1f17845074b3aeff23d20fd8b90b5ffef3ce598fc6c3f40eb6051d8f8883f142abf88d35835f96da5c3d4310d1ab6c1a0abd310a7a1 WHIRLPOOL 6f70dbeb6459b79f9548acf3933f533f7e7e4bd4127a37c808ee0b2bd6ac761c4e56e96cb161987a4f36f25d1224cd34f27588922cbf7ff5b800715073d4ae46 -EBUILD squid-3.4.12.ebuild 7916 SHA256 16c6f4dc2b4faf668baf5536b73acdb5432d692b88f83dab10cb7ced5ffd494e SHA512 a11a407872682aa93ca87ded33cc146996c812e1056a722bd7ebf558829e57703096c4e0b1dc7acc369745acc7df76115580413f94ced83f013914d9d3fb7854 WHIRLPOOL 25c6a98d409b3d547f24a5d22dec71fbcf42888ce6d2db483d2c29e30ef8b97e87b3b2ba6fb4d482ced13d7c7ad5073264f3ffffdebc924f6e2ba9dc39544001 -EBUILD squid-3.4.13.ebuild 7922 SHA256 60f68576c70f80d6a4a15ae10e8c06f4b840cee70139a51b1b45b642b20bfb4d SHA512 a3f1460ac6c3bcf0d6a9847d2861d86146dae6f29844414263ecec2bdcb8e004ba6e1f80f5c30815b80dbf468724472679cfe77157d6b918a7751cf415bb20d4 WHIRLPOOL 588a55776ec84558b6e96db29cbbdb1d0ace7df065860d6db8cfedaff84a961f598876887fd4b08c6dd72cd89f4995bf002f0abf82787e6268843991df4d5699 -EBUILD squid-3.5.3.ebuild 7651 SHA256 84594280e4e4f2c561dd2516ce94416454e72518c37999c53214de22e9fa9df3 SHA512 e5aafa3f0c4a0d52f0fe986dc19b1d2615a121842f80bdb90cdec2f0b46c4b8f19c9cc9da809abc78d866a616f2f46652668a8e83d61d46d5d31abaec42cf353 WHIRLPOOL bd2dd1af4b155e8fc9501b539d092997f13b34d222910405a9f1cac0cca4fe634d1b0e1519d651a7f704c8118ccb7310fd4f6ccf422b65432a362eea84fc8655 -EBUILD squid-3.5.4.ebuild 7598 SHA256 c65d15b90abce33865de4fd87916eec25dfcf57217ee53aaee34cbbaba9326e8 SHA512 e05b05780743225e712e49ec00264d18562b4a786e8960e7308892979ee207cfc6739ecf75d9d5363320b7322646f2190c65089a616b39748e387274c289e21f WHIRLPOOL d759c211f18573a05ef4dbf8d5f3163321506942c97f310e3a6f26892f9ea78362cfbfbe17b50e21c3c44ef398028e8af0dc62b2e985a1370574329217e7a21b -EBUILD squid-3.5.5.ebuild 7607 SHA256 fe9725af2abaf02ea853d21a8be2e6455acf14e2c9a808c549458a2c6c6a7ffc SHA512 ad506071cc3a6f7aba1cf4a8d714686e65a3e5f2d4e4039d809f2596690e98858e2bc2542e8d7c0e1d33db0ecdbeeb84bc4147025aa3358e85a1a01599b7a4b3 WHIRLPOOL 583909497aadfc3e8af62086bf57df673e356f421c5622d239da9622fbf73f56270807ea25fedc53fe95d05e18ced5fefa7d2c2fad07b0a721fe0e2086e21c4e EBUILD squid-3.5.6.ebuild 7597 SHA256 7fd73cdc77a716754bdb5aed747101a863b11935508ebe0ccdf1ec0679643955 SHA512 2e7f19badadf89ee38777b1c78ab6ce82d56592e94a7d7f6e66f8a23f842c2da9fb36b5314bccf0e3eba8e6785dcc35de19d1d4c562152790c8d4efa85bc827d WHIRLPOOL aa07c9b25b9ce3e02a4ef4cd2483d424503a02fe8d67a55c09f95a72a9f4ecc86c6b5198917fd93abf7953b63c1db33923c78a097f03ad5b846d2bb2c4d55958 -MISC ChangeLog 97102 SHA256 2f99e3cbb06abeac86aa494ee489aa00ec28bf398f61d84378ef7683bb8f7eff SHA512 6460665ddb58b8b22c4b74af8328df238804042a6b5ec37840e342e0fcca0345697663f884062871fdf216219c5393d55eda138f87402942db0bd7f32399d386 WHIRLPOOL 7b069eb8cf1e400389769ca0a175d8a9dc8044b527a127440c0dd1b3b000358eff96239c5c009ef31285aa1e4b63e543c9c7f5a7fad894e9c254c9e6d482bf3e +MISC ChangeLog 97368 SHA256 4d4e884b66c2011b471ad878cd4c1c538521aec48f3ac9edb27c725faa0a477c SHA512 a72d225113655f6a1ae17fdc064535da616d62e3ad8c8693765cb5f5662aa1e7e7eec1b24577f20e33515b2ec523a754ee5fd6a6410973db0d0ecc709ac7198e WHIRLPOOL 9810ce2e11e1507892b1cdd2c4c5763587895de61e482cb69077aa5d3e4421db278cac58ba05398c3fa0d63f99a695d78d7d23ff6f7415d64488c0cbaa903f3a MISC metadata.xml 1545 SHA256 72b1cd3b3476500f50f936459a522eca2fabcad046cc2647662bf18b75d57edf SHA512 20c78e621a6a58697108ae3e0a543a3ead301ccb50ba54266fa9775ef66fc24590ccc7a24d20883af656b8a295fac26527c65d236d4d46ae0e0df0c2d15c993d WHIRLPOOL 90a2470ab97b9d56e0b73410741194f30b1bed09f99ab71940ded398d3796ff8d87250ccfe419c544b2e85cebd8706d0c4beed926870f290694074c34317be90 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.1 -iQIcBAEBCAAGBQJVsLUyAAoJELp701BxlEWfz9UP/iXAApPXaKjH7TP5DK+hWqsh -VKnO9CL29SL72yLvCbfIZGdCCksdX1uEuT1AAGy3upBo0gzgZYHwA+rdUg15QTXD -15Dvzszvu0OBknSOk3y6crGJq0lytaUz/NIWF0U29bbLrBubtgvUko82lUklJbow -ngdLob8UmF513T4WzFy/Bm8LNY8RZVuMNrMK/Eos3AZK0gG0TIRmFd69zeGjqL7N -hyh9MHigGPyX46DUHB4Easth+z2TShuvZuek16dHIytBhaarKY4ywzRrtQ+SptVv -K0ynuzEpg1tdU6w9dDvwTF7qGbRmTagbAXGwjKMhcTUyGy21TijYSYalqmWgjenu -cNx32hxXLqOIBWUmAQ/KFukLIsa+d7jmpbNphpFGa3dBgiu40ya/xkKZE9xsHuNU -EHezC4uniMuVLbian+HkU1Phvtb6tlR+fOB0EfpWdI+Er1Xr5bsx69yJj3V1E7Zw -uT4gxn7YMFMfYccDCkI5QWCVWOJOH3VL/cIVmTe6sZHZW8waOsYafVqyDsY4Iv3T -NYI8LFkYMCpL0m+a8pY4/r7YXAvh7wGhJiL2FAfe7F9NhuhRpBOWD98xfbfFReY0 -haw5eLK4+jlwkjk3EdwYwLJCYMGLgArXZXRcstD6CmxAM9ip4YeMoX8BrdhWiRVC -OrMQmqXlgG/3s179/Qrf -=0jkX +iQJ8BAEBCABmBQJVuwYhXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQjk1NkM0NUMxNzFCRTY4Rjk4NENDMDk3 +N0YxRjE3NTU4NkEzQjFGAAoJEHfx8XVYajsf1yoP/jjjRyrVZlVZa5XIFz/nM/qm +NgZT5rQkWE03QqttX8LQAGyPRNusiKpT6uJX+LYQyMRjkvMGNQGSgZqjK7ZEpYbA +OzoIL4jPGlI0gGF1lZ4xR/KWiGHn63pmtXH43yi0T3HlJFVcHH0TttYmJnIEGljA +WlTzhtefnglh2/tSguHuCeICxoTO4TrBaFpwpPnn/z5nxq+Iw6jpt/NQXw9erOjk +/a40nHxv30AJx5/5z+4Od+GQaITyFjuuRANqlQGgalNia2AJ6C9supuxDfJO/pEo +XFPDnZblyOXYNN5OLxawMwFy0Os0/jsDfJiXMUQEMBkL82yhf2ZxHxzZsJWIIOvs +l38fAkuYzdZc5aN8Q4dG7HzHr2minpe9A0ZnHVtteFzFlK8o4CAePcjqgUG/c5wA +FGadQv/3+OvvwZB/roGcThOXFU6QTbq/zTmE4NtSsJ9gxO0yt3KQbzBUS+AgnJhP +rsUWNJLkI5GdIs1NQbK1UcgKAq8d/9CbcQgp4Q9trTj3c5gYQBPSQGxRpJuwhdKo +cSd+rMhlKbIdN6AJTkXxZBDOsJnDmgPzlS0gu4PgXKyLkRbxBQMIRfcCbgozageF +92kIiRzVocemVwaUOBFVfUda1yXPcpdfOw64o+E9c+rBJV/i3ak4Un4Ts0YOVm8j +BPQ0RF1j2pBTIe/FEycl +=UCcZ -----END PGP SIGNATURE----- diff --git a/net-proxy/squid/files/squid-13211_13210.patch b/net-proxy/squid/files/squid-13211_13210.patch deleted file mode 100644 index 3e747958d8d9..000000000000 --- a/net-proxy/squid/files/squid-13211_13210.patch +++ /dev/null @@ -1,41 +0,0 @@ -=== modified file 'src/auth/digest/UserRequest.cc' ---- src/auth/digest/UserRequest.cc 2015-01-18 11:02:13 +0000 -+++ src/auth/digest/UserRequest.cc 2015-01-19 16:42:41 +0000 -@@ -152,10 +152,14 @@ - } - - /* check for stale nonce */ -- if (!authDigestNonceIsValid(digest_request->nonce, digest_request->nc)) { -- debugs(29, 3, "user '" << auth_user->username() << "' validated OK but nonce stale"); -- auth_user->credentials(Auth::Handshake); -- digest_request->setDenyMessage("Stale nonce"); -+ /* check Auth::Pending to avoid loop */ -+ -+ if (!authDigestNonceIsValid(digest_request->nonce, digest_request->nc) && user()->credentials() != Auth::Pending) { -+ debugs(29, 3, auth_user->username() << "' validated OK but nonce stale: " << digest_request->nonceb64); -+ /* Pending prevent banner and makes a ldap control */ -+ auth_user->credentials(Auth::Pending); -+ nonce->flags.valid = false; -+ authDigestNoncePurge(nonce); - return; - } - - -=== modified file 'src/auth/digest/auth_digest.cc' ---- src/auth/digest/auth_digest.cc 2014-03-05 02:48:25 +0000 -+++ src/auth/digest/auth_digest.cc 2015-01-19 16:42:41 +0000 -@@ -1038,12 +1038,7 @@ - debugs(29, 2, "Username for the nonce does not equal the username for the request"); - nonce = NULL; - } -- /* check for stale nonce */ -- if (authDigestNonceIsStale(nonce)) { -- debugs(29, 3, "The received nonce is stale from " << username); -- digest_request->setDenyMessage("Stale nonce"); -- nonce = NULL; -- } -+ - if (!nonce) { - /* we couldn't find a matching nonce! */ - debugs(29, 2, "Unexpected or invalid nonce received from " << username); - diff --git a/net-proxy/squid/files/squid-3.5.3-eDirectory.patch b/net-proxy/squid/files/squid-3.5.3-eDirectory.patch deleted file mode 100644 index e536bb6303f1..000000000000 --- a/net-proxy/squid/files/squid-3.5.3-eDirectory.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/helpers/digest_auth/eDirectory/required.m4 -+++ b/helpers/digest_auth/eDirectory/required.m4 -@@ -5,4 +5,4 @@ - ## Please see the COPYING and CONTRIBUTORS files for details. - ## - --AC_CHECK_HEADERS([ldap.h winldap.h],[BUILD_HELPER="LDAP"]) -+AC_CHECK_HEADERS([ldap.h winldap.h],[BUILD_HELPER="eDirectory"]) ---- a/helpers/digest_auth/eDirectory/Makefile.am -+++ b/helpers/digest_auth/eDirectory/Makefile.am -@@ -23,6 +23,7 @@ digest_edirectory_auth_LDADD = \ - $(COMPAT_LIB) \ - $(LDAPLIB) \ - $(LBERLIB) \ -+ $(NETTLELIB) \ - $(CRYPTLIB) \ - $(SSLLIB) \ - $(XTRA_LIBS) diff --git a/net-proxy/squid/squid-3.4.11-r1.ebuild b/net-proxy/squid/squid-3.4.11-r1.ebuild deleted file mode 100644 index b5cf4e280088..000000000000 --- a/net-proxy/squid/squid-3.4.11-r1.ebuild +++ /dev/null @@ -1,255 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.4.11-r1.ebuild,v 1.12 2015/04/24 10:15:11 eras Exp $ - -EAPI=5 -inherit autotools eutils linux-info pam toolchain-funcs user versionator - -DESCRIPTION="A full-featured web proxy cache" -HOMEPAGE="http://www.squid-cache.org/" -SRC_URI="http://www.squid-cache.org/Versions/v3/3.4/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \ - ecap esi icap-client ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - +htcp +wccp +wccpv2 \ - pf-transparent ipf-transparent kqueue \ - elibc_uclibc kernel_linux" - -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 ) - pam? ( virtual/pam ) - ldap? ( net-nds/openldap ) - kerberos? ( virtual/krb5 ) - qos? ( net-libs/libnetfilter_conntrack ) - ssl? ( dev-libs/openssl dev-libs/nettle ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:0.2 ) - esi? ( dev-libs/expat dev-libs/libxml2 ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4 - dev-lang/perl - dev-libs/libltdl" -DEPEND="${COMMON_DEPEND} - ecap? ( virtual/pkgconfig ) - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - selinux? ( sec-policy/selinux-squid ) - sqlite? ( dev-perl/DBD-SQLite ) - !<=sci-biology/meme-4.8.1-r1" - -REQUIRED_USE="tproxy? ( caps ) - qos? ( caps )" - -pkg_pretend() { - if use tproxy; then - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - fi -} - -pkg_setup() { - enewgroup squid - enewuser squid -1 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch" - epatch "${FILESDIR}/${PN}-13211_13210.patch" - sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \ - INSTALL QUICKSTART \ - helpers/basic_auth/MSNT/README.html \ - helpers/basic_auth/MSNT/confload.cc \ - helpers/basic_auth/MSNT/msntauth.conf.default \ - scripts/fileno-to-pathname.pl \ - scripts/check_cache.pl \ - tools/cachemgr.cgi.8 \ - tools/purge/conffile.hh \ - tools/purge/README || die - sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \ - INSTALL QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \ - QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \ - QUICKSTART \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/bin:/usr/bin:' \ - helpers/basic_auth/MSNT/README.html || die - sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \ - helpers/external_acl/unix_group/ext_unix_group_acl.8 \ - helpers/external_acl/session/ext_session_acl.8 \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \ - scripts/check_cache.pl || die - sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - # /var/run/squid to /run/squid - sed -i -e 's:$(localstatedir)::' \ - src/ipc/Makefile.am || die - sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \ - libltdl/configure.ac || die - - epatch_user - - eautoreconf -} - -src_configure() { - local basic_modules="MSNT,MSNT-multi-domain,NCSA,POP3,getpwnam" - use samba && basic_modules+=",SMB" - use ldap && basic_modules+=",LDAP" - use pam && basic_modules+=",PAM" - use sasl && basic_modules+=",SASL" - use nis && ! use elibc_uclibc && basic_modules+=",NIS" - use radius && basic_modules+=",RADIUS" - if use mysql || use postgres || use sqlite ; then - basic_modules+=",DB" - fi - - local digest_modules="file" - use ldap && digest_modules+=",LDAP,eDirectory" - - local negotiate_modules myconf - if use kerberos ; then - negotiate_modules="kerberos,wrapper" - myconf="--with-krb5-config=yes" - else - negotiate_modules="none" - myconf="--with-krb5-config=no" - fi - - local ntlm_modules="none" - use samba && ntlm_modules="smb_lm" - - local ext_helpers="file_userip,session,unix_group" - use samba && ext_helpers+=",wbinfo_group" - use ldap && ext_helpers+=",LDAP_group,eDirectory_userip" - use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group" - - # uclibc does not have aio support - needed for coss (#61175) - local storeio_modules="aufs,diskd,rock,ufs" - - local transparent - if use kernel_linux ; then - transparent+=" --enable-linux-netfilter" - use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack" - fi - - if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then - transparent+=" $(use_enable kqueue)" - if use pf-transparent; then - transparent+=" --enable-pf-transparent" - elif use ipf-transparent; then - transparent+=" --enable-ipf-transparent" - fi - fi - - tc-export CC AR - - econf \ - --sysconfdir=/etc/squid \ - --libexecdir=/usr/libexec/squid \ - --localstatedir=/var \ - --with-pidfile=/run/squid.pid \ - --datadir=/usr/share/squid \ - --with-logdir=/var/log/squid \ - --with-default-user=squid \ - --enable-removal-policies="lru,heap" \ - --enable-storeio="${storeio_modules}" \ - --enable-disk-io \ - --enable-auth \ - --enable-auth-basic="${basic_modules}" \ - --enable-auth-digest="${digest_modules}" \ - --enable-auth-ntlm="${ntlm_modules}" \ - --enable-auth-negotiate="${negotiate_modules}" \ - --enable-external-acl-helpers="${ext_helpers}" \ - --enable-log-daemon-helpers \ - --enable-url-rewrite-helpers \ - --enable-cache-digests \ - --enable-delay-pools \ - --enable-eui \ - --enable-icmp \ - --enable-follow-x-forwarded-for \ - --with-large-files \ - --disable-strict-error-checking \ - --disable-arch-native \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_enable ssl) \ - $(use_with ssl nettle) \ - $(use_enable ssl-crtd) \ - $(use_enable icap-client) \ - $(use_enable ecap) \ - $(use_enable esi) \ - $(use_enable htcp) \ - $(use_enable wccp) \ - $(use_enable wccpv2) \ - ${transparent} \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - # need suid root for looking into /etc/shadow - fowners root:squid /usr/libexec/squid/basic_ncsa_auth - fperms 4750 /usr/libexec/squid/basic_ncsa_auth - if use pam; then - fowners root:squid /usr/libexec/squid/basic_pam_auth - fperms 4750 /usr/libexec/squid/basic_pam_auth - fi - # pinger needs suid as well - fowners root:squid /usr/libexec/squid/pinger - fperms 4750 /usr/libexec/squid/pinger - - # cleanup - rm -f "${D}"/usr/bin/Run* - rm -rf "${D}"/run/squid "${D}"/var/cache/squid - - dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt - newdoc helpers/negotiate_auth/kerberos/README README.kerberos - newdoc helpers/basic_auth/MSNT-multi-domain/README.txt README.MSNT-multi-domain - newdoc helpers/basic_auth/LDAP/README README.LDAP - newdoc helpers/basic_auth/RADIUS/README README.RADIUS - newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group - newdoc tools/purge/README README.purge - newdoc tools/helper-mux.README README.helper-mux - dohtml RELEASENOTES.html - - newpamd "${FILESDIR}/squid.pam" squid - newconfd "${FILESDIR}/squid.confd-r1" squid - newinitd "${FILESDIR}/squid.initd-r4" squid - if use logrotate; then - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/log/squid /etc/ssl/squid /var/lib/squid -} - -pkg_postinst() { - if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \ - [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 4 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.4/RELEASENOTES.html" - echo - fi -} diff --git a/net-proxy/squid/squid-3.4.12.ebuild b/net-proxy/squid/squid-3.4.12.ebuild deleted file mode 100644 index 1f97f0de963e..000000000000 --- a/net-proxy/squid/squid-3.4.12.ebuild +++ /dev/null @@ -1,254 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.4.12.ebuild,v 1.2 2015/04/24 10:15:11 eras Exp $ - -EAPI=5 -inherit autotools eutils linux-info pam toolchain-funcs user versionator - -DESCRIPTION="A full-featured web proxy cache" -HOMEPAGE="http://www.squid-cache.org/" -SRC_URI="http://www.squid-cache.org/Versions/v3/3.4/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \ - ecap esi icap-client ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - +htcp +wccp +wccpv2 \ - pf-transparent ipf-transparent kqueue \ - elibc_uclibc kernel_linux" - -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 ) - pam? ( virtual/pam ) - ldap? ( net-nds/openldap ) - kerberos? ( virtual/krb5 ) - qos? ( net-libs/libnetfilter_conntrack ) - ssl? ( dev-libs/openssl dev-libs/nettle ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:0.2 ) - esi? ( dev-libs/expat dev-libs/libxml2 ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4 - dev-lang/perl - dev-libs/libltdl" -DEPEND="${COMMON_DEPEND} - ecap? ( virtual/pkgconfig ) - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - selinux? ( sec-policy/selinux-squid ) - sqlite? ( dev-perl/DBD-SQLite ) - !<=sci-biology/meme-4.8.1-r1" - -REQUIRED_USE="tproxy? ( caps ) - qos? ( caps )" - -pkg_pretend() { - if use tproxy; then - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - fi -} - -pkg_setup() { - enewgroup squid - enewuser squid -1 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch" - sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \ - INSTALL QUICKSTART \ - helpers/basic_auth/MSNT/README.html \ - helpers/basic_auth/MSNT/confload.cc \ - helpers/basic_auth/MSNT/msntauth.conf.default \ - scripts/fileno-to-pathname.pl \ - scripts/check_cache.pl \ - tools/cachemgr.cgi.8 \ - tools/purge/conffile.hh \ - tools/purge/README || die - sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \ - INSTALL QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \ - QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \ - QUICKSTART \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/bin:/usr/bin:' \ - helpers/basic_auth/MSNT/README.html || die - sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \ - helpers/external_acl/unix_group/ext_unix_group_acl.8 \ - helpers/external_acl/session/ext_session_acl.8 \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \ - scripts/check_cache.pl || die - sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - # /var/run/squid to /run/squid - sed -i -e 's:$(localstatedir)::' \ - src/ipc/Makefile.am || die - sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \ - libltdl/configure.ac || die - - epatch_user - - eautoreconf -} - -src_configure() { - local basic_modules="MSNT,MSNT-multi-domain,NCSA,POP3,getpwnam" - use samba && basic_modules+=",SMB" - use ldap && basic_modules+=",LDAP" - use pam && basic_modules+=",PAM" - use sasl && basic_modules+=",SASL" - use nis && ! use elibc_uclibc && basic_modules+=",NIS" - use radius && basic_modules+=",RADIUS" - if use mysql || use postgres || use sqlite ; then - basic_modules+=",DB" - fi - - local digest_modules="file" - use ldap && digest_modules+=",LDAP,eDirectory" - - local negotiate_modules myconf - if use kerberos ; then - negotiate_modules="kerberos,wrapper" - myconf="--with-krb5-config=yes" - else - negotiate_modules="none" - myconf="--with-krb5-config=no" - fi - - local ntlm_modules="none" - use samba && ntlm_modules="smb_lm" - - local ext_helpers="file_userip,session,unix_group" - use samba && ext_helpers+=",wbinfo_group" - use ldap && ext_helpers+=",LDAP_group,eDirectory_userip" - use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group" - - # uclibc does not have aio support - needed for coss (#61175) - local storeio_modules="aufs,diskd,rock,ufs" - - local transparent - if use kernel_linux ; then - transparent+=" --enable-linux-netfilter" - use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack" - fi - - if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then - transparent+=" $(use_enable kqueue)" - if use pf-transparent; then - transparent+=" --enable-pf-transparent" - elif use ipf-transparent; then - transparent+=" --enable-ipf-transparent" - fi - fi - - tc-export CC AR - - econf \ - --sysconfdir=/etc/squid \ - --libexecdir=/usr/libexec/squid \ - --localstatedir=/var \ - --with-pidfile=/run/squid.pid \ - --datadir=/usr/share/squid \ - --with-logdir=/var/log/squid \ - --with-default-user=squid \ - --enable-removal-policies="lru,heap" \ - --enable-storeio="${storeio_modules}" \ - --enable-disk-io \ - --enable-auth \ - --enable-auth-basic="${basic_modules}" \ - --enable-auth-digest="${digest_modules}" \ - --enable-auth-ntlm="${ntlm_modules}" \ - --enable-auth-negotiate="${negotiate_modules}" \ - --enable-external-acl-helpers="${ext_helpers}" \ - --enable-log-daemon-helpers \ - --enable-url-rewrite-helpers \ - --enable-cache-digests \ - --enable-delay-pools \ - --enable-eui \ - --enable-icmp \ - --enable-follow-x-forwarded-for \ - --with-large-files \ - --disable-strict-error-checking \ - --disable-arch-native \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_enable ssl) \ - $(use_with ssl nettle) \ - $(use_enable ssl-crtd) \ - $(use_enable icap-client) \ - $(use_enable ecap) \ - $(use_enable esi) \ - $(use_enable htcp) \ - $(use_enable wccp) \ - $(use_enable wccpv2) \ - ${transparent} \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - # need suid root for looking into /etc/shadow - fowners root:squid /usr/libexec/squid/basic_ncsa_auth - fperms 4750 /usr/libexec/squid/basic_ncsa_auth - if use pam; then - fowners root:squid /usr/libexec/squid/basic_pam_auth - fperms 4750 /usr/libexec/squid/basic_pam_auth - fi - # pinger needs suid as well - fowners root:squid /usr/libexec/squid/pinger - fperms 4750 /usr/libexec/squid/pinger - - # cleanup - rm -f "${D}"/usr/bin/Run* - rm -rf "${D}"/run/squid "${D}"/var/cache/squid - - dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt - newdoc helpers/negotiate_auth/kerberos/README README.kerberos - newdoc helpers/basic_auth/MSNT-multi-domain/README.txt README.MSNT-multi-domain - newdoc helpers/basic_auth/LDAP/README README.LDAP - newdoc helpers/basic_auth/RADIUS/README README.RADIUS - newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group - newdoc tools/purge/README README.purge - newdoc tools/helper-mux.README README.helper-mux - dohtml RELEASENOTES.html - - newpamd "${FILESDIR}/squid.pam" squid - newconfd "${FILESDIR}/squid.confd-r1" squid - newinitd "${FILESDIR}/squid.initd-r4" squid - if use logrotate; then - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/log/squid /etc/ssl/squid /var/lib/squid -} - -pkg_postinst() { - if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \ - [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 4 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.4/RELEASENOTES.html" - echo - fi -} diff --git a/net-proxy/squid/squid-3.4.13.ebuild b/net-proxy/squid/squid-3.4.13.ebuild deleted file mode 100644 index 147cfc2734f5..000000000000 --- a/net-proxy/squid/squid-3.4.13.ebuild +++ /dev/null @@ -1,254 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.4.13.ebuild,v 1.1 2015/05/01 20:55:55 eras Exp $ - -EAPI=5 -inherit autotools eutils linux-info pam toolchain-funcs user versionator - -DESCRIPTION="A full-featured web proxy cache" -HOMEPAGE="http://www.squid-cache.org/" -SRC_URI="http://www.squid-cache.org/Versions/v3/3.4/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \ - ecap esi icap-client ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - +htcp +wccp +wccpv2 \ - pf-transparent ipf-transparent kqueue \ - elibc_uclibc kernel_linux" - -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 ) - pam? ( virtual/pam ) - ldap? ( net-nds/openldap ) - kerberos? ( virtual/krb5 ) - qos? ( net-libs/libnetfilter_conntrack ) - ssl? ( dev-libs/openssl:* dev-libs/nettle ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:0.2 ) - esi? ( dev-libs/expat dev-libs/libxml2 ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4:* - dev-lang/perl - dev-libs/libltdl:0" -DEPEND="${COMMON_DEPEND} - ecap? ( virtual/pkgconfig ) - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - selinux? ( sec-policy/selinux-squid ) - sqlite? ( dev-perl/DBD-SQLite ) - !<=sci-biology/meme-4.8.1-r1" - -REQUIRED_USE="tproxy? ( caps ) - qos? ( caps )" - -pkg_pretend() { - if use tproxy; then - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - fi -} - -pkg_setup() { - enewgroup squid - enewuser squid -1 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch" - sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \ - INSTALL QUICKSTART \ - helpers/basic_auth/MSNT/README.html \ - helpers/basic_auth/MSNT/confload.cc \ - helpers/basic_auth/MSNT/msntauth.conf.default \ - scripts/fileno-to-pathname.pl \ - scripts/check_cache.pl \ - tools/cachemgr.cgi.8 \ - tools/purge/conffile.hh \ - tools/purge/README || die - sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \ - INSTALL QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \ - QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \ - QUICKSTART \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/bin:/usr/bin:' \ - helpers/basic_auth/MSNT/README.html || die - sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \ - helpers/external_acl/unix_group/ext_unix_group_acl.8 \ - helpers/external_acl/session/ext_session_acl.8 \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \ - scripts/check_cache.pl || die - sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - # /var/run/squid to /run/squid - sed -i -e 's:$(localstatedir)::' \ - src/ipc/Makefile.am || die - sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \ - libltdl/configure.ac || die - - epatch_user - - eautoreconf -} - -src_configure() { - local basic_modules="MSNT,MSNT-multi-domain,NCSA,POP3,getpwnam" - use samba && basic_modules+=",SMB" - use ldap && basic_modules+=",LDAP" - use pam && basic_modules+=",PAM" - use sasl && basic_modules+=",SASL" - use nis && ! use elibc_uclibc && basic_modules+=",NIS" - use radius && basic_modules+=",RADIUS" - if use mysql || use postgres || use sqlite ; then - basic_modules+=",DB" - fi - - local digest_modules="file" - use ldap && digest_modules+=",LDAP,eDirectory" - - local negotiate_modules myconf - if use kerberos ; then - negotiate_modules="kerberos,wrapper" - myconf="--with-krb5-config=yes" - else - negotiate_modules="none" - myconf="--with-krb5-config=no" - fi - - local ntlm_modules="none" - use samba && ntlm_modules="smb_lm" - - local ext_helpers="file_userip,session,unix_group" - use samba && ext_helpers+=",wbinfo_group" - use ldap && ext_helpers+=",LDAP_group,eDirectory_userip" - use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group" - - # uclibc does not have aio support - needed for coss (#61175) - local storeio_modules="aufs,diskd,rock,ufs" - - local transparent - if use kernel_linux ; then - transparent+=" --enable-linux-netfilter" - use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack" - fi - - if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then - transparent+=" $(use_enable kqueue)" - if use pf-transparent; then - transparent+=" --enable-pf-transparent" - elif use ipf-transparent; then - transparent+=" --enable-ipf-transparent" - fi - fi - - tc-export CC AR - - econf \ - --sysconfdir=/etc/squid \ - --libexecdir=/usr/libexec/squid \ - --localstatedir=/var \ - --with-pidfile=/run/squid.pid \ - --datadir=/usr/share/squid \ - --with-logdir=/var/log/squid \ - --with-default-user=squid \ - --enable-removal-policies="lru,heap" \ - --enable-storeio="${storeio_modules}" \ - --enable-disk-io \ - --enable-auth \ - --enable-auth-basic="${basic_modules}" \ - --enable-auth-digest="${digest_modules}" \ - --enable-auth-ntlm="${ntlm_modules}" \ - --enable-auth-negotiate="${negotiate_modules}" \ - --enable-external-acl-helpers="${ext_helpers}" \ - --enable-log-daemon-helpers \ - --enable-url-rewrite-helpers \ - --enable-cache-digests \ - --enable-delay-pools \ - --enable-eui \ - --enable-icmp \ - --enable-follow-x-forwarded-for \ - --with-large-files \ - --disable-strict-error-checking \ - --disable-arch-native \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_enable ssl) \ - $(use_with ssl nettle) \ - $(use_enable ssl-crtd) \ - $(use_enable icap-client) \ - $(use_enable ecap) \ - $(use_enable esi) \ - $(use_enable htcp) \ - $(use_enable wccp) \ - $(use_enable wccpv2) \ - ${transparent} \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - # need suid root for looking into /etc/shadow - fowners root:squid /usr/libexec/squid/basic_ncsa_auth - fperms 4750 /usr/libexec/squid/basic_ncsa_auth - if use pam; then - fowners root:squid /usr/libexec/squid/basic_pam_auth - fperms 4750 /usr/libexec/squid/basic_pam_auth - fi - # pinger needs suid as well - fowners root:squid /usr/libexec/squid/pinger - fperms 4750 /usr/libexec/squid/pinger - - # cleanup - rm -f "${D}"/usr/bin/Run* - rm -rf "${D}"/run/squid "${D}"/var/cache/squid - - dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt - newdoc helpers/negotiate_auth/kerberos/README README.kerberos - newdoc helpers/basic_auth/MSNT-multi-domain/README.txt README.MSNT-multi-domain - newdoc helpers/basic_auth/LDAP/README README.LDAP - newdoc helpers/basic_auth/RADIUS/README README.RADIUS - newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group - newdoc tools/purge/README README.purge - newdoc tools/helper-mux.README README.helper-mux - dohtml RELEASENOTES.html - - newpamd "${FILESDIR}/squid.pam" squid - newconfd "${FILESDIR}/squid.confd-r1" squid - newinitd "${FILESDIR}/squid.initd-r4" squid - if use logrotate; then - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/log/squid /etc/ssl/squid /var/lib/squid -} - -pkg_postinst() { - if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \ - [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 4 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.4/RELEASENOTES.html" - echo - fi -} diff --git a/net-proxy/squid/squid-3.5.3.ebuild b/net-proxy/squid/squid-3.5.3.ebuild deleted file mode 100644 index 7fcce0bca8e7..000000000000 --- a/net-proxy/squid/squid-3.5.3.ebuild +++ /dev/null @@ -1,248 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.5.3.ebuild,v 1.2 2015/04/24 10:15:11 eras Exp $ - -EAPI=5 -inherit autotools eutils linux-info pam toolchain-funcs user versionator - -DESCRIPTION="A full-featured web proxy cache" -HOMEPAGE="http://www.squid-cache.org/" -SRC_URI="http://www.squid-cache.org/Versions/v3/3.5/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \ - ecap esi ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - +htcp +wccp +wccpv2 \ - pf-transparent ipf-transparent kqueue \ - elibc_uclibc kernel_linux" - -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 ) - pam? ( virtual/pam ) - ldap? ( net-nds/openldap ) - kerberos? ( virtual/krb5 ) - qos? ( net-libs/libnetfilter_conntrack ) - ssl? ( dev-libs/openssl:* dev-libs/nettle >=net-libs/gnutls-3.1.5 ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:1 ) - esi? ( dev-libs/expat dev-libs/libxml2 ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4:* - dev-lang/perl - dev-libs/libltdl:0" -DEPEND="${COMMON_DEPEND} - ecap? ( virtual/pkgconfig ) - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - selinux? ( sec-policy/selinux-squid ) - sqlite? ( dev-perl/DBD-SQLite ) - !<=sci-biology/meme-4.8.1-r1" - -REQUIRED_USE="tproxy? ( caps ) - qos? ( caps )" - -pkg_pretend() { - if use tproxy; then - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - fi -} - -pkg_setup() { - enewgroup squid - enewuser squid -1 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch" - epatch "${FILESDIR}/${P}-eDirectory.patch" - sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \ - INSTALL QUICKSTART \ - scripts/fileno-to-pathname.pl \ - scripts/check_cache.pl \ - tools/cachemgr.cgi.8 \ - tools/purge/conffile.hh \ - tools/purge/README || die - sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \ - INSTALL QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \ - QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \ - QUICKSTART \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \ - helpers/external_acl/unix_group/ext_unix_group_acl.8 \ - helpers/external_acl/session/ext_session_acl.8 \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \ - scripts/check_cache.pl || die - sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - # /var/run/squid to /run/squid - sed -i -e 's:$(localstatedir)::' \ - src/ipc/Makefile.am || die - sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \ - libltdl/configure.ac || die - - epatch_user - - eautoreconf -} - -src_configure() { - local basic_modules="MSNT-multi-domain,NCSA,POP3,getpwnam" - use samba && basic_modules+=",SMB" - use ldap && basic_modules+=",LDAP" - use pam && basic_modules+=",PAM" - use sasl && basic_modules+=",SASL" - use nis && ! use elibc_uclibc && basic_modules+=",NIS" - use radius && basic_modules+=",RADIUS" - if use mysql || use postgres || use sqlite ; then - basic_modules+=",DB" - fi - - local digest_modules="file" - use ldap && digest_modules+=",LDAP,eDirectory" - - local negotiate_modules="none" - local myconf="--without-mit-krb5 --without-heimdal-krb5" - if use kerberos ; then - negotiate_modules="kerberos,wrapper" - if has_version app-crypt/heimdal ; then - myconf="--without-mit-krb5 --with-heimdal-krb5" - else - myconf="--with-mit-krb5 --without-heimdal-krb5" - fi - fi - - local ntlm_modules="none" - use samba && ntlm_modules="smb_lm" - - local ext_helpers="file_userip,session,unix_group" - use samba && ext_helpers+=",wbinfo_group" - use ldap && ext_helpers+=",LDAP_group,eDirectory_userip" - use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group" - - local storeio_modules="aufs,diskd,rock,ufs" - - local transparent - if use kernel_linux ; then - transparent+=" --enable-linux-netfilter" - use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack" - fi - - if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then - transparent+=" $(use_enable kqueue)" - if use pf-transparent; then - transparent+=" --enable-pf-transparent" - elif use ipf-transparent; then - transparent+=" --enable-ipf-transparent" - fi - fi - - tc-export CC AR - - econf \ - --sysconfdir=/etc/squid \ - --libexecdir=/usr/libexec/squid \ - --localstatedir=/var \ - --with-pidfile=/run/squid.pid \ - --datadir=/usr/share/squid \ - --with-logdir=/var/log/squid \ - --with-default-user=squid \ - --enable-removal-policies="lru,heap" \ - --enable-storeio="${storeio_modules}" \ - --enable-disk-io \ - --enable-auth-basic="${basic_modules}" \ - --enable-auth-digest="${digest_modules}" \ - --enable-auth-ntlm="${ntlm_modules}" \ - --enable-auth-negotiate="${negotiate_modules}" \ - --enable-external-acl-helpers="${ext_helpers}" \ - --enable-log-daemon-helpers \ - --enable-url-rewrite-helpers \ - --enable-cache-digests \ - --enable-delay-pools \ - --enable-eui \ - --enable-icmp \ - --enable-follow-x-forwarded-for \ - --with-large-files \ - --disable-strict-error-checking \ - --disable-arch-native \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_with ssl openssl) \ - $(use_with ssl nettle) \ - $(use_with ssl gnutls) \ - $(use_enable ssl-crtd) \ - $(use_enable ecap) \ - $(use_enable esi) \ - $(use_enable htcp) \ - $(use_enable wccp) \ - $(use_enable wccpv2) \ - ${transparent} \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - # need suid root for looking into /etc/shadow - fowners root:squid /usr/libexec/squid/basic_ncsa_auth - fperms 4750 /usr/libexec/squid/basic_ncsa_auth - if use pam; then - fowners root:squid /usr/libexec/squid/basic_pam_auth - fperms 4750 /usr/libexec/squid/basic_pam_auth - fi - # pinger needs suid as well - fowners root:squid /usr/libexec/squid/pinger - fperms 4750 /usr/libexec/squid/pinger - - # cleanup - rm -f "${D}"/usr/bin/Run* - rm -rf "${D}"/run/squid "${D}"/var/cache/squid - - dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt - newdoc helpers/negotiate_auth/kerberos/README README.kerberos - newdoc helpers/basic_auth/RADIUS/README README.RADIUS - newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group - newdoc tools/purge/README README.purge - newdoc tools/helper-mux.README README.helper-mux - dohtml RELEASENOTES.html - - newpamd "${FILESDIR}/squid.pam" squid - newconfd "${FILESDIR}/squid.confd-r1" squid - newinitd "${FILESDIR}/squid.initd-r4" squid - if use logrotate; then - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/log/squid /etc/ssl/squid /var/lib/squid -} - -pkg_postinst() { - if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \ - [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 5 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.5/RELEASENOTES.html" - echo - fi -} diff --git a/net-proxy/squid/squid-3.5.4.ebuild b/net-proxy/squid/squid-3.5.4.ebuild deleted file mode 100644 index c2a9acbbbb60..000000000000 --- a/net-proxy/squid/squid-3.5.4.ebuild +++ /dev/null @@ -1,247 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.5.4.ebuild,v 1.8 2015/07/03 10:04:04 ago Exp $ - -EAPI=5 -inherit autotools eutils linux-info pam toolchain-funcs user versionator - -DESCRIPTION="A full-featured web proxy cache" -HOMEPAGE="http://www.squid-cache.org/" -SRC_URI="http://www.squid-cache.org/Versions/v3/3.5/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd" -IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \ - ecap esi ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - +htcp +wccp +wccpv2 \ - pf-transparent ipf-transparent kqueue \ - elibc_uclibc kernel_linux" - -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 ) - pam? ( virtual/pam ) - ldap? ( net-nds/openldap ) - kerberos? ( virtual/krb5 ) - qos? ( net-libs/libnetfilter_conntrack ) - ssl? ( dev-libs/openssl:* dev-libs/nettle >=net-libs/gnutls-3.1.5 ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:1 ) - esi? ( dev-libs/expat dev-libs/libxml2 ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4:* - dev-lang/perl - dev-libs/libltdl:0" -DEPEND="${COMMON_DEPEND} - ecap? ( virtual/pkgconfig ) - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - selinux? ( sec-policy/selinux-squid ) - sqlite? ( dev-perl/DBD-SQLite ) - !<=sci-biology/meme-4.8.1-r1" - -REQUIRED_USE="tproxy? ( caps ) - qos? ( caps )" - -pkg_pretend() { - if use tproxy; then - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - fi -} - -pkg_setup() { - enewgroup squid - enewuser squid -1 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch" - sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \ - INSTALL QUICKSTART \ - scripts/fileno-to-pathname.pl \ - scripts/check_cache.pl \ - tools/cachemgr.cgi.8 \ - tools/purge/conffile.hh \ - tools/purge/README || die - sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \ - INSTALL QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \ - QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \ - QUICKSTART \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \ - helpers/external_acl/unix_group/ext_unix_group_acl.8 \ - helpers/external_acl/session/ext_session_acl.8 \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \ - scripts/check_cache.pl || die - sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - # /var/run/squid to /run/squid - sed -i -e 's:$(localstatedir)::' \ - src/ipc/Makefile.am || die - sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \ - libltdl/configure.ac || die - - epatch_user - - eautoreconf -} - -src_configure() { - local basic_modules="MSNT-multi-domain,NCSA,POP3,getpwnam" - use samba && basic_modules+=",SMB" - use ldap && basic_modules+=",LDAP" - use pam && basic_modules+=",PAM" - use sasl && basic_modules+=",SASL" - use nis && ! use elibc_uclibc && basic_modules+=",NIS" - use radius && basic_modules+=",RADIUS" - if use mysql || use postgres || use sqlite ; then - basic_modules+=",DB" - fi - - local digest_modules="file" - use ldap && digest_modules+=",LDAP,eDirectory" - - local negotiate_modules="none" - local myconf="--without-mit-krb5 --without-heimdal-krb5" - if use kerberos ; then - negotiate_modules="kerberos,wrapper" - if has_version app-crypt/heimdal ; then - myconf="--without-mit-krb5 --with-heimdal-krb5" - else - myconf="--with-mit-krb5 --without-heimdal-krb5" - fi - fi - - local ntlm_modules="none" - use samba && ntlm_modules="smb_lm" - - local ext_helpers="file_userip,session,unix_group" - use samba && ext_helpers+=",wbinfo_group" - use ldap && ext_helpers+=",LDAP_group,eDirectory_userip" - use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group" - - local storeio_modules="aufs,diskd,rock,ufs" - - local transparent - if use kernel_linux ; then - transparent+=" --enable-linux-netfilter" - use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack" - fi - - if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then - transparent+=" $(use_enable kqueue)" - if use pf-transparent; then - transparent+=" --enable-pf-transparent" - elif use ipf-transparent; then - transparent+=" --enable-ipf-transparent" - fi - fi - - tc-export CC AR - - econf \ - --sysconfdir=/etc/squid \ - --libexecdir=/usr/libexec/squid \ - --localstatedir=/var \ - --with-pidfile=/run/squid.pid \ - --datadir=/usr/share/squid \ - --with-logdir=/var/log/squid \ - --with-default-user=squid \ - --enable-removal-policies="lru,heap" \ - --enable-storeio="${storeio_modules}" \ - --enable-disk-io \ - --enable-auth-basic="${basic_modules}" \ - --enable-auth-digest="${digest_modules}" \ - --enable-auth-ntlm="${ntlm_modules}" \ - --enable-auth-negotiate="${negotiate_modules}" \ - --enable-external-acl-helpers="${ext_helpers}" \ - --enable-log-daemon-helpers \ - --enable-url-rewrite-helpers \ - --enable-cache-digests \ - --enable-delay-pools \ - --enable-eui \ - --enable-icmp \ - --enable-follow-x-forwarded-for \ - --with-large-files \ - --disable-strict-error-checking \ - --disable-arch-native \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_with ssl openssl) \ - $(use_with ssl nettle) \ - $(use_with ssl gnutls) \ - $(use_enable ssl-crtd) \ - $(use_enable ecap) \ - $(use_enable esi) \ - $(use_enable htcp) \ - $(use_enable wccp) \ - $(use_enable wccpv2) \ - ${transparent} \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - # need suid root for looking into /etc/shadow - fowners root:squid /usr/libexec/squid/basic_ncsa_auth - fperms 4750 /usr/libexec/squid/basic_ncsa_auth - if use pam; then - fowners root:squid /usr/libexec/squid/basic_pam_auth - fperms 4750 /usr/libexec/squid/basic_pam_auth - fi - # pinger needs suid as well - fowners root:squid /usr/libexec/squid/pinger - fperms 4750 /usr/libexec/squid/pinger - - # cleanup - rm -f "${D}"/usr/bin/Run* - rm -rf "${D}"/run/squid "${D}"/var/cache/squid - - dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt - newdoc helpers/negotiate_auth/kerberos/README README.kerberos - newdoc helpers/basic_auth/RADIUS/README README.RADIUS - newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group - newdoc tools/purge/README README.purge - newdoc tools/helper-mux.README README.helper-mux - dohtml RELEASENOTES.html - - newpamd "${FILESDIR}/squid.pam" squid - newconfd "${FILESDIR}/squid.confd-r1" squid - newinitd "${FILESDIR}/squid.initd-r4" squid - if use logrotate; then - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/log/squid /etc/ssl/squid /var/lib/squid -} - -pkg_postinst() { - if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \ - [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 5 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.5/RELEASENOTES.html" - echo - fi -} diff --git a/net-proxy/squid/squid-3.5.5.ebuild b/net-proxy/squid/squid-3.5.5.ebuild deleted file mode 100644 index 7e6cbbae9e32..000000000000 --- a/net-proxy/squid/squid-3.5.5.ebuild +++ /dev/null @@ -1,247 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.5.5.ebuild,v 1.1 2015/06/08 06:59:13 eras Exp $ - -EAPI=5 -inherit autotools eutils linux-info pam toolchain-funcs user versionator - -DESCRIPTION="A full-featured web proxy cache" -HOMEPAGE="http://www.squid-cache.org/" -SRC_URI="http://www.squid-cache.org/Versions/v3/3.5/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \ - ecap esi ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - +htcp +wccp +wccpv2 \ - pf-transparent ipf-transparent kqueue \ - elibc_uclibc kernel_linux" - -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 ) - pam? ( virtual/pam ) - ldap? ( net-nds/openldap ) - kerberos? ( virtual/krb5 ) - qos? ( net-libs/libnetfilter_conntrack ) - ssl? ( dev-libs/openssl:* dev-libs/nettle >=net-libs/gnutls-3.1.5 ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:1 ) - esi? ( dev-libs/expat dev-libs/libxml2 ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4:* - dev-lang/perl - dev-libs/libltdl:0" -DEPEND="${COMMON_DEPEND} - ecap? ( virtual/pkgconfig ) - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - selinux? ( sec-policy/selinux-squid ) - sqlite? ( dev-perl/DBD-SQLite ) - !<=sci-biology/meme-4.8.1-r1" - -REQUIRED_USE="tproxy? ( caps ) - qos? ( caps )" - -pkg_pretend() { - if use tproxy; then - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - fi -} - -pkg_setup() { - enewgroup squid - enewuser squid -1 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch" - sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \ - INSTALL QUICKSTART \ - scripts/fileno-to-pathname.pl \ - scripts/check_cache.pl \ - tools/cachemgr.cgi.8 \ - tools/purge/conffile.hh \ - tools/purge/README || die - sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \ - INSTALL QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \ - QUICKSTART || die - sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \ - QUICKSTART \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \ - src/log/access_log.cc || die - sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \ - helpers/external_acl/unix_group/ext_unix_group_acl.8 \ - helpers/external_acl/session/ext_session_acl.8 \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \ - scripts/check_cache.pl || die - sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ - src/ssl/ssl_crtd.8 || die - # /var/run/squid to /run/squid - sed -i -e 's:$(localstatedir)::' \ - src/ipc/Makefile.am || die - sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \ - libltdl/configure.ac || die - - epatch_user - - eautoreconf -} - -src_configure() { - local basic_modules="MSNT-multi-domain,NCSA,POP3,getpwnam" - use samba && basic_modules+=",SMB" - use ldap && basic_modules+=",LDAP" - use pam && basic_modules+=",PAM" - use sasl && basic_modules+=",SASL" - use nis && ! use elibc_uclibc && basic_modules+=",NIS" - use radius && basic_modules+=",RADIUS" - if use mysql || use postgres || use sqlite ; then - basic_modules+=",DB" - fi - - local digest_modules="file" - use ldap && digest_modules+=",LDAP,eDirectory" - - local negotiate_modules="none" - local myconf="--without-mit-krb5 --without-heimdal-krb5" - if use kerberos ; then - negotiate_modules="kerberos,wrapper" - if has_version app-crypt/heimdal ; then - myconf="--without-mit-krb5 --with-heimdal-krb5" - else - myconf="--with-mit-krb5 --without-heimdal-krb5" - fi - fi - - local ntlm_modules="none" - use samba && ntlm_modules="smb_lm" - - local ext_helpers="file_userip,session,unix_group" - use samba && ext_helpers+=",wbinfo_group" - use ldap && ext_helpers+=",LDAP_group,eDirectory_userip" - use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group" - - local storeio_modules="aufs,diskd,rock,ufs" - - local transparent - if use kernel_linux ; then - transparent+=" --enable-linux-netfilter" - use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack" - fi - - if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then - transparent+=" $(use_enable kqueue)" - if use pf-transparent; then - transparent+=" --enable-pf-transparent" - elif use ipf-transparent; then - transparent+=" --enable-ipf-transparent" - fi - fi - - tc-export CC AR - - econf \ - --sysconfdir=/etc/squid \ - --libexecdir=/usr/libexec/squid \ - --localstatedir=/var \ - --with-pidfile=/run/squid.pid \ - --datadir=/usr/share/squid \ - --with-logdir=/var/log/squid \ - --with-default-user=squid \ - --enable-removal-policies="lru,heap" \ - --enable-storeio="${storeio_modules}" \ - --enable-disk-io \ - --enable-auth-basic="${basic_modules}" \ - --enable-auth-digest="${digest_modules}" \ - --enable-auth-ntlm="${ntlm_modules}" \ - --enable-auth-negotiate="${negotiate_modules}" \ - --enable-external-acl-helpers="${ext_helpers}" \ - --enable-log-daemon-helpers \ - --enable-url-rewrite-helpers \ - --enable-cache-digests \ - --enable-delay-pools \ - --enable-eui \ - --enable-icmp \ - --enable-follow-x-forwarded-for \ - --with-large-files \ - --disable-strict-error-checking \ - --disable-arch-native \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_with ssl openssl) \ - $(use_with ssl nettle) \ - $(use_with ssl gnutls) \ - $(use_enable ssl-crtd) \ - $(use_enable ecap) \ - $(use_enable esi) \ - $(use_enable htcp) \ - $(use_enable wccp) \ - $(use_enable wccpv2) \ - ${transparent} \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - # need suid root for looking into /etc/shadow - fowners root:squid /usr/libexec/squid/basic_ncsa_auth - fperms 4750 /usr/libexec/squid/basic_ncsa_auth - if use pam; then - fowners root:squid /usr/libexec/squid/basic_pam_auth - fperms 4750 /usr/libexec/squid/basic_pam_auth - fi - # pinger needs suid as well - fowners root:squid /usr/libexec/squid/pinger - fperms 4750 /usr/libexec/squid/pinger - - # cleanup - rm -f "${D}"/usr/bin/Run* - rm -rf "${D}"/run/squid "${D}"/var/cache/squid - - dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt - newdoc helpers/negotiate_auth/kerberos/README README.kerberos - newdoc helpers/basic_auth/RADIUS/README README.RADIUS - newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group - newdoc tools/purge/README README.purge - newdoc tools/helper-mux.README README.helper-mux - dohtml RELEASENOTES.html - - newpamd "${FILESDIR}/squid.pam" squid - newconfd "${FILESDIR}/squid.confd-r1" squid - newinitd "${FILESDIR}/squid.initd-r4" squid - if use logrotate; then - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/log/squid /etc/ssl/squid /var/lib/squid -} - -pkg_postinst() { - if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \ - [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 5 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.5/RELEASENOTES.html" - echo - fi -} |