From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/
Date: Thu, 27 Aug 2020 19:43:40 +0000 (UTC) [thread overview]
Message-ID: <1598557419.276f9c478b931f1202bb4735f801792362146c02.zlogene@gentoo> (raw)
commit: 276f9c478b931f1202bb4735f801792362146c02
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 19:43:06 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 19:43:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276f9c47
net-proxy/squid: Drop old
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
net-proxy/squid/Manifest | 1 -
net-proxy/squid/squid-4.12.ebuild | 279 --------------------------------------
2 files changed, 280 deletions(-)
diff --git a/net-proxy/squid/Manifest b/net-proxy/squid/Manifest
index 8c5adefcbab..fc12b209d18 100644
--- a/net-proxy/squid/Manifest
+++ b/net-proxy/squid/Manifest
@@ -1,2 +1 @@
-DIST squid-4.12.tar.xz 2450564 BLAKE2B 39068d5e999ebf62fbc45ea8faa8811c7b4e6a231f814f2580f54ce3ac499b503b7bc071188b4446a2a94f7eb2f4cfc6369a1b578e637a7b5e37a0ae2aabfb8e SHA512 96fa700a0c28711eb1ec5e44e1d324dc8d3accdddbc675def8babe057e2cc71083bd3817bc37cbd9f3c03772743df578573ee3698bbd6131df68c3580ad31ef4
DIST squid-4.13.tar.xz 2452752 BLAKE2B e2efdfda736f2324c6723e76272c4989a41fa6d0f52b48cc33957ae8e57e75350487d9683fc72c43926e5d91b698eef728282895018b78acefe23de2e67cfd74 SHA512 06807f82ed01e12afe2dd843aa0a94f69c351765b1889c4c5c3da1cf2ecb06ac3a4be6a24a62f04397299c8fc0df5397f76f64df5422ff78b37a9382d5fdf7fc
diff --git a/net-proxy/squid/squid-4.12.ebuild b/net-proxy/squid/squid-4.12.ebuild
deleted file mode 100644
index 5547d6a8e97..00000000000
--- a/net-proxy/squid/squid-4.12.ebuild
+++ /dev/null
@@ -1,279 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-WANT_AUTOMAKE="1.15"
-
-inherit autotools flag-o-matic linux-info pam toolchain-funcs
-
-DESCRIPTION="A full-featured web proxy cache"
-HOMEPAGE="http://www.squid-cache.org/"
-
-# Upstream patch ID for the most recent bug-fixed update to the formal release.
-r=
-#r=-20181117-r0022167
-if [ -z "$r" ]; then
- SRC_URI="http://www.squid-cache.org/Versions/v${PV%.*}/${P}.tar.xz"
-else
- SRC_URI="http://www.squid-cache.org/Versions/v${PV%.*}/${P}${r}.tar.bz2"
- S="${S}${r}"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86"
-IUSE="caps gnutls ipv6 pam ldap samba sasl kerberos nis radius ssl snmp selinux logrotate test \
- ecap esi ssl-crtd \
- mysql postgres sqlite \
- perl qos tproxy \
- +htcp +wccp +wccpv2 \
- pf-transparent ipf-transparent kqueue \
- elibc_uclibc kernel_linux"
-
-RESTRICT="!test? ( test )"
-
-BDEPEND="dev-lang/perl"
-
-COMMON_DEPEND="acct-group/squid
- acct-user/squid
- caps? ( >=sys-libs/libcap-2.16 )
- pam? ( sys-libs/pam )
- ldap? ( net-nds/openldap )
- kerberos? ( virtual/krb5 )
- qos? ( net-libs/libnetfilter_conntrack )
- ssl? (
- !gnutls? ( dev-libs/openssl:0 )
- dev-libs/nettle:= )
- sasl? ( dev-libs/cyrus-sasl )
- ecap? ( net-libs/libecap:1 )
- esi? ( dev-libs/expat dev-libs/libxml2 )
- gnutls? ( >=net-libs/gnutls-3.1.5 )
- logrotate? ( app-admin/logrotate )
- >=sys-libs/db-4:*
- dev-libs/libltdl:0"
-
-DEPEND="${COMMON_DEPEND}
- ${BDEPEND}
- ecap? ( virtual/pkgconfig )
- test? ( dev-util/cppunit )"
-
-RDEPEND="${COMMON_DEPEND}
- samba? ( net-fs/samba )
- perl? ( dev-lang/perl )
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- selinux? ( sec-policy/selinux-squid )
- sqlite? ( dev-perl/DBD-SQLite )"
-
-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
-}
-
-src_prepare() {
- eapply "${FILESDIR}/${PN}-4.3-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/purge.1 || 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:' \
- src/acl/external/unix_group/ext_unix_group_acl.8 \
- src/acl/external/session/ext_session_acl.8 || die
- sed -i -e 's:/usr/local/squid/cache:/var/cache/squid:' \
- scripts/check_cache.pl || 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
-
- eapply_user
- eautoreconf
-}
-
-src_configure() {
- local basic_modules="NCSA,POP3,getpwnam"
- use samba && basic_modules+=",SMB"
- use ldap && basic_modules+=",SMB_LM,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,delayer,time_quota"
- use samba && ext_helpers+=",wbinfo_group"
- use ldap && ext_helpers+=",LDAP_group,eDirectory_userip"
- use ldap && use kerberos && ext_helpers+=",kerberos_ldap_group"
- if use mysql || use postgres || use sqlite ; then
- ext_helpers+=",SQL_session"
- fi
-
- 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_build_env BUILD_CXX
- export BUILDCXX=${BUILD_CXX}
- export BUILDCXXFLAGS=${BUILD_CXXFLAGS}
- tc-export CC AR
-
- # Should be able to drop this workaround with newer versions.
- # https://bugs.squid-cache.org/show_bug.cgi?id=4224
- tc-is-cross-compiler && export squid_cv_gnu_atomics=no
-
- # Bug #719662
- (use ppc || use arm || use hppa) && append-libs -latomic
-
- 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 \
- --with-build-environment=default \
- --disable-strict-error-checking \
- --disable-arch-native \
- --with-included-ltdl=/usr/include \
- --with-ltdl-libdir=/usr/$(get_libdir) \
- $(use_with caps libcap) \
- $(use_enable ipv6) \
- $(use_enable snmp) \
- $(use_with ssl openssl) \
- $(use_with ssl nettle) \
- $(use_with gnutls) \
- $(use_enable ssl-crtd) \
- $(use_enable ecap) \
- $(use_enable esi) \
- $(use_enable htcp) \
- $(use_enable wccp) \
- $(use_enable wccpv2) \
- ${transparent} \
- ${myconf}
-}
-
-src_install() {
- default
-
- # 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
-
- # these scripts depend on perl
- if ! use perl; then
- for f in basic_pop3_auth \
- ext_delayer_acl \
- helper-mux \
- log_db_daemon \
- security_fake_certverify \
- storeid_file_rewrite \
- url_lfs_rewrite; do
- rm "${D}"/usr/libexec/squid/${f} || die
- done
- fi
-
- # cleanup
- rm -r "${D}"/run "${D}"/var/cache || die
-
- dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
- newdoc src/auth/negotiate/kerberos/README README.kerberos
- newdoc src/auth/basic/RADIUS/README README.RADIUS
- newdoc src/acl/external/kerberos_ldap_group/README README.kerberos_ldap_group
- dodoc RELEASENOTES.html
-
- newpamd "${FILESDIR}/squid.pam" squid
- newconfd "${FILESDIR}/squid.confd-r2" squid
- newinitd "${FILESDIR}/squid.initd-r5" 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() {
- elog "A good starting point to debug Squid issues is to use 'squidclient mgr:' commands such as 'squidclient mgr:info'."
- if [ ${#r} -gt 0 ]; then
- elog "You are using a release with the official ${r} patch! Make sure you mention that, or send the output of 'squidclient mgr:info' when asking for support."
- fi
-}
next reply other threads:[~2020-08-27 19:43 UTC|newest]
Thread overview: 169+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-27 19:43 Mikle Kolyada [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-14 0:36 [gentoo-commits] repo/gentoo:master commit in: net-proxy/squid/ Sam James
2024-11-13 10:48 Sam James
2024-11-13 8:20 Jakov Smolić
2024-10-24 12:02 Arthur Zamarin
2024-10-24 11:23 Arthur Zamarin
2024-10-07 2:40 Sam James
2024-10-06 18:44 Arthur Zamarin
2024-08-31 7:46 Sam James
2024-07-04 0:49 Sam James
2024-07-03 13:26 Joonas Niilola
2024-03-04 7:53 Joonas Niilola
2024-02-06 20:10 Sam James
2024-02-06 19:32 Arthur Zamarin
2024-02-06 19:32 Arthur Zamarin
2024-02-06 10:00 Sam James
2024-02-06 9:45 Sam James
2024-02-06 9:45 Sam James
2024-02-06 9:45 Sam James
2023-12-03 9:33 Arthur Zamarin
2023-12-02 21:25 Sam James
2023-12-02 20:28 Sam James
2023-11-17 15:09 Sam James
2023-11-17 15:08 Sam James
2023-06-17 5:42 Sam James
2023-05-16 3:39 Sam James
2023-01-16 20:29 Mike Gilbert
2023-01-15 12:44 Sam James
2023-01-15 12:44 Sam James
2023-01-15 7:51 Joonas Niilola
2023-01-15 2:22 Sam James
2023-01-14 18:59 Sam James
2022-12-15 5:01 Sam James
2022-12-15 5:01 Sam James
2022-09-30 3:13 Sam James
2022-09-30 3:11 Sam James
2022-09-29 2:15 Sam James
2022-08-31 3:50 Sam James
2022-05-08 11:24 Yixun Lan
2022-05-05 16:48 Jakov Smolić
2022-03-23 10:35 Agostino Sarubbo
2022-03-22 16:40 Sam James
2022-03-22 11:24 Agostino Sarubbo
2022-02-20 0:31 Sam James
2022-01-04 13:18 David Seifert
2022-01-04 9:13 David Seifert
2022-01-04 3:29 Sam James
2022-01-01 20:08 David Seifert
2021-11-14 12:39 Mikle Kolyada
2021-06-22 18:19 Sam James
2021-05-17 8:04 Mikle Kolyada
2021-05-17 8:04 Mikle Kolyada
2021-03-13 19:57 Mikle Kolyada
2021-03-07 15:18 Mikle Kolyada
2021-03-07 10:35 Mikle Kolyada
2021-01-24 11:28 Mikle Kolyada
2020-08-27 19:43 Mikle Kolyada
2020-07-17 10:42 Sam James
2020-06-28 20:48 Agostino Sarubbo
2020-06-28 20:44 Agostino Sarubbo
2020-06-28 20:37 Agostino Sarubbo
2020-06-28 20:30 Agostino Sarubbo
2020-06-28 20:27 Agostino Sarubbo
2020-06-20 8:14 Mikle Kolyada
2020-05-20 12:20 Mikle Kolyada
2020-05-20 6:24 Agostino Sarubbo
2020-05-18 13:43 Mikle Kolyada
2020-04-26 15:31 Agostino Sarubbo
2020-04-26 15:29 Agostino Sarubbo
2020-04-26 14:19 Agostino Sarubbo
2020-04-26 14:16 Agostino Sarubbo
2020-04-24 10:53 Mikle Kolyada
2020-03-16 7:08 Mikle Kolyada
2020-03-16 7:07 Mikle Kolyada
2020-03-15 18:34 Agostino Sarubbo
2020-03-15 18:27 Agostino Sarubbo
2020-03-14 19:46 Agostino Sarubbo
2020-03-14 19:24 Sergei Trofimovich
2020-01-27 19:07 Mikle Kolyada
2020-01-27 18:57 Mikle Kolyada
2020-01-27 16:19 Mikle Kolyada
2019-12-31 9:28 Mikle Kolyada
2019-11-10 15:27 Michał Górny
2019-11-10 9:24 Mikle Kolyada
2019-11-10 9:24 Mikle Kolyada
2019-10-12 20:34 Mikle Kolyada
2019-07-25 12:58 Mikle Kolyada
2019-07-17 10:48 Mikle Kolyada
2019-07-17 10:47 Mikle Kolyada
2019-05-03 12:35 Mikle Kolyada
2019-03-28 18:34 Mikle Kolyada
2019-02-07 10:01 Mikle Kolyada
2019-02-04 6:02 Eray Aslan
2018-08-29 6:05 Eray Aslan
2018-06-22 22:17 Patrice Clement
2018-06-19 16:14 Eray Aslan
2018-03-30 17:32 Sergei Trofimovich
2018-03-30 12:03 Sergei Trofimovich
2018-03-04 16:23 Tobias Klausmann
2018-02-06 7:57 Sergei Trofimovich
2018-02-05 22:34 Sergei Trofimovich
2018-02-05 21:27 Markus Meier
2018-01-26 18:21 Thomas Deutschmann
2018-01-23 16:41 Agostino Sarubbo
2018-01-22 13:31 Eray Aslan
2018-01-09 20:10 Mike Frysinger
2018-01-05 7:32 Mike Frysinger
2017-11-20 10:08 Eray Aslan
2017-11-20 8:12 Eray Aslan
2017-11-15 22:42 Sergei Trofimovich
2017-11-07 22:52 Sergei Trofimovich
2017-10-05 11:07 Sergei Trofimovich
2017-10-05 11:07 Sergei Trofimovich
2017-09-15 15:38 Tobias Klausmann
2017-08-29 21:39 Thomas Deutschmann
2017-08-28 4:42 Markus Meier
2017-08-25 13:34 Mikle Kolyada
2017-08-17 20:18 Sergei Trofimovich
2017-08-17 5:46 Eray Aslan
2017-05-04 7:20 Eray Aslan
2017-02-07 13:07 Eray Aslan
2017-01-31 7:56 Eray Aslan
2017-01-14 12:54 Jeroen Roovers
2017-01-05 12:34 Tobias Klausmann
2016-12-27 9:06 Agostino Sarubbo
2016-12-25 10:23 Agostino Sarubbo
2016-12-25 10:14 Agostino Sarubbo
2016-12-25 10:09 Agostino Sarubbo
2016-12-24 10:25 Agostino Sarubbo
2016-12-24 10:18 Agostino Sarubbo
2016-12-24 9:47 Agostino Sarubbo
2016-12-22 12:18 Eray Aslan
2016-10-14 10:38 Eray Aslan
2016-10-14 10:38 Eray Aslan
2016-10-09 16:19 Pacho Ramos
2016-09-19 7:50 Eray Aslan
2016-07-12 13:49 Eray Aslan
2016-07-08 7:53 Agostino Sarubbo
2016-06-04 5:05 Markus Meier
2016-05-25 11:25 Agostino Sarubbo
2016-05-25 9:48 Agostino Sarubbo
2016-05-25 5:12 Jeroen Roovers
2016-05-24 8:51 Tobias Klausmann
2016-05-24 6:56 Eray Aslan
2016-05-20 16:37 Tobias Klausmann
2016-04-26 17:34 Markus Meier
2016-04-26 11:19 Agostino Sarubbo
2016-04-23 10:19 Jeroen Roovers
2016-04-20 19:10 Eray Aslan
2016-04-20 8:55 Agostino Sarubbo
2016-04-04 7:46 Eray Aslan
2016-03-15 20:50 Tobias Klausmann
2016-03-15 16:38 Agostino Sarubbo
2016-03-13 12:32 Markus Meier
2016-03-02 13:58 Agostino Sarubbo
2016-02-27 9:09 Jeroen Roovers
2016-02-24 14:23 Eray Aslan
2016-02-20 11:56 Jeroen Roovers
2016-02-17 5:56 Eray Aslan
2016-02-16 12:31 Eray Aslan
2016-02-05 19:08 Markus Meier
2016-02-04 9:45 Tobias Klausmann
2016-01-27 9:22 Agostino Sarubbo
2016-01-22 15:58 Eray Aslan
2016-01-22 15:57 Eray Aslan
2015-12-01 14:54 Eray Aslan
2015-11-09 7:50 Eray Aslan
2015-10-14 7:36 Eray Aslan
2015-09-22 6:29 Eray Aslan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1598557419.276f9c478b931f1202bb4735f801792362146c02.zlogene@gentoo \
--to=zlogene@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox