Gentoo Archives: gentoo-commits

From: Eray Aslan <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/
Date: Tue, 31 Jan 2017 07:56:11
Message-Id: 1485849345.8800ab2e25ff6c887fd9f25ae3e990d8a98fb526.eras@gentoo
1 commit: 8800ab2e25ff6c887fd9f25ae3e990d8a98fb526
2 Author: Eray Aslan <eras <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 31 07:55:45 2017 +0000
4 Commit: Eray Aslan <eras <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 31 07:55:45 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8800ab2e
7
8 net-proxy/squid: remove vulnerable versions
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 net-proxy/squid/Manifest | 4 -
13 net-proxy/squid/squid-3.5.19.ebuild | 238 -----------------------------------
14 net-proxy/squid/squid-3.5.20.ebuild | 238 -----------------------------------
15 net-proxy/squid/squid-3.5.21.ebuild | 241 ------------------------------------
16 net-proxy/squid/squid-3.5.22.ebuild | 241 ------------------------------------
17 5 files changed, 962 deletions(-)
18
19 diff --git a/net-proxy/squid/Manifest b/net-proxy/squid/Manifest
20 index 2b7a55e..ca37c26 100644
21 --- a/net-proxy/squid/Manifest
22 +++ b/net-proxy/squid/Manifest
23 @@ -1,5 +1 @@
24 -DIST squid-3.5.19.tar.xz 2318720 SHA256 c4b8a2efb85acc600e506605f175298ce3324048e60f4708926d354fe4b5c7a0 SHA512 b2e70845d87a3a3d57b8ff08c6fb21137cedc75c8076a8e004a4b4031a7045d13f13de2b2aa98435e39770aefe1db838538ed62fc4169f83797c99fc0883f650 WHIRLPOOL 73ce9e63bbf5d494ff40b2379930e2723f01507782b3c332ea0e2b3d1c813c914fdfea47d22f9b004d0bac5a826928b5e47fa0fdb190c2be5235e1c51c25c575
25 -DIST squid-3.5.20.tar.xz 2319780 SHA256 37db73bd33ddd3503fe375bc3f2b47d9fb7309042e439ad3651f21d5dcf2d395 SHA512 555e456d63bfe506e1cb84cd4857e900648382613181ff7fb70026e37d224b9b125b49e0a2e12cca63377427d33be7e9fbc3755c66a5370eab975e6ab3444bee WHIRLPOOL 37f8805e8601868cc6917e3d755ac6a42781267751379ef4f71bd3586a81292efceadd3c00defe8050c8f2e84b8dd2a81c167b3f0bb57e08517af9668e7f2147
26 -DIST squid-3.5.21.tar.xz 2320896 SHA256 6fb537a1e4d746276e60856acd2398f88aab94ebd476ae2cc2bf16af5c7cc251 SHA512 17c541062c785effe091cedca7c5133f20280bf8a83efe0f04778a85b44d16c695f374cb8721c2fb4a241d4c7065f132e9e6bf7deca858944b22397fbf22b301 WHIRLPOOL 8b3de7de4d869cf6e9470063d2560ff1c96a0944fe996362258235db3314b15065243dc9f226d637545a523a2523a20a02b507bca5e521ca833fc1f5c27c4616
27 -DIST squid-3.5.22.tar.xz 2324164 SHA256 1ce95b469257abeb2ed8a1c0417812301c1ef5a4cc40ca504167daa470ad9358 SHA512 40925c8b4d7b05a580397b1adf24457b66514eea2e05c0685251370aea3e48e0ac52b36ec9ec5ef5b1564ac46fec89bc8842e24cced413b9f3b24eb7778f6ba5 WHIRLPOOL 041ccfceb4e4111254ffb410008b727a87551827a726865b5860e9f506afcaf4f76331845e2a1b291fef4db6f4f1e042da48be03a18d667a5b917a5b2ccb76a6
28 DIST squid-3.5.23.tar.xz 2325884 SHA256 fa4c0c99f41e92fe1330bed3968d176c6f47ef2e3aea2f83977d5501afa40bdb SHA512 3f2b3df60fc0b2aab3d0d9e3489832d60d0aac8222f09ad2ff6afb95202b904f41f6530d713e7ce446c6f62b66f0cd792a6b12005d43c53fe68d2371f9caa880 WHIRLPOOL 39338be97e3357759b9062e3c3b353a2118ca910e56584e73560489078e76a42b230ac24468ea62f6e3df7de210492beda54b0c178804c097d4b303d16cd2914
29
30 diff --git a/net-proxy/squid/squid-3.5.19.ebuild b/net-proxy/squid/squid-3.5.19.ebuild
31 deleted file mode 100644
32 index 63f6a15..00000000
33 --- a/net-proxy/squid/squid-3.5.19.ebuild
34 +++ /dev/null
35 @@ -1,238 +0,0 @@
36 -# Copyright 1999-2016 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -# $Id$
39 -
40 -EAPI=6
41 -inherit autotools linux-info pam toolchain-funcs user
42 -
43 -DESCRIPTION="A full-featured web proxy cache"
44 -HOMEPAGE="http://www.squid-cache.org/"
45 -SRC_URI="http://www.squid-cache.org/Versions/v3/3.5/${P}.tar.xz"
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
50 -IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \
51 - ecap esi ssl-crtd \
52 - mysql postgres sqlite \
53 - qos tproxy \
54 - +htcp +wccp +wccpv2 \
55 - pf-transparent ipf-transparent kqueue \
56 - elibc_uclibc kernel_linux"
57 -
58 -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 )
59 - pam? ( virtual/pam )
60 - ldap? ( net-nds/openldap )
61 - kerberos? ( virtual/krb5 )
62 - qos? ( net-libs/libnetfilter_conntrack )
63 - ssl? ( dev-libs/openssl:0 dev-libs/nettle >=net-libs/gnutls-3.1.5 )
64 - sasl? ( dev-libs/cyrus-sasl )
65 - ecap? ( net-libs/libecap:1 )
66 - esi? ( dev-libs/expat dev-libs/libxml2 )
67 - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) )
68 - >=sys-libs/db-4:*
69 - dev-lang/perl
70 - dev-libs/libltdl:0"
71 -DEPEND="${COMMON_DEPEND}
72 - ecap? ( virtual/pkgconfig )
73 - test? ( dev-util/cppunit )"
74 -RDEPEND="${COMMON_DEPEND}
75 - samba? ( net-fs/samba )
76 - mysql? ( dev-perl/DBD-mysql )
77 - postgres? ( dev-perl/DBD-Pg )
78 - selinux? ( sec-policy/selinux-squid )
79 - sqlite? ( dev-perl/DBD-SQLite )
80 - !<=sci-biology/meme-4.8.1-r1"
81 -
82 -REQUIRED_USE="tproxy? ( caps )
83 - qos? ( caps )"
84 -
85 -pkg_pretend() {
86 - if use tproxy; then
87 - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY"
88 - linux-info_pkg_setup
89 - fi
90 -}
91 -
92 -pkg_setup() {
93 - enewgroup squid
94 - enewuser squid -1 -1 /var/cache/squid squid
95 -}
96 -
97 -src_prepare() {
98 - eapply "${FILESDIR}/${PN}-3.5.7-gentoo.patch"
99 - sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
100 - INSTALL QUICKSTART \
101 - scripts/fileno-to-pathname.pl \
102 - scripts/check_cache.pl \
103 - tools/cachemgr.cgi.8 \
104 - tools/purge/conffile.hh \
105 - tools/purge/README || die
106 - sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \
107 - INSTALL QUICKSTART || die
108 - sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \
109 - QUICKSTART || die
110 - sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \
111 - QUICKSTART \
112 - src/log/access_log.cc || die
113 - sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \
114 - src/log/access_log.cc || die
115 - sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \
116 - helpers/external_acl/unix_group/ext_unix_group_acl.8 \
117 - helpers/external_acl/session/ext_session_acl.8 \
118 - src/ssl/ssl_crtd.8 || die
119 - sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
120 - scripts/check_cache.pl || die
121 - sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \
122 - src/ssl/ssl_crtd.8 || die
123 - sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
124 - src/ssl/ssl_crtd.8 || die
125 - sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
126 - src/ssl/ssl_crtd.8 || die
127 - # /var/run/squid to /run/squid
128 - sed -i -e 's:$(localstatedir)::' \
129 - src/ipc/Makefile.am || die
130 - sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \
131 - libltdl/configure.ac || die
132 -
133 - eapply_user
134 - eautoreconf
135 -}
136 -
137 -src_configure() {
138 - local basic_modules="MSNT-multi-domain,NCSA,POP3,getpwnam"
139 - use samba && basic_modules+=",SMB"
140 - use ldap && basic_modules+=",LDAP"
141 - use pam && basic_modules+=",PAM"
142 - use sasl && basic_modules+=",SASL"
143 - use nis && ! use elibc_uclibc && basic_modules+=",NIS"
144 - use radius && basic_modules+=",RADIUS"
145 - if use mysql || use postgres || use sqlite ; then
146 - basic_modules+=",DB"
147 - fi
148 -
149 - local digest_modules="file"
150 - use ldap && digest_modules+=",LDAP,eDirectory"
151 -
152 - local negotiate_modules="none"
153 - local myconf="--without-mit-krb5 --without-heimdal-krb5"
154 - if use kerberos ; then
155 - negotiate_modules="kerberos,wrapper"
156 - if has_version app-crypt/heimdal ; then
157 - myconf="--without-mit-krb5 --with-heimdal-krb5"
158 - else
159 - myconf="--with-mit-krb5 --without-heimdal-krb5"
160 - fi
161 - fi
162 -
163 - local ntlm_modules="none"
164 - use samba && ntlm_modules="smb_lm"
165 -
166 - local ext_helpers="file_userip,session,unix_group"
167 - use samba && ext_helpers+=",wbinfo_group"
168 - use ldap && ext_helpers+=",LDAP_group,eDirectory_userip"
169 - use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group"
170 -
171 - local storeio_modules="aufs,diskd,rock,ufs"
172 -
173 - local transparent
174 - if use kernel_linux ; then
175 - transparent+=" --enable-linux-netfilter"
176 - use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack"
177 - fi
178 -
179 - if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then
180 - transparent+=" $(use_enable kqueue)"
181 - if use pf-transparent; then
182 - transparent+=" --enable-pf-transparent"
183 - elif use ipf-transparent; then
184 - transparent+=" --enable-ipf-transparent"
185 - fi
186 - fi
187 -
188 - tc-export CC AR
189 -
190 - econf \
191 - --sysconfdir=/etc/squid \
192 - --libexecdir=/usr/libexec/squid \
193 - --localstatedir=/var \
194 - --with-pidfile=/run/squid.pid \
195 - --datadir=/usr/share/squid \
196 - --with-logdir=/var/log/squid \
197 - --with-default-user=squid \
198 - --enable-removal-policies="lru,heap" \
199 - --enable-storeio="${storeio_modules}" \
200 - --enable-disk-io \
201 - --enable-auth-basic="${basic_modules}" \
202 - --enable-auth-digest="${digest_modules}" \
203 - --enable-auth-ntlm="${ntlm_modules}" \
204 - --enable-auth-negotiate="${negotiate_modules}" \
205 - --enable-external-acl-helpers="${ext_helpers}" \
206 - --enable-log-daemon-helpers \
207 - --enable-url-rewrite-helpers \
208 - --enable-cache-digests \
209 - --enable-delay-pools \
210 - --enable-eui \
211 - --enable-icmp \
212 - --enable-follow-x-forwarded-for \
213 - --with-large-files \
214 - --disable-strict-error-checking \
215 - --disable-arch-native \
216 - --with-ltdl-includedir=/usr/include \
217 - --with-ltdl-libdir=/usr/$(get_libdir) \
218 - $(use_with caps libcap) \
219 - $(use_enable ipv6) \
220 - $(use_enable snmp) \
221 - $(use_with ssl openssl) \
222 - $(use_with ssl nettle) \
223 - $(use_with ssl gnutls) \
224 - $(use_enable ssl-crtd) \
225 - $(use_enable ecap) \
226 - $(use_enable esi) \
227 - $(use_enable htcp) \
228 - $(use_enable wccp) \
229 - $(use_enable wccpv2) \
230 - ${transparent} \
231 - ${myconf}
232 -}
233 -
234 -src_install() {
235 - emake DESTDIR="${D}" install
236 -
237 - # need suid root for looking into /etc/shadow
238 - fowners root:squid /usr/libexec/squid/basic_ncsa_auth
239 - fperms 4750 /usr/libexec/squid/basic_ncsa_auth
240 - if use pam; then
241 - fowners root:squid /usr/libexec/squid/basic_pam_auth
242 - fperms 4750 /usr/libexec/squid/basic_pam_auth
243 - fi
244 - # pinger needs suid as well
245 - fowners root:squid /usr/libexec/squid/pinger
246 - fperms 4750 /usr/libexec/squid/pinger
247 -
248 - # cleanup
249 - rm -f "${D}"/usr/bin/Run*
250 - rm -rf "${D}"/run/squid "${D}"/var/cache/squid
251 -
252 - dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
253 - newdoc helpers/negotiate_auth/kerberos/README README.kerberos
254 - newdoc helpers/basic_auth/RADIUS/README README.RADIUS
255 - newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group
256 - newdoc tools/purge/README README.purge
257 - newdoc tools/helper-mux.README README.helper-mux
258 - dodoc RELEASENOTES.html
259 -
260 - newpamd "${FILESDIR}/squid.pam" squid
261 - newconfd "${FILESDIR}/squid.confd-r1" squid
262 - newinitd "${FILESDIR}/squid.initd-r4" squid
263 - if use logrotate; then
264 - insinto /etc/logrotate.d
265 - newins "${FILESDIR}/squid.logrotate" squid
266 - else
267 - exeinto /etc/cron.weekly
268 - newexe "${FILESDIR}/squid.cron" squid.cron
269 - fi
270 -
271 - diropts -m0750 -o squid -g squid
272 - keepdir /var/log/squid /etc/ssl/squid /var/lib/squid
273 -}
274
275 diff --git a/net-proxy/squid/squid-3.5.20.ebuild b/net-proxy/squid/squid-3.5.20.ebuild
276 deleted file mode 100644
277 index eee7b6d..00000000
278 --- a/net-proxy/squid/squid-3.5.20.ebuild
279 +++ /dev/null
280 @@ -1,238 +0,0 @@
281 -# Copyright 1999-2016 Gentoo Foundation
282 -# Distributed under the terms of the GNU General Public License v2
283 -# $Id$
284 -
285 -EAPI=6
286 -inherit autotools linux-info pam toolchain-funcs user
287 -
288 -DESCRIPTION="A full-featured web proxy cache"
289 -HOMEPAGE="http://www.squid-cache.org/"
290 -SRC_URI="http://www.squid-cache.org/Versions/v3/3.5/${P}.tar.xz"
291 -
292 -LICENSE="GPL-2"
293 -SLOT="0"
294 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
295 -IUSE="caps ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \
296 - ecap esi ssl-crtd \
297 - mysql postgres sqlite \
298 - qos tproxy \
299 - +htcp +wccp +wccpv2 \
300 - pf-transparent ipf-transparent kqueue \
301 - elibc_uclibc kernel_linux"
302 -
303 -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 )
304 - pam? ( virtual/pam )
305 - ldap? ( net-nds/openldap )
306 - kerberos? ( virtual/krb5 )
307 - qos? ( net-libs/libnetfilter_conntrack )
308 - ssl? ( dev-libs/openssl:0 dev-libs/nettle >=net-libs/gnutls-3.1.5 )
309 - sasl? ( dev-libs/cyrus-sasl )
310 - ecap? ( net-libs/libecap:1 )
311 - esi? ( dev-libs/expat dev-libs/libxml2 )
312 - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) )
313 - >=sys-libs/db-4:*
314 - dev-lang/perl
315 - dev-libs/libltdl:0"
316 -DEPEND="${COMMON_DEPEND}
317 - ecap? ( virtual/pkgconfig )
318 - test? ( dev-util/cppunit )"
319 -RDEPEND="${COMMON_DEPEND}
320 - samba? ( net-fs/samba )
321 - mysql? ( dev-perl/DBD-mysql )
322 - postgres? ( dev-perl/DBD-Pg )
323 - selinux? ( sec-policy/selinux-squid )
324 - sqlite? ( dev-perl/DBD-SQLite )
325 - !<=sci-biology/meme-4.8.1-r1"
326 -
327 -REQUIRED_USE="tproxy? ( caps )
328 - qos? ( caps )"
329 -
330 -pkg_pretend() {
331 - if use tproxy; then
332 - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY"
333 - linux-info_pkg_setup
334 - fi
335 -}
336 -
337 -pkg_setup() {
338 - enewgroup squid
339 - enewuser squid -1 -1 /var/cache/squid squid
340 -}
341 -
342 -src_prepare() {
343 - eapply "${FILESDIR}/${PN}-3.5.7-gentoo.patch"
344 - sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
345 - INSTALL QUICKSTART \
346 - scripts/fileno-to-pathname.pl \
347 - scripts/check_cache.pl \
348 - tools/cachemgr.cgi.8 \
349 - tools/purge/conffile.hh \
350 - tools/purge/README || die
351 - sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \
352 - INSTALL QUICKSTART || die
353 - sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \
354 - QUICKSTART || die
355 - sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \
356 - QUICKSTART \
357 - src/log/access_log.cc || die
358 - sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \
359 - src/log/access_log.cc || die
360 - sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \
361 - helpers/external_acl/unix_group/ext_unix_group_acl.8 \
362 - helpers/external_acl/session/ext_session_acl.8 \
363 - src/ssl/ssl_crtd.8 || die
364 - sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
365 - scripts/check_cache.pl || die
366 - sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \
367 - src/ssl/ssl_crtd.8 || die
368 - sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
369 - src/ssl/ssl_crtd.8 || die
370 - sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
371 - src/ssl/ssl_crtd.8 || die
372 - # /var/run/squid to /run/squid
373 - sed -i -e 's:$(localstatedir)::' \
374 - src/ipc/Makefile.am || die
375 - sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \
376 - libltdl/configure.ac || die
377 -
378 - eapply_user
379 - eautoreconf
380 -}
381 -
382 -src_configure() {
383 - local basic_modules="MSNT-multi-domain,NCSA,POP3,getpwnam"
384 - use samba && basic_modules+=",SMB"
385 - use ldap && basic_modules+=",LDAP"
386 - use pam && basic_modules+=",PAM"
387 - use sasl && basic_modules+=",SASL"
388 - use nis && ! use elibc_uclibc && basic_modules+=",NIS"
389 - use radius && basic_modules+=",RADIUS"
390 - if use mysql || use postgres || use sqlite ; then
391 - basic_modules+=",DB"
392 - fi
393 -
394 - local digest_modules="file"
395 - use ldap && digest_modules+=",LDAP,eDirectory"
396 -
397 - local negotiate_modules="none"
398 - local myconf="--without-mit-krb5 --without-heimdal-krb5"
399 - if use kerberos ; then
400 - negotiate_modules="kerberos,wrapper"
401 - if has_version app-crypt/heimdal ; then
402 - myconf="--without-mit-krb5 --with-heimdal-krb5"
403 - else
404 - myconf="--with-mit-krb5 --without-heimdal-krb5"
405 - fi
406 - fi
407 -
408 - local ntlm_modules="none"
409 - use samba && ntlm_modules="smb_lm"
410 -
411 - local ext_helpers="file_userip,session,unix_group"
412 - use samba && ext_helpers+=",wbinfo_group"
413 - use ldap && ext_helpers+=",LDAP_group,eDirectory_userip"
414 - use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group"
415 -
416 - local storeio_modules="aufs,diskd,rock,ufs"
417 -
418 - local transparent
419 - if use kernel_linux ; then
420 - transparent+=" --enable-linux-netfilter"
421 - use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack"
422 - fi
423 -
424 - if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then
425 - transparent+=" $(use_enable kqueue)"
426 - if use pf-transparent; then
427 - transparent+=" --enable-pf-transparent"
428 - elif use ipf-transparent; then
429 - transparent+=" --enable-ipf-transparent"
430 - fi
431 - fi
432 -
433 - tc-export CC AR
434 -
435 - econf \
436 - --sysconfdir=/etc/squid \
437 - --libexecdir=/usr/libexec/squid \
438 - --localstatedir=/var \
439 - --with-pidfile=/run/squid.pid \
440 - --datadir=/usr/share/squid \
441 - --with-logdir=/var/log/squid \
442 - --with-default-user=squid \
443 - --enable-removal-policies="lru,heap" \
444 - --enable-storeio="${storeio_modules}" \
445 - --enable-disk-io \
446 - --enable-auth-basic="${basic_modules}" \
447 - --enable-auth-digest="${digest_modules}" \
448 - --enable-auth-ntlm="${ntlm_modules}" \
449 - --enable-auth-negotiate="${negotiate_modules}" \
450 - --enable-external-acl-helpers="${ext_helpers}" \
451 - --enable-log-daemon-helpers \
452 - --enable-url-rewrite-helpers \
453 - --enable-cache-digests \
454 - --enable-delay-pools \
455 - --enable-eui \
456 - --enable-icmp \
457 - --enable-follow-x-forwarded-for \
458 - --with-large-files \
459 - --disable-strict-error-checking \
460 - --disable-arch-native \
461 - --with-ltdl-includedir=/usr/include \
462 - --with-ltdl-libdir=/usr/$(get_libdir) \
463 - $(use_with caps libcap) \
464 - $(use_enable ipv6) \
465 - $(use_enable snmp) \
466 - $(use_with ssl openssl) \
467 - $(use_with ssl nettle) \
468 - $(use_with ssl gnutls) \
469 - $(use_enable ssl-crtd) \
470 - $(use_enable ecap) \
471 - $(use_enable esi) \
472 - $(use_enable htcp) \
473 - $(use_enable wccp) \
474 - $(use_enable wccpv2) \
475 - ${transparent} \
476 - ${myconf}
477 -}
478 -
479 -src_install() {
480 - emake DESTDIR="${D}" install
481 -
482 - # need suid root for looking into /etc/shadow
483 - fowners root:squid /usr/libexec/squid/basic_ncsa_auth
484 - fperms 4750 /usr/libexec/squid/basic_ncsa_auth
485 - if use pam; then
486 - fowners root:squid /usr/libexec/squid/basic_pam_auth
487 - fperms 4750 /usr/libexec/squid/basic_pam_auth
488 - fi
489 - # pinger needs suid as well
490 - fowners root:squid /usr/libexec/squid/pinger
491 - fperms 4750 /usr/libexec/squid/pinger
492 -
493 - # cleanup
494 - rm -f "${D}"/usr/bin/Run*
495 - rm -rf "${D}"/run/squid "${D}"/var/cache/squid
496 -
497 - dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
498 - newdoc helpers/negotiate_auth/kerberos/README README.kerberos
499 - newdoc helpers/basic_auth/RADIUS/README README.RADIUS
500 - newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group
501 - newdoc tools/purge/README README.purge
502 - newdoc tools/helper-mux.README README.helper-mux
503 - dodoc RELEASENOTES.html
504 -
505 - newpamd "${FILESDIR}/squid.pam" squid
506 - newconfd "${FILESDIR}/squid.confd-r1" squid
507 - newinitd "${FILESDIR}/squid.initd-r4" squid
508 - if use logrotate; then
509 - insinto /etc/logrotate.d
510 - newins "${FILESDIR}/squid.logrotate" squid
511 - else
512 - exeinto /etc/cron.weekly
513 - newexe "${FILESDIR}/squid.cron" squid.cron
514 - fi
515 -
516 - diropts -m0750 -o squid -g squid
517 - keepdir /var/log/squid /etc/ssl/squid /var/lib/squid
518 -}
519
520 diff --git a/net-proxy/squid/squid-3.5.21.ebuild b/net-proxy/squid/squid-3.5.21.ebuild
521 deleted file mode 100644
522 index d2965c6..00000000
523 --- a/net-proxy/squid/squid-3.5.21.ebuild
524 +++ /dev/null
525 @@ -1,241 +0,0 @@
526 -# Copyright 1999-2016 Gentoo Foundation
527 -# Distributed under the terms of the GNU General Public License v2
528 -# $Id$
529 -
530 -EAPI=6
531 -inherit autotools linux-info pam toolchain-funcs user
532 -
533 -DESCRIPTION="A full-featured web proxy cache"
534 -HOMEPAGE="http://www.squid-cache.org/"
535 -SRC_URI="http://www.squid-cache.org/Versions/v3/3.5/${P}.tar.xz"
536 -
537 -LICENSE="GPL-2"
538 -SLOT="0"
539 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
540 -IUSE="caps ipv6 pam ldap libressl samba sasl kerberos nis radius ssl snmp selinux logrotate test \
541 - ecap esi ssl-crtd \
542 - mysql postgres sqlite \
543 - qos tproxy \
544 - +htcp +wccp +wccpv2 \
545 - pf-transparent ipf-transparent kqueue \
546 - elibc_uclibc kernel_linux"
547 -
548 -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 )
549 - pam? ( virtual/pam )
550 - ldap? ( net-nds/openldap )
551 - kerberos? ( virtual/krb5 )
552 - qos? ( net-libs/libnetfilter_conntrack )
553 - ssl? (
554 - libressl? ( dev-libs/libressl:0 )
555 - !libressl? ( dev-libs/openssl:0 )
556 - dev-libs/nettle >=net-libs/gnutls-3.1.5 )
557 - sasl? ( dev-libs/cyrus-sasl )
558 - ecap? ( net-libs/libecap:1 )
559 - esi? ( dev-libs/expat dev-libs/libxml2 )
560 - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) )
561 - >=sys-libs/db-4:*
562 - dev-lang/perl
563 - dev-libs/libltdl:0"
564 -DEPEND="${COMMON_DEPEND}
565 - ecap? ( virtual/pkgconfig )
566 - test? ( dev-util/cppunit )"
567 -RDEPEND="${COMMON_DEPEND}
568 - samba? ( net-fs/samba )
569 - mysql? ( dev-perl/DBD-mysql )
570 - postgres? ( dev-perl/DBD-Pg )
571 - selinux? ( sec-policy/selinux-squid )
572 - sqlite? ( dev-perl/DBD-SQLite )
573 - !<=sci-biology/meme-4.8.1-r1"
574 -
575 -REQUIRED_USE="tproxy? ( caps )
576 - qos? ( caps )"
577 -
578 -pkg_pretend() {
579 - if use tproxy; then
580 - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY"
581 - linux-info_pkg_setup
582 - fi
583 -}
584 -
585 -pkg_setup() {
586 - enewgroup squid
587 - enewuser squid -1 -1 /var/cache/squid squid
588 -}
589 -
590 -src_prepare() {
591 - eapply "${FILESDIR}/${PN}-3.5.7-gentoo.patch"
592 - sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
593 - INSTALL QUICKSTART \
594 - scripts/fileno-to-pathname.pl \
595 - scripts/check_cache.pl \
596 - tools/cachemgr.cgi.8 \
597 - tools/purge/conffile.hh \
598 - tools/purge/README || die
599 - sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \
600 - INSTALL QUICKSTART || die
601 - sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \
602 - QUICKSTART || die
603 - sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \
604 - QUICKSTART \
605 - src/log/access_log.cc || die
606 - sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \
607 - src/log/access_log.cc || die
608 - sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \
609 - helpers/external_acl/unix_group/ext_unix_group_acl.8 \
610 - helpers/external_acl/session/ext_session_acl.8 \
611 - src/ssl/ssl_crtd.8 || die
612 - sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
613 - scripts/check_cache.pl || die
614 - sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \
615 - src/ssl/ssl_crtd.8 || die
616 - sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
617 - src/ssl/ssl_crtd.8 || die
618 - sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
619 - src/ssl/ssl_crtd.8 || die
620 - # /var/run/squid to /run/squid
621 - sed -i -e 's:$(localstatedir)::' \
622 - src/ipc/Makefile.am || die
623 - sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \
624 - libltdl/configure.ac || die
625 -
626 - eapply_user
627 - eautoreconf
628 -}
629 -
630 -src_configure() {
631 - local basic_modules="MSNT-multi-domain,NCSA,POP3,getpwnam"
632 - use samba && basic_modules+=",SMB"
633 - use ldap && basic_modules+=",LDAP"
634 - use pam && basic_modules+=",PAM"
635 - use sasl && basic_modules+=",SASL"
636 - use nis && ! use elibc_uclibc && basic_modules+=",NIS"
637 - use radius && basic_modules+=",RADIUS"
638 - if use mysql || use postgres || use sqlite ; then
639 - basic_modules+=",DB"
640 - fi
641 -
642 - local digest_modules="file"
643 - use ldap && digest_modules+=",LDAP,eDirectory"
644 -
645 - local negotiate_modules="none"
646 - local myconf="--without-mit-krb5 --without-heimdal-krb5"
647 - if use kerberos ; then
648 - negotiate_modules="kerberos,wrapper"
649 - if has_version app-crypt/heimdal ; then
650 - myconf="--without-mit-krb5 --with-heimdal-krb5"
651 - else
652 - myconf="--with-mit-krb5 --without-heimdal-krb5"
653 - fi
654 - fi
655 -
656 - local ntlm_modules="none"
657 - use samba && ntlm_modules="smb_lm"
658 -
659 - local ext_helpers="file_userip,session,unix_group"
660 - use samba && ext_helpers+=",wbinfo_group"
661 - use ldap && ext_helpers+=",LDAP_group,eDirectory_userip"
662 - use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group"
663 -
664 - local storeio_modules="aufs,diskd,rock,ufs"
665 -
666 - local transparent
667 - if use kernel_linux ; then
668 - transparent+=" --enable-linux-netfilter"
669 - use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack"
670 - fi
671 -
672 - if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then
673 - transparent+=" $(use_enable kqueue)"
674 - if use pf-transparent; then
675 - transparent+=" --enable-pf-transparent"
676 - elif use ipf-transparent; then
677 - transparent+=" --enable-ipf-transparent"
678 - fi
679 - fi
680 -
681 - tc-export CC AR
682 -
683 - econf \
684 - --sysconfdir=/etc/squid \
685 - --libexecdir=/usr/libexec/squid \
686 - --localstatedir=/var \
687 - --with-pidfile=/run/squid.pid \
688 - --datadir=/usr/share/squid \
689 - --with-logdir=/var/log/squid \
690 - --with-default-user=squid \
691 - --enable-removal-policies="lru,heap" \
692 - --enable-storeio="${storeio_modules}" \
693 - --enable-disk-io \
694 - --enable-auth-basic="${basic_modules}" \
695 - --enable-auth-digest="${digest_modules}" \
696 - --enable-auth-ntlm="${ntlm_modules}" \
697 - --enable-auth-negotiate="${negotiate_modules}" \
698 - --enable-external-acl-helpers="${ext_helpers}" \
699 - --enable-log-daemon-helpers \
700 - --enable-url-rewrite-helpers \
701 - --enable-cache-digests \
702 - --enable-delay-pools \
703 - --enable-eui \
704 - --enable-icmp \
705 - --enable-follow-x-forwarded-for \
706 - --with-large-files \
707 - --disable-strict-error-checking \
708 - --disable-arch-native \
709 - --with-ltdl-includedir=/usr/include \
710 - --with-ltdl-libdir=/usr/$(get_libdir) \
711 - $(use_with caps libcap) \
712 - $(use_enable ipv6) \
713 - $(use_enable snmp) \
714 - $(use_with ssl openssl) \
715 - $(use_with ssl nettle) \
716 - $(use_with ssl gnutls) \
717 - $(use_enable ssl-crtd) \
718 - $(use_enable ecap) \
719 - $(use_enable esi) \
720 - $(use_enable htcp) \
721 - $(use_enable wccp) \
722 - $(use_enable wccpv2) \
723 - ${transparent} \
724 - ${myconf}
725 -}
726 -
727 -src_install() {
728 - emake DESTDIR="${D}" install
729 -
730 - # need suid root for looking into /etc/shadow
731 - fowners root:squid /usr/libexec/squid/basic_ncsa_auth
732 - fperms 4750 /usr/libexec/squid/basic_ncsa_auth
733 - if use pam; then
734 - fowners root:squid /usr/libexec/squid/basic_pam_auth
735 - fperms 4750 /usr/libexec/squid/basic_pam_auth
736 - fi
737 - # pinger needs suid as well
738 - fowners root:squid /usr/libexec/squid/pinger
739 - fperms 4750 /usr/libexec/squid/pinger
740 -
741 - # cleanup
742 - rm -f "${D}"/usr/bin/Run*
743 - rm -rf "${D}"/run/squid "${D}"/var/cache/squid
744 -
745 - dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
746 - newdoc helpers/negotiate_auth/kerberos/README README.kerberos
747 - newdoc helpers/basic_auth/RADIUS/README README.RADIUS
748 - newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group
749 - newdoc tools/purge/README README.purge
750 - newdoc tools/helper-mux.README README.helper-mux
751 - dodoc RELEASENOTES.html
752 -
753 - newpamd "${FILESDIR}/squid.pam" squid
754 - newconfd "${FILESDIR}/squid.confd-r1" squid
755 - newinitd "${FILESDIR}/squid.initd-r4" squid
756 - if use logrotate; then
757 - insinto /etc/logrotate.d
758 - newins "${FILESDIR}/squid.logrotate" squid
759 - else
760 - exeinto /etc/cron.weekly
761 - newexe "${FILESDIR}/squid.cron" squid.cron
762 - fi
763 -
764 - diropts -m0750 -o squid -g squid
765 - keepdir /var/log/squid /etc/ssl/squid /var/lib/squid
766 -}
767
768 diff --git a/net-proxy/squid/squid-3.5.22.ebuild b/net-proxy/squid/squid-3.5.22.ebuild
769 deleted file mode 100644
770 index d2965c6..00000000
771 --- a/net-proxy/squid/squid-3.5.22.ebuild
772 +++ /dev/null
773 @@ -1,241 +0,0 @@
774 -# Copyright 1999-2016 Gentoo Foundation
775 -# Distributed under the terms of the GNU General Public License v2
776 -# $Id$
777 -
778 -EAPI=6
779 -inherit autotools linux-info pam toolchain-funcs user
780 -
781 -DESCRIPTION="A full-featured web proxy cache"
782 -HOMEPAGE="http://www.squid-cache.org/"
783 -SRC_URI="http://www.squid-cache.org/Versions/v3/3.5/${P}.tar.xz"
784 -
785 -LICENSE="GPL-2"
786 -SLOT="0"
787 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
788 -IUSE="caps ipv6 pam ldap libressl samba sasl kerberos nis radius ssl snmp selinux logrotate test \
789 - ecap esi ssl-crtd \
790 - mysql postgres sqlite \
791 - qos tproxy \
792 - +htcp +wccp +wccpv2 \
793 - pf-transparent ipf-transparent kqueue \
794 - elibc_uclibc kernel_linux"
795 -
796 -COMMON_DEPEND="caps? ( >=sys-libs/libcap-2.16 )
797 - pam? ( virtual/pam )
798 - ldap? ( net-nds/openldap )
799 - kerberos? ( virtual/krb5 )
800 - qos? ( net-libs/libnetfilter_conntrack )
801 - ssl? (
802 - libressl? ( dev-libs/libressl:0 )
803 - !libressl? ( dev-libs/openssl:0 )
804 - dev-libs/nettle >=net-libs/gnutls-3.1.5 )
805 - sasl? ( dev-libs/cyrus-sasl )
806 - ecap? ( net-libs/libecap:1 )
807 - esi? ( dev-libs/expat dev-libs/libxml2 )
808 - !x86-fbsd? ( logrotate? ( app-admin/logrotate ) )
809 - >=sys-libs/db-4:*
810 - dev-lang/perl
811 - dev-libs/libltdl:0"
812 -DEPEND="${COMMON_DEPEND}
813 - ecap? ( virtual/pkgconfig )
814 - test? ( dev-util/cppunit )"
815 -RDEPEND="${COMMON_DEPEND}
816 - samba? ( net-fs/samba )
817 - mysql? ( dev-perl/DBD-mysql )
818 - postgres? ( dev-perl/DBD-Pg )
819 - selinux? ( sec-policy/selinux-squid )
820 - sqlite? ( dev-perl/DBD-SQLite )
821 - !<=sci-biology/meme-4.8.1-r1"
822 -
823 -REQUIRED_USE="tproxy? ( caps )
824 - qos? ( caps )"
825 -
826 -pkg_pretend() {
827 - if use tproxy; then
828 - local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_SOCKET ~NETFILTER_XT_TARGET_TPROXY"
829 - linux-info_pkg_setup
830 - fi
831 -}
832 -
833 -pkg_setup() {
834 - enewgroup squid
835 - enewuser squid -1 -1 /var/cache/squid squid
836 -}
837 -
838 -src_prepare() {
839 - eapply "${FILESDIR}/${PN}-3.5.7-gentoo.patch"
840 - sed -i -e 's:/usr/local/squid/etc:/etc/squid:' \
841 - INSTALL QUICKSTART \
842 - scripts/fileno-to-pathname.pl \
843 - scripts/check_cache.pl \
844 - tools/cachemgr.cgi.8 \
845 - tools/purge/conffile.hh \
846 - tools/purge/README || die
847 - sed -i -e 's:/usr/local/squid/sbin:/usr/sbin:' \
848 - INSTALL QUICKSTART || die
849 - sed -i -e 's:/usr/local/squid/var/cache:/var/cache/squid:' \
850 - QUICKSTART || die
851 - sed -i -e 's:/usr/local/squid/var/logs:/var/log/squid:' \
852 - QUICKSTART \
853 - src/log/access_log.cc || die
854 - sed -i -e 's:/usr/local/squid/logs:/var/log/squid:' \
855 - src/log/access_log.cc || die
856 - sed -i -e 's:/usr/local/squid/libexec:/usr/libexec/squid:' \
857 - helpers/external_acl/unix_group/ext_unix_group_acl.8 \
858 - helpers/external_acl/session/ext_session_acl.8 \
859 - src/ssl/ssl_crtd.8 || die
860 - sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
861 - scripts/check_cache.pl || die
862 - sed -i -e 's:/usr/local/squid/ssl_cert:/etc/ssl/squid:' \
863 - src/ssl/ssl_crtd.8 || die
864 - sed -i -e 's:/usr/local/squid/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
865 - src/ssl/ssl_crtd.8 || die
866 - sed -i -e 's:/var/lib/ssl_db:/var/lib/squid/ssl_db:' \
867 - src/ssl/ssl_crtd.8 || die
868 - # /var/run/squid to /run/squid
869 - sed -i -e 's:$(localstatedir)::' \
870 - src/ipc/Makefile.am || die
871 - sed -i -e 's:_LTDL_SETUP:LTDL_INIT([installable]):' \
872 - libltdl/configure.ac || die
873 -
874 - eapply_user
875 - eautoreconf
876 -}
877 -
878 -src_configure() {
879 - local basic_modules="MSNT-multi-domain,NCSA,POP3,getpwnam"
880 - use samba && basic_modules+=",SMB"
881 - use ldap && basic_modules+=",LDAP"
882 - use pam && basic_modules+=",PAM"
883 - use sasl && basic_modules+=",SASL"
884 - use nis && ! use elibc_uclibc && basic_modules+=",NIS"
885 - use radius && basic_modules+=",RADIUS"
886 - if use mysql || use postgres || use sqlite ; then
887 - basic_modules+=",DB"
888 - fi
889 -
890 - local digest_modules="file"
891 - use ldap && digest_modules+=",LDAP,eDirectory"
892 -
893 - local negotiate_modules="none"
894 - local myconf="--without-mit-krb5 --without-heimdal-krb5"
895 - if use kerberos ; then
896 - negotiate_modules="kerberos,wrapper"
897 - if has_version app-crypt/heimdal ; then
898 - myconf="--without-mit-krb5 --with-heimdal-krb5"
899 - else
900 - myconf="--with-mit-krb5 --without-heimdal-krb5"
901 - fi
902 - fi
903 -
904 - local ntlm_modules="none"
905 - use samba && ntlm_modules="smb_lm"
906 -
907 - local ext_helpers="file_userip,session,unix_group"
908 - use samba && ext_helpers+=",wbinfo_group"
909 - use ldap && ext_helpers+=",LDAP_group,eDirectory_userip"
910 - use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group"
911 -
912 - local storeio_modules="aufs,diskd,rock,ufs"
913 -
914 - local transparent
915 - if use kernel_linux ; then
916 - transparent+=" --enable-linux-netfilter"
917 - use qos && transparent+=" --enable-zph-qos --with-netfilter-conntrack"
918 - fi
919 -
920 - if use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; then
921 - transparent+=" $(use_enable kqueue)"
922 - if use pf-transparent; then
923 - transparent+=" --enable-pf-transparent"
924 - elif use ipf-transparent; then
925 - transparent+=" --enable-ipf-transparent"
926 - fi
927 - fi
928 -
929 - tc-export CC AR
930 -
931 - econf \
932 - --sysconfdir=/etc/squid \
933 - --libexecdir=/usr/libexec/squid \
934 - --localstatedir=/var \
935 - --with-pidfile=/run/squid.pid \
936 - --datadir=/usr/share/squid \
937 - --with-logdir=/var/log/squid \
938 - --with-default-user=squid \
939 - --enable-removal-policies="lru,heap" \
940 - --enable-storeio="${storeio_modules}" \
941 - --enable-disk-io \
942 - --enable-auth-basic="${basic_modules}" \
943 - --enable-auth-digest="${digest_modules}" \
944 - --enable-auth-ntlm="${ntlm_modules}" \
945 - --enable-auth-negotiate="${negotiate_modules}" \
946 - --enable-external-acl-helpers="${ext_helpers}" \
947 - --enable-log-daemon-helpers \
948 - --enable-url-rewrite-helpers \
949 - --enable-cache-digests \
950 - --enable-delay-pools \
951 - --enable-eui \
952 - --enable-icmp \
953 - --enable-follow-x-forwarded-for \
954 - --with-large-files \
955 - --disable-strict-error-checking \
956 - --disable-arch-native \
957 - --with-ltdl-includedir=/usr/include \
958 - --with-ltdl-libdir=/usr/$(get_libdir) \
959 - $(use_with caps libcap) \
960 - $(use_enable ipv6) \
961 - $(use_enable snmp) \
962 - $(use_with ssl openssl) \
963 - $(use_with ssl nettle) \
964 - $(use_with ssl gnutls) \
965 - $(use_enable ssl-crtd) \
966 - $(use_enable ecap) \
967 - $(use_enable esi) \
968 - $(use_enable htcp) \
969 - $(use_enable wccp) \
970 - $(use_enable wccpv2) \
971 - ${transparent} \
972 - ${myconf}
973 -}
974 -
975 -src_install() {
976 - emake DESTDIR="${D}" install
977 -
978 - # need suid root for looking into /etc/shadow
979 - fowners root:squid /usr/libexec/squid/basic_ncsa_auth
980 - fperms 4750 /usr/libexec/squid/basic_ncsa_auth
981 - if use pam; then
982 - fowners root:squid /usr/libexec/squid/basic_pam_auth
983 - fperms 4750 /usr/libexec/squid/basic_pam_auth
984 - fi
985 - # pinger needs suid as well
986 - fowners root:squid /usr/libexec/squid/pinger
987 - fperms 4750 /usr/libexec/squid/pinger
988 -
989 - # cleanup
990 - rm -f "${D}"/usr/bin/Run*
991 - rm -rf "${D}"/run/squid "${D}"/var/cache/squid
992 -
993 - dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
994 - newdoc helpers/negotiate_auth/kerberos/README README.kerberos
995 - newdoc helpers/basic_auth/RADIUS/README README.RADIUS
996 - newdoc helpers/external_acl/kerberos_ldap_group/README README.kerberos_ldap_group
997 - newdoc tools/purge/README README.purge
998 - newdoc tools/helper-mux.README README.helper-mux
999 - dodoc RELEASENOTES.html
1000 -
1001 - newpamd "${FILESDIR}/squid.pam" squid
1002 - newconfd "${FILESDIR}/squid.confd-r1" squid
1003 - newinitd "${FILESDIR}/squid.initd-r4" squid
1004 - if use logrotate; then
1005 - insinto /etc/logrotate.d
1006 - newins "${FILESDIR}/squid.logrotate" squid
1007 - else
1008 - exeinto /etc/cron.weekly
1009 - newexe "${FILESDIR}/squid.cron" squid.cron
1010 - fi
1011 -
1012 - diropts -m0750 -o squid -g squid
1013 - keepdir /var/log/squid /etc/ssl/squid /var/lib/squid
1014 -}