aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/squid/squid.inc
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-03-19 15:19:25 +0300
committerRoman I Khimov <khimov@altell.ru>2010-03-20 18:01:51 +0300
commit7ced87e9f87db4c250a21f12bd67226e7ad5d868 (patch)
tree17be3e67661fb68b1a6eb00f734a61f390ef19a2 /recipes/squid/squid.inc
parent01042f7890279f41782614dfc06d03a3453bcdbc (diff)
downloadopenembedded-7ced87e9f87db4c250a21f12bd67226e7ad5d868.tar.gz
squid: build with LDAP authentication support
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/squid/squid.inc')
-rw-r--r--recipes/squid/squid.inc10
1 files changed, 7 insertions, 3 deletions
diff --git a/recipes/squid/squid.inc b/recipes/squid/squid.inc
index bec06f88ab..93b6800af5 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