summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2012-10-08 07:20:25 +0000
committerEray Aslan <eras@gentoo.org>2012-10-08 07:20:25 +0000
commit848fc7ad4d964062bdce34b4d6191dbd61ac3e7e (patch)
tree1f3d792162e787278aaefad7140e65d70c95d6ff /net-proxy
parentx86 stable, see bug 428196 (diff)
downloadhistorical-848fc7ad4d964062bdce34b4d6191dbd61ac3e7e.tar.gz
historical-848fc7ad4d964062bdce34b4d6191dbd61ac3e7e.tar.bz2
historical-848fc7ad4d964062bdce34b4d6191dbd61ac3e7e.zip
Version bump - bug #437498
Package-Manager: portage-2.2.0_alpha135/cvs/Linux x86_64
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/squid/ChangeLog7
-rw-r--r--net-proxy/squid/Manifest30
-rw-r--r--net-proxy/squid/squid-3.2.2.ebuild236
3 files changed, 258 insertions, 15 deletions
diff --git a/net-proxy/squid/ChangeLog b/net-proxy/squid/ChangeLog
index 6c4d8164f77b..3853d1fedad8 100644
--- a/net-proxy/squid/ChangeLog
+++ b/net-proxy/squid/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/squid
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.352 2012/09/26 16:08:59 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.353 2012/10/08 07:20:25 eras Exp $
+
+*squid-3.2.2 (08 Oct 2012)
+
+ 08 Oct 2012; Eray Aslan <eraya@gentoo.org> +squid-3.2.2.ebuild:
+ Version bump - bug #437498
*squid-3.2.1-r1 (26 Sep 2012)
diff --git a/net-proxy/squid/Manifest b/net-proxy/squid/Manifest
index c01fb9a552f9..623f93d823ae 100644
--- a/net-proxy/squid/Manifest
+++ b/net-proxy/squid/Manifest
@@ -20,6 +20,7 @@ DIST squid-3.1.19.tar.gz 3403110 SHA256 1a2ebfd832364ada4793532dcc59fb79588ee381
DIST squid-3.1.20.tar.gz 3489463 SHA256 a0d52fa5d04a5382d63627ff622cea23f5f39a8f8a931f9ff10e4219fff44198 SHA512 2d4fb73dc612f907f32642cb0136d26f266f522aff66b8e005082d94c4cece4408cf636d40c6e8f5dda77074173c586657815c61c24ea976bf29fc0105242b9d WHIRLPOOL 387662bc6622777dcd6b4dbce4a2a04f88667aaea6e2949065f8eaf6c2d5f385a628ef168024f5ec7ff08f0515451eb12d530ce93c3a01e70f790de2b602d0ca
DIST squid-3.1.21.tar.gz 3488540 SHA256 04ad5693bc3a018d63cb4e4ac4822020def77d50ec40581e5c298fa14525acf4 SHA512 e6ec25b07be94a867f8cb729d015935bec84f1e8762612b165ea57e6fb7998b7a9a7976d7f76f814190802aece28021177a24ad0c5f18beba99fef6a34ebf0a7 WHIRLPOOL 46670e177e2f0fcd5a4c20948332ba8a5547026151335df19154dcddeff127d8b880563ac10c3b33ab1f151f2d826be0cb4ad58f7a68b0bb9c3a96450a57dcf9
DIST squid-3.2.1.tar.gz 4100448 SHA256 793ba5f04f3d3797b624fe061f8be9ededdc9f68cd39c1b58df78861ed4382f7 SHA512 2b0b80670634908cd5e93c68e9c50bcf5e773f26cd2197cccaaba74dfab6c40e9965b7691315406d2d90d318495df63e038436b5f6d4cc97f6f36655c765a2bb WHIRLPOOL 720598de6a2e963a42db31ef352836b2ff647815c85a3087f477419fe8f7ad2d3237ef806fd84dc1f68a8763ccf97af62f1161938f5205b334e96e96ca09446b
+DIST squid-3.2.2.tar.gz 4102323 SHA256 36828bb92f5f7cb4343b5d4ceebb654c6a1a1479e75a3514fa1a509495987916 SHA512 abc4307317bf2f25b933200d89a6ed610dc42e1179be48065e4501be53650358136e28967687d52fee39ec192ca569ec8b1bd4b67cd0725736c0440cb557b7b4 WHIRLPOOL 65591204208be238a6e9e830d26831a7aed6599f67f792b06aff43493ef14e2fbe9aff98d16923b023d46bef74ebe3070bc92234a68f1c63841cf611291dd6eb
EBUILD squid-2.7.9.ebuild 6178 SHA256 b263b7b8758187f71207a7adde5175f87bf56706c2b0132ef3fe095899a7b67f SHA512 8b466764141b57bd046398d5febcf58479d1936a928c764f091ff9f26e898d9995095be4326e57f062b770502beec6c992757cd2e1acb104699fc6e6c541d52d WHIRLPOOL 2438fd4885210d56217eed4b5bf125997c74bcffb8348a2073ef3bdbe9461e427dce6f3dbda299b13a2c5fca455ea76b2711b1139ed3bf8f98d533cfda269f32
EBUILD squid-3.1.15.ebuild 6625 SHA256 13cd8ba2f2546a244fef02df7d3f21bf35fd8857f06b90e63a72167c5cf156b4 SHA512 2973ab2d5314ec6d7af223f4c3d5da22116aee3ccbf4285561f43b7604e1ddb2e84c1b169bd626a1c50903fc42b038b6434dd4ccbc59ca1508d443d82735c16c WHIRLPOOL 941d18c74451eff543ae6b9cc2eff0ec2dc14c3166f402ed34332fa312b2731ad25210079d552efc02c582a64535d4eeff2c8e17cfda984f706c5efb581f0b22
EBUILD squid-3.1.16.ebuild 6633 SHA256 1cefbd112bb9dce241558ae87523ce3f9ee94435a1e8137bed6d65bac43fd439 SHA512 6e1296f9369f4f2e41fa24e5848ddfd2f00ecddacf4053538b269ecd0a18511467656bac55a6ee68ac651a1249b3051e4c1570ae6c6ad87001630ce3fe2b2dca WHIRLPOOL fd5b95801510cc605e76f1d0bb95f6cf345c3d4d8e3d19708d1ceee6f7fcfdbf4d2180994dcd22fd5139ea213d0697c4f2e408e981fe04577869c5c417ab146b
@@ -29,22 +30,23 @@ EBUILD squid-3.1.20.ebuild 6641 SHA256 64c6674cee87de0055dd27cf48c345cfb3e5e5dfa
EBUILD squid-3.1.21.ebuild 6641 SHA256 494236982f99275d67fd1e1241bd1dc42dfd90d65b4888f09af09bc7d3553399 SHA512 d1838d8fac7799310219966ef0515d8b477dcf7ac611bffcb3cc68593cf33350f45bc725dd33f33b4d37834da06ea0dff1d8bd2304315e8b96b8768d0406dc43 WHIRLPOOL 1668506f0fac06c1e03ba1771a7ded3322c430be5dc000be06e950ae5b32dbd9ca722e18c3cfb40749d0109f0528081615b9ac784fd2eef68155f7f0d128a070
EBUILD squid-3.2.1-r1.ebuild 7539 SHA256 c60b2a3c9e484d3fa7396149035f034ba75dd54881b9725cd7fec02036c2055f SHA512 5c7ae91e33719ce863f8d7ef105b6480c40e728ac86cc189493765e991da3319ae83da6172cb5684e6b0aa5e91c9da9a0ffe67ecad2797ed30026638788847b0 WHIRLPOOL 8c6ca3126d25ab3bfc8c7921fdd4fc4d040742f8114a8ed574e52d44bdb44ca3ed998b8ce0782e145c31c82a286aa394539c50220ff451b997d782aaed254864
EBUILD squid-3.2.1.ebuild 7633 SHA256 e9feee56fb5075f7418e07112cdfa6c8a2122817dfb6974566e61cdf6512dcb0 SHA512 3998b35a6f4b481dea00e2b994ada0f865b24ae9b1005220f0accafed1f42ec46b834e7a0dc18dbd5ccf5bde093eca892880ef82b5a8a0200434dd8bc5c6d5d9 WHIRLPOOL 4efb6d6025fe4d4e8a72a480e0955f6e5f96af0e1edfc82eacd804e752af2f5a02da62a6acf398be1b59783dc3f7a4a2a6cc3963c21b39a59766701667b6c6ec
-MISC ChangeLog 73067 SHA256 ea05a974319bbd5afd4fe0826817afe95f4bd9fecc0d9c7096b4c25ce0a30d78 SHA512 c80d50771918af8f1c587516c41e467b03e982dad92df0fdd091189ee4939cff49579972ce122be880eca5f5fac71898c922fbac079d619b19c36906e03b45d8 WHIRLPOOL 76a6a2e7545701b13f87ad0e5d2515c50d207f4d4b234b7ac3cdb559e6d5eb8be1366e1aaceacf81535397af66d57afe3802ac8876f9459ee257913b5478c687
+EBUILD squid-3.2.2.ebuild 7536 SHA256 9bdf4c7f555632f012a343eb6904dcd1a055ca8a5b23f22c6be97bec7c935872 SHA512 70aa31317576272536c6e23f5f9299d7d6b372bfb2c63b67c410f722166c8f4683dea44d31d5b4108369aba050b28ae1dfa447b4fd1d1b511c28360b31545e0a WHIRLPOOL 3ad5520e1103ea3500b0ecaed90aec57247f21234130790a63a16fb7ca75fc40d849bdcf7762346d18afc8ceb68a1e126d0d201cbda4462543eeb74daf12e479
+MISC ChangeLog 73191 SHA256 bf1d9050221d75405da855a056c693c6cbe9f6b3ee8da0ac1b481355d4bc2016 SHA512 f6aab705e2575595d112f4d05e4f9de817ef20cac53fbb0b4257ab5b6fa490e9f0c9b0a05bf2d7bfd11bb48274d0e19b736ca5b875396c9599bfb6c17742e40b WHIRLPOOL 33b3b267b51ed7ac5cc164f634c08f70dc67f9b24159c9cc7291c8fb79a5909fc5282712b70bf396699f12beac3f5bf4d81dc6a43ad0dcf4ef4b2de17925b1b7
MISC metadata.xml 1335 SHA256 07a1e3761c3f3f2c3524057a7321fef17742203c3ede39066e89da593e4c6265 SHA512 1876ea4e243a6a95e748cd471823191713fa5dad5fc64343e35d7cf345e504e2ab56109b9b8a1f4c0740c03770026773c825abd5a9635eea74e35aa67bcf55d3 WHIRLPOOL c0b2399f9c8f78a28753d27520c4d64e3c8aa8894e66f12162e0197e85cd9a81949e5e5868b2461ddb1d757b52a97674105820fd6e84fa4946d410e00effd965
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCAAGBQJQYyp8AAoJEHfx8XVYajsfA/UP/0MU6e1EZf1qOTSbAA/xixbr
-9+nlvUTVUxg2z8mP7LwjVoe/QUmDp70NNLN/e2f0Ov82SPB/ishpsRJ7TdtA0gLR
-njo8lbXisaUu/TBQlQaN337zoWW9spx5EjHzQy5uPZmGwCay8vRa9/ZBKO+sXexx
-NrEJj5Dbq/ghxgNEITArJdY2NqWQ9MCG40brm3H9txpBdkTEPeZIvGAzfb/fIebF
-0Um46YQryXrOjsxLdktEg2o1IM6n69qwGNb/viC+seO9N0S+fc94/u8/vHFr7a7a
-z/nzauQc0j8unPRL7pAsQFdj8bUbv88H4sIk8uXE028BtsEofjwAkd5xBIGRKgfl
-q8b3fak88rY/UJIoAvVhr/TeCBgWpOZYix887qz/oNtbtMzvIJEsVGaRQ/7gP7PA
-z4TP+uD7sMlWMf1BRZs3D81azTA9ffJ8Q7H5U5uMasEkPSJFHjoQSB4uuTnAhj8L
-PHXqRXwN1skpFMZMEhBY4cWVw3fhSUE4rxGr9hwrRfhb8S5eczCYIB2zQOiEuqrh
-GrEPLhIjXWHD2ikt97vVuC0c3McVdQEWK8LcoN4PT85SQBRL+FJpufN2Ok1f0ePd
-0mPVrJv00Mou+LcIYJ0meAGCgCPHJebjlpxB/DltJWJxFqZM4B4Bni2d99ja5OIV
-5hIIi/wMyvOHsAKacRJq
-=XRwp
+iQIcBAEBCAAGBQJQcn7HAAoJEHfx8XVYajsfZbAP/2mhW4zKUqlgH0rTFOQsQskr
+LqCplUVnpwpxlUYYKc+mFXz9+Aa3jAm3EWO0wOGuxMfu62mzcpvIBLNsSQf1MqBV
+0X/U36TV2lAcwY6OSZBjzlaxokSg4dRF2+y/b5mdSnQDb2A9P/ad8Rm0TUpatzmf
+XBMYavM8Tmht7ka0jy1QScjZiZpDk/pZr7RNPaVHjj58FhLRcYrCHifZJTZ4vG11
+ioirOdxsgO+P3z5QeIW4ErYhsNE91koddxtGe+ps4xYrUU3Rq1tC+Iu+7tsqWAke
+3z1TVIfnO5b9GhVCX7zTCmmk/l2vRuPC5z4y0xGPm3vR+kjf5paqTFBZWt4xeVbv
+/xvBMUUGw6/FNQ88eHSG3piR8tvAsl61rOEUHJu24DEC4FDE0dvUPM1D9n765v2L
+Nvw7ZwvzOzffBJ4fJ6PSh3KNu9LunZ7ZHioW8nYwY2iGAmOHJ2ayXKHYUxDhqRuW
+SYfqPR85e0QVzB+NWFD95wCDZI6UZS3oU1/owbxIPqVmfQ5XX1hQ2zdRRvTxPl7O
+JWqEsB3VTfLwwCk4QFlQ/QIf3Tx5pZ6YQry4QIaCAWnAe+HIfV2MAbWd1eQ8ilmH
+DJYmS1ot8s/oWebDCUfs9VkvXNDKcyYsdeaF72okIGo73scaai76eoDWUXW5bT5w
+iNTf/LL5F0Y3QOmFOCA1
+=sfom
-----END PGP SIGNATURE-----
diff --git a/net-proxy/squid/squid-3.2.2.ebuild b/net-proxy/squid/squid-3.2.2.ebuild
new file mode 100644
index 000000000000..4e3af319f8eb
--- /dev/null
+++ b/net-proxy/squid/squid-3.2.2.ebuild
@@ -0,0 +1,236 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.2.2.ebuild,v 1.1 2012/10/08 07:20:25 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="~amd64 ~hppa ~ia64 ~mips ~ppc ~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 )"
+
+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" squid
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/squid.logrotate" squid
+ else
+ newinitd "${FILESDIR}/squid.initd" 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
+}