Gentoo Archives: gentoo-commits

From: "Eray Aslan (eras)" <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/squid: squid-3.5.4.ebuild squid-3.4.13.ebuild ChangeLog
Date: Fri, 01 May 2015 20:56:03
Message-Id: 20150501205556.BAE5D9AB@oystercatcher.gentoo.org
1 eras 15/05/01 20:55:55
2
3 Modified: ChangeLog
4 Added: squid-3.5.4.ebuild squid-3.4.13.ebuild
5 Log:
6 Security bump - bug #548228
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
9
10 Revision Changes Path
11 1.524 net-proxy/squid/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squid/ChangeLog?rev=1.524&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squid/ChangeLog?rev=1.524&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squid/ChangeLog?r1=1.523&r2=1.524
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v
20 retrieving revision 1.523
21 retrieving revision 1.524
22 diff -u -r1.523 -r1.524
23 --- ChangeLog 24 Apr 2015 10:15:11 -0000 1.523
24 +++ ChangeLog 1 May 2015 20:55:55 -0000 1.524
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-proxy/squid
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.523 2015/04/24 10:15:11 eras Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.524 2015/05/01 20:55:55 eras Exp $
30 +
31 +*squid-3.5.4 (01 May 2015)
32 +*squid-3.4.13 (01 May 2015)
33 +
34 + 01 May 2015; Eray Aslan <eras@g.o> +squid-3.4.13.ebuild,
35 + +squid-3.5.4.ebuild:
36 + Security bump - bug #548228
37
38 24 Apr 2015; Eray Aslan <eras@g.o> squid-3.4.11-r1.ebuild,
39 squid-3.4.12.ebuild, squid-3.5.3.ebuild:
40
41
42
43 1.1 net-proxy/squid/squid-3.5.4.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squid/squid-3.5.4.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squid/squid-3.5.4.ebuild?rev=1.1&content-type=text/plain
47
48 Index: squid-3.5.4.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.5.4.ebuild,v 1.1 2015/05/01 20:55:55 eras Exp $
53
54 EAPI=5
55 inherit autotools eutils linux-info pam toolchain-funcs user versionator
56
57 DESCRIPTION="A full-featured web proxy cache"
58 HOMEPAGE="http://www.squid-cache.org/"
59 SRC_URI="http://www.squid-cache.org/Versions/v3/3.5/${P}.tar.xz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
64 IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \
65 ecap esi ssl-crtd \
66 mysql postgres sqlite \
67 qos tproxy \
68 +htcp +wccp +wccpv2 \
69 pf-transparent ipf-transparent kqueue \
70 elibc_uclibc kernel_linux"
71
72 COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 )
73 pam? ( virtual/pam )
74 ldap? ( net-nds/openldap )
75 kerberos? ( virtual/krb5 )
76 qos? ( net-libs/libnetfilter_conntrack )
77 ssl? ( dev-libs/openssl:* dev-libs/nettle >=net-libs/gnutls-3.1.5 )
78 sasl? ( dev-libs/cyrus-sasl )
79 ecap? ( net-libs/libecap:1 )
80 esi? ( dev-libs/expat dev-libs/libxml2 )
81 !x86-fbsd? ( logrotate? ( app-admin/logrotate ) )
82 >=sys-libs/db-4:*
83 dev-lang/perl
84 dev-libs/libltdl:0"
85 DEPEND="${COMMON_DEPEND}
86 ecap? ( virtual/pkgconfig )
87 sys-apps/ed
88 test? ( dev-util/cppunit )"
89 RDEPEND="${COMMON_DEPEND}
90 samba? ( net-fs/samba )
91 mysql? ( dev-perl/DBD-mysql )
92 postgres? ( dev-perl/DBD-Pg )
93 selinux? ( sec-policy/selinux-squid )
94 sqlite? ( dev-perl/DBD-SQLite )
95 !<=sci-biology/meme-4.8.1-r1"
96
97 REQUIRED_USE="tproxy? ( caps )
98 qos? ( caps )"
99
100 pkg_pretend() {
101 if use tproxy; then
102 local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY"
103 linux-info_pkg_setup
104 fi
105 }
106
107 pkg_setup() {
108 enewgroup squid
109 enewuser squid -1 -1 /var/cache/squid squid
110 }
111
112 src_prepare() {
113 epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch"
114 sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
115 INSTALL QUICKSTART \
116 scripts/fileno-to-pathname.pl \
117 scripts/check_cache.pl \
118 tools/cachemgr.cgi.8 \
119 tools/purge/conffile.hh \
120 tools/purge/README || die
121 sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \
122 INSTALL QUICKSTART || die
123 sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \
124 QUICKSTART || die
125 sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \
126 QUICKSTART \
127 src/log/access_log.cc || die
128 sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \
129 src/log/access_log.cc || die
130 sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \
131 helpers/external_acl/unix_group/ext_unix_group_acl.8 \
132 helpers/external_acl/session/ext_session_acl.8 \
133 src/ssl/ssl_crtd.8 || die
134 sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
135 scripts/check_cache.pl || die
136 sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \
137 src/ssl/ssl_crtd.8 || die
138 sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
139 src/ssl/ssl_crtd.8 || die
140 sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
141 src/ssl/ssl_crtd.8 || die
142 # /var/run/squid to /run/squid
143 sed -i -e 's:$(localstatedir)::' \
144 src/ipc/Makefile.am || die
145 sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \
146 libltdl/configure.ac || die
147
148 epatch_user
149
150 eautoreconf
151 }
152
153 src_configure() {
154 local basic_modules="MSNT-multi-domain,NCSA,POP3,getpwnam"
155 use samba && basic_modules+=",SMB"
156 use ldap && basic_modules+=",LDAP"
157 use pam && basic_modules+=",PAM"
158 use sasl && basic_modules+=",SASL"
159 use nis && ! use elibc_uclibc && basic_modules+=",NIS"
160 use radius && basic_modules+=",RADIUS"
161 if use mysql || use postgres || use sqlite ; then
162 basic_modules+=",DB"
163 fi
164
165 local digest_modules="file"
166 use ldap && digest_modules+=",LDAP,eDirectory"
167
168 local negotiate_modules="none"
169 local myconf="--without-mit-krb5 --without-heimdal-krb5"
170 if use kerberos ; then
171 negotiate_modules="kerberos,wrapper"
172 if has_version app-crypt/heimdal ; then
173 myconf="--without-mit-krb5 --with-heimdal-krb5"
174 else
175 myconf="--with-mit-krb5 --without-heimdal-krb5"
176 fi
177 fi
178
179 local ntlm_modules="none"
180 use samba && ntlm_modules="smb_lm"
181
182 local ext_helpers="file_userip,session,unix_group"
183 use samba && ext_helpers+=",wbinfo_group"
184 use ldap && ext_helpers+=",LDAP_group,eDirectory_userip"
185 use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group"
186
187 local storeio_modules="aufs,diskd,rock,ufs"
188
189 local transparent
190 if use kernel_linux ; then
191 transparent+=" --enable-linux-netfilter"
192 use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack"
193 fi
194
195 if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then
196 transparent+=" $(use_enable kqueue)"
197 if use pf-transparent; then
198 transparent+=" --enable-pf-transparent"
199 elif use ipf-transparent; then
200 transparent+=" --enable-ipf-transparent"
201 fi
202 fi
203
204 tc-export CC AR
205
206 econf \
207 --sysconfdir=/etc/squid \
208 --libexecdir=/usr/libexec/squid \
209 --localstatedir=/var \
210 --with-pidfile=/run/squid.pid \
211 --datadir=/usr/share/squid \
212 --with-logdir=/var/log/squid \
213 --with-default-user=squid \
214 --enable-removal-policies="lru,heap" \
215 --enable-storeio="${storeio_modules}" \
216 --enable-disk-io \
217 --enable-auth-basic="${basic_modules}" \
218 --enable-auth-digest="${digest_modules}" \
219 --enable-auth-ntlm="${ntlm_modules}" \
220 --enable-auth-negotiate="${negotiate_modules}" \
221 --enable-external-acl-helpers="${ext_helpers}" \
222 --enable-log-daemon-helpers \
223 --enable-url-rewrite-helpers \
224 --enable-cache-digests \
225 --enable-delay-pools \
226 --enable-eui \
227 --enable-icmp \
228 --enable-follow-x-forwarded-for \
229 --with-large-files \
230 --disable-strict-error-checking \
231 --disable-arch-native \
232 $(use_with caps libcap) \
233 $(use_enable ipv6) \
234 $(use_enable snmp) \
235 $(use_with ssl openssl) \
236 $(use_with ssl nettle) \
237 $(use_with ssl gnutls) \
238 $(use_enable ssl-crtd) \
239 $(use_enable ecap) \
240 $(use_enable esi) \
241 $(use_enable htcp) \
242 $(use_enable wccp) \
243 $(use_enable wccpv2) \
244 ${transparent} \
245 ${myconf}
246 }
247
248 src_install() {
249 emake DESTDIR="${D}" install
250
251 # need suid root for looking into /etc/shadow
252 fowners root:squid /usr/libexec/squid/basic_ncsa_auth
253 fperms 4750 /usr/libexec/squid/basic_ncsa_auth
254 if use pam; then
255 fowners root:squid /usr/libexec/squid/basic_pam_auth
256 fperms 4750 /usr/libexec/squid/basic_pam_auth
257 fi
258 # pinger needs suid as well
259 fowners root:squid /usr/libexec/squid/pinger
260 fperms 4750 /usr/libexec/squid/pinger
261
262 # cleanup
263 rm -f "${D}"/usr/bin/Run*
264 rm -rf "${D}"/run/squid "${D}"/var/cache/squid
265
266 dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
267 newdoc helpers/negotiate_auth/kerberos/README README.kerberos
268 newdoc helpers/basic_auth/RADIUS/README README.RADIUS
269 newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group
270 newdoc tools/purge/README README.purge
271 newdoc tools/helper-mux.README README.helper-mux
272 dohtml RELEASENOTES.html
273
274 newpamd "${FILESDIR}/squid.pam" squid
275 newconfd "${FILESDIR}/squid.confd-r1" squid
276 newinitd "${FILESDIR}/squid.initd-r4" squid
277 if use logrotate; then
278 insinto /etc/logrotate.d
279 newins "${FILESDIR}/squid.logrotate" squid
280 else
281 exeinto /etc/cron.weekly
282 newexe "${FILESDIR}/squid.cron" squid.cron
283 fi
284
285 diropts -m0750 -o squid -g squid
286 keepdir /var/log/squid /etc/ssl/squid /var/lib/squid
287 }
288
289 pkg_postinst() {
290 if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \
291 [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 5 ]]; then
292 elog "Please read the release notes at:"
293 elog " http://www.squid-cache.org/Versions/v3/3.5/RELEASENOTES.html"
294 echo
295 fi
296 }
297
298
299
300 1.1 net-proxy/squid/squid-3.4.13.ebuild
301
302 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squid/squid-3.4.13.ebuild?rev=1.1&view=markup
303 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/squid/squid-3.4.13.ebuild?rev=1.1&content-type=text/plain
304
305 Index: squid-3.4.13.ebuild
306 ===================================================================
307 # Copyright 1999-2015 Gentoo Foundation
308 # Distributed under the terms of the GNU General Public License v2
309 # $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.4.13.ebuild,v 1.1 2015/05/01 20:55:55 eras Exp $
310
311 EAPI=5
312 inherit autotools eutils linux-info pam toolchain-funcs user versionator
313
314 DESCRIPTION="A full-featured web proxy cache"
315 HOMEPAGE="http://www.squid-cache.org/"
316 SRC_URI="http://www.squid-cache.org/Versions/v3/3.4/${P}.tar.xz"
317
318 LICENSE="GPL-2"
319 SLOT="0"
320 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
321 IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \
322 ecap esi icap-client ssl-crtd \
323 mysql postgres sqlite \
324 qos tproxy \
325 +htcp +wccp +wccpv2 \
326 pf-transparent ipf-transparent kqueue \
327 elibc_uclibc kernel_linux"
328
329 COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 )
330 pam? ( virtual/pam )
331 ldap? ( net-nds/openldap )
332 kerberos? ( virtual/krb5 )
333 qos? ( net-libs/libnetfilter_conntrack )
334 ssl? ( dev-libs/openssl:* dev-libs/nettle )
335 sasl? ( dev-libs/cyrus-sasl )
336 ecap? ( net-libs/libecap:0.2 )
337 esi? ( dev-libs/expat dev-libs/libxml2 )
338 !x86-fbsd? ( logrotate? ( app-admin/logrotate ) )
339 >=sys-libs/db-4:*
340 dev-lang/perl
341 dev-libs/libltdl:0"
342 DEPEND="${COMMON_DEPEND}
343 ecap? ( virtual/pkgconfig )
344 sys-apps/ed
345 test? ( dev-util/cppunit )"
346 RDEPEND="${COMMON_DEPEND}
347 samba? ( net-fs/samba )
348 mysql? ( dev-perl/DBD-mysql )
349 postgres? ( dev-perl/DBD-Pg )
350 selinux? ( sec-policy/selinux-squid )
351 sqlite? ( dev-perl/DBD-SQLite )
352 !<=sci-biology/meme-4.8.1-r1"
353
354 REQUIRED_USE="tproxy? ( caps )
355 qos? ( caps )"
356
357 pkg_pretend() {
358 if use tproxy; then
359 local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY"
360 linux-info_pkg_setup
361 fi
362 }
363
364 pkg_setup() {
365 enewgroup squid
366 enewuser squid -1 -1 /var/cache/squid squid
367 }
368
369 src_prepare() {
370 epatch "${FILESDIR}/${PN}-3.3.4-gentoo.patch"
371 sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
372 INSTALL QUICKSTART \
373 helpers/basic_auth/MSNT/README.html \
374 helpers/basic_auth/MSNT/confload.cc \
375 helpers/basic_auth/MSNT/msntauth.conf.default \
376 scripts/fileno-to-pathname.pl \
377 scripts/check_cache.pl \
378 tools/cachemgr.cgi.8 \
379 tools/purge/conffile.hh \
380 tools/purge/README || die
381 sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \
382 INSTALL QUICKSTART || die
383 sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \
384 QUICKSTART || die
385 sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \
386 QUICKSTART \
387 src/log/access_log.cc || die
388 sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \
389 src/log/access_log.cc || die
390 sed -i -e 's:/usr/local/squid/bin:/usr/bin:' \
391 helpers/basic_auth/MSNT/README.html || die
392 sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \
393 helpers/external_acl/unix_group/ext_unix_group_acl.8 \
394 helpers/external_acl/session/ext_session_acl.8 \
395 src/ssl/ssl_crtd.8 || die
396 sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
397 scripts/check_cache.pl || die
398 sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \
399 src/ssl/ssl_crtd.8 || die
400 sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
401 src/ssl/ssl_crtd.8 || die
402 sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
403 src/ssl/ssl_crtd.8 || die
404 # /var/run/squid to /run/squid
405 sed -i -e 's:$(localstatedir)::' \
406 src/ipc/Makefile.am || die
407 sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \
408 libltdl/configure.ac || die
409
410 epatch_user
411
412 eautoreconf
413 }
414
415 src_configure() {
416 local basic_modules="MSNT,MSNT-multi-domain,NCSA,POP3,getpwnam"
417 use samba && basic_modules+=",SMB"
418 use ldap && basic_modules+=",LDAP"
419 use pam && basic_modules+=",PAM"
420 use sasl && basic_modules+=",SASL"
421 use nis && ! use elibc_uclibc && basic_modules+=",NIS"
422 use radius && basic_modules+=",RADIUS"
423 if use mysql || use postgres || use sqlite ; then
424 basic_modules+=",DB"
425 fi
426
427 local digest_modules="file"
428 use ldap && digest_modules+=",LDAP,eDirectory"
429
430 local negotiate_modules myconf
431 if use kerberos ; then
432 negotiate_modules="kerberos,wrapper"
433 myconf="--with-krb5-config=yes"
434 else
435 negotiate_modules="none"
436 myconf="--with-krb5-config=no"
437 fi
438
439 local ntlm_modules="none"
440 use samba && ntlm_modules="smb_lm"
441
442 local ext_helpers="file_userip,session,unix_group"
443 use samba && ext_helpers+=",wbinfo_group"
444 use ldap && ext_helpers+=",LDAP_group,eDirectory_userip"
445 use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group"
446
447 # uclibc does not have aio support - needed for coss (#61175)
448 local storeio_modules="aufs,diskd,rock,ufs"
449
450 local transparent
451 if use kernel_linux ; then
452 transparent+=" --enable-linux-netfilter"
453 use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack"
454 fi
455
456 if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then
457 transparent+=" $(use_enable kqueue)"
458 if use pf-transparent; then
459 transparent+=" --enable-pf-transparent"
460 elif use ipf-transparent; then
461 transparent+=" --enable-ipf-transparent"
462 fi
463 fi
464
465 tc-export CC AR
466
467 econf \
468 --sysconfdir=/etc/squid \
469 --libexecdir=/usr/libexec/squid \
470 --localstatedir=/var \
471 --with-pidfile=/run/squid.pid \
472 --datadir=/usr/share/squid \
473 --with-logdir=/var/log/squid \
474 --with-default-user=squid \
475 --enable-removal-policies="lru,heap" \
476 --enable-storeio="${storeio_modules}" \
477 --enable-disk-io \
478 --enable-auth \
479 --enable-auth-basic="${basic_modules}" \
480 --enable-auth-digest="${digest_modules}" \
481 --enable-auth-ntlm="${ntlm_modules}" \
482 --enable-auth-negotiate="${negotiate_modules}" \
483 --enable-external-acl-helpers="${ext_helpers}" \
484 --enable-log-daemon-helpers \
485 --enable-url-rewrite-helpers \
486 --enable-cache-digests \
487 --enable-delay-pools \
488 --enable-eui \
489 --enable-icmp \
490 --enable-follow-x-forwarded-for \
491 --with-large-files \
492 --disable-strict-error-checking \
493 --disable-arch-native \
494 $(use_with caps libcap) \
495 $(use_enable ipv6) \
496 $(use_enable snmp) \
497 $(use_enable ssl) \
498 $(use_with ssl nettle) \
499 $(use_enable ssl-crtd) \
500 $(use_enable icap-client) \
501 $(use_enable ecap) \
502 $(use_enable esi) \
503 $(use_enable htcp) \
504 $(use_enable wccp) \
505 $(use_enable wccpv2) \
506 ${transparent} \
507 ${myconf}
508 }
509
510 src_install() {
511 emake DESTDIR="${D}" install
512
513 # need suid root for looking into /etc/shadow
514 fowners root:squid /usr/libexec/squid/basic_ncsa_auth
515 fperms 4750 /usr/libexec/squid/basic_ncsa_auth
516 if use pam; then
517 fowners root:squid /usr/libexec/squid/basic_pam_auth
518 fperms 4750 /usr/libexec/squid/basic_pam_auth
519 fi
520 # pinger needs suid as well
521 fowners root:squid /usr/libexec/squid/pinger
522 fperms 4750 /usr/libexec/squid/pinger
523
524 # cleanup
525 rm -f "${D}"/usr/bin/Run*
526 rm -rf "${D}"/run/squid "${D}"/var/cache/squid
527
528 dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
529 newdoc helpers/negotiate_auth/kerberos/README README.kerberos
530 newdoc helpers/basic_auth/MSNT-multi-domain/README.txt README.MSNT-multi-domain
531 newdoc helpers/basic_auth/LDAP/README README.LDAP
532 newdoc helpers/basic_auth/RADIUS/README README.RADIUS
533 newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group
534 newdoc tools/purge/README README.purge
535 newdoc tools/helper-mux.README README.helper-mux
536 dohtml RELEASENOTES.html
537
538 newpamd "${FILESDIR}/squid.pam" squid
539 newconfd "${FILESDIR}/squid.confd-r1" squid
540 newinitd "${FILESDIR}/squid.initd-r4" squid
541 if use logrotate; then
542 insinto /etc/logrotate.d
543 newins "${FILESDIR}/squid.logrotate" squid
544 else
545 exeinto /etc/cron.weekly
546 newexe "${FILESDIR}/squid.cron" squid.cron
547 fi
548
549 diropts -m0750 -o squid -g squid
550 keepdir /var/log/squid /etc/ssl/squid /var/lib/squid
551 }
552
553 pkg_postinst() {
554 if [[ $(get_version_component_range 1 ${REPLACING_VERSIONS}) -lt 3 ]] || \
555 [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 4 ]]; then
556 elog "Please read the release notes at:"
557 elog " http://www.squid-cache.org/Versions/v3/3.4/RELEASENOTES.html"
558 echo
559 fi
560 }