diff options
author | 2015-07-07 10:58:52 +0000 | |
---|---|---|
committer | 2015-07-07 10:58:52 +0000 | |
commit | ec4b04f146a993a985329b512bc2516d8c2d2892 (patch) | |
tree | f5da490c4d505a1217c3cba7188386ddd5e0b786 /net-proxy | |
parent | bump; revise deps, add doc build, rm old (diff) | |
download | historical-ec4b04f146a993a985329b512bc2516d8c2d2892.tar.gz historical-ec4b04f146a993a985329b512bc2516d8c2d2892.tar.bz2 historical-ec4b04f146a993a985329b512bc2516d8c2d2892.zip |
Version bump
Package-Manager: portage-2.2.20/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 | 34 | ||||
-rw-r--r-- | net-proxy/squid/squid-3.5.6.ebuild | 247 |
3 files changed, 272 insertions, 16 deletions
diff --git a/net-proxy/squid/ChangeLog b/net-proxy/squid/ChangeLog index 5ba159b638f0..8c3c471e6a54 100644 --- a/net-proxy/squid/ChangeLog +++ b/net-proxy/squid/ChangeLog @@ -1,6 +1,11 @@ # 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.532 2015/07/03 10:04:04 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.533 2015/07/07 10:58:39 eras Exp $ + +*squid-3.5.6 (07 Jul 2015) + + 07 Jul 2015; Eray Aslan <eras@gentoo.org> +squid-3.5.6.ebuild: + Version bump 03 Jul 2015; Agostino Sarubbo <ago@gentoo.org> squid-3.5.4.ebuild: Stable for alpha, wrt bug #548228 diff --git a/net-proxy/squid/Manifest b/net-proxy/squid/Manifest index 643755dfcb8c..19c4c00eaed0 100644 --- a/net-proxy/squid/Manifest +++ b/net-proxy/squid/Manifest @@ -15,28 +15,32 @@ DIST squid-3.4.13.tar.xz 2163996 SHA256 8f786ea2f4e6bd349ae65626459699f1ce4980ac DIST squid-3.5.3.tar.xz 2283580 SHA256 73ec65a08384a3ec93ccc17e89ef7a06ba221816551946f2f051cc736c2981c0 SHA512 aeafe302e81c78ae4cf9ca49133855559a2908d053aa5ce5e7ce6fc9a9e0188d824422c38f16e0b29182ac8103221d7f3aba765fd5160007a077be1be5343739 WHIRLPOOL a954c15872dd5b7efd260116358835f5f1f6c2e84374486efd1bfbc0f3c85515803dced352a4181d34084d02f65e58906cef00b4c58d17386d9697c56177c7a6 DIST squid-3.5.4.tar.xz 2289772 SHA256 dce615d08e349caf3975fc5d51ce4c3c69b9995fb83f51dc5d55ae873d8bf6a4 SHA512 7eea6ed9b3bb2fd55b23970393a837f0361be1018832d60e07d03ffcece1acc7e1be5469fdd9b4be07a030573a0e09a137b78169efb18269a8de1df37dbac3d3 WHIRLPOOL bf57c690e7960d45f0a7edbc26d19363ac98b4bc95e3afee0d7b221c322c64fc807b078f47c6797f5cedb19946664130b0bfc8f20e5ecaeb0f82d6bd0c1cadb8 DIST squid-3.5.5.tar.xz 2290016 SHA256 23793da6b23871765188becae59a6f4b6c3672c256ba9be90743b46a3c7921cf SHA512 59d4e49ee9044d68e8d8246f2cc43cd9a76454a8978b92dbc8e29bb9cdf92d2e7164f43c63a35380187f0d76d788358099c5e61288335680e188362d872d5dd4 WHIRLPOOL 50a6bc988ecdf194c543d61e4d51a7f6b1ed759a39c4aa83f510a4e05939b3d7be2f7cdad7f60103901b41a9330f8b2953aac62a7887a165b16171452173a18e +DIST squid-3.5.6.tar.xz 2291152 SHA256 cd080e8d5eaabebf6808792751322bd05f2a9c8fe4377f54c7155682ef6c38d5 SHA512 f6c2550cdb5b2f3317105c986caddf06d010bffa0c61d065cffcde72e5bc30c4608486c79c4b25418dfb9f0a8d7ef1d2fabb6b07d1f0262a19fafc945af98bef WHIRLPOOL 863c6f73c3c26737d98cbff15afa5b6630310226ee9ec10a3e38f646b1416137e998f9bb1e5b492e5871129aed3c98e729b3a757d35088162e671d310a887336 EBUILD squid-3.4.11-r1.ebuild 7957 SHA256 a638a494b0223723b071a8525b8f9abfe67dfa69ea28e839ee8dcc09924cd4c9 SHA512 92fbf528ee43e134f48ed1f17845074b3aeff23d20fd8b90b5ffef3ce598fc6c3f40eb6051d8f8883f142abf88d35835f96da5c3d4310d1ab6c1a0abd310a7a1 WHIRLPOOL 6f70dbeb6459b79f9548acf3933f533f7e7e4bd4127a37c808ee0b2bd6ac761c4e56e96cb161987a4f36f25d1224cd34f27588922cbf7ff5b800715073d4ae46 EBUILD squid-3.4.12.ebuild 7916 SHA256 16c6f4dc2b4faf668baf5536b73acdb5432d692b88f83dab10cb7ced5ffd494e SHA512 a11a407872682aa93ca87ded33cc146996c812e1056a722bd7ebf558829e57703096c4e0b1dc7acc369745acc7df76115580413f94ced83f013914d9d3fb7854 WHIRLPOOL 25c6a98d409b3d547f24a5d22dec71fbcf42888ce6d2db483d2c29e30ef8b97e87b3b2ba6fb4d482ced13d7c7ad5073264f3ffffdebc924f6e2ba9dc39544001 EBUILD squid-3.4.13.ebuild 7922 SHA256 60f68576c70f80d6a4a15ae10e8c06f4b840cee70139a51b1b45b642b20bfb4d SHA512 a3f1460ac6c3bcf0d6a9847d2861d86146dae6f29844414263ecec2bdcb8e004ba6e1f80f5c30815b80dbf468724472679cfe77157d6b918a7751cf415bb20d4 WHIRLPOOL 588a55776ec84558b6e96db29cbbdb1d0ace7df065860d6db8cfedaff84a961f598876887fd4b08c6dd72cd89f4995bf002f0abf82787e6268843991df4d5699 EBUILD squid-3.5.3.ebuild 7651 SHA256 84594280e4e4f2c561dd2516ce94416454e72518c37999c53214de22e9fa9df3 SHA512 e5aafa3f0c4a0d52f0fe986dc19b1d2615a121842f80bdb90cdec2f0b46c4b8f19c9cc9da809abc78d866a616f2f46652668a8e83d61d46d5d31abaec42cf353 WHIRLPOOL bd2dd1af4b155e8fc9501b539d092997f13b34d222910405a9f1cac0cca4fe634d1b0e1519d651a7f704c8118ccb7310fd4f6ccf422b65432a362eea84fc8655 EBUILD squid-3.5.4.ebuild 7598 SHA256 c65d15b90abce33865de4fd87916eec25dfcf57217ee53aaee34cbbaba9326e8 SHA512 e05b05780743225e712e49ec00264d18562b4a786e8960e7308892979ee207cfc6739ecf75d9d5363320b7322646f2190c65089a616b39748e387274c289e21f WHIRLPOOL d759c211f18573a05ef4dbf8d5f3163321506942c97f310e3a6f26892f9ea78362cfbfbe17b50e21c3c44ef398028e8af0dc62b2e985a1370574329217e7a21b EBUILD squid-3.5.5.ebuild 7607 SHA256 fe9725af2abaf02ea853d21a8be2e6455acf14e2c9a808c549458a2c6c6a7ffc SHA512 ad506071cc3a6f7aba1cf4a8d714686e65a3e5f2d4e4039d809f2596690e98858e2bc2542e8d7c0e1d33db0ecdbeeb84bc4147025aa3358e85a1a01599b7a4b3 WHIRLPOOL 583909497aadfc3e8af62086bf57df673e356f421c5622d239da9622fbf73f56270807ea25fedc53fe95d05e18ced5fefa7d2c2fad07b0a721fe0e2086e21c4e -MISC ChangeLog 96168 SHA256 110212c902ce97c6d2c5339d2eac65e7d5996fbe51225ab2307a26819cd4ff76 SHA512 69ac73d8d195d83af9aa940ab121bc7815203471036b6c258eb0b245738e265eb2c2dc5bf0f494557fefa2aa7ab68dd9febd1d0130e925a5757320940a0a7319 WHIRLPOOL 75b3ee2d4ad97cb51c7f88b78997babd303bf1a5099a5c787e3718cf58edc58667f284383f32a2ff0e15d06a4226f003b25b060588a5c4c40ff5999a8a1daa10 +EBUILD squid-3.5.6.ebuild 7607 SHA256 d4c8ebf825eae9fa6fe2e409f842aab2f1c14ffe2bebf77d0fa6f2884ed62ac7 SHA512 9ef2c9a855246b7eae3949e9bbd8daa77e7f80239c8192eecb4a1ed75cf186940dd64fa5f73903f4930c64e000b03e3f8982c177455633e1628f4adc5565434c WHIRLPOOL 6a8b43c06c708b7680c5f836bc754523f911198edf53bf1304a52e5d97f24a35011f70396386d4578113bb4843d1aea999b1746783fd5a4afb1aaa06ea10789e +MISC ChangeLog 96278 SHA256 8b99ed22fd85e4a0846115cecbf3239287f73dfc997aeb6ca4c98fae9c48b12d SHA512 2f5d5ae06cd5a85984ea1759a64c3b86e3d761ac4a943ebf412367528912b4e4c19d8f14bbeda4ccae333c42aad2cc53b492d2fb2bd2a25fac46db06886eee42 WHIRLPOOL d4a87c96143d748136b8f7fc6db0c5200c30563861edf174aad9342f563c5a44c32a458d25b252d2cbcca1484b0563e3df5b58ca7893d599bd02458dd8530c26 MISC metadata.xml 1545 SHA256 72b1cd3b3476500f50f936459a522eca2fabcad046cc2647662bf18b75d57edf SHA512 20c78e621a6a58697108ae3e0a543a3ead301ccb50ba54266fa9775ef66fc24590ccc7a24d20883af656b8a295fac26527c65d236d4d46ae0e0df0c2d15c993d WHIRLPOOL 90a2470ab97b9d56e0b73410741194f30b1bed09f99ab71940ded398d3796ff8d87250ccfe419c544b2e85cebd8706d0c4beed926870f290694074c34317be90 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.1 -iQIcBAEBCAAGBQJVll4VAAoJELp701BxlEWfmBsP/RZiZg6IVgeZyTmHvnXNVriH -vbnc/1pd/Hc8bqG98gsOLVloVbRl825RB8DwVWDawI8Mhutzm30Kh2Y9OJXai4uL -iKvUVexc5DsYptyVL70AL6u7vYJJ9ZhKSPpIAJ9gKzk/Dsrqs137gZFrdZOFtXeT -FipXnLQaDQyamQ3soNr9ywm9q/ahPuzRJ8Wu4r+kYlz6U8rDVQ/bLy1y8uGIjk+s -+rpyZ3tXn3Av+7z1rURuB4IpkBnQu/9uSMDjM8O5hV+1fIyVKdj13VWhWYFqUMer -/45vyF5u/ZiUtMY+Ezyeo7IAMHVlPunmFxhHHwUAtGkyGadaRr/4t+O7/Xl971Xr -CX2uL+59bwkNncQ8d4q7WIGCzuCkKGTBuXuC8rgpcUfyC6QBVn6dkq4eNC4ByxgE -O+hAMR9TFyP7pwref0Ly4RPsGWhtYX2dGiJkYWsqBb9oL5q1vFJbdc6M5iIjXdfu -WTSK97TsKvHjq7HyXtCKX4Qx5W3JQZjfOx0LC1aURbq/aZ8AH3WhgkHX+TOnfakS -bpvDfb0EbSaQ6n8Drrsw0xe3gDGtTKKM8gbE2qJC42CUyrCkkcqrXSxiLz1EdR0l -WMjo4cVgQkmWlM0bGFoWv8HdJ4cvQEXRTSAKpUcHRjZtxZMFbrnaLyn3DLd6BVZN -oHDwjZn+16t2Isa2gT7u -=+5zy +iQJ8BAEBCABmBQJVm7DhXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQjk1NkM0NUMxNzFCRTY4Rjk4NENDMDk3 +N0YxRjE3NTU4NkEzQjFGAAoJEHfx8XVYajsfCJUP/0/SaCB//8r/txyyepRhQu2i +F/BoKkQIGu+Hm1h2cs5Mn2TIWV8Muf76KuCRJhJ0a1Kthe8eAVwWun/iHmRj3VlQ +shSUqL7Qm+BOX6sq3Wt/VmtL9H8tS7+UAkTGTTegCTKX1ttXS2az+ZwPVK8unIFk +XjkIQ0FU5fLVqLlnyFbpp5MwMCs/6n1PYa6loJi8tGM1IjY7FAX0967APRzTpJAc +1DJNb7jQOcr4dRZJQ3GvRXIZLFUZ8tAR9fXfhoMwUYY8TydELntP+Yd5jeuxpGCt +QzmtTgKNsVFQizYoGUhWSZy5re1CZ+IPSAfdtXG6ERUcDzZY8kbJrmN+om21Tqvg +qd99nf0m1FNhHfLhYPZ7ZtNSeoSNrhk1N8fUM///85gQEVsNCewgRrGLgonWFOXv +mNe6XWszXIISG0CtMv0utgWTY9ZU9xaJRZrYC7gKOoVUD0nnjtK6coSgHwHCh6PX +dG45cBK6l52VghbPURIloJ4B27jazYdEdMAZtHg/EjVD4B7WKBBy3uwIqAdYns3s +ed9qjjgB+C3hKDfRWQQC7ZIXCJRHsSzFIKjZE3AiiG+nIoc8Z0MY0DugsKIPf0DP +Ha6tQ8gMgkF8H/s6p/Gey9eQ+atf1oFIeETuv3DAPIElDTi6XtM0A8UYpjS+bVgK +KHvXJzkojBN7DOC1Ntdu +=hfaN -----END PGP SIGNATURE----- diff --git a/net-proxy/squid/squid-3.5.6.ebuild b/net-proxy/squid/squid-3.5.6.ebuild new file mode 100644 index 000000000000..ff0a1881bac4 --- /dev/null +++ b/net-proxy/squid/squid-3.5.6.ebuild @@ -0,0 +1,247 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.5.6.ebuild,v 1.1 2015/07/07 10:58:39 eras Exp $ + +EAPI=5 +inherit autotools eutils linux-info pam toolchain-funcs user versionator + +DESCRIPTION="A full-featured web proxy cache" +HOMEPAGE="http://www.squid-cache.org/" +SRC_URI="http://www.squid-cache.org/Versions/v3/3.5/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \ + ecap esi ssl-crtd \ + mysql postgres sqlite \ + qos tproxy \ + +htcp +wccp +wccpv2 \ + pf-transparent ipf-transparent kqueue \ + elibc_uclibc kernel_linux" + +COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 ) + pam? ( virtual/pam ) + ldap? ( net-nds/openldap ) + kerberos? ( virtual/krb5 ) + qos? ( net-libs/libnetfilter_conntrack ) + ssl? ( dev-libs/openssl:* dev-libs/nettle >=net-libs/gnutls-3.1.5 ) + sasl? ( dev-libs/cyrus-sasl ) + ecap? ( net-libs/libecap:1 ) + esi? ( dev-libs/expat dev-libs/libxml2 ) + !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) + >=sys-libs/db-4:* + dev-lang/perl + dev-libs/libltdl:0" +DEPEND="${COMMON_DEPEND} + ecap? ( virtual/pkgconfig ) + sys-apps/ed + test? ( dev-util/cppunit )" +RDEPEND="${COMMON_DEPEND} + samba? ( net-fs/samba ) + mysql? ( dev-perl/DBD-mysql ) + postgres? ( dev-perl/DBD-Pg ) + selinux? ( sec-policy/selinux-squid ) + sqlite? ( dev-perl/DBD-SQLite ) + !<=sci-biology/meme-4.8.1-r1" + +REQUIRED_USE="tproxy? ( caps ) + qos? ( caps )" + +pkg_pretend() { + if use tproxy; then + local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY" + linux-info_pkg_setup + fi +} + +pkg_setup() { + enewgroup squid + enewuser squid -1 -1 /var/cache/squid squid +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch" + sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \ + INSTALL QUICKSTART \ + scripts/fileno-to-pathname.pl \ + scripts/check_cache.pl \ + tools/cachemgr.cgi.8 \ + tools/purge/conffile.hh \ + tools/purge/README || die + sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \ + INSTALL QUICKSTART || die + sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \ + QUICKSTART || die + sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \ + QUICKSTART \ + src/log/access_log.cc || die + sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \ + src/log/access_log.cc || die + sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \ + helpers/external_acl/unix_group/ext_unix_group_acl.8 \ + helpers/external_acl/session/ext_session_acl.8 \ + src/ssl/ssl_crtd.8 || die + sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \ + scripts/check_cache.pl || die + sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \ + src/ssl/ssl_crtd.8 || die + sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ + src/ssl/ssl_crtd.8 || die + sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \ + src/ssl/ssl_crtd.8 || die + # /var/run/squid to /run/squid + sed -i -e 's:$(localstatedir)::' \ + src/ipc/Makefile.am || die + sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \ + libltdl/configure.ac || die + + epatch_user + + eautoreconf +} + +src_configure() { + local basic_modules="MSNT-multi-domain,NCSA,POP3,getpwnam" + use samba && basic_modules+=",SMB" + use ldap && basic_modules+=",LDAP" + use pam && basic_modules+=",PAM" + use sasl && basic_modules+=",SASL" + use nis && ! use elibc_uclibc && basic_modules+=",NIS" + use radius && basic_modules+=",RADIUS" + if use mysql || use postgres || use sqlite ; then + basic_modules+=",DB" + fi + + local digest_modules="file" + use ldap && digest_modules+=",LDAP,eDirectory" + + local negotiate_modules="none" + local myconf="--without-mit-krb5 --without-heimdal-krb5" + if use kerberos ; then + negotiate_modules="kerberos,wrapper" + if has_version app-crypt/heimdal ; then + myconf="--without-mit-krb5 --with-heimdal-krb5" + else + myconf="--with-mit-krb5 --without-heimdal-krb5" + fi + fi + + local ntlm_modules="none" + use samba && ntlm_modules="smb_lm" + + local ext_helpers="file_userip,session,unix_group" + use samba && ext_helpers+=",wbinfo_group" + use ldap && ext_helpers+=",LDAP_group,eDirectory_userip" + use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group" + + local storeio_modules="aufs,diskd,rock,ufs" + + local transparent + if use kernel_linux ; then + transparent+=" --enable-linux-netfilter" + use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack" + fi + + if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then + transparent+=" $(use_enable kqueue)" + if use pf-transparent; then + transparent+=" --enable-pf-transparent" + elif use ipf-transparent; then + transparent+=" --enable-ipf-transparent" + fi + fi + + tc-export CC AR + + econf \ + --sysconfdir=/etc/squid \ + --libexecdir=/usr/libexec/squid \ + --localstatedir=/var \ + --with-pidfile=/run/squid.pid \ + --datadir=/usr/share/squid \ + --with-logdir=/var/log/squid \ + --with-default-user=squid \ + --enable-removal-policies="lru,heap" \ + --enable-storeio="${storeio_modules}" \ + --enable-disk-io \ + --enable-auth-basic="${basic_modules}" \ + --enable-auth-digest="${digest_modules}" \ + --enable-auth-ntlm="${ntlm_modules}" \ + --enable-auth-negotiate="${negotiate_modules}" \ + --enable-external-acl-helpers="${ext_helpers}" \ + --enable-log-daemon-helpers \ + --enable-url-rewrite-helpers \ + --enable-cache-digests \ + --enable-delay-pools \ + --enable-eui \ + --enable-icmp \ + --enable-follow-x-forwarded-for \ + --with-large-files \ + --disable-strict-error-checking \ + --disable-arch-native \ + $(use_with caps libcap) \ + $(use_enable ipv6) \ + $(use_enable snmp) \ + $(use_with ssl openssl) \ + $(use_with ssl nettle) \ + $(use_with ssl gnutls) \ + $(use_enable ssl-crtd) \ + $(use_enable ecap) \ + $(use_enable esi) \ + $(use_enable htcp) \ + $(use_enable wccp) \ + $(use_enable wccpv2) \ + ${transparent} \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + + # need suid root for looking into /etc/shadow + fowners root:squid /usr/libexec/squid/basic_ncsa_auth + fperms 4750 /usr/libexec/squid/basic_ncsa_auth + if use pam; then + fowners root:squid /usr/libexec/squid/basic_pam_auth + fperms 4750 /usr/libexec/squid/basic_pam_auth + fi + # pinger needs suid as well + fowners root:squid /usr/libexec/squid/pinger + fperms 4750 /usr/libexec/squid/pinger + + # cleanup + rm -f "${D}"/usr/bin/Run* + rm -rf "${D}"/run/squid "${D}"/var/cache/squid + + dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt + newdoc helpers/negotiate_auth/kerberos/README README.kerberos + newdoc helpers/basic_auth/RADIUS/README README.RADIUS + newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group + newdoc tools/purge/README README.purge + newdoc tools/helper-mux.README README.helper-mux + dohtml RELEASENOTES.html + + newpamd "${FILESDIR}/squid.pam" squid + newconfd "${FILESDIR}/squid.confd-r1" squid + newinitd "${FILESDIR}/squid.initd-r4" squid + if use logrotate; then + insinto /etc/logrotate.d + newins "${FILESDIR}/squid.logrotate" squid + else + exeinto /etc/cron.weekly + newexe "${FILESDIR}/squid.cron" squid.cron + fi + + diropts -m0750 -o squid -g squid + keepdir /var/log/squid /etc/ssl/squid /var/lib/squid +} + +pkg_postinst() { + if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \ + [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 5 ]]; then + elog "Please read the release notes at:" + elog " http://www.squid-cache.org/Versions/v3/3.5/RELEASENOTES.html" + echo + fi +} |