Package: squid
Followup-For: Bug #487880

Hi,
the patch lacks a builddependencies on the actual kerberos development
files. New version attached.
Cheers,
 -- Guido
>From bdfa5a6e8caa9ea41f07390e670193678cc56c26 Mon Sep 17 00:00:00 2001
From: Guido Guenther <[EMAIL PROTECTED]>
Date: Mon, 23 Jun 2008 14:53:17 +0200
Subject: [PATCH] enable krb5 negotiate auth helper

---
 debian/control |    2 +-
 debian/rules   |    7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index cf36dd8..cf71f49 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Luigi Gangitano <[EMAIL PROTECTED]>
 Homepage: http://www.squid-cache.org/
 Standards-Version: 3.7.3
-Build-Depends: libldap2-dev, libpam0g-dev, sharutils, dpatch (>= 2.0.9), po-debconf, libdb-dev
+Build-Depends: libldap2-dev, libpam0g-dev, sharutils, dpatch (>= 2.0.9), po-debconf, libdb-dev, libgssglue-dev, libkrb5-dev
 
 Package: squid
 Architecture: any
diff --git a/debian/rules b/debian/rules
index 9a14f77..21ba7dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -146,7 +146,8 @@ config.status:
 	--enable-underscores \
 	--enable-referer-log \
 	--enable-useragent-log \
-	--enable-auth="basic,digest,ntlm" \
+	--enable-auth="basic,digest,ntlm,negotiate" \
+	--enable-negotiate-auth-helpers=squid_kerb_auth \
 	--enable-carp \
 	--enable-follow-x-forwarded-for \
 	--with-large-files \
@@ -200,6 +201,8 @@ binary-indep:	build checkroot
 		$(tmp)$(docdir)/README.auth_module.digest_pw_auth
 	$(INSTALL_FILE) helpers/external_acl/ip_user/README \
 		$(tmp)$(docdir)/README.auth_module.ip_user
+	$(INSTALL_FILE) helpers/negotiate_auth/squid_kerb_auth/readme.txt \
+		$(tmp)$(docdir)/README.squid_kerb_auth
 	$(INSTALL_FILE) helpers/external_acl/ip_user/example.conf \
 		$(tmp)$(docdir)/examples/ip_user-example.conf
 	$(INSTALL_FILE) helpers/external_acl/unix_group/README \
@@ -272,6 +275,8 @@ binary-arch:	build checkroot
 		$(tmp)$(libexecdir)/wbinfo_group.pl
 	$(INSTALL_PROGRAM) helpers/ntlm_auth/SMB/ntlm_auth \
 		$(tmp)$(libexecdir)/ntlm_auth
+	$(INSTALL_PROGRAM) helpers/negotiate_auth/squid_kerb_auth/squid_kerb_auth \
+		$(tmp)$(libexecdir)/squid_kerb_auth
 	# the examples. Most have been removed from upstream :/
 	$(INSTALL_FILE) src/squid.conf.default \
 	        $(tmp)/usr/share/doc/$(package)/examples/squid.conf
-- 
1.5.5.1

Reply via email to