summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-02-25 20:30:45 +0000
committerAlin Năstac <mrness@gentoo.org>2007-02-25 20:30:45 +0000
commit64df7e76a3b0a3a5beefd1b36180b1ff17edbf75 (patch)
treed644876455ac26f67c6853d9e3f63217764de42d /net-proxy/squid
parentAdd ~mips to glibc-2.5 for testing under the 2007.1-dev profile. (diff)
downloadgentoo-2-64df7e76a3b0a3a5beefd1b36180b1ff17edbf75.tar.gz
gentoo-2-64df7e76a3b0a3a5beefd1b36180b1ff17edbf75.tar.bz2
gentoo-2-64df7e76a3b0a3a5beefd1b36180b1ff17edbf75.zip
Restore the default cache_effective_group to none (#166950). Add samba USE flag (#167712). Make squid.cron return 0 when pid doesn't exist (#168075).
(Portage version: 2.1.2-r9)
Diffstat (limited to 'net-proxy/squid')
-rw-r--r--net-proxy/squid/ChangeLog10
-rw-r--r--net-proxy/squid/files/digest-squid-2.6.9-r1 (renamed from net-proxy/squid/files/digest-squid-2.6.9)0
-rw-r--r--net-proxy/squid/files/squid-2.6.9-gentoo.patch9
-rw-r--r--net-proxy/squid/files/squid.cron7
-rw-r--r--net-proxy/squid/squid-2.6.9-r1.ebuild (renamed from net-proxy/squid/squid-2.6.9.ebuild)25
5 files changed, 29 insertions, 22 deletions
diff --git a/net-proxy/squid/ChangeLog b/net-proxy/squid/ChangeLog
index f0f2f4dc5d7e..7cc976893175 100644
--- a/net-proxy/squid/ChangeLog
+++ b/net-proxy/squid/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-proxy/squid
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.123 2007/01/27 09:17:35 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/ChangeLog,v 1.124 2007/02/25 20:30:45 mrness Exp $
+
+*squid-2.6.9-r1 (25 Feb 2007)
+
+ 25 Feb 2007; Alin Năstac <mrness@gentoo.org>
+ files/squid-2.6.9-gentoo.patch, files/squid.cron, -squid-2.6.9.ebuild,
+ +squid-2.6.9-r1.ebuild:
+ Restore the default cache_effective_group to none (#166950). Add samba USE
+ flag (#167712). Make squid.cron return 0 when pid doesn't exist (#168075).
*squid-2.6.9 (27 Jan 2007)
diff --git a/net-proxy/squid/files/digest-squid-2.6.9 b/net-proxy/squid/files/digest-squid-2.6.9-r1
index 2f5006a40c5e..2f5006a40c5e 100644
--- a/net-proxy/squid/files/digest-squid-2.6.9
+++ b/net-proxy/squid/files/digest-squid-2.6.9-r1
diff --git a/net-proxy/squid/files/squid-2.6.9-gentoo.patch b/net-proxy/squid/files/squid-2.6.9-gentoo.patch
index 948f5c110426..01abea3780ee 100644
--- a/net-proxy/squid/files/squid-2.6.9-gentoo.patch
+++ b/net-proxy/squid/files/squid-2.6.9-gentoo.patch
@@ -132,15 +132,6 @@ diff -Nru squid-2.6.STABLE9.orig/src/cf.data.pre squid-2.6.STABLE9/src/cf.data.p
LOC: Config.effectiveUser
DOC_START
If you start Squid as root, it will change its effective/real
-@@ -3324,7 +3332,7 @@
-
- NAME: cache_effective_group
- TYPE: string
--DEFAULT: none
-+DEFAULT: squid
- LOC: Config.effectiveGroup
- DOC_START
- If you want Squid to run with a specific GID regardless of
@@ -3693,6 +3701,9 @@
If you disable this, it will appear as
diff --git a/net-proxy/squid/files/squid.cron b/net-proxy/squid/files/squid.cron
index 02309459b0bb..8726ddd72955 100644
--- a/net-proxy/squid/files/squid.cron
+++ b/net-proxy/squid/files/squid.cron
@@ -1,4 +1,5 @@
#!/bin/sh
-test -e /var/run/squid.pid && \
-test -n "$(cat /var/run/squid.pid|xargs ps -p|grep squid)" && \
- /usr/sbin/squid -k rotate
+if test -e /var/run/squid.pid ; then
+ test -n "$(cat /var/run/squid.pid|xargs ps -p|grep squid)" && \
+ /usr/sbin/squid -k rotate
+fi
diff --git a/net-proxy/squid/squid-2.6.9.ebuild b/net-proxy/squid/squid-2.6.9-r1.ebuild
index 13540a74bcc0..ab2fe6e746cd 100644
--- a/net-proxy/squid/squid-2.6.9.ebuild
+++ b/net-proxy/squid/squid-2.6.9-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-2.6.9.ebuild,v 1.1 2007/01/27 09:17:35 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/squid-2.6.9-r1.ebuild,v 1.1 2007/02/25 20:30:45 mrness Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -20,18 +20,20 @@ SRC_URI="http://www.squid-cache.org/Versions/v2/${S_PV}/${S_PP}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="pam ldap sasl nis ssl snmp selinux logrotate zero-penalty-hit \
+IUSE="pam ldap samba sasl nis ssl snmp selinux logrotate zero-penalty-hit \
pf-transparent ipf-transparent \
elibc_uclibc kernel_linux"
-RDEPEND="pam? ( virtual/pam )
+DEPEND="pam? ( virtual/pam )
ldap? ( >=net-nds/openldap-2.1.26 )
ssl? ( >=dev-libs/openssl-0.9.7j )
sasl? ( >=dev-libs/cyrus-sasl-2.1.21 )
selinux? ( sec-policy/selinux-squid )
!x86-fbsd? ( logrotate? ( app-admin/logrotate ) )
- >=sys-libs/db-4"
-DEPEND="${RDEPEND} dev-lang/perl"
+ >=sys-libs/db-4
+ dev-lang/perl"
+RDEPEND="${DEPEND}
+ samba? ( net-fs/samba )"
S="${WORKDIR}/${S_PP}"
@@ -57,15 +59,20 @@ src_unpack() {
}
src_compile() {
- local basic_modules="getpwnam,NCSA,SMB,MSNT,multi-domain-NTLM"
+ local basic_modules="getpwnam,NCSA,MSNT"
+ use samba && basic_modules="SMB,multi-domain-NTLM,${basic_modules}"
use ldap && basic_modules="LDAP,${basic_modules}"
use pam && basic_modules="PAM,${basic_modules}"
use sasl && basic_modules="SASL,${basic_modules}"
use nis && ! use elibc_uclibc && basic_modules="YP,${basic_modules}"
- local ext_helpers="ip_user,session,unix_group,wbinfo_group"
+ local ext_helpers="ip_user,session,unix_group"
+ use samba && ext_helpers="wbinfo_group,${ext_helpers}"
use ldap && ext_helpers="ldap_group,${ext_helpers}"
+ local ntlm_helpers="fakeauth"
+ use samba && ntlm_helpers="SMB,${ntlm_helpers}"
+
local myconf=""
# Support for uclibc #61175
@@ -103,7 +110,7 @@ src_compile() {
--enable-digest-auth-helpers="password" \
--enable-basic-auth-helpers="${basic_modules}" \
--enable-external-acl-helpers="${ext_helpers}" \
- --enable-ntlm-auth-helpers="SMB,fakeauth" \
+ --enable-ntlm-auth-helpers="${ntlm_helpers}" \
--enable-ident-lookups \
--enable-useragent-log \
--enable-cache-digests \
@@ -134,7 +141,7 @@ src_install() {
fperms 4750 /usr/libexec/squid/ncsa_auth
fperms 4750 /usr/libexec/squid/pam_auth
- #some clean ups
+ #some cleanups
rm -f "${D}"/usr/bin/Run*
dodoc CONTRIBUTORS CREDITS ChangeLog QUICKSTART SPONSORS doc/*.txt \