diff options
author | Eray Aslan <eras@gentoo.org> | 2015-01-15 13:34:24 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2015-01-15 13:34:24 +0000 |
commit | 099a05b0b77e2895123c8b975f1c2037c4576cb1 (patch) | |
tree | 42df53ce72222ecb7803e0a77171113f5f1aeb6d /net-proxy/squid | |
parent | Version bump (diff) | |
download | historical-099a05b0b77e2895123c8b975f1c2037c4576cb1.tar.gz historical-099a05b0b77e2895123c8b975f1c2037c4576cb1.tar.bz2 historical-099a05b0b77e2895123c8b975f1c2037c4576cb1.zip |
Remove old
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'net-proxy/squid')
-rw-r--r-- | net-proxy/squid/ChangeLog | 6 | ||||
-rw-r--r-- | net-proxy/squid/Manifest | 34 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.4.8.ebuild | 253 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.4.9.ebuild | 255 |
4 files changed, 20 insertions, 528 deletions
diff --git a/net-proxy/squid/ChangeLog b/net-proxy/squid/ChangeLog index f267d9dae981..be1a9e5929ff 100644 --- a/net-proxy/squid/ChangeLog +++ b/net-proxy/squid/ChangeLog @@ -1,6 +1,10 @@ # 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.502 2015/01/15 13:32:31 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.503 2015/01/15 13:34:21 eras Exp $ + + 15 Jan 2015; Eray Aslan <eras@gentoo.org> -squid-3.4.8.ebuild, + -squid-3.4.9.ebuild: + Remove old *squid-3.4.11 (15 Jan 2015) diff --git a/net-proxy/squid/Manifest b/net-proxy/squid/Manifest index 1aa5a95a9ed1..1e6c467f4a56 100644 --- a/net-proxy/squid/Manifest +++ b/net-proxy/squid/Manifest @@ -11,33 +11,29 @@ AUX squid.pam 315 SHA256 68ef4282f9fb8506df710d0ae16e84e991e9b138c7f1d0af9226822 DIST squid-3.3.13.tar.xz 2187728 SHA256 55d5875709b93f447788526527496956c508832abd1f9c651346e461c9d63221 SHA512 be7ec0ff949f94a4521c6aba2cff87b495ca626c85df5a9650e587c5723f2e52de68e939d8dfed7e8279be7a987c13a773d4f94864308d98d2a67c462b3b2862 WHIRLPOOL faaa5626a97589e486650fa7ff0231487fae65cf7d2ae962f36c7857c97d481c1f82cfd3326bfd0b690543abc01e5581feeaaccd77a8c34ea762abd1ec401f36 DIST squid-3.4.10.tar.xz 2161192 SHA256 fb6dccf9ba426eddfc7b5dfe8786971f9779c571a53739a8a41024b09b12f888 SHA512 4b90a8cb26947069d5cf2aeb6b7136b65ae3efd55d495f44af772f780b8c3f12de3b155a0992b6ab429efd2dc1461b551eb73db76a088bcc48118d7769c476af WHIRLPOOL 0da554852e2ba7725d1a4f726e231a1b180a0fab90626b53cbe95a2c14b36472a0ed9170f9b10d4709b10769c79a2478c588a88455910c16c2f60e48227ec25e DIST squid-3.4.11.tar.xz 2162148 SHA256 b4ede14221d043bbde94655aee195b090fe33a9a0a3d4ed83a9b41fcd46cac1d SHA512 e485e195f6ef95d7d2f5d327d9e229d9b3b678b035595853bc5d9a56a0494536239fa591bd56213014e08f9584e56d3511b0429e9fe9076d6e64a8b09867be69 WHIRLPOOL 5a3b1829eeda2b507971346bab3af142f19c650185940af82a238787b7265ab5e51535e815e1f87f0800071ca3053d8a0195da0ef02d27361e83951c4631ea63 -DIST squid-3.4.8.tar.xz 2159904 SHA256 9146017d0e4ad48fbc1d1b6c03d544227c8e7fc7720952b588b688e65beedc18 SHA512 bb965847469be73575ae26b8221b768aa36c9b4e43b0e0ce1722e4cc8c48b683402c06ef4abd655239bab497dfb07658977d32b0d005535ac3dc1aa03ec46689 WHIRLPOOL 505514fc9c286242d565e95778e13bf9647360760f3906bed403763d78759b69a15e587783dba5ecc7ab7ffa26479b904cc54123f5920ae7cf3e07a5800ebc68 -DIST squid-3.4.9.tar.xz 2160416 SHA256 0a0f13bc745437e78df14c31828d9324979b1f2f940b9ce8c9d5bbb7d5fcaa7c SHA512 d9bcb3132723244113a501de02d77430be011c4a0a4c6d96d71f9cc2667c992ccb17723bcc9a9b1e5dedaa4b07bd4d5a5bc491f581bb4fb0e3ecb067a0fd0e1f WHIRLPOOL 8c9942d7b8dd95d8f84378c86cc2c5c887a5bb34a140917e267e8506c2d3735a4d255db9152e5fcbee1fc940df7c5c931897ea59ae1cbe92ef701b2770e9ab84 DIST squid-3.5.0.4.tar.xz 2286392 SHA256 b26f62fc63772b62fef3206204f1fa638057605b6fa26d84b1a9bdc6a3de81c0 SHA512 94bc7a3c926f8bf999b23581b62b80e7c0b022fd171da2e3dfe3784c17c73eed96b665e38123f3865b49fd7cd5584a82c78885574f00d31a4dc6287cc14b18ea WHIRLPOOL d206be06dada1453c42d61ad30b57c603db63156c5541ea57573d353fbd2636f6dae61d56eb567aa6407e43508bd2389fb444f1753357bebd6b588574b695969 EBUILD squid-3.3.13-r1.ebuild 7758 SHA256 504dc84402101a79f200e5ffded9c116536d8cc2f279a820e384680a9c2f66c0 SHA512 9ea2ac08743d1666d9f6af10142994fef9c47020a1183d87899c4813eb598584885fa3507a0829b94292e0f251a9895128592b37fd0d6816a4da09e001faefe4 WHIRLPOOL c3e6b5081f8078b629548e49454725a85124544d6169b65ab174a08196419964cfc91cbf1a2503d27b8ce303be3641b9b249ab959127743d6314da1cd85e8045 EBUILD squid-3.4.10.ebuild 7957 SHA256 ae31160052f47cfc0586a54eb5ed6f4122ee000cc61fac25d800d2a30ed27985 SHA512 0fd413cf062d7a20b16d890137188c6f3ebfa5349ccc6d0e60730a7ea0d01bd0ab8cafd35795b7a48c918fa0fdd52ac59f033a48b3c2dbb68349e3a8c57463e7 WHIRLPOOL 102cb4b3ec0c311bbe464718f1a6149177f3b360d03379e96dc7615254d8f6c497230d7450ddd174570a451061f901e66ce9e400f4f57c13d44b4c986c4cc00c EBUILD squid-3.4.11.ebuild 7938 SHA256 5fac61a6c47aa563e9429e7b55405bde3c7a691a5d2c5940f543fb96e8dd69f4 SHA512 6a7d2e6233176215b6b1c806a6bab47f8687e6bf4109e31dfa0590958f9b280ac2e6ae72dc077fc338ceaafd546ec39c5de591a9354d1606e36a58d044838c57 WHIRLPOOL dd3f11a7909d1835daa564f6b50da48aec8f185d499618e549b124861b74468d93fa6d895243b4c3c36bbcf99b11d5e7c16f354ae8fa1a532e21d358b5134769 -EBUILD squid-3.4.8.ebuild 7866 SHA256 7584b2a1ec1cbc8ec6f64fb22e9f4a8a575598e5a00aca4ea4e0688babac6c89 SHA512 c1eb1338e34a939ac26075b6f57c1ffe3270595a8fb078958cd6c39f9bafeae46b5537f77cb0a5ce9a5c17db657a2d76b272837f6dfed7ee29f6e6b88c1b8d4d WHIRLPOOL 96ee22863ef8f861006492fb7f5c8da76a2202468c195021c6c39845a9526a159ac75c6c46fabb25bc27b76a1c40c1955c5f629895f66c2edc8fe09f4926d0d7 -EBUILD squid-3.4.9.ebuild 7958 SHA256 037d46f9d9bb69b6809e41454372b60bcd9984fdf6750b3c9556cb445c8dd255 SHA512 20e315cef91d5dbf01dab9e8488984b08c7e2540463b07382738d42dae5c4152dca849f18dd3a50456c966bb333dcab368022ea3bd0a4f88ff02a4def73e21ae WHIRLPOOL 18222ba04cce8c67d8ca17b7c71c904c2b46266f946c45e6f5b7a7f7190a9db9de8c8e81a1ef9d112ef01c1b01c18d18f20dcbcadc4d5cbf64e9b9d33e009402 EBUILD squid-3.5.0.4.ebuild 7924 SHA256 d17656eeb20b764ecd6a4a5b0abb2bfb5e5b4d98cc8fefef6d0380f311bd82ae SHA512 22d77bb3ce6a11863600dd6319b4d61075927816f32905fd9aba1b918a9d12d81227f1fca7a2524a988f3b4c7b521dc8250a79d94a9305b2e570a03e2a2e495f WHIRLPOOL deb2ccb916d3b0c74d3b1989cd7ef26262178369246e73b77adbf9749d2e43f690734f4feceab1a99172377d44d9cd422d0b8b00190bb00897cf77b4a0ac7a11 -MISC ChangeLog 92255 SHA256 c3464858eb5590e258ef84b9199a688790d18343ef71c29735d93aba6bb5be5b SHA512 44818b82931896c147a9c608f322968f430ac6cd87b0281aa64227a755945e4f606535c5da42deda659d8174023eb86bc10d2aefb5c837a3546f25fa0ec0fc79 WHIRLPOOL 2575df73851d10b9738e14fbf1c615a1dad75ffbad03b756c1d34835740ec760e6867d2b57f824837e95f5a6de3e8cb58afee358a5086214b18a27ecea3550f4 +MISC ChangeLog 92357 SHA256 90409d5aebdc1c90263e3f286e0693131095c7332003699a7f85607fdad489af SHA512 5472c7949f24a2c032b61c3445dabc91f9ce29d5a83ad27c381a43dc3ffc86995195b9a8bdd9128412f5e947772775b11a76c24b3c59565c73c414738ba6039e WHIRLPOOL 808911477a6cf909cf5aacca736becb43ffc258ef1c3a5d26bb88efcc70894d39d0304e8fce6af46578dcf112d6f5b26832f9aeb9003c07f50f9b8bf53d26a07 MISC metadata.xml 1545 SHA256 72b1cd3b3476500f50f936459a522eca2fabcad046cc2647662bf18b75d57edf SHA512 20c78e621a6a58697108ae3e0a543a3ead301ccb50ba54266fa9775ef66fc24590ccc7a24d20883af656b8a295fac26527c65d236d4d46ae0e0df0c2d15c993d WHIRLPOOL 90a2470ab97b9d56e0b73410741194f30b1bed09f99ab71940ded398d3796ff8d87250ccfe419c544b2e85cebd8706d0c4beed926870f290694074c34317be90 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0 -iQJ8BAEBCABmBQJUt8F8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BAEBCABmBQJUt8HhXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQjk1NkM0NUMxNzFCRTY4Rjk4NENDMDk3 -N0YxRjE3NTU4NkEzQjFGAAoJEHfx8XVYajsflCEQAJTpwy7VXLGcbfZuWdNC8XTU -stzKexBd8tzqea6xRQzTjG/xhKC4LYaYhVaxtQaODB2Kz51p2SnVqjLjLIHARtUj -oW1xxqbAC/3zH/H2WWxsj0jfuVPwnFz6KG+Ew1c/N7XYNm0uDplmhYdgNYrDGQjB -8MRaodmbiethXAeoG7KTC8UdpStBC5kPoAH1XjdsiV630hGxaRMXWLVnfRQmCD11 -qExs3ecU3k2oolc1vGeHGLeN+swL1tGyZTOXm28FpZOpCGlDCtnRREGIuVBZWajQ -RLHOlnpNjr2hGDrzHJtCRrbtou1fiOP38rA7nEZak82qL5Pa+F/CWrL0Fl2oT15p -ljMDqURbnlhyyG8XoGohccmkf9CbHXwyeg+OI26yWebZf+cr7MgqGrFjFAaT5BQE -mmY6dHPp/VIdpq3cDXlEXd9OjS+fd8xy9B4vFh700PeLCu1VDxDcTycFA+jvkN/V -u7nrYscHJ6DwRNf6Nyke7IIi5QFdWhM73Ir28s8OlOYCXivONrnqblpHRwZanmm/ -2iaQPGeCEeyklrkfC+LkTOycuSGRE36iTk6dgHnvhoOV1X2rSDfs59FbtC3sHZk1 -muhE8xNJX5xBy1qBycuoV1yVe9BHFi0aaGg8vChNsS4O61PF+Y4a8yn8ZM/t7DbU -t37Xw7WsPOqsxnw0d7cz -=DNTr +N0YxRjE3NTU4NkEzQjFGAAoJEHfx8XVYajsfdagP/0HR1oL62deU7s2vImDkPeK/ +cmyHwx0Uh/CeLEjnN1VXxZ6hgADGPnmurnmCNRapY1mOw6BtBisqnPpxNO+pqR9u +XYqHrBo2ZsNMEBi56PKeRuUA2rSxZLIi1KDQGmJNOOWpFYbQf6ymkeyCKdeARSpq +qrKGy+AxTNLVQEl3eCLYzwoD1ZK8YTaozBgQrbE83eS1bMFMSDlMwDlaIxSAvAUz +nfWLiH7eE5N5YUYo0rHJulHm0zrrWfFi7Urh59+OgDQ32UD5mGbc77LiZC37LKep +TVmc6f5hpi9JgyIheNMpo79dcj0sS/5HqppTQBcKnMirS9oAdv1k5QJPV8Eu5pYG +VneNmuvUGBcemt1TfSyj8oEtnDjC7BuGYTC8XcR1UG3LYJDcZZJjcGvfV4rAVMmU +8a1CFKlwO6VT9F9cmYXLozOiFQmt3e1KwYIvEo2Re1i798BE/plA2rulKQytLrwl +/AmyfZ2+DrrPtcr187P+Uri7F1z0t2jFIEfuA/5/2fNetrHRssYYxCsH2FwL9rIN +xV+BBub0PozNIhgQaci86r4TfheaWDejGDL5mXcHRcfin/gzeDm/CPaWG/HpTk5g +9OwWW+4VH9Nwt3iKUxQRNYNdYenTZK7lULXoIF69mEMzfA2bSeBUWhxIkiz4k6Pw +PLhdvFIGjae8X+ZAv9re +=Q1rn -----END PGP SIGNATURE----- diff --git a/net-proxy/squid/squid-3.4.8.ebuild b/net-proxy/squid/squid-3.4.8.ebuild deleted file mode 100644 index f1c2e40a660c..000000000000 --- a/net-proxy/squid/squid-3.4.8.ebuild +++ /dev/null @@ -1,253 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.4.8.ebuild,v 1.3 2014/11/21 10:04:59 vapier 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 - sys-devel/libtool - dev-lang/perl - sys-devel/libtool" -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_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.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 - - 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.9.ebuild b/net-proxy/squid/squid-3.4.9.ebuild deleted file mode 100644 index 68c830b2a627..000000000000 --- a/net-proxy/squid/squid-3.4.9.ebuild +++ /dev/null @@ -1,255 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.4.9.ebuild,v 1.2 2014/11/21 10:04:59 vapier 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 - sys-devel/libtool - dev-lang/perl - sys-devel/libtool" -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_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.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 -} |