[oe-commits] Roman I Khimov : squid: build with LDAP authentication support

git version control git at git.openembedded.org
Sat Mar 20 18:57:44 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 7ced87e9f87db4c250a21f12bd67226e7ad5d868
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7ced87e9f87db4c250a21f12bd67226e7ad5d868

Author: Roman I Khimov <khimov at altell.ru>
Date:   Fri Mar 19 15:19:25 2010 +0300

squid: build with LDAP authentication support

Signed-off-by: Roman I Khimov <khimov at altell.ru>

---

 recipes/squid/squid.inc |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/recipes/squid/squid.inc b/recipes/squid/squid.inc
index bec06f8..93b6800 100644
--- a/recipes/squid/squid.inc
+++ b/recipes/squid/squid.inc
@@ -1,7 +1,7 @@
 DESCRIPTION = "Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more"
 LICENSE = "GPLv2"
-INC_PR = "r6"
-DEPENDS = "squid-native-${PV} openssl"
+INC_PR = "r7"
+DEPENDS = "squid-native-${PV} openssl openldap"
 
 SRC_URI = "http://www.squid-cache.org/Versions/v2/${SQUID_MAJOR}/squid-${PV}.tar.bz2;name=squid-${PV} \
            file://fix_epoll_check.patch;patch=1 \
@@ -11,7 +11,7 @@ SRC_URI = "http://www.squid-cache.org/Versions/v2/${SQUID_MAJOR}/squid-${PV}.tar
 
 inherit autotools update-rc.d
 
-EXTRA_OECONF = "--disable-epoll --disable-nls --enable-ssl --enable-storeio=null,ufs"
+EXTRA_OECONF = "--disable-epoll --disable-nls --enable-ssl --enable-storeio=null,ufs --enable-digest-auth-helpers=ldap --enable-basic-auth-helpers=LDAP"
 
 logdir = ${localstatedir}/log/squid
 EXTRA_OEMAKE = "\
@@ -48,8 +48,12 @@ do_install_append() {
 # this packages the languages better and saves some space, installs
 # English as errors default and the others in locale package
 
+PACKAGES =+ "${PN}-auth-ldap"
+RDEPENDS_${PN}-auth-ldap += "${PN}"
+
 FILES_${PN} += " ${datadir}/errors/English/* \
                  ${datadir}/icons/* \
                  ${datadir}/mib.txt"
 
 FILES_${PN}-locale += " ${datadir}/errors/* " 
+FILES_${PN}-auth-ldap = "${libexecdir}/digest_ldap_auth ${libexecdir}/squid_ldap_auth"
\ No newline at end of file





More information about the Openembedded-commits mailing list