From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M0Gs7-0007uJ-L8 for garchives@archives.gentoo.org; Sat, 02 May 2009 15:11:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A1D7E047C; Sat, 2 May 2009 15:11:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4A00BE047C for ; Sat, 2 May 2009 15:11:22 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id ADF2D65790 for ; Sat, 2 May 2009 15:11:21 +0000 (UTC) Received: from mrness by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1M0Gs4-0000vE-UV for gentoo-commits@lists.gentoo.org; Sat, 02 May 2009 15:11:21 +0000 From: "Alin Nastac (mrness)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mrness@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/squid: ChangeLog squid-3.0.14-r2.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog squid-3.0.14-r2.ebuild X-VCS-Directories: net-proxy/squid X-VCS-Committer: mrness X-VCS-Committer-Name: Alin Nastac Content-Type: text/plain; charset=utf8 Message-Id: Sender: Alin Nastac Date: Sat, 02 May 2009 15:11:20 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f51ac8cd-1b5b-4b6e-9857-26ecea112bd8 X-Archives-Hash: 403ccc6fbab03a1f97fae1a094728160 mrness 09/05/02 15:11:20 Modified: ChangeLog Added: squid-3.0.14-r2.ebuild Log: Fix encoding errors reported for some misconfigured sites (#267318). (Portage version: 2.1.6.7/cvs/Linux x86_64) Revision Changes Path 1.245 net-proxy/squid/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squid/Ch= angeLog?rev=3D1.245&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squid/Ch= angeLog?rev=3D1.245&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squid/Ch= angeLog?r1=3D1.244&r2=3D1.245 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v retrieving revision 1.244 retrieving revision 1.245 diff -u -r1.244 -r1.245 --- ChangeLog 26 Apr 2009 12:03:49 -0000 1.244 +++ ChangeLog 2 May 2009 15:11:20 -0000 1.245 @@ -1,6 +1,11 @@ # ChangeLog for net-proxy/squid # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.244 200= 9/04/26 12:03:49 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.245 200= 9/05/02 15:11:20 mrness Exp $ + +*squid-3.0.14-r2 (02 May 2009) + + 02 May 2009; Alin N=C4=83stac +squid-3.0.14-r2.ebu= ild: + Fix encoding errors reported for some misconfigured sites (#267318). =20 *squid-3.1.0.7_beta (26 Apr 2009) =20 1.1 net-proxy/squid/squid-3.0.14-r2.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squid/sq= uid-3.0.14-r2.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squid/sq= uid-3.0.14-r2.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: squid-3.0.14-r2.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-3.0.14-r2.ebuild= ,v 1.1 2009/05/02 15:11:20 mrness Exp $ EAPI=3D"2" WANT_AUTOCONF=3D"latest" WANT_AUTOMAKE=3D"latest" inherit eutils pam toolchain-funcs autotools linux-info # lame archive versioning scheme.. S_PMV=3D"${PV%%.*}" S_PV=3D"${PV%.*}" S_PL=3D"${PV##*.}" S_PP=3D"${PN}-${S_PV}.STABLE${S_PL}" RESTRICT=3D"test" # check if test works in next bump DESCRIPTION=3D"A full-featured web proxy cache" HOMEPAGE=3D"http://www.squid-cache.org/" SRC_URI=3D"http://www.squid-cache.org/Versions/v${S_PMV}/${S_PV}/${S_PP}.= tar.gz mirror://gentoo/${P}-chunk-encoding.patch.gz" LICENSE=3D"GPL-2" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 = ~x86-fbsd" IUSE=3D"pam ldap samba sasl kerberos nis radius ssl snmp selinux icap-cli= ent logrotate \ mysql postgres sqlite \ zero-penalty-hit \ pf-transparent ipf-transparent kqueue \ elibc_uclibc kernel_linux epoll" DEPEND=3D"pam? ( virtual/pam ) ldap? ( net-nds/openldap ) kerberos? ( || ( app-crypt/mit-krb5 app-crypt/heimdal ) ) ssl? ( dev-libs/openssl ) sasl? ( dev-libs/cyrus-sasl ) selinux? ( sec-policy/selinux-squid ) !x86-fbsd? ( logrotate? ( app-admin/logrotate ) ) >=3Dsys-libs/db-4 dev-lang/perl" RDEPEND=3D"${DEPEND} samba? ( net-fs/samba ) mysql? ( dev-perl/DBD-mysql ) postgres? ( dev-perl/DBD-Pg ) sqlite? ( dev-perl/DBD-SQLite )" S=3D"${WORKDIR}/${S_PP}" pkg_setup() { if grep -qs '^[[:space:]]*cache_dir[[:space:]]\+coss' "${ROOT}"etc/squid= /squid.conf; then eerror "coss store IO has been disabled by upstream due to stability is= sues!" eerror "If you want to install this version, switch the store type to s= omething else" eerror "before attempting to install this version again." die "/etc/squid/squid.conf: cache_dir use a disabled store type" fi enewgroup squid 31 enewuser squid 31 -1 /var/cache/squid squid } src_prepare() { epatch "${FILESDIR}"/${P}-gentoo.patch epatch "${FILESDIR}"/${P}-max-forwards.patch epatch "${FILESDIR}"/${P}-gcc43.patch epatch "${FILESDIR}"/${P}-cross-compile.patch epatch "${WORKDIR}"/${P}-chunk-encoding.patch use zero-penalty-hit && epatch "${FILESDIR}"/${P}-adapted-zph.patch has_version app-crypt/mit-krb5 || epatch "${FILESDIR}"/${P}-heimdal.patc= h eautoreconf } src_configure() { local basic_modules=3D"getpwnam,NCSA,MSNT" use samba && basic_modules=3D"SMB,multi-domain-NTLM,${basic_modules}" use ldap && basic_modules=3D"LDAP,${basic_modules}" use pam && basic_modules=3D"PAM,${basic_modules}" use sasl && basic_modules=3D"SASL,${basic_modules}" use nis && ! use elibc_uclibc && basic_modules=3D"YP,${basic_modules}" use radius && basic_modules=3D"squid_radius_auth,${basic_modules}" if use mysql || use postgres || use sqlite ; then basic_modules=3D"DB,${basic_modules}" fi local ext_helpers=3D"ip_user,session,unix_group" use samba && ext_helpers=3D"wbinfo_group,${ext_helpers}" use ldap && ext_helpers=3D"ldap_group,${ext_helpers}" local ntlm_helpers=3D"fakeauth" use samba && ntlm_helpers=3D"SMB,${ntlm_helpers}" local negotiate_helpers=3D use kerberos && local negotiate_helpers=3D"squid_kerb_auth" local myconf=3D"" # coss support has been disabled # If it is re-enabled again, make sure you don't enable it for elibc_ucl= ibc (#61175) myconf=3D"${myconf} --enable-storeio=3Dufs,diskd,aufs,null" if use kernel_linux; then myconf=3D"${myconf} --enable-linux-netfilter $(use_enable epoll)" elif use kernel_FreeBSD || use kernel_OpenBSD || use kernel_NetBSD ; the= n myconf=3D"${myconf} $(use_enable kqueue)" if use pf-transparent; then myconf=3D"${myconf} --enable-pf-transparent" elif use ipf-transparent; then myconf=3D"${myconf} --enable-ipf-transparent" fi fi export CC=3D$(tc-getCC) econf \ --sysconfdir=3D/etc/squid \ --libexecdir=3D/usr/libexec/squid \ --localstatedir=3D/var \ --datadir=3D/usr/share/squid \ --with-default-user=3Dsquid \ --enable-auth=3D"basic,digest,negotiate,ntlm" \ --enable-removal-policies=3D"lru,heap" \ --enable-digest-auth-helpers=3D"password" \ --enable-basic-auth-helpers=3D"${basic_modules}" \ --enable-external-acl-helpers=3D"${ext_helpers}" \ --enable-ntlm-auth-helpers=3D"${ntlm_helpers}" \ --enable-negotiate-auth-helpers=3D"${negotiate_helpers}" \ --enable-useragent-log \ --enable-cache-digests \ --enable-delay-pools \ --enable-referer-log \ --enable-arp-acl \ --with-large-files \ --with-filedescriptors=3D8192 \ $(use_enable snmp) \ $(use_enable ssl) \ $(use_enable icap-client) \ ${myconf} || die "econf failed" } src_install() { emake DESTDIR=3D"${D}" install || die "emake install failed" # need suid root for looking into /etc/shadow fowners root:squid /usr/libexec/squid/ncsa_auth fowners root:squid /usr/libexec/squid/pam_auth fperms 4750 /usr/libexec/squid/ncsa_auth fperms 4750 /usr/libexec/squid/pam_auth # some cleanups rm -f "${D}"/usr/bin/Run* dodoc CONTRIBUTORS CREDITS ChangeLog QUICKSTART SPONSORS doc/*.txt \ helpers/ntlm_auth/no_check/README.no_check_ntlm_auth newdoc helpers/basic_auth/SMB/README README.auth_smb dohtml helpers/basic_auth/MSNT/README.html RELEASENOTES.html newdoc helpers/basic_auth/LDAP/README README.auth_ldap doman helpers/basic_auth/LDAP/*.8 dodoc helpers/basic_auth/SASL/squid_sasl_auth* 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 rm -rf "${D}"/var diropts -m0755 -o squid -g squid keepdir /var/cache/squid /var/log/squid } pkg_postinst() { echo ewarn "Squid authentication helpers have been installed suid root." ewarn "This allows shadow based authentication (see bug #52977 for more)= ." echo ewarn "Be careful what type of cache_dir you select!" ewarn " 'diskd' is optimized for high levels of traffic, but it might = seem slow" ewarn "when there isn't sufficient traffic to keep squid reasonably busy= ." ewarn " If your traffic level is low to moderate, use 'aufs' or 'ufs'.= " echo ewarn "Squid can be configured to run in transparent mode like this:" ewarn " ${HILITE}http_port internal-addr:3128 transparent${NORMAL}" if use zero-penalty-hit; then echo ewarn "In order for zph_preserve_miss_tos to work, you will have to alt= er your kernel" ewarn "with the patch that can be found on http://zph.bratcheda.org sit= e." fi }