diff options
| -rw-r--r-- | meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch | 39 | ||||
| -rw-r--r-- | meta-networking/recipes-daemons/squid/squid_3.5.7.bb (renamed from meta-networking/recipes-daemons/squid/squid_3.4.7.bb) | 16 |
2 files changed, 11 insertions, 44 deletions
diff --git a/meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch b/meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch deleted file mode 100644 index 8e03860b3c..0000000000 --- a/meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | squid: change ksh reference in krb ldap helper to sh | ||
| 2 | |||
| 3 | Very simple cert_tool script with no ksh specifics. | ||
| 4 | Change it to use sh so a package dependency doesn't | ||
| 5 | get created to ksh. | ||
| 6 | |||
| 7 | Upstream-Status: Pending | ||
| 8 | |||
| 9 | Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> | ||
| 10 | Signed-off-by: Chong Lu <Chong.Lu@windriver.com> | ||
| 11 | --- | ||
| 12 | helpers/external_acl/kerberos_ldap_group/cert_tool | 6 +++--- | ||
| 13 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/helpers/external_acl/kerberos_ldap_group/cert_tool b/helpers/external_acl/kerberos_ldap_group/cert_tool | ||
| 16 | index 9f14959..8c4ea11 100644 | ||
| 17 | --- a/helpers/external_acl/kerberos_ldap_group/cert_tool | ||
| 18 | +++ b/helpers/external_acl/kerberos_ldap_group/cert_tool | ||
| 19 | @@ -1,4 +1,4 @@ | ||
| 20 | -#!/bin/ksh | ||
| 21 | +#!/bin/sh | ||
| 22 | # | ||
| 23 | # ----------------------------------------------------------------------------- | ||
| 24 | # | ||
| 25 | @@ -64,9 +64,9 @@ QUIT | ||
| 26 | # Create database for Sun ldap and pem file for Openldap | ||
| 27 | # | ||
| 28 | rm ${server}_[0-9]*.pem 2>/dev/null | ||
| 29 | -let i=0 | ||
| 30 | +i=0 | ||
| 31 | ls ${server}_[0-9]*.cert | while read file; do | ||
| 32 | - let i=i+1 | ||
| 33 | + i=`expr $i + 1` | ||
| 34 | cat $file >> ${server}_$i.pem | ||
| 35 | CA=`openssl x509 -noout -text -in ${server}_$i.pem | grep -i "CA:.*true"` | ||
| 36 | if [ -n "$CA" ]; then | ||
| 37 | -- | ||
| 38 | 1.9.1 | ||
| 39 | |||
diff --git a/meta-networking/recipes-daemons/squid/squid_3.4.7.bb b/meta-networking/recipes-daemons/squid/squid_3.5.7.bb index 7b00dfcef3..5d058dc265 100644 --- a/meta-networking/recipes-daemons/squid/squid_3.4.7.bb +++ b/meta-networking/recipes-daemons/squid/squid_3.5.7.bb | |||
| @@ -16,17 +16,16 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P | |||
| 16 | file://Set-up-for-cross-compilation.patch \ | 16 | file://Set-up-for-cross-compilation.patch \ |
| 17 | file://Skip-AC_RUN_IFELSE-tests.patch \ | 17 | file://Skip-AC_RUN_IFELSE-tests.patch \ |
| 18 | file://Fix-flawed-dynamic-ldb-link-test-in-configure.patch \ | 18 | file://Fix-flawed-dynamic-ldb-link-test-in-configure.patch \ |
| 19 | file://squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch \ | ||
| 20 | file://squid-use-serial-tests-config-needed-by-ptest.patch \ | 19 | file://squid-use-serial-tests-config-needed-by-ptest.patch \ |
| 21 | file://run-ptest \ | 20 | file://run-ptest \ |
| 22 | file://volatiles.03_squid \ | 21 | file://volatiles.03_squid \ |
| 23 | " | 22 | " |
| 24 | 23 | ||
| 25 | LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \ | 24 | LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \ |
| 26 | file://COPYRIGHT;md5=2900f50789c498be8e9f1eb23b55cbe9 \ | 25 | file://errors/COPYRIGHT;md5=0fed8f1462f6fdbc62bb431bcb618f46 \ |
| 27 | " | 26 | " |
| 28 | SRC_URI[md5sum] = "9951034b10f7ee0f45a95cfae61c57c2" | 27 | SRC_URI[md5sum] = "06e43abc67aedcc3903a2780de20a3ed" |
| 29 | SRC_URI[sha256sum] = "7b423f3d3495a317503ca559ea535f80445fd7c4e3c3e268cb7a8c97c61af2b6" | 28 | SRC_URI[sha256sum] = "b7dcec8c5cb7f5687aff4256a7522f670c310a350cc9e9c0f29f3fd9cf88d017" |
| 30 | 29 | ||
| 31 | DEPENDS = "libtool krb5 openldap db cyrus-sasl" | 30 | DEPENDS = "libtool krb5 openldap db cyrus-sasl" |
| 32 | 31 | ||
| @@ -37,7 +36,14 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she | |||
| 37 | 36 | ||
| 38 | PACKAGECONFIG ??= "" | 37 | PACKAGECONFIG ??= "" |
| 39 | PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack" | 38 | PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack" |
| 40 | EXTRA_OECONF += "--with-default-user=squid" | 39 | |
| 40 | BASIC_AUTH = "DB SASL LDAP NIS" | ||
| 41 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
| 42 | BASIC_AUTH += "${@base_contains('DISTRO_FEATURES', 'pam', 'PAM', '', d)}" | ||
| 43 | |||
| 44 | EXTRA_OECONF += "--with-default-user=squid --enable-auth-basic='${BASIC_AUTH}'" | ||
| 45 | export BUILDCXXFLAGS="${BUILD_CXXFLAGS}" | ||
| 46 | CACHED_CONFIGUREVARS += "squid_cv_gnu_atomics=yes" | ||
| 41 | 47 | ||
| 42 | TESTDIR = "test-suite" | 48 | TESTDIR = "test-suite" |
| 43 | do_compile_ptest() { | 49 | do_compile_ptest() { |
