diff options
author | Eray Aslan <eras@gentoo.org> | 2013-04-03 06:42:17 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2013-04-03 06:42:17 +0000 |
commit | ca966f1cf41d045fdfbe0bb863bfa92a7af1c776 (patch) | |
tree | 9ae9d426a4a380d5bf48a150339b1865d8b91d46 /net-proxy/squid | |
parent | Bump (diff) | |
download | historical-ca966f1cf41d045fdfbe0bb863bfa92a7af1c776.tar.gz historical-ca966f1cf41d045fdfbe0bb863bfa92a7af1c776.tar.bz2 historical-ca966f1cf41d045fdfbe0bb863bfa92a7af1c776.zip |
Remove old
Package-Manager: portage-2.2.0_alpha171/cvs/Linux x86_64
Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'net-proxy/squid')
-rw-r--r-- | net-proxy/squid/ChangeLog | 8 | ||||
-rw-r--r-- | net-proxy/squid/Manifest | 46 | ||||
-rw-r--r-- | net-proxy/squid/files/squid.initd-logrotate-r2 | 118 | ||||
-rw-r--r-- | net-proxy/squid/files/squid.initd-r2 | 125 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.1.22.ebuild | 209 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.2.5.ebuild | 237 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.2.6.ebuild | 237 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.2.7.ebuild | 240 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.2.8.ebuild | 237 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.3.1.ebuild | 240 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.3.2.ebuild | 237 |
11 files changed, 22 insertions, 1912 deletions
diff --git a/net-proxy/squid/ChangeLog b/net-proxy/squid/ChangeLog index 047ce336e16d..1faf025a9d90 100644 --- a/net-proxy/squid/ChangeLog +++ b/net-proxy/squid/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-proxy/squid # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.405 2013/04/01 19:45:15 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.406 2013/04/03 06:42:06 eras Exp $ + + 03 Apr 2013; Eray Aslan <eras@gentoo.org> -files/squid.initd-logrotate-r2, + -files/squid.initd-r2, -squid-3.1.22.ebuild, -squid-3.2.5.ebuild, + -squid-3.2.6.ebuild, -squid-3.2.7.ebuild, -squid-3.2.8.ebuild, + -squid-3.3.1.ebuild, -squid-3.3.2.ebuild: + Remove old 01 Apr 2013; Agostino Sarubbo <ago@gentoo.org> squid-3.2.9.ebuild: Stable for ia64, wrt bug #461492 diff --git a/net-proxy/squid/Manifest b/net-proxy/squid/Manifest index a3e2c6f1efae..f84ce3fba1e4 100644 --- a/net-proxy/squid/Manifest +++ b/net-proxy/squid/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX squid-3.1.15-gentoo.patch 10538 SHA256 75549600815236932f549e1c4e0286b6cbb4dc26a7e545abb96b7d29f0128ab3 SHA512 6e2a26e7cb99664046619f3d4cb9e87998b462f7de09d6fbf4a269ccf2da758d5caad35c0ec43c5c9c5a9eb8943ecf14a0cdb67fa2a117bc3be4d9a41a920451 WHIRLPOOL 5dfce88287693fd75902b58c7d7759bd083173e8e69bf4f7c725a196a8d4d1f92e5e3e98dc7c727f01d62f5e049fe2599f6f9e02eb92c13a8bf09f8c4387dbd7 AUX squid-3.2.1-gentoo.patch 4418 SHA256 41da185c1af04590525fc9144c14edd160522b878efc2e62e8a992a001ad38e0 SHA512 08ba6aac7de61aaae9a96c42801dbb8e414a2b8ec7bccd80afb1973f7c9949dacee4011e54d050c7ae46a06d2914ca8a42629af5707c6810b1547e3b66ccd5c0 WHIRLPOOL 2f8ba78840e46a3b8e780b653d8084f9c0e8b4d0793f4b06cb7faf9c6ae32b193de923b411c394278747ad9574cbf317f72f97467fbca386db4c4f1bd0f1ba50 @@ -7,49 +7,33 @@ AUX squid.confd 540 SHA256 aeef7060c50074b65c664fc106d7319ce380d25320ee2ee00f7d6 AUX squid.confd-r1 493 SHA256 214a184495a3384eb452caef435256043bc51e35140a61b1f5fdff32603c8f7e SHA512 3f92645275e077bcf36e4cd2ccb56812540276d9456bc6f68268010aac57214f0d96b0aff74dc57cbc3446705a9fae8a5bb7a07304afeea45615ebf2cf2b7ab0 WHIRLPOOL 080cfb797ddb49f7c59463eaef0db8c3a6ec5e5da949884e9ccdf54d608b22fb81971aec21fab704c832c86a8c8e3d4795a7b09456c273d7c4bbb65692a68870 AUX squid.cron 143 SHA256 4c9e2afe5b0bba583ce896233ea1f9262beeb1b6cf51b4adb48d5f5c03933b2f SHA512 cec563c20799ffea8b4fb418d5015d6dc437bd38c35e7150ed01bc298dab5214132e10f4e7b8176da1966e16a7f53f423c36e8419642cb16716f5c346c30d749 WHIRLPOOL 029c94d4e4826ee612c7dc12acc088e3100c9d1737baebb74b25b6e7ac2ba78d0bab9f744c12b5de4113c9727892c9a30dd17067409ac8da62afeee552de391e AUX squid.initd-logrotate-r1 3167 SHA256 cd245c5561a9ded59d71f1e73b3c97a56e4253325dec7054435b4d07d222e9a0 SHA512 818d875560f0b85920353af9ee2337c1109d14c34d623583708a44a53169889b864a281d03aa64ef1809b11852a619eca086b632aec8360750fa8ae8d7f22e99 WHIRLPOOL c15bf7f705f1c0f9d6a714ab97c73a2793d8a0e9a15cb2cc17e717f4729ea3cd892fd8969c5ba3afeff41586f424ded077aaef3958a64a2c14584a905061f4b7 -AUX squid.initd-logrotate-r2 3039 SHA256 584cb997965564cda7d2c31f320ef9296bb24f5182f1e85da023b8f959451810 SHA512 f69cfc7e461afde16b83d8470651b9fa2828bd12354612a758beee05820b6cd03153bc0c9a6efde5042a641e80109fa44db46fb8741e272b79d418efbd708547 WHIRLPOOL b9df15c0a42a457e81eaecb2abf61bbba1342ccd9aa1199186ca53692bc2e25369d619007e69c75ea6ff241024deb12e7d7c821cc93b1e5251d32ed91f788195 AUX squid.initd-logrotate-r3 3133 SHA256 02a7f23a30acce6a3090b324e8c70c0f966380364f839bb0e58935a9a6820b35 SHA512 7e96f4d523d10531b546fece23cb62f073de08181ff796e744190964d1d584400855fa4fb2ad43ed966d92de0c6826efdb19f24ab453ffd3b60e600543de34fa WHIRLPOOL a82b693268afec6149c2f61c4c2c28472f6190e0e6070805f23c380c20df1729e57e0a581fdbd657332f9bf772e27a2269f855d2240952b586cfcfe1476d1089 AUX squid.initd-r1 3319 SHA256 f38e04ba1e295e9bbb537e353823c4bd738d206f4790d024e65aacfefbfe7abb SHA512 fc60c330dfebc2ff9f964b6475d8d00fcf69211384b605b68fef95daf5adc23c0d9fe1b72d858923449f7f024e8520bb7aa17d1ffa55e40f8de2726aa234125a WHIRLPOOL 27a43a425b67fb00a654b9bb71062aac63c7c4885bbd9493341043bb7147f8f7ac89ab79e015008f9da10b0a68f00b038d1ef932f7e0c350dfc9b3fc0fd9033e -AUX squid.initd-r2 3191 SHA256 b6f91362925869151ecbea7bfa654c1bdec489170a0df775c9ac6248e9dd89dd SHA512 81e2c1fc697cce91ff7dd5a03711a8dc9ed8f51fa91daf9223e36474cbadc07772bfcea58dc49dc2b99167e2637eae5390fa3d042c319cf9f8eacc2f79f4cf4a WHIRLPOOL 469a1ec1c8fcd549c43349a174878a100ba89cb0a8e245373eaf33c9e1656473f8fa15149386fcde3a2ad5299f5491381e285483d4c0d4b5838b391ef39f3f4b AUX squid.initd-r3 3285 SHA256 9b16b1ab2d3d3411dfcd8ac76b13a0889503ca78e3c6123814801af7577537f3 SHA512 3ec1a924922dcaf6634eda6f18e7010c722294e446aeb997fe77f539bdd1a45c7aa0551a356d9e4b90419e815cc0a2d1fa119575cdff4d0477f9bc3f8c6b8aff WHIRLPOOL 3f8c1070ffe5114de7a50f0eda2ff6d5c814eafb63942b8a80e6fab27be6ee2364676227aed18995a4151e38d7a1f51398ca31a771682ba811bc4a73831f38ed AUX squid.logrotate 103 SHA256 e5ddce1c9af851040affa15e1a59e89d8db0f2eea7c461320a1d3784578f4482 SHA512 d75a667c3ffa32fdd938ef40df8813a467d9f10b2363107bf915cb0c99834fbe8d0eb502a18a816875b67b0db1b27806ed3caf620c38516040cb644b225f5a55 WHIRLPOOL 1cbce1fb05d4661d26f80baeafad0d3a5de1108a21eb6519775b9be2c549d1ca1b85575b72941fd246e4e9fbdf466b302b767aa7ce002f990f6ca4a9844e1e41 AUX squid.pam 315 SHA256 68ef4282f9fb8506df710d0ae16e84e991e9b138c7f1d0af922682219c7a971f SHA512 a73c98eef2d99bfd871c192195f3c815bff1cd4fa66b87ac185fde891e5cf5fb464fe0ce376c16ac68065c53726784229ad96c24835138244eee2ca2807887c3 WHIRLPOOL e8a6345c634694ce1e21fc4d69ea059d2da9f5d3b7ad34b4a49c570161cddab615fb4ed9e274397ddd4887e4b027aa90339bb8fbb5a71f3bdf506d70cefb99c1 -DIST squid-3.1.22.tar.gz 3489587 SHA256 59764791cc030779f764fa077f2668bd0c8ebd25ce2f72c6526728de3c82369f SHA512 4ba31205397679d901fa702bad4f177f7ab1f4e1f7714c8be00318c3b2235e46122bf62ec5bc82ad081484869e4d1ee86d14eb060a1cd1240cd2bbac634426b8 WHIRLPOOL 7788205d852c71e2b489802db2fb9a82ccfdb12a4133cf157e96b2d1932554e61e314365ecefa02832670641f05e77ac5fb063518efd560a9f3ccd8a18c32004 DIST squid-3.1.23.tar.gz 3489539 SHA256 4633e59925480cc2ea8078e4d78b17dea59a67a71c054b8faa47ba2c1e204401 SHA512 620554273a54be76331dd559446f750dfe838c80e2427cdcfce89ebdb0b70124acc6015fb6f4f1c78d0ecd0e0aaf46ca2cec29e1415525ef72e14d18343a5e72 WHIRLPOOL cb678a25abf69d73f7f5b5774c00374d14c831b09af86678f065dd8001aedc9f4ba5fa8a8d8d8c301ab449e10d25a54d476810e2d5c77583ed604b6173f41bcd -DIST squid-3.2.5.tar.gz 4107649 SHA256 331a507fec11c89b5ccfabaf9eedd6c208eaa0a64b0aba4c2477f68443b35b69 SHA512 0107b38d49423f354d2bea7cedd3f8114d56ac72175a1235d72b58f9b1735c0acfad76fae131cdb8b912e407e761d445ba8b8ddea088387baed470913c13ccc2 WHIRLPOOL c45202e9b9342f74f864c362b8af7dc2cd720ec8eacd424ef8e7e48ebdc32ebe6b30b6534c277256bc86cd51e073f824bf8395290f05b2451aafb307c1cf2147 -DIST squid-3.2.6.tar.gz 4108394 SHA256 cd3a61fb6784a942ba8809919c7bbcd924dabc109485cb45f2ac2f0dce63429a SHA512 232af970a41b62eeaf50211ff9afeef5978f1d04a637a67859f55bde36aa89faf2e90aa267fde3c5aaa7092e8c7285d7a0591e42db9c4452ad4d6d44833fdb6c WHIRLPOOL fa72daa46a2c994936d0cf636f4facdceb01cef7d5c139929be0fd27b2bf598c25f942f5bb1248b98e28fcf7a23d5ce59c13f81c134acb6e361d54f92b851999 -DIST squid-3.2.7.tar.gz 4109865 SHA256 e3917271b5fa52c16cc6815ceb2513a01d2ec8190a79bde6c45b3e3900d7bc97 SHA512 efa0b1fbf48b6ccebfcd2a2a1350ab28a73c0ae7b25962bc5ec334c614529674ce641ff0b4c0fc70438856a7b351807e369f30188ea75b51914e97bb8310c921 WHIRLPOOL e5bfab3e40f60e1ec5a4d17ecaa121b003b73bc852888ad3f05a39a6031ed75e1906284dae5fe9c08d734286579a0ee6e8a2bf85460a4b30162e2043077fa8a9 -DIST squid-3.2.8.tar.gz 4112583 SHA256 5a1c5ae0e96f60e32bbb6ba6e5c106e2724bcf8fb6dc9726f3a7cfc180595d04 SHA512 cfb54a32cf8ff92700f303aecb335273094272a9e4c3db06a7bef1eeda062c3e56240c507e95cd4282ed03f9d534bc29a37f2e44210fe249527f938e349c7b5d WHIRLPOOL 6ef8a52123f068266f1e8b52fea236785feecabdbcf7cad7f21d557075a38f865e820595cb6d4a97e0759e467c508cc4e2589263fd87bdf96d46f1f9a260dc82 DIST squid-3.2.9.tar.gz 4113390 SHA256 f8262cb033e93fa806188a3238cb485165cb3ddea0818e6667020f7e68cd3401 SHA512 6463fb2538a0f63abc82ec8acac52cbd0e9a1a1062fd4329ba7d0f07f0e1ba2678e439322bae378eba0a1e99356bd6854bfa266a6b87a12607157fe2f274ef0e WHIRLPOOL c72161e5cb6030c187d16e6864a3cf1ff8475958304fc74a1d9c708090f177b6fcb26a3bcf70ef635b8ffde5aadeb10549c47044e60ad358539e63ec0ba7429d -DIST squid-3.3.1.tar.gz 4189100 SHA256 827608aead0aadc8f1f052347dd404fa0582a47a06a7df1f122bab08131962ed SHA512 4f34a99fea2847dd511f7bda8fc2ac3d92a7643f14f323871d4a6f4b8f08d404cd8afd64311cf46e04af95fb3f773c25f0488bf8b19d34598d32e473726c7104 WHIRLPOOL c1227543e58af890ae2aa70f60eea18f598d66bc6633f57208ec1371247aea65c5f93852b12f0e10205ec1582395e87737f079566c4d05673033fb9fd8c55bfc -DIST squid-3.3.2.tar.gz 4190783 SHA256 6b7f8d12cd6120129c240dc3e35a696ad5183ae559d3bff06af2a72ad4410274 SHA512 9501a54b226b087a8eeace60b3389bee360f871b8b573231b991dc0691002d0e8430d48ada37b471cbd8f42bab400109c66ad7c51128c40af1063b2013272995 WHIRLPOOL 00fe47bc1b7b268e692b2b6d29ef093cae79132ddfe927e92e19bae70d5f5beff7f552d6945f357db6914669093ac4abcb673f27726496006d735802d72027bd DIST squid-3.3.3.tar.gz 4191938 SHA256 2505547a0ff5b24b9f3924a7e4ebcbfd4ce41a160b8d841331edf711c2912138 SHA512 ab87940b0ed3c95f36d8790b653be5c35de9213711e1c6ea57726ebb03f655d9d268279f67fa0fb6f10abf3a20b205294f4261c20fe044e303377d35dce95249 WHIRLPOOL f181ccbca08479baa73571079a36a4f347b36a84aacaa8e3ee481aa3f0d00cf71aed1c512c16a4b0a5158ebac6ffe112b45a95ff3dbf926800fe03b60688324c -EBUILD squid-3.1.22.ebuild 6669 SHA256 b44a3b3acee466e2b15961eac8cbd5360d89ef3754b9650414e1bfd46128b126 SHA512 55b6d0efa256ac94736d4389bfe989611476673df63a2a757d4329028a347d68ca192918a256f8ceff7142006a58f56504817e6a17837fda5ddea8b96677fc6c WHIRLPOOL 293e9a6c16902fdce4b5b677a0ac58fb8c05c9380817d5e8fa91e65c19915adc3a1d6c05e1d162c7dc2b5d7a5227d05bd614b516d8cbada5249c0f151e50ec90 EBUILD squid-3.1.23.ebuild 6687 SHA256 a12452feaeadfe2501e168dce2552b244c31e96436a0278bd8b3b5fdde89f34a SHA512 754809af799a7ce243cacee7a7b38dc3e8b51920f1f90f54953529d7e51ef4ab046961bde57c82418bae09034c3f8d98d1405f18659b434338071844e245730e WHIRLPOOL a6f8f792332b0d1e1e366d93e7a87cd2371e5c97ac8b8bab3783a6b830c83e0aa19c6aa8db7da5300c02c6a64e3d07f53cd551fb849daa50f2e5cb5c5bbe5392 -EBUILD squid-3.2.5.ebuild 7591 SHA256 c7d1c2eb230687c1ce60358493d54ebff7d3bf6823f6dca10750152722d87b14 SHA512 3d234258d0cc8444d9cc98b4982971fb191159357468cf6cc9bbbb8e60170ee03ac2ff24aed77779845fc9d0e4c6414eaa4693301aec8e5bbe1bb203c6570a08 WHIRLPOOL ea79284d910775d7b3af0ec088ac212a23e48d37ce69c230aedab3f1697f0b19296fddea4551b0820ab70ad57eb40c58a75fea4f7f79ff52067b8451ede8cde7 -EBUILD squid-3.2.6.ebuild 7572 SHA256 6e4b16298fba4ca3f089653d5507b5da2dcc4ca950392d626aa8544ecf1a62a9 SHA512 408d83c9d3ab26c5dd07a43fd1db0aaf453580986fceb06561a62cd206fcabe8729447a37aefcae8d1ac5780a89b0dc8dbf0f92824e7928e3b0aebbb573a82c2 WHIRLPOOL 0419a5fca8c6693a6c8f2db2f33bda510c59903b4dbaa03f5ba5323d503db9eeb5d59cdda87dfe27cc6cdab9b922c88d346c245ff74373ef6a0f35ee2a8fccd7 -EBUILD squid-3.2.7.ebuild 7667 SHA256 c5144a844138f7a9faac30b72dcd2006e342e87a118c46b75223defcb7459c53 SHA512 93dd44b05bc4b08a824fe79e75c33e1b2df33379ad234d5b2c50fadef160aa76cdf2fd2559a9b5bb3e280d43a2f3e6e9bd6c9f94e1ec786eb9891f1f0833f49b WHIRLPOOL b2bc239f4eeb5bf45b71dd55587ed198a88c5e920a002fffc124a671214a7d4fc7fae7d3c33a55e70ca3dba521bb550d095d3017aa6110dfc2e52ff3bcd324cb -EBUILD squid-3.2.8.ebuild 7589 SHA256 8eabedd08291f8a72470fbd46fa3f4c8e3c939ac4cb244fd7b2d62f08aab869f SHA512 3ff62e1aadca9ac692c71e7fcbc5ad311c197f086c8278f9a6b742e14dc4f48d87a79e0fa7038b0d317e5cc286797eefe6eb6a5c6f4876dd6c2552d62a1c16fd WHIRLPOOL 8bd6c184eb7e6bc8676df377ef9159a34c49203280c1e3a8858cc6d0724b3c84a3f9f19141007aeae7a5045cb958451f4c639789cda9832884a6cc0d0e31bb10 EBUILD squid-3.2.9.ebuild 7580 SHA256 d1ed43ace291862d4e34a5b6098501176011611c4dd01f5acfcccb5cf64a1ff4 SHA512 566cf79574665a514fb0a599040cdc930595e7e8824972206694d80b370cd250225744956b8d4d3ebf6ababaa1739e8e5a5f86ec068655cce0fc0460a2613477 WHIRLPOOL 72849f8feac662dd746d65c0ed9218d4bcc4808ef966e94e4fe17b8f0fa44c60585530344750f886c9f3eda89cc363354f442f746947cedfa10a4ffc3239392c -EBUILD squid-3.3.1.ebuild 7667 SHA256 3470dddb2122a4331ea81605dd528e7f27faebb2429737f52a3bb7ea9b900b97 SHA512 a1eaf397507d946fe6969e346d33aeb671188f53134c72b2ef39fa4708befb41bd443f5d1c2f101186fbab5d17fdf42183402e6c63432c61bc601132ffe54e8d WHIRLPOOL 3de1f8073edb5620a2fb1f5cf475ac4b22046891e8b3eb0f595b299de41b21749a03aa924b6dc138fd65f6c1691929a8b1c5e78f9cc8975db5bcc85e51c0cda5 -EBUILD squid-3.3.2.ebuild 7589 SHA256 bd5612be1424887a0d4426d2e11fa01463e2b6a2b2afbb10f81706e6c813d833 SHA512 6ab37b8a0c6e10815565a8cdec004bef391ed4736e80e9ed3ecf66b80d2af7a01ad19ee06731c403bdff06cc860c088e7bd61bfcc4e92856580fc78cd6699f1f WHIRLPOOL 136b700f1ec32fc6df0630ddb50fcd75173aa7d696eeb6039716a077e795eae4f5e70ec031237a137eb25d91726ac85a4fcafd13dfbad237c522e95506f018fd EBUILD squid-3.3.3.ebuild 7589 SHA256 f955c6869c7bc46a85bef075ddf029fabb2b442a10b3999622e60e366a7647f9 SHA512 dfb17e6fab82e28ffca6cab5fce19fce08ca287705adc41083f3271488e2b3940d1c8bc08869a3f8e4f2a9914d693fb23a890dec97d465f31cec1d0838805149 WHIRLPOOL 69ae80af78f82997f1a7113124a50c95f4cceb21b2a854740bc162607755938f1128260837874fd18e5ef49600c72a4c9166039bd4287f4f2a9c79345db569bb -MISC ChangeLog 79709 SHA256 d82fe1c41c3a40c3e772120fe55c1fbe5abaa2f9f6f49899acbabf7a982e7353 SHA512 3cf54361454a39b1e7bd05e9751d7fde6b347973e4f95821f75201ed5b61e787c5a433f639d2d7027a433a577fd3f02460fde00fa3a04b68eb12945cc49844f2 WHIRLPOOL 95222972b804b7030f0a21f9ce5593508b494509d3ae96b21a16cd293b1b0191bfbcb4540e24e7f10cfe133d951fb37ead9f953287019cf942b9d06b6b2bcebb +MISC ChangeLog 79978 SHA256 99e9835578aeaffb53de4b267ba3f764f5227f5c8a1aff3fd0349a41c86b5d18 SHA512 ac2ae05bef9766687bb454c113b1d789ccee6fc3ed878123e45fcdf7ba58098e179da5b01f0d7b999fac35c2cbc6ed19d64a909d781d475bb2c3e9d7f4aa68e7 WHIRLPOOL e766e0a87cfd7000c49694b813a4fbdbec70d91083dcef4ab4730bb13179ca6f9bc614586e32885619946d7e2120d55229903bd6d6481bee22e7826a1ed74ac8 MISC metadata.xml 1386 SHA256 f1c035d3bfd09b92b127a8281b5d225b261c7a01c87d99e53a002d6316251089 SHA512 603b0c1803b86bf777777107a908db14c138911f92695d7572d448ddc5679c87031151161e1138db046f878421019f7778ef8fcda7218fb7392789124b96e95c WHIRLPOOL adf20b19ab0faf2c4219a16470db04ccb6f06cbbaf1a0b19631f2e01ade5374d9316b7015334b4d5722fb39b8328db61308888f4ad1a99983bf9dc0061f442d2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJRWeM3AAoJELp701BxlEWfmvoP/jaI4uIGWY9A63WTspoolK/A -XrDJhlLYlHO9WOoTTny+8uRSjt5UfYUTJd70AHb1YDKBbU3Ggi4OR/00lbxRxYbK -uo+czk73PO3rokZeeU9in17PJyzQMfwymjlOaNrLgmqv7sQ8Rr7dKyi9qDYc/DHY -N1o+S/mgxLPoZYxvL3za4Xcwmf04N5cGWyostRitlA/7HgQygDueSFjvDuUKjPE+ -gheW4s5DCEDx1mnFenOVPCTDLMvbbiOvKIr5C9QQ1jEbjVPBZHgsxeYtOLRVL40G -PfyhECx9SZ/A+S5OianQutSbqexRWnvsbT/9/3Rj66PDRdbq3LD4Ju1yhpi9HRkQ -tlPXqcrU8UWG+p+bw/C9RFLn1nehuwDhU37+nUgwpTJTV5cGpNSrEfQvIYRAAKDp -Gq9zZq2kMoM3QAxt0/oUVM8ux22jl7J2O/aJfA1FkeJepabTfrZ05J8eTPbiX2yA -JYftuSRIJCWzRxGbs73pdd+89IRbp5oD42ccqHCERVLccr8Eoh4/jb4gBPj/Ygvv -oYGNOc59DPQe235FKb+BK3csLNSTuUlQ0tCZjxO3WLRMpbLXRB9M4MM3bLvPc22L -G5/eqOERD4eObICKeVcUu51nuywFQL6BMXNhewBZJTyh1f7yOKNH7u6AEMR8HHA2 -m63iFyqtKfIA4pti0UnC -=a5ty +iQIcBAEBCAAGBQJRW89IAAoJEHfx8XVYajsfI/cQAJQJoN0lZaY2SsBOuSen4qW+ +NTWgLrQbt3M3Kwv91RenZJHHqdILzEiBTr5d7kZDShdLOqo+lHtkbCXNdv9RST6a +tDHEGnFapkeg/gIS0tsCOdglmTNhNWlgQjkAkib0FbPVLjoKlhMY67QHeCEOYVNj +PsUzOJ8l7V8jMrIRFBgSEBs7yKo9Cy6b2zQYJYo1g/bpB1+tHyPWWUhJXpQ5VYAP +NrTBfngU68FpYGPaJf6L/k2xOaoKo/OS7Ebh2b1drFrlZak4Iw8bfpAHMNIyvOTj +OG50NIHRBdG9zN3ZJwQNjHInW4RJ9+wEf06nbi1+Eb7OeURW0/Mhd6gb+msZtJxF +2+0K4bLT3EPuY1FNM7LW6LMlnkJXioOowk5CKfS5I/FtRXCMDXZ97SQ5vHnfCCOU +aF40pCggJpylvoPW7OI5PV9jpAr94/mifm3HZSlsjexEgaPJIVpnERA3FUS92oTq +zNv0I2Sp70Y0GIYRiekdvgCfVKeo1tfCJFccP1yd6Gr0/dq1Vpqj0xJWnkrVtDOg +ZlioVetQdY5sryI6UtweWsyT9xKLmI4gMAbz+GjGoLoh+0S/OUkmkgk1fc6ZfTx5 +QdAQjuzejOW5lws3c91rcLFELf3FR3DTgvhPfCP6vdWJNkRNalP6Ekip63E3SOCM +4kS8wikmlpUfCzKbiWTu +=aixS -----END PGP SIGNATURE----- diff --git a/net-proxy/squid/files/squid.initd-logrotate-r2 b/net-proxy/squid/files/squid.initd-logrotate-r2 deleted file mode 100644 index 9941a2f7a3d6..000000000000 --- a/net-proxy/squid/files/squid.initd-logrotate-r2 +++ /dev/null @@ -1,118 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/files/squid.initd-logrotate-r2,v 1.1 2012/12/17 19:18:51 eras Exp $ - -extra_started_commands="reload" - -depend() { - use dns net -} - -upprocval() { - [ -f $1 ] || return 0 - if [ `cat $1` -lt $2 ]; then - echo $2 > $1 - fi -} - -# Try to increase the # of filedescriptors we can open. -maxfds() { - [ -n "$SQUID_MAXFD" ] || return - [ $SQUID_MAXFD -le 8192 ] || SQUID_MAXFD=8192 - local minimal_file_max=$(($SQUID_MAXFD + 4096)) - upprocval /proc/sys/fs/file-max $minimal_file_max - ulimit -n $SQUID_MAXFD -} - -checkconfig() { - if [ ! -f /etc/squid/${SVCNAME}.conf ]; then - eerror "You need to create /etc/squid/${SVCNAME}.conf first." - eerror "An example can be found in /etc/squid/squid.conf.default" - return 1 - fi - - local PIDFILE=$(awk '/^[ \t]*pid_filename[ \t]+/ { print $2 }' < /etc/squid/${SVCNAME}.conf) - [ -z ${PIDFILE} ] && PIDFILE=/var/run/squid.pid - if [ /var/run/${SVCNAME}.pid != ${PIDFILE} ]; then - eerror "/etc/squid/${SVCNAME}.conf must set pid_filename to" - eerror " /var/run/${SVCNAME}.pid" - eerror "CAUTION: http_port, cache_dir and *_log parameters must be different than" - eerror " in any other instance of squid." - return 1 - fi - - maxfds - - local CACHE_SWAP=$(awk '/^[ \t]*cache_dir[ \t]+/ { if ($2 == "coss" ) printf "%s/stripe ", $3 ; else printf "%s/00 ", $3; }' < /etc/squid/${SVCNAME}.conf) - [ -z "$CACHE_SWAP" ] && CACHE_SWAP="/var/cache/squid/00" - - local x - for x in $CACHE_SWAP ; do - if [ ! -e $x ] ; then - ebegin "Initializing cache directory ${x%/*}" - local ORIG_UMASK=$(umask) - umask 027 - - if ! (mkdir -p ${x%/*} && chown squid ${x%/*}) ; then - eend 1 - return 1 - fi - - local INIT_CACHE_RESPONSE="$(/usr/sbin/squid -z -N -f /etc/squid/${SVCNAME}.conf 2>&1)" - if [ $? != 0 ] || echo "$INIT_CACHE_RESPONSE" | grep -q "erminated abnormally" ; then - umask $ORIG_UMASK - eend 1 - echo "$INIT_CACHE_RESPONSE" - return 1 - fi - - umask $ORIG_UMASK - eend 0 - break - fi - done - - return 0 -} - -start() { - checkconfig || return 1 - ebegin "Starting ${SVCNAME}" - KRB5_KTNAME="${SQUID_KEYTAB}" /usr/sbin/squid ${SQUID_OPTS} -f /etc/squid/${SVCNAME}.conf - eend $? && sleep 1 -} - -stop() { - ebegin "Stopping ${SVCNAME}" - if /usr/sbin/squid -k shutdown -f /etc/squid/${SVCNAME}.conf ; then - # Now we have to wait until squid has _really_ stopped. - sleep 1 - if [ -f /var/run/${SVCNAME}.pid ] ; then - einfon "Waiting for squid to shutdown ." - cnt=0 - while [ -f /var/run/${SVCNAME}.pid ] ; do - cnt=$(expr $cnt + 1) - if [ $cnt -gt 60 ] ; then - # Waited 120 seconds now. Fail. - echo - eend 1 "Failed." - break - fi - sleep 2 - echo -n "." - done - echo - fi - else - eerror "Squid shutdown failed, probably service is already down." - fi - eend 0 -} - -reload() { - checkconfig || return 1 - ebegin "Reloading ${SVCNAME}" - /usr/sbin/squid -k reconfigure -f /etc/squid/${SVCNAME}.conf - eend $? -} diff --git a/net-proxy/squid/files/squid.initd-r2 b/net-proxy/squid/files/squid.initd-r2 deleted file mode 100644 index 9c92d141cfec..000000000000 --- a/net-proxy/squid/files/squid.initd-r2 +++ /dev/null @@ -1,125 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/files/squid.initd-r2,v 1.1 2012/12/17 19:18:51 eras Exp $ - -extra_started_commands="reload rotate" - -depend() { - use dns net -} - -upprocval() { - [ -f $1 ] || return 0 - if [ `cat $1` -lt $2 ]; then - echo $2 > $1 - fi -} - -# Try to increase the # of filedescriptors we can open. -maxfds() { - [ -n "$SQUID_MAXFD" ] || return - [ $SQUID_MAXFD -le 8192 ] || SQUID_MAXFD=8192 - local minimal_file_max=$(($SQUID_MAXFD + 4096)) - upprocval /proc/sys/fs/file-max $minimal_file_max - ulimit -n $SQUID_MAXFD -} - -checkconfig() { - if [ ! -f /etc/squid/${SVCNAME}.conf ]; then - eerror "You need to create /etc/squid/${SVCNAME}.conf first." - eerror "An example can be found in /etc/squid/squid.conf.default" - return 1 - fi - - local PIDFILE=$(awk '/^[ \t]*pid_filename[ \t]+/ { print $2 }' < /etc/squid/${SVCNAME}.conf) - [ -z ${PIDFILE} ] && PIDFILE=/var/run/squid.pid - if [ /var/run/${SVCNAME}.pid != ${PIDFILE} ]; then - eerror "/etc/squid/${SVCNAME}.conf must set pid_filename to" - eerror " /var/run/${SVCNAME}.pid" - eerror "CAUTION: http_port, cache_dir and *_log parameters must be different than" - eerror " in any other instance of squid." - return 1 - fi - - maxfds - - local CACHE_SWAP=$(awk '/^[ \t]*cache_dir[ \t]+/ { if ($2 == "coss" ) printf "%s/stripe ", $3 ; else printf "%s/00 ", $3; }' < /etc/squid/${SVCNAME}.conf) - [ -z "$CACHE_SWAP" ] && CACHE_SWAP="/var/cache/squid/00" - - local x - for x in $CACHE_SWAP ; do - if [ ! -e $x ] ; then - ebegin "Initializing cache directory ${x%/*}" - local ORIG_UMASK=$(umask) - umask 027 - - if ! (mkdir -p ${x%/*} && chown squid ${x%/*}) ; then - eend 1 - return 1 - fi - - local INIT_CACHE_RESPONSE="$(/usr/sbin/squid -z -N -f /etc/squid/${SVCNAME}.conf 2>&1)" - if [ $? != 0 ] || echo "$INIT_CACHE_RESPONSE" | grep -q "erminated abnormally" ; then - umask $ORIG_UMASK - eend 1 - echo "$INIT_CACHE_RESPONSE" - return 1 - fi - - umask $ORIG_UMASK - eend 0 - break - fi - done - - return 0 -} - -start() { - checkconfig || return 1 - ebegin "Starting ${SVCNAME}" - KRB5_KTNAME="${SQUID_KEYTAB}" /usr/sbin/squid ${SQUID_OPTS} -f /etc/squid/${SVCNAME}.conf - eend $? && sleep 1 -} - -stop() { - ebegin "Stopping ${SVCNAME}" - if /usr/sbin/squid -k shutdown -f /etc/squid/${SVCNAME}.conf ; then - # Now we have to wait until squid has _really_ stopped. - sleep 1 - if [ -f /var/run/${SVCNAME}.pid ] ; then - einfon "Waiting for squid to shutdown ." - cnt=0 - while [ -f /var/run/${SVCNAME}.pid ] ; do - cnt=$(expr $cnt + 1) - if [ $cnt -gt 60 ] ; then - # Waited 120 seconds now. Fail. - echo - eend 1 "Failed." - break - fi - sleep 2 - echo -n "." - done - echo - fi - else - eerror "Squid shutdown failed, probably service is already down." - fi - eend 0 -} - -reload() { - checkconfig || return 1 - ebegin "Reloading ${SVCNAME}" - /usr/sbin/squid -k reconfigure -f /etc/squid/${SVCNAME}.conf - eend $? -} - -rotate() { - service_started ${SVCNAME} || return 1 - ebegin "Rotating ${SVCNAME} logs" - /usr/sbin/squid -k rotate -f /etc/squid/${SVCNAME}.conf - eend $? -} diff --git a/net-proxy/squid/squid-3.1.22.ebuild b/net-proxy/squid/squid-3.1.22.ebuild deleted file mode 100644 index 0ae19cf1a01a..000000000000 --- a/net-proxy/squid/squid-3.1.22.ebuild +++ /dev/null @@ -1,209 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.1.22.ebuild,v 1.11 2013/03/01 12:47:50 jlec Exp $ - -EAPI=4 -inherit eutils pam toolchain-funcs autotools linux-info user - -DESCRIPTION="A full-featured web proxy cache" -HOMEPAGE="http://www.squid-cache.org/" -SRC_URI="http://www.squid-cache.org/Versions/v3/3.1/${P}.tar.gz" - -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 icap-client \ - mysql postgres sqlite \ - zero-penalty-hit \ - pf-transparent ipf-transparent kqueue \ - elibc_uclibc kernel_linux +epoll tproxy" - -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 ) - pam? ( virtual/pam ) - ldap? ( net-nds/openldap ) - kerberos? ( virtual/krb5 ) - ssl? ( dev-libs/openssl ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:0 ) - selinux? ( sec-policy/selinux-squid ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4 - dev-lang/perl" -DEPEND="${COMMON_DEPEND} - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - sqlite? ( dev-perl/DBD-SQLite ) - !<=sci-biology/meme-4.8.1-r1" - -REQUIRED_USE="tproxy? ( caps )" - -pkg_pretend() { - if grep -qs '^[[:space:]]*cache_dir[[:space:]]\+coss' "${ROOT}"etc/squid/squid.conf; then - eerror "coss store IO has been disabled by upstream due to stability issues!" - eerror "If you want to install this version, switch the store type to something else" - eerror "before attempting to install this version again." - - die "/etc/squid/squid.conf: cache_dir uses a disabled store type" - fi - - if use tproxy; then - echo - elog "Checking kernel configuration for full Tproxy4 support" - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_TPROXY ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - echo - fi -} - -pkg_setup() { - enewgroup squid 31 - enewuser squid 31 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.1.15-gentoo.patch" - eautoreconf -} - -src_configure() { - local myconf="" - - local basic_modules="getpwnam,NCSA,MSNT" - use samba && basic_modules="SMB,multi-domain-NTLM,${basic_modules}" - use ldap && basic_modules="LDAP,${basic_modules}" - use pam && basic_modules="PAM,${basic_modules}" - use sasl && basic_modules="SASL,${basic_modules}" - use nis && ! use elibc_uclibc && basic_modules="YP,${basic_modules}" - use radius && basic_modules="squid_radius_auth,${basic_modules}" - if use mysql || use postgres || use sqlite ; then - basic_modules="DB,${basic_modules}" - fi - - local digest_modules="password" - use ldap && digest_modules="ldap,${digest_modules}" - - local ext_helpers="ip_user,session,unix_group" - use samba && ext_helpers="wbinfo_group,${ext_helpers}" - use ldap && ext_helpers="ldap_group,${ext_helpers}" - - local ntlm_helpers="fakeauth" - use samba && ntlm_helpers="smb_lm,${ntlm_helpers}" - - local negotiate_helpers= - if use kerberos; then - negotiate_helpers="squid_kerb_auth" - if has_version app-crypt/mit-krb5; then - myconf="--enable-mit=${EPREFIX}/usr --disable-heimdal" - elif has_version app-crypt/heimdal; then - myconf="--disable-mit --enable-heimdal=${EPREFIX}/usr" - fi - else - myconf="--disable-mit --disable-heimdal" - fi - - # coss support has been disabled - # If it is re-enabled again, make sure you don't enable it for elibc_uclibc (#61175) - myconf="${myconf} --enable-storeio=ufs,diskd,aufs" - - if use kernel_linux; then - myconf="${myconf} --enable-linux-netfilter \ - $(use_enable tproxy linux-tproxy) \ - $(use_enable epoll)" - elif use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then - myconf="${myconf} $(use_enable kqueue)" - if use pf-transparent; then - myconf="${myconf} --enable-pf-transparent" - elif use ipf-transparent; then - myconf="${myconf} --enable-ipf-transparent" - fi - fi - - export CC=$(tc-getCC) - - econf \ - --sysconfdir=/etc/squid \ - --libexecdir=/usr/libexec/squid \ - --localstatedir=/var \ - --with-pidfile=/var/run/squid.pid \ - --datadir=/usr/share/squid \ - --with-logdir=/var/log/squid \ - --with-default-user=squid \ - --enable-auth="basic,digest,negotiate,ntlm" \ - --enable-removal-policies="lru,heap" \ - --enable-digest-auth-helpers="${digest_modules}" \ - --enable-basic-auth-helpers="${basic_modules}" \ - --enable-external-acl-helpers="${ext_helpers}" \ - --enable-ntlm-auth-helpers="${ntlm_helpers}" \ - --enable-negotiate-auth-helpers="${negotiate_helpers}" \ - --enable-useragent-log \ - --enable-cache-digests \ - --enable-delay-pools \ - --enable-referer-log \ - --enable-arp-acl \ - --with-large-files \ - --with-filedescriptors=8192 \ - --disable-strict-error-checking \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_enable ssl) \ - $(use_enable icap-client) \ - $(use_enable ecap) \ - $(use_enable zero-penalty-hit zph-qos) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - # need suid root for looking into /etc/shadow - fowners root:squid /usr/libexec/squid/ncsa_auth - fperms 4750 /usr/libexec/squid/ncsa_auth - if use pam; then - fowners root:squid /usr/libexec/squid/pam_auth - fperms 4750 /usr/libexec/squid/pam_auth - fi - - # some cleanups - rm -f "${D}"/usr/bin/Run* - - dodoc CONTRIBUTORS CREDITS ChangeLog QUICKSTART SPONSORS doc/*.txt \ - helpers/ntlm_auth/no_check/README.no_check_ntlm_auth - newdoc helpers/basic_auth/SMB/README README.auth_smb - dohtml helpers/basic_auth/MSNT/README.html RELEASENOTES.html - newdoc helpers/basic_auth/LDAP/README README.auth_ldap - doman helpers/basic_auth/LDAP/*.8 - dodoc helpers/basic_auth/SASL/squid_sasl_auth* - - newpamd "${FILESDIR}/squid.pam" squid - newconfd "${FILESDIR}/squid.confd" squid - if use logrotate; then - newinitd "${FILESDIR}/squid.initd-logrotate-r1" squid - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - newinitd "${FILESDIR}/squid.initd-r1" squid - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - rm -rf "${D}"/var - diropts -m0755 -o squid -g squid - keepdir /var/cache/squid /var/log/squid -} - -pkg_postinst() { - echo - elog "Squid authentication helpers have been installed suid root." - elog "This allows shadow based authentication (see bug #52977 for more)." - echo - elog "Be careful what type of cache_dir you select!" - elog " 'diskd' is optimized for high levels of traffic, but it might seem slow" - elog "when there isn't sufficient traffic to keep squid reasonably busy." - elog " If your traffic level is low to moderate, use 'aufs' or 'ufs'." -} diff --git a/net-proxy/squid/squid-3.2.5.ebuild b/net-proxy/squid/squid-3.2.5.ebuild deleted file mode 100644 index 2557d93e087d..000000000000 --- a/net-proxy/squid/squid-3.2.5.ebuild +++ /dev/null @@ -1,237 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.2.5.ebuild,v 1.2 2013/03/01 12:47:50 jlec Exp $ - -EAPI=4 -inherit eutils pam toolchain-funcs autotools linux-info 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.2/${P}.tar.gz" - -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 icap-client ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - 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 ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:2 ) - selinux? ( sec-policy/selinux-squid ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4 - sys-devel/libtool - dev-lang/perl" -DEPEND="${COMMON_DEPEND} - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - sqlite? ( dev-perl/DBD-SQLite ) - !<=sci-biology/meme-4.8.1-r1" - -REQUIRED_USE="tproxy? ( caps ) - qos? ( caps )" - -pkg_pretend() { - if use tproxy; then - echo - elog "Checking kernel configuration for full Tproxy4 support" - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_TPROXY ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - echo - fi -} - -pkg_setup() { - enewgroup squid 31 - enewuser squid 31 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.2.1-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 - 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="none" - use kerberos && negotiate_modules="kerberos,wrapper" - - 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" - # not stable enough yet - #! use elibc_uclibc && storeio_modules+=",coss" - - 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 - - export CC=$(tc-getCC) - - econf \ - --sysconfdir=/etc/squid \ - --libexecdir=/usr/libexec/squid \ - --localstatedir=/var \ - --with-pidfile=/var/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 \ - --enable-esi \ - --with-large-files \ - --with-filedescriptors=8192 \ - --disable-strict-error-checking \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_enable ssl) \ - $(use_enable ssl-crtd) \ - $(use_enable icap-client) \ - $(use_enable ecap) \ - ${transparent} -} - -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 - - # some cleanups - rm -f "${D}"/usr/bin/Run* - - 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" squid - if use logrotate; then - newinitd "${FILESDIR}/squid.initd-logrotate-r2" squid - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - newinitd "${FILESDIR}/squid.initd-r2" squid - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/cache/squid /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 2 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.2/RELEASENOTES.html" - echo - fi -} diff --git a/net-proxy/squid/squid-3.2.6.ebuild b/net-proxy/squid/squid-3.2.6.ebuild deleted file mode 100644 index 71bfa5294350..000000000000 --- a/net-proxy/squid/squid-3.2.6.ebuild +++ /dev/null @@ -1,237 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.2.6.ebuild,v 1.11 2013/03/03 18:15:59 ago Exp $ - -EAPI=4 -inherit eutils pam toolchain-funcs autotools linux-info 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.2/${P}.tar.gz" - -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 icap-client ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - 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 ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:2 ) - selinux? ( sec-policy/selinux-squid ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4 - sys-devel/libtool - dev-lang/perl - sys-devel/libtool" -DEPEND="${COMMON_DEPEND} - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - sqlite? ( dev-perl/DBD-SQLite ) - !<=sci-biology/meme-4.8.1-r1" - -REQUIRED_USE="tproxy? ( caps ) - qos? ( caps )" - -pkg_pretend() { - if use tproxy; then - echo - elog "Checking kernel configuration for full Tproxy4 support" - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_TPROXY ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - echo - fi -} - -pkg_setup() { - enewgroup squid 31 - enewuser squid 31 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.2.1-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 - 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="none" - use kerberos && negotiate_modules="kerberos,wrapper" - - 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" - # not stable enough yet - #! use elibc_uclibc && storeio_modules+=",coss" - - 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 - - export CC=$(tc-getCC) - - econf \ - --sysconfdir=/etc/squid \ - --libexecdir=/usr/libexec/squid \ - --localstatedir=/var \ - --with-pidfile=/var/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 \ - --enable-esi \ - --with-large-files \ - --disable-strict-error-checking \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_enable ssl) \ - $(use_enable ssl-crtd) \ - $(use_enable icap-client) \ - $(use_enable ecap) \ - ${transparent} -} - -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 - - # some cleanups - rm -f "${D}"/usr/bin/Run* - - 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 - if use logrotate; then - newinitd "${FILESDIR}/squid.initd-logrotate-r3" squid - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - newinitd "${FILESDIR}/squid.initd-r3" squid - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/cache/squid /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 2 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.2/RELEASENOTES.html" - echo - fi -} diff --git a/net-proxy/squid/squid-3.2.7.ebuild b/net-proxy/squid/squid-3.2.7.ebuild deleted file mode 100644 index 695e2ba2d8c8..000000000000 --- a/net-proxy/squid/squid-3.2.7.ebuild +++ /dev/null @@ -1,240 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.2.7.ebuild,v 1.2 2013/03/01 12:47:50 jlec Exp $ - -EAPI=4 -inherit eutils pam toolchain-funcs autotools linux-info 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.2/${P}.tar.gz" - -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 icap-client ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - 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 ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:2 ) - selinux? ( sec-policy/selinux-squid ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4 - sys-devel/libtool - dev-lang/perl - sys-devel/libtool" -DEPEND="${COMMON_DEPEND} - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - sqlite? ( dev-perl/DBD-SQLite ) - !<=sci-biology/meme-4.8.1-r1" - -REQUIRED_USE="tproxy? ( caps ) - qos? ( caps )" - -pkg_pretend() { - if use tproxy; then - echo - elog "Checking kernel configuration for full Tproxy4 support" - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_TPROXY ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - echo - fi -} - -pkg_setup() { - enewgroup squid 31 - enewuser squid 31 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.2.1-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 - 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="none" - use kerberos && negotiate_modules="kerberos,wrapper" - - 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" - # not stable enough yet - #! use elibc_uclibc && storeio_modules+=",coss" - - 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 - - export CC=$(tc-getCC) - - 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 \ - --enable-esi \ - --with-large-files \ - --disable-strict-error-checking \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_enable ssl) \ - $(use_enable ssl-crtd) \ - $(use_enable icap-client) \ - $(use_enable ecap) \ - ${transparent} -} - -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 - - # some cleanups - rm -f "${D}"/usr/bin/Run* - - 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 - if use logrotate; then - newinitd "${FILESDIR}/squid.initd-logrotate-r3" squid - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - newinitd "${FILESDIR}/squid.initd-r3" squid - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/cache/squid /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 2 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.2/RELEASENOTES.html" - echo - fi -} diff --git a/net-proxy/squid/squid-3.2.8.ebuild b/net-proxy/squid/squid-3.2.8.ebuild deleted file mode 100644 index 931e9f386811..000000000000 --- a/net-proxy/squid/squid-3.2.8.ebuild +++ /dev/null @@ -1,237 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.2.8.ebuild,v 1.1 2013/03/02 16:47:51 eras Exp $ - -EAPI=4 -inherit eutils pam toolchain-funcs autotools linux-info 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.2/${P}.tar.gz" - -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 icap-client ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - 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 ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:2 ) - selinux? ( sec-policy/selinux-squid ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4 - sys-devel/libtool - dev-lang/perl - sys-devel/libtool" -DEPEND="${COMMON_DEPEND} - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - 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_TPROXY ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - fi -} - -pkg_setup() { - enewgroup squid 31 - enewuser squid 31 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.2.1-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 - 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="none" - use kerberos && negotiate_modules="kerberos,wrapper" - - 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" - # not stable enough yet - #! use elibc_uclibc && storeio_modules+=",coss" - - 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 - - export CC=$(tc-getCC) - - 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 \ - --enable-esi \ - --with-large-files \ - --disable-strict-error-checking \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_enable ssl) \ - $(use_enable ssl-crtd) \ - $(use_enable icap-client) \ - $(use_enable ecap) \ - ${transparent} -} - -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 - - # some cleanups - rm -f "${D}"/usr/bin/Run* - - 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 - if use logrotate; then - newinitd "${FILESDIR}/squid.initd-logrotate-r3" squid - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - newinitd "${FILESDIR}/squid.initd-r3" squid - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/cache/squid /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 2 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.2/RELEASENOTES.html" - echo - fi -} diff --git a/net-proxy/squid/squid-3.3.1.ebuild b/net-proxy/squid/squid-3.3.1.ebuild deleted file mode 100644 index 1036792c62b5..000000000000 --- a/net-proxy/squid/squid-3.3.1.ebuild +++ /dev/null @@ -1,240 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.3.1.ebuild,v 1.2 2013/03/01 12:47:50 jlec Exp $ - -EAPI=5 -inherit eutils pam toolchain-funcs autotools linux-info 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.3/${P}.tar.gz" - -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 icap-client ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - 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 ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:2 ) - selinux? ( sec-policy/selinux-squid ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4 - sys-devel/libtool - dev-lang/perl - sys-devel/libtool" -DEPEND="${COMMON_DEPEND} - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - sqlite? ( dev-perl/DBD-SQLite ) - !<=sci-biology/meme-4.8.1-r1" - -REQUIRED_USE="tproxy? ( caps ) - qos? ( caps )" - -pkg_pretend() { - if use tproxy; then - echo - elog "Checking kernel configuration for full Tproxy4 support" - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_TPROXY ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - echo - fi -} - -pkg_setup() { - enewgroup squid 31 - enewuser squid 31 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.2.1-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 - 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="none" - use kerberos && negotiate_modules="kerberos,wrapper" - - 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" - # not stable enough yet - #! use elibc_uclibc && storeio_modules+=",coss" - - 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 - - export CC=$(tc-getCC) - - 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 \ - --enable-esi \ - --with-large-files \ - --disable-strict-error-checking \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_enable ssl) \ - $(use_enable ssl-crtd) \ - $(use_enable icap-client) \ - $(use_enable ecap) \ - ${transparent} -} - -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 - - # some cleanups - rm -f "${D}"/usr/bin/Run* - - 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 - if use logrotate; then - newinitd "${FILESDIR}/squid.initd-logrotate-r3" squid - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - newinitd "${FILESDIR}/squid.initd-r3" squid - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/cache/squid /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 3 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.3/RELEASENOTES.html" - echo - fi -} diff --git a/net-proxy/squid/squid-3.3.2.ebuild b/net-proxy/squid/squid-3.3.2.ebuild deleted file mode 100644 index b9e2f1f8e346..000000000000 --- a/net-proxy/squid/squid-3.3.2.ebuild +++ /dev/null @@ -1,237 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.3.2.ebuild,v 1.1 2013/03/02 16:47:51 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.3/${P}.tar.gz" - -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 icap-client ssl-crtd \ - mysql postgres sqlite \ - qos tproxy \ - 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 ) - sasl? ( dev-libs/cyrus-sasl ) - ecap? ( net-libs/libecap:2 ) - selinux? ( sec-policy/selinux-squid ) - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) - >=sys-libs/db-4 - sys-devel/libtool - dev-lang/perl - sys-devel/libtool" -DEPEND="${COMMON_DEPEND} - sys-apps/ed - test? ( dev-util/cppunit )" -RDEPEND="${COMMON_DEPEND} - samba? ( net-fs/samba ) - mysql? ( dev-perl/DBD-mysql ) - postgres? ( dev-perl/DBD-Pg ) - 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_TPROXY ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" - linux-info_pkg_setup - fi -} - -pkg_setup() { - enewgroup squid 31 - enewuser squid 31 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-3.2.1-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 - 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="none" - use kerberos && negotiate_modules="kerberos,wrapper" - - 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" - # not stable enough yet - #! use elibc_uclibc && storeio_modules+=",coss" - - 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 - - export CC=$(tc-getCC) - - 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 \ - --enable-esi \ - --with-large-files \ - --disable-strict-error-checking \ - $(use_with caps libcap) \ - $(use_enable ipv6) \ - $(use_enable snmp) \ - $(use_enable ssl) \ - $(use_enable ssl-crtd) \ - $(use_enable icap-client) \ - $(use_enable ecap) \ - ${transparent} -} - -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 - - # some cleanups - rm -f "${D}"/usr/bin/Run* - - 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 - if use logrotate; then - newinitd "${FILESDIR}/squid.initd-logrotate-r3" squid - insinto /etc/logrotate.d - newins "${FILESDIR}/squid.logrotate" squid - else - newinitd "${FILESDIR}/squid.initd-r3" squid - exeinto /etc/cron.weekly - newexe "${FILESDIR}/squid.cron" squid.cron - fi - - diropts -m0750 -o squid -g squid - keepdir /var/cache/squid /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 3 ]]; then - elog "Please read the release notes at:" - elog " http://www.squid-cache.org/Versions/v3/3.3/RELEASENOTES.html" - echo - fi -} |