diff options
| author | André Hentschel <nerv@dawncrow.de> | 2018-03-07 21:15:58 +0100 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-03-31 16:13:39 +0200 |
| commit | 39d5d9ad65c0cb5f116287a7f0bd3cfc5d451de6 (patch) | |
| tree | a8078c2e62a760d3e10c8e335671a08a1736917e /package/squid | |
| parent | 7ae94b51ed5d51fb9fa3f5a931bb8435bcbfaa42 (diff) | |
| download | buildroot-39d5d9ad65c0cb5f116287a7f0bd3cfc5d451de6.tar.gz buildroot-39d5d9ad65c0cb5f116287a7f0bd3cfc5d451de6.zip | |
squid: add optional dependency on libkrb5
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/squid')
| -rw-r--r-- | package/squid/squid.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/package/squid/squid.mk b/package/squid/squid.mk index 8ade55ee37..2d21ad8858 100644 --- a/package/squid/squid.mk +++ b/package/squid/squid.mk @@ -29,7 +29,6 @@ SQUID_CONF_OPTS = \ --enable-removal-policies="lru,heap" \ --with-filedescriptors=1024 \ --disable-ident-lookups \ - --without-mit-krb5 \ --enable-auth-basic="fake getpwnam" \ --enable-auth-digest="file" \ --enable-auth-negotiate="wrapper" \ @@ -50,6 +49,13 @@ else SQUID_CONF_ENV += squid_cv_gnu_atomics=no endif +ifeq ($(BR2_PACKAGE_LIBKRB5),y) +SQUID_CONF_OPTS += --with-mit-krb5 +SQUID_DEPENDENCIES += libkrb5 +else +SQUID_CONF_OPTS += --without-mit-krb5 +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) SQUID_CONF_OPTS += --with-openssl SQUID_DEPENDENCIES += openssl |

