diff options
author | Eray Aslan <eras@gentoo.org> | 2014-12-10 15:47:28 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2014-12-10 15:47:28 +0000 |
commit | 3374a743287b071bee5730ce4521e99c08603071 (patch) | |
tree | ad753dbf39569abf51bfd1b5ec6cb8cc06e4d32d /net-proxy | |
parent | amd64 stable wrt bug #517344 (diff) | |
download | historical-3374a743287b071bee5730ce4521e99c08603071.tar.gz historical-3374a743287b071bee5730ce4521e99c08603071.tar.bz2 historical-3374a743287b071bee5730ce4521e99c08603071.zip |
Version bump
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/squid/ChangeLog | 7 | ||||
-rw-r--r-- | net-proxy/squid/Manifest | 30 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.4.10.ebuild | 255 |
3 files changed, 277 insertions, 15 deletions
diff --git a/net-proxy/squid/ChangeLog b/net-proxy/squid/ChangeLog index 2aa37fa991d0..046619bf36f2 100644 --- a/net-proxy/squid/ChangeLog +++ b/net-proxy/squid/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-proxy/squid # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.498 2014/11/21 10:04:59 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.499 2014/12/10 15:47:16 eras Exp $ + +*squid-3.4.10 (10 Dec 2014) + + 10 Dec 2014; Eray Aslan <eras@gentoo.org> +squid-3.4.10.ebuild: + Version bump 21 Nov 2014; Mike Frysinger <vapier@gentoo.org> squid-3.3.13-r1.ebuild, squid-3.4.8.ebuild, squid-3.4.9.ebuild, squid-3.5.0.2.ebuild: diff --git a/net-proxy/squid/Manifest b/net-proxy/squid/Manifest index 0f14f7a995bb..62aab5745310 100644 --- a/net-proxy/squid/Manifest +++ b/net-proxy/squid/Manifest @@ -9,29 +9,31 @@ AUX squid.initd-r4 3370 SHA256 3830cb94600ac658a6ff1f9f31bdbece64caf3ad23c62ae0a AUX squid.logrotate 103 SHA256 e5ddce1c9af851040affa15e1a59e89d8db0f2eea7c461320a1d3784578f4482 SHA512 d75a667c3ffa32fdd938ef40df8813a467d9f10b2363107bf915cb0c99834fbe8d0eb502a18a816875b67b0db1b27806ed3caf620c38516040cb644b225f5a55 WHIRLPOOL 1cbce1fb05d4661d26f80baeafad0d3a5de1108a21eb6519775b9be2c549d1ca1b85575b72941fd246e4e9fbdf466b302b767aa7ce002f990f6ca4a9844e1e41 AUX squid.pam 315 SHA256 68ef4282f9fb8506df710d0ae16e84e991e9b138c7f1d0af922682219c7a971f SHA512 a73c98eef2d99bfd871c192195f3c815bff1cd4fa66b87ac185fde891e5cf5fb464fe0ce376c16ac68065c53726784229ad96c24835138244eee2ca2807887c3 WHIRLPOOL e8a6345c634694ce1e21fc4d69ea059d2da9f5d3b7ad34b4a49c570161cddab615fb4ed9e274397ddd4887e4b027aa90339bb8fbb5a71f3bdf506d70cefb99c1 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.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.2.tar.xz 2282452 SHA256 cf2641212ba705e0953bb95fc01d29b8a63fb3af936a4e0636429b4c339b6c32 SHA512 d07103b021eb71b0f4e6292404fd8d18e8dd7e60e3d6245015345780359512b5c2be74510a80797451c22a4b56275de86aa4b27ceb32176779c1452e5b9efafc WHIRLPOOL c1c65926cd2c81fc4606924daab829d078c6c5e989a248fc24570a47aa9d12fd69df45bf9d246becd5a3637efd0c84b0713d96639ed3c9579894c58c47914812 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.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.2.ebuild 7997 SHA256 ba718f15aa7d265e2bf2f1e1721aa963bfe367964703c26589aede89af6184fb SHA512 33daed6771662457b06fef1709bba25b6bfcf6fff091a57dee426f86acc108bf612ce06c50bdd80d569a750aff41a5125f7bda4b03cd6279252ec57ea0a3fffe WHIRLPOOL 01256e9646de9ec9f53f8d2e17f23eab74458573eed6c11697be6a863509f4db7069a7295fe66cd3425a229adaf7bcae66915fffd0ead2ec1ee6b52d1d00876d -MISC ChangeLog 91723 SHA256 994c648c8330c2280eb7c7591857f3246f2d3185ca6bb42f7d8e94eb70c10a5c SHA512 2e3ff389287934e36f19784e52c1f2708fe37cef97375d8050cd2bb75ac9fec7ec3fcc881e174e3f213fac158906771638e44259ccbed246db78e13f4c482b15 WHIRLPOOL c579ce9dd904eae884ba762ac17d892e3aebed329f7acd771eb7a5ff00def06a8256d253e57d2f258c06e5fbb25e5d61a86723e0bf480480fcb19b2d0e5d2e78 +MISC ChangeLog 91832 SHA256 81e13646641562508cb54b5b88dace77aa864b181997c504da29c160a909e74d SHA512 6b081a513486da62fd84226fe2dd0e3be71dfd8bdf50041261e0dcfdfa3606c0acc8957071a13c672f5c0404a53b1ffb50d8c3bc3d864c1011622519f3213cc3 WHIRLPOOL 6d604c7c745c222eaf90904b57696bbbaf420077e77440550509d494b83e2cffc0ce7290a942f9338d1760983362ee2f78b034ee8ab0811027edc802e4110a97 MISC metadata.xml 1570 SHA256 7a084172a69649c4565af822f331e3085911a506e422ffc68b8a0082ee07ec6e SHA512 74ee493ede7181e22dd1d6a2889ddf3b4443ab677d3801b0c50b7c728c303f813e0a53dfc0931efbade78b98185401b15079e80e8742358a2a080d5a21f7b7b4 WHIRLPOOL d8239bc47c931b8a0e10ec4f16d91845482c35a029bb1d50914874150ec71b5f1a61def07f566ae4f6b10468426e8426ea8a319c30e41f985f5faf82ab1e6942 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJUbw5NAAoJEPGu1DbS6WIADZAP/1btio8A0HChH7IVqUbdDEJj -ALVfvnhq6XzLaRjmGJ/dAwXSMpDXpRKoxBf0CsdsxiUqZOxljwJ0JN4tPMy5pA4f -tSQ7m4gOtnzCl9RtjEn8BwBDdsLgA9yVAzrOR1Ouf5io1zTrJwEIfE7ldXG8MHE1 -AmouwxO5+/E4bzDZa7seGEsjmBLkZ3BEcLidNn2UxZ9TQCWTRde1b82Vy2dOV/rK -vYkhLQOMcFLx7eKp6xdwHO3OQy2iN8RCzVHRqXgV63+5F3YhIqv4FFh7/L/Fk4RI -zQGpUH21lqpNRPBdX3CFBkNI8Cd+16N/GXjUtnSLKgLzciUDoprE3e6azgoxjcRf -9F1AoZ7i6x4NfgZ7mAdovHvL1ORfhXdQZNGUKLIaVldVClIT8Onth+9s9kPmOIB3 -jfaiqkBMaPgaVl70bj4a960YMcJBZ/yWwkUt1e38EoDKLlaW9iwPEe51or71UEs9 -SJ8hQu5JeEDeQoxKl6Dz9WEHteH20Bbzy2bNYbBWAQsEq35cAwo3ZkgfJO60TB2+ -WC+PX6Aj1vnpXX7yWVGYvy6ZmCpTEZvVG6JV1nC3KPgmeFbp+DzIkvMia0nXIO6p -3En9E6hw1ardS26Z6JBTvgiVXeNuHMGAQ9mhhv0AyzZS6bh9qrG21OTDyzibGyV6 -wnTIruPqBMcEFUbxBdxU -=65Wy +iQIcBAEBCAAGBQJUiGsQAAoJEHfx8XVYajsfXdcP/25ZyTvZgmJNeu9SPMQY7wec +qa6GbnehfZ5kJjU0qvw9HyxeSe6/roxawKVA3JmTHagf2O73YppjS986mzMpo9RJ +zQVc+9rBmyG3RIaAcsZ0c9W+5IWadKXeuJq0mQ8u13XbVLaO+obmEqXEXXycdUzY +/rzvgHacJwRpRuVRrP6AEvYDyc4jSiO4KUWiEaVtuvEcP6udt72oHBgFVnCpYBjm +b6fls5mkxKPzZcPJBgUdB/J1ZLqH7MpQIGivmk8iQhU9jCemkzmyk8gmPN4KUyQX +TCDcFqNrKlajsAXxDVVt+8U5IeHXrGVrnA/lVflhVTDNkcDeUu1dg1UDKcH8WpBN +u9WOJlf8F/JQQfInx+iaPK105HY8zI7Uo08MF9btz7RJxi+uA6DQrC4D/s3Pfz/d +Ta+dlY7xuKWYvqNTfr7HSv4nMsWgtPrim1m1BqYPhNrlerQZ5as2IXjr9mLHnoce +IwOecsKlB2Nij0cDdl8AMVzqx2YZGU3PmbGDl6h737YILAR92INE8UhhoI0Sd+XL +XXAXju6wEa0oPxZhYRUpwueYDoKq7h2TpYbx3H6E4c3iMC82TcOJmk9Fu/mvpyR8 +gP9B4mF0Bo2Ab123gqQWrEr+TcYrb9LHb4ItXzBk1Yb/h0O7QhEl6Vs2CbmxT4oh +N5y4r1j/KpezDt+8fs17 +=aSlH -----END PGP SIGNATURE----- diff --git a/net-proxy/squid/squid-3.4.10.ebuild b/net-proxy/squid/squid-3.4.10.ebuild new file mode 100644 index 000000000000..1c4ca87b9d0c --- /dev/null +++ b/net-proxy/squid/squid-3.4.10.ebuild @@ -0,0 +1,255 @@ +# 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.10.ebuild,v 1.1 2014/12/10 15:47:16 eras Exp $ + +EAPI=5 +inherit autotools eutils linux-info pam toolchain-funcs user versionator + +DESCRIPTION="A full-featured web proxy cache" +HOMEPAGE="http://www.squid-cache.org/" +SRC_URI="http://www.squid-cache.org/Versions/v3/3.4/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \ + ecap esi icap-client ssl-crtd \ + mysql postgres sqlite \ + qos tproxy \ + +htcp +wccp +wccpv2 \ + pf-transparent ipf-transparent kqueue \ + elibc_uclibc kernel_linux" + +COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 ) + pam? ( virtual/pam ) + ldap? ( net-nds/openldap ) + kerberos? ( virtual/krb5 ) + qos? ( net-libs/libnetfilter_conntrack ) + ssl? ( dev-libs/openssl dev-libs/nettle ) + sasl? ( dev-libs/cyrus-sasl ) + ecap? ( net-libs/libecap:0.2 ) + esi? ( dev-libs/expat dev-libs/libxml2 ) + !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) + >=sys-libs/db-4 + 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 +} |