Skip to contentSkip to conversation

squid: upgrade to 3.5.5

PATCH Superseded [email protected] 2 participants 8 messages Jul 7, 2015 – Sep 6, 2015

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 squid: upgrade to 3.5.5

From: Roy Li <[email protected]>

1. Remove the squid-change-ksh-referen*.patch which is not needed, since 3.5.5 did not use ksh by default.
2. Update the checksum of COPYING,since the date in it has been changed.
3. Define BUILDCXXFLAGS, otherwise the target gcc options -std=c++11 will add into it, and lead to building failure since host gcc maybe not support "-std=c++11"
4. Assume to support GNU atomic operations by default, the running check on cross-compile setup does not work
5. Add the dependency on libpam

---
 ...ge-ksh-reference-in-krb-ldap-helper-to-sh.patch | 39 ----------------------
 .../squid/{squid_3.4.7.bb => squid_3.5.5.bb}       | 11 +++---
 2 files changed, 6 insertions(+), 44 deletions(-)
 delete mode 100644 meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch
 rename meta-networking/recipes-daemons/squid/{squid_3.4.7.bb => squid_3.5.5.bb} (86%)
meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch deleted +0 -39
deleted file mode 100644
index 8e03860..0000000
@@ -1,39 +0,0 @@
-squid: change ksh reference in krb ldap helper to sh
-
-Very simple cert_tool script with no ksh specifics.
-Change it to use sh so a package dependency doesn't
-get created to ksh.
-
-Upstream-Status: Pending
-
-Signed-off-by: Jim Somerville <[email protected]>
-Signed-off-by: Chong Lu <[email protected]>
----
- helpers/external_acl/kerberos_ldap_group/cert_tool | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/helpers/external_acl/kerberos_ldap_group/cert_tool b/helpers/external_acl/kerberos_ldap_group/cert_tool
-index 9f14959..8c4ea11 100644
---- a/helpers/external_acl/kerberos_ldap_group/cert_tool
-+++ b/helpers/external_acl/kerberos_ldap_group/cert_tool
-@@ -1,4 +1,4 @@
--#!/bin/ksh
-+#!/bin/sh
- #
- #  -----------------------------------------------------------------------------
- # 
-@@ -64,9 +64,9 @@ QUIT
- # Create database for Sun ldap and pem file for Openldap 
- #
- rm ${server}_[0-9]*.pem 2>/dev/null
--let i=0
-+i=0
-  ls ${server}_[0-9]*.cert | while read file; do
-- let i=i+1
-+ i=`expr $i + 1`
-  cat  $file  >> ${server}_$i.pem
-  CA=`openssl x509 -noout -text -in  ${server}_$i.pem | grep -i "CA:.*true"`
-  if [ -n "$CA" ]; then
--- 
-1.9.1
-
meta-networking/recipes-daemons/squid/squid_3.5.5.bb renamed from meta-networking/recipes-daemons/squid/squid_3.4.7.bb +6 -5
similarity index 86%
rename from meta-networking/recipes-daemons/squid/squid_3.4.7.bb
rename to meta-networking/recipes-daemons/squid/squid_3.5.5.bb
index 7b00dfc..198319d 100644
@@ -16,19 +16,18 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P
            file://Set-up-for-cross-compilation.patch \
            file://Skip-AC_RUN_IFELSE-tests.patch \
            file://Fix-flawed-dynamic-ldb-link-test-in-configure.patch \
-           file://squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch \
            file://squid-use-serial-tests-config-needed-by-ptest.patch \
            file://run-ptest \
            file://volatiles.03_squid \
 "
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \
-                    file://COPYRIGHT;md5=2900f50789c498be8e9f1eb23b55cbe9 \
+                    file://errors/COPYRIGHT;md5=0fed8f1462f6fdbc62bb431bcb618f46 \
                    "
-SRC_URI[md5sum] = "9951034b10f7ee0f45a95cfae61c57c2"
-SRC_URI[sha256sum] = "7b423f3d3495a317503ca559ea535f80445fd7c4e3c3e268cb7a8c97c61af2b6"
+SRC_URI[md5sum] = "6aac5c2e9cbbeabcbf2e9e49a178a931"
+SRC_URI[sha256sum] = "741c24a307c50f0d845d53cabb66b36d91ce9a73c8a165eae5def5e4d11e6a0d"
 
-DEPENDS = "libtool krb5 openldap db cyrus-sasl"
+DEPENDS = "libtool krb5 openldap db cyrus-sasl libpam"
 
 inherit autotools useradd ptest
 
@@ -38,6 +37,8 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack"
 EXTRA_OECONF += "--with-default-user=squid"
+export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
+CACHED_CONFIGUREVARS += "squid_cv_gnu_atomics=yes"
 
 TESTDIR = "test-suite"
 do_compile_ptest() {
Signature · 1 line
1.9.1
#1 lore raw

Ping

-Roy

Quoted 106 lines · On 2015年07月07日 09:55, [email protected] wrote:

From: Roy Li <[email protected]>

1. Remove the squid-change-ksh-referen*.patch which is not needed, since 3.5.5 did not use ksh by default.
2. Update the checksum of COPYING,since the date in it has been changed.
3. Define BUILDCXXFLAGS, otherwise the target gcc options -std=c++11 will add into it, and lead to building failure since host gcc maybe not support "-std=c++11"
4. Assume to support GNU atomic operations by default, the running check on cross-compile setup does not work
5. Add the dependency on libpam

---
  ...ge-ksh-reference-in-krb-ldap-helper-to-sh.patch | 39 ----------------------
  .../squid/{squid_3.4.7.bb => squid_3.5.5.bb}       | 11 +++---
  2 files changed, 6 insertions(+), 44 deletions(-)

delete mode 100644 meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch rename meta-networking/recipes-daemons/squid/{squid_3.4.7.bb => squid_3.5.5.bb} (86%)

meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch deleted +0 -39
deleted file mode 100644
index 8e03860..0000000
@@ -1,39 +0,0 @@
-squid: change ksh reference in krb ldap helper to sh
-
-Very simple cert_tool script with no ksh specifics.
-Change it to use sh so a package dependency doesn't
-get created to ksh.
-
-Upstream-Status: Pending
-
-Signed-off-by: Jim Somerville <[email protected]>
-Signed-off-by: Chong Lu <[email protected]>
----
- helpers/external_acl/kerberos_ldap_group/cert_tool | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/helpers/external_acl/kerberos_ldap_group/cert_tool b/helpers/external_acl/kerberos_ldap_group/cert_tool
-index 9f14959..8c4ea11 100644
---- a/helpers/external_acl/kerberos_ldap_group/cert_tool
-+++ b/helpers/external_acl/kerberos_ldap_group/cert_tool
-@@ -1,4 +1,4 @@
--#!/bin/ksh
-+#!/bin/sh
- #
- #  -----------------------------------------------------------------------------
- #
-@@ -64,9 +64,9 @@ QUIT
- # Create database for Sun ldap and pem file for Openldap
- #
- rm ${server}_[0-9]*.pem 2>/dev/null
--let i=0
-+i=0
-  ls ${server}_[0-9]*.cert | while read file; do
-- let i=i+1
-+ i=`expr $i + 1`
-  cat  $file  >> ${server}_$i.pem
-  CA=`openssl x509 -noout -text -in  ${server}_$i.pem | grep -i "CA:.*true"`
-  if [ -n "$CA" ]; then
---
-1.9.1
-
meta-networking/recipes-daemons/squid/squid_3.5.5.bb renamed from meta-networking/recipes-daemons/squid/squid_3.4.7.bb +6 -5
similarity index 86%
rename from meta-networking/recipes-daemons/squid/squid_3.4.7.bb
rename to meta-networking/recipes-daemons/squid/squid_3.5.5.bb
index 7b00dfc..198319d 100644
@@ -16,19 +16,18 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P
             file://Set-up-for-cross-compilation.patch \
             file://Skip-AC_RUN_IFELSE-tests.patch \
             file://Fix-flawed-dynamic-ldb-link-test-in-configure.patch \
-           file://squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch \
             file://squid-use-serial-tests-config-needed-by-ptest.patch \
             file://run-ptest \
             file://volatiles.03_squid \
  "
 
  LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \
-                    file://COPYRIGHT;md5=2900f50789c498be8e9f1eb23b55cbe9 \
+                    file://errors/COPYRIGHT;md5=0fed8f1462f6fdbc62bb431bcb618f46 \
                     "
-SRC_URI[md5sum] = "9951034b10f7ee0f45a95cfae61c57c2"
-SRC_URI[sha256sum] = "7b423f3d3495a317503ca559ea535f80445fd7c4e3c3e268cb7a8c97c61af2b6"
+SRC_URI[md5sum] = "6aac5c2e9cbbeabcbf2e9e49a178a931"
+SRC_URI[sha256sum] = "741c24a307c50f0d845d53cabb66b36d91ce9a73c8a165eae5def5e4d11e6a0d"
 
-DEPENDS = "libtool krb5 openldap db cyrus-sasl"
+DEPENDS = "libtool krb5 openldap db cyrus-sasl libpam"
 
  inherit autotools useradd ptest
 
@@ -38,6 +37,8 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she
  PACKAGECONFIG ??= ""
  PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack"
  EXTRA_OECONF += "--with-default-user=squid"
+export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
+CACHED_CONFIGUREVARS += "squid_cv_gnu_atomics=yes"
 
  TESTDIR = "test-suite"
  do_compile_ptest() {
Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
#2 lore raw
Quoted 1 line · [Re: [oe] [PATCH][meta-networking][v3] squid: upgrade to 3.5.5] On 15.07.31…

Ping

Just getting to look at the queue again and this stood out for me:

Quoted 15 lines

-Roy

Quoted 11 lines · On 2015年07月07日 09:55, [email protected] wrote:

From: Roy Li <[email protected]>

1. Remove the squid-change-ksh-referen*.patch which is not needed, since 3.5.5 did not use ksh by default.
2. Update the checksum of COPYING,since the date in it has been changed.
3. Define BUILDCXXFLAGS, otherwise the target gcc options -std=c++11 will add into it, and lead to building failure since host gcc maybe not support "-std=c++11"
4. Assume to support GNU atomic operations by default, the running check on cross-compile setup does not work
5. Add the dependency on libpam

Is PAM actually a Squid dependency now? None of the documentation seems to indicate it is mandatory. I know the last time around it was flagged as a dependency in Martin's build logs, but that's because PAM was detected during the build and used, not because Squid demands it, I think. We just need explicit behaviour because the auto-detected behaviour is indeterminate.

-J.

Quoted 99 lines
Quoted 95 lines
---
 ...ge-ksh-reference-in-krb-ldap-helper-to-sh.patch | 39 ----------------------
 .../squid/{squid_3.4.7.bb => squid_3.5.5.bb}       | 11 +++---
 2 files changed, 6 insertions(+), 44 deletions(-)
 delete mode 100644 meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch
 rename meta-networking/recipes-daemons/squid/{squid_3.4.7.bb => squid_3.5.5.bb} (86%)
meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch deleted +0 -39
deleted file mode 100644
index 8e03860..0000000
@@ -1,39 +0,0 @@
-squid: change ksh reference in krb ldap helper to sh
-
-Very simple cert_tool script with no ksh specifics.
-Change it to use sh so a package dependency doesn't
-get created to ksh.
-
-Upstream-Status: Pending
-
-Signed-off-by: Jim Somerville <[email protected]>
-Signed-off-by: Chong Lu <[email protected]>
----
- helpers/external_acl/kerberos_ldap_group/cert_tool | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/helpers/external_acl/kerberos_ldap_group/cert_tool b/helpers/external_acl/kerberos_ldap_group/cert_tool
-index 9f14959..8c4ea11 100644
---- a/helpers/external_acl/kerberos_ldap_group/cert_tool
-+++ b/helpers/external_acl/kerberos_ldap_group/cert_tool
-@@ -1,4 +1,4 @@
--#!/bin/ksh
-+#!/bin/sh
- #
- #  -----------------------------------------------------------------------------
- #
-@@ -64,9 +64,9 @@ QUIT
- # Create database for Sun ldap and pem file for Openldap
- #
- rm ${server}_[0-9]*.pem 2>/dev/null
--let i=0
-+i=0
-  ls ${server}_[0-9]*.cert | while read file; do
-- let i=i+1
-+ i=`expr $i + 1`
-  cat  $file  >> ${server}_$i.pem
-  CA=`openssl x509 -noout -text -in  ${server}_$i.pem | grep -i "CA:.*true"`
-  if [ -n "$CA" ]; then
---
-1.9.1
-
meta-networking/recipes-daemons/squid/squid_3.5.5.bb renamed from meta-networking/recipes-daemons/squid/squid_3.4.7.bb +6 -5
similarity index 86%
rename from meta-networking/recipes-daemons/squid/squid_3.4.7.bb
rename to meta-networking/recipes-daemons/squid/squid_3.5.5.bb
index 7b00dfc..198319d 100644
@@ -16,19 +16,18 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P
            file://Set-up-for-cross-compilation.patch \
            file://Skip-AC_RUN_IFELSE-tests.patch \
            file://Fix-flawed-dynamic-ldb-link-test-in-configure.patch \
-           file://squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch \
            file://squid-use-serial-tests-config-needed-by-ptest.patch \
            file://run-ptest \
            file://volatiles.03_squid \
 "
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \
-                    file://COPYRIGHT;md5=2900f50789c498be8e9f1eb23b55cbe9 \
+                    file://errors/COPYRIGHT;md5=0fed8f1462f6fdbc62bb431bcb618f46 \
                    "
-SRC_URI[md5sum] = "9951034b10f7ee0f45a95cfae61c57c2"
-SRC_URI[sha256sum] = "7b423f3d3495a317503ca559ea535f80445fd7c4e3c3e268cb7a8c97c61af2b6"
+SRC_URI[md5sum] = "6aac5c2e9cbbeabcbf2e9e49a178a931"
+SRC_URI[sha256sum] = "741c24a307c50f0d845d53cabb66b36d91ce9a73c8a165eae5def5e4d11e6a0d"
 
-DEPENDS = "libtool krb5 openldap db cyrus-sasl"
+DEPENDS = "libtool krb5 openldap db cyrus-sasl libpam"
 
 inherit autotools useradd ptest
 
@@ -38,6 +37,8 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack"
 EXTRA_OECONF += "--with-default-user=squid"
+export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
+CACHED_CONFIGUREVARS += "squid_cv_gnu_atomics=yes"
 
 TESTDIR = "test-suite"
 do_compile_ptest() {
Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
Signature · 2 lines
-Joe MacDonald.
:wq
#3 lore raw
Quoted 6 lines · Joe MacDonald
Quoted 1 line · [Re: [oe] [PATCH][meta-networking][v3] squid: upgrade to 3.5.5] On 15.07.31…

Ping

Just getting to look at the queue again and this stood out for me:

Hi Joe:

I see several patches stayed in master-next for a long time, Could you consider to merge them to master?

meta-oe$ git log --oneline master-next ^master ./meta-networking/ 4842138 opensaf: upgrade 4.5.0 -> 4.6.0
fec751e vsftpd: upgrade 3.0.2->3.0.3
6c8ab71 ypbind-mt: add dependency but keep as broken dbb4501 stunnel: upgrade 5.17 -> 5.21
0531aae quagga: upgrade 0.99.23 -> 0.99.24.1
e357ad6 netperf: fix the broken download url
27f7240 net-snmp: fix mib representation of timeout values 40c187b ypbind-mt: get parameters from dhcp
8f45f1b tcpslice: fix do_install
105f950 openvpn: upgrade 2.3.6 -> 2.3.7
9193170 radvd: upgrade 1.14 -> 2.11
085a82d netcf: upgrade 0.2.3 -> 0.2.8
65f4eed strongswan: upgrade to 5.3.2
463ab47 dovecot: upgrade 2.2.10 -> 2.2.18
73f0f92 crda: upgrade 3.13 -> 3.18
b9ea02a cim-schema-exper: add new recipe for openlmi cdd2db1 ntp: upgrade 4.2.8p2 -> 4.2.8p3
1019565 squid: upgrade to 3.5.5
dd56f0d inetutils: Fix deadlock in telnetd when cleanup 23b4e6c ypbind-yocto.init: add status command

Quoted 16 lines
Quoted 15 lines

-Roy

Quoted 11 lines · On 2015年07月07日 09:55, [email protected] wrote:

From: Roy Li <[email protected]>

1. Remove the squid-change-ksh-referen*.patch which is not needed, since 3.5.5 did not use ksh by default.
2. Update the checksum of COPYING,since the date in it has been changed.
3. Define BUILDCXXFLAGS, otherwise the target gcc options -std=c++11 will add into it, and lead to building failure since host gcc maybe not support "-std=c++11"
4. Assume to support GNU atomic operations by default, the running check on cross-compile setup does not work
5. Add the dependency on libpam

Quoted 8 lines

Is PAM actually a Squid dependency now? None of the documentation seems to indicate it is mandatory. I know the last time around it was flagged as a dependency in Martin's build logs, but that's because PAM was detected during the build and used, not because Squid demands it, I think. We just need explicit behaviour because the auto-detected behaviour is indeterminate.

-J.

I check the source code, did not find the configuration option, seems pam is a must.

like:
http://www.rpmfind.net/linux/rpm2html/search.php?query=squid&submit=Search+...&system=&arch=
http://www.rpmfind.net//linux/RPM/mageia/cauldron/i586/media/core/release/squid-3.5.7-1.mga6.i586.html

-Roy

Quoted 102 lines
Quoted 102 lines
Quoted 88 lines
---
  ...ge-ksh-reference-in-krb-ldap-helper-to-sh.patch | 39 ----------------------
  .../squid/{squid_3.4.7.bb => squid_3.5.5.bb}       | 11 +++---
  2 files changed, 6 insertions(+), 44 deletions(-)

delete mode 100644 meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch rename meta-networking/recipes-daemons/squid/{squid_3.4.7.bb => squid_3.5.5.bb} (86%)

meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch deleted +0 -39
deleted file mode 100644
index 8e03860..0000000
@@ -1,39 +0,0 @@
-squid: change ksh reference in krb ldap helper to sh
-
-Very simple cert_tool script with no ksh specifics.
-Change it to use sh so a package dependency doesn't
-get created to ksh.
-
-Upstream-Status: Pending
-
-Signed-off-by: Jim Somerville <[email protected]>
-Signed-off-by: Chong Lu <[email protected]>
----
- helpers/external_acl/kerberos_ldap_group/cert_tool | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/helpers/external_acl/kerberos_ldap_group/cert_tool b/helpers/external_acl/kerberos_ldap_group/cert_tool
-index 9f14959..8c4ea11 100644
---- a/helpers/external_acl/kerberos_ldap_group/cert_tool
-+++ b/helpers/external_acl/kerberos_ldap_group/cert_tool
-@@ -1,4 +1,4 @@
--#!/bin/ksh
-+#!/bin/sh
- #
- #  -----------------------------------------------------------------------------
- #
-@@ -64,9 +64,9 @@ QUIT
- # Create database for Sun ldap and pem file for Openldap
- #
- rm ${server}_[0-9]*.pem 2>/dev/null
--let i=0
-+i=0
-  ls ${server}_[0-9]*.cert | while read file; do
-- let i=i+1
-+ i=`expr $i + 1`
-  cat  $file  >> ${server}_$i.pem
-  CA=`openssl x509 -noout -text -in  ${server}_$i.pem | grep -i "CA:.*true"`
-  if [ -n "$CA" ]; then
---
-1.9.1
-
meta-networking/recipes-daemons/squid/squid_3.5.5.bb renamed from meta-networking/recipes-daemons/squid/squid_3.4.7.bb +4 -5
similarity index 86%
rename from meta-networking/recipes-daemons/squid/squid_3.4.7.bb
rename to meta-networking/recipes-daemons/squid/squid_3.5.5.bb
index 7b00dfc..198319d 100644
@@ -16,19 +16,18 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P
             file://Set-up-for-cross-compilation.patch \
             file://Skip-AC_RUN_IFELSE-tests.patch \
             file://Fix-flawed-dynamic-ldb-link-test-in-configure.patch \
-           file://squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch \
             file://squid-use-serial-tests-config-needed-by-ptest.patch \
             file://run-ptest \
             file://volatiles.03_squid \
  "
 
  LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \
-                    file://COPYRIGHT;md5=2900f50789c498be8e9f1eb23b55cbe9 \
+                    file://errors/COPYRIGHT;md5=0fed8f1462f6fdbc62bb431bcb618f46 \
                     "
-SRC_URI[md5sum] = "9951034b10f7ee0f45a95cfae61c57c2"
-SRC_URI[sha256sum] = "7b423f3d3495a317503ca559ea535f80445fd7c4e3c3e268cb7a8c97c61af2b6"
+SRC_URI[md5sum] = "6aac5c2e9cbbeabcbf2e9e49a178a931"
+SRC_URI[sha256sum] = "741c24a307c50f0d845d53cabb66b36d91ce9a73c8a165eae5def5e4d11e6a0d"
 
-DEPENDS = "libtool krb5 openldap db cyrus-sasl"
+DEPENDS = "libtool krb5 openldap db cyrus-sasl libpam"
 
  inherit autotools useradd ptest
 

meta-networking/recipes-daemons/squid/squid_3.5.5.bb USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she · line 44

Quoted 8 lines
meta-networking/recipes-daemons/squid/squid_3.5.5.bb renamed from meta-networking/recipes-daemons/squid/squid_3.4.7.bb +2 -0
@@ -38,6 +37,8 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she
  PACKAGECONFIG ??= ""
  PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack"
  EXTRA_OECONF += "--with-default-user=squid"
+export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
+CACHED_CONFIGUREVARS += "squid_cv_gnu_atomics=yes"
 
  TESTDIR = "test-suite"
  do_compile_ptest() {

--
Best Reagrds,
Roy | RongQing Li

Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
#4 lore raw
Quoted 27 lines · [Re: [oe] [PATCH][meta-networking][v3] squid: upgrade to 3.5.5] On 15.08.07…
Quoted 6 lines · Joe MacDonald
Quoted 1 line · [Re: [oe] [PATCH][meta-networking][v3] squid: upgrade to 3.5.5] On 15.07.31…

Ping

Just getting to look at the queue again and this stood out for me:

Hi Joe:

I see several patches stayed in master-next for a long time, Could you consider to merge them to master?

meta-oe$ git log --oneline master-next ^master ./meta-networking/ 4842138 opensaf: upgrade 4.5.0 -> 4.6.0
fec751e vsftpd: upgrade 3.0.2->3.0.3
6c8ab71 ypbind-mt: add dependency but keep as broken dbb4501 stunnel: upgrade 5.17 -> 5.21
0531aae quagga: upgrade 0.99.23 -> 0.99.24.1
e357ad6 netperf: fix the broken download url
27f7240 net-snmp: fix mib representation of timeout values 40c187b ypbind-mt: get parameters from dhcp
8f45f1b tcpslice: fix do_install
105f950 openvpn: upgrade 2.3.6 -> 2.3.7
9193170 radvd: upgrade 1.14 -> 2.11
085a82d netcf: upgrade 0.2.3 -> 0.2.8

Quoted 8 lines

65f4eed strongswan: upgrade to 5.3.2
463ab47 dovecot: upgrade 2.2.10 -> 2.2.18 73f0f92 crda: upgrade 3.13 -> 3.18
b9ea02a cim-schema-exper: add new recipe for openlmi cdd2db1 ntp: upgrade 4.2.8p2 -> 4.2.8p3 1019565 squid: upgrade to 3.5.5
dd56f0d inetutils: Fix deadlock in telnetd when cleanup 23b4e6c ypbind-yocto.init: add status command

Thirteen got merged yesterday, your tree may be out of date.

-J.

Quoted 143 lines
Quoted 19 lines
Quoted 4 lines
Quoted 14 lines

-Roy

Quoted 11 lines · On 2015年07月07日 09:55, [email protected] wrote:

From: Roy Li <[email protected]>

1. Remove the squid-change-ksh-referen*.patch which is not needed, since 3.5.5 did not use ksh by default.
2. Update the checksum of COPYING,since the date in it has been changed.
3. Define BUILDCXXFLAGS, otherwise the target gcc options -std=c++11 will add into it, and lead to building failure since host gcc maybe not support "-std=c++11"
4. Assume to support GNU atomic operations by default, the running check on cross-compile setup does not work
5. Add the dependency on libpam

Quoted 8 lines

Is PAM actually a Squid dependency now? None of the documentation seems to indicate it is mandatory. I know the last time around it was flagged as a dependency in Martin's build logs, but that's because PAM was detected during the build and used, not because Squid demands it, I think. We just need explicit behaviour because the auto-detected behaviour is indeterminate.

-J.

I check the source code, did not find the configuration option, seems pam is a must.

like:
http://www.rpmfind.net/linux/rpm2html/search.php?query=squid&submit=Search+...&system=&arch=
http://www.rpmfind.net//linux/RPM/mageia/cauldron/i586/media/core/release/squid-3.5.7-1.mga6.i586.html

-Roy

Quoted 102 lines
Quoted 102 lines
Quoted 88 lines
---
 ...ge-ksh-reference-in-krb-ldap-helper-to-sh.patch | 39 ----------------------
 .../squid/{squid_3.4.7.bb => squid_3.5.5.bb}       | 11 +++---
 2 files changed, 6 insertions(+), 44 deletions(-)
 delete mode 100644 meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch
 rename meta-networking/recipes-daemons/squid/{squid_3.4.7.bb => squid_3.5.5.bb} (86%)
meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch deleted +0 -39
deleted file mode 100644
index 8e03860..0000000
@@ -1,39 +0,0 @@
-squid: change ksh reference in krb ldap helper to sh
-
-Very simple cert_tool script with no ksh specifics.
-Change it to use sh so a package dependency doesn't
-get created to ksh.
-
-Upstream-Status: Pending
-
-Signed-off-by: Jim Somerville <[email protected]>
-Signed-off-by: Chong Lu <[email protected]>
----
- helpers/external_acl/kerberos_ldap_group/cert_tool | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/helpers/external_acl/kerberos_ldap_group/cert_tool b/helpers/external_acl/kerberos_ldap_group/cert_tool
-index 9f14959..8c4ea11 100644
---- a/helpers/external_acl/kerberos_ldap_group/cert_tool
-+++ b/helpers/external_acl/kerberos_ldap_group/cert_tool
-@@ -1,4 +1,4 @@
--#!/bin/ksh
-+#!/bin/sh
- #
- #  -----------------------------------------------------------------------------
- #
-@@ -64,9 +64,9 @@ QUIT
- # Create database for Sun ldap and pem file for Openldap
- #
- rm ${server}_[0-9]*.pem 2>/dev/null
--let i=0
-+i=0
-  ls ${server}_[0-9]*.cert | while read file; do
-- let i=i+1
-+ i=`expr $i + 1`
-  cat  $file  >> ${server}_$i.pem
-  CA=`openssl x509 -noout -text -in  ${server}_$i.pem | grep -i "CA:.*true"`
-  if [ -n "$CA" ]; then
---
-1.9.1
-
meta-networking/recipes-daemons/squid/squid_3.5.5.bb renamed from meta-networking/recipes-daemons/squid/squid_3.4.7.bb +4 -5
similarity index 86%
rename from meta-networking/recipes-daemons/squid/squid_3.4.7.bb
rename to meta-networking/recipes-daemons/squid/squid_3.5.5.bb
index 7b00dfc..198319d 100644
@@ -16,19 +16,18 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P
            file://Set-up-for-cross-compilation.patch \
            file://Skip-AC_RUN_IFELSE-tests.patch \
            file://Fix-flawed-dynamic-ldb-link-test-in-configure.patch \
-           file://squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch \
            file://squid-use-serial-tests-config-needed-by-ptest.patch \
            file://run-ptest \
            file://volatiles.03_squid \
 "
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \
-                    file://COPYRIGHT;md5=2900f50789c498be8e9f1eb23b55cbe9 \
+                    file://errors/COPYRIGHT;md5=0fed8f1462f6fdbc62bb431bcb618f46 \
                    "
-SRC_URI[md5sum] = "9951034b10f7ee0f45a95cfae61c57c2"
-SRC_URI[sha256sum] = "7b423f3d3495a317503ca559ea535f80445fd7c4e3c3e268cb7a8c97c61af2b6"
+SRC_URI[md5sum] = "6aac5c2e9cbbeabcbf2e9e49a178a931"
+SRC_URI[sha256sum] = "741c24a307c50f0d845d53cabb66b36d91ce9a73c8a165eae5def5e4d11e6a0d"
 
-DEPENDS = "libtool krb5 openldap db cyrus-sasl"
+DEPENDS = "libtool krb5 openldap db cyrus-sasl libpam"
 
 inherit autotools useradd ptest
 

meta-networking/recipes-daemons/squid/squid_3.5.5.bb USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she · line 44

Quoted 8 lines
meta-networking/recipes-daemons/squid/squid_3.5.5.bb renamed from meta-networking/recipes-daemons/squid/squid_3.4.7.bb +2 -0
@@ -38,6 +37,8 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack"
 EXTRA_OECONF += "--with-default-user=squid"
+export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
+CACHED_CONFIGUREVARS += "squid_cv_gnu_atomics=yes"
 
 TESTDIR = "test-suite"
 do_compile_ptest() {

--
Best Reagrds,
Roy | RongQing Li

Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
Signature · 2 lines
-Joe MacDonald.
:wq
#5 lore raw
In reply to [email protected]

ping

-Roy

Quoted 106 lines · On 2015年07月07日 09:55, [email protected] wrote:

From: Roy Li <[email protected]>

1. Remove the squid-change-ksh-referen*.patch which is not needed, since 3.5.5 did not use ksh by default.
2. Update the checksum of COPYING,since the date in it has been changed.
3. Define BUILDCXXFLAGS, otherwise the target gcc options -std=c++11 will add into it, and lead to building failure since host gcc maybe not support "-std=c++11"
4. Assume to support GNU atomic operations by default, the running check on cross-compile setup does not work
5. Add the dependency on libpam

---
  ...ge-ksh-reference-in-krb-ldap-helper-to-sh.patch | 39 ----------------------
  .../squid/{squid_3.4.7.bb => squid_3.5.5.bb}       | 11 +++---
  2 files changed, 6 insertions(+), 44 deletions(-)

delete mode 100644 meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch rename meta-networking/recipes-daemons/squid/{squid_3.4.7.bb => squid_3.5.5.bb} (86%)

meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch deleted +0 -39
deleted file mode 100644
index 8e03860..0000000
@@ -1,39 +0,0 @@
-squid: change ksh reference in krb ldap helper to sh
-
-Very simple cert_tool script with no ksh specifics.
-Change it to use sh so a package dependency doesn't
-get created to ksh.
-
-Upstream-Status: Pending
-
-Signed-off-by: Jim Somerville <[email protected]>
-Signed-off-by: Chong Lu <[email protected]>
----
- helpers/external_acl/kerberos_ldap_group/cert_tool | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/helpers/external_acl/kerberos_ldap_group/cert_tool b/helpers/external_acl/kerberos_ldap_group/cert_tool
-index 9f14959..8c4ea11 100644
---- a/helpers/external_acl/kerberos_ldap_group/cert_tool
-+++ b/helpers/external_acl/kerberos_ldap_group/cert_tool
-@@ -1,4 +1,4 @@
--#!/bin/ksh
-+#!/bin/sh
- #
- #  -----------------------------------------------------------------------------
- #
-@@ -64,9 +64,9 @@ QUIT
- # Create database for Sun ldap and pem file for Openldap
- #
- rm ${server}_[0-9]*.pem 2>/dev/null
--let i=0
-+i=0
-  ls ${server}_[0-9]*.cert | while read file; do
-- let i=i+1
-+ i=`expr $i + 1`
-  cat  $file  >> ${server}_$i.pem
-  CA=`openssl x509 -noout -text -in  ${server}_$i.pem | grep -i "CA:.*true"`
-  if [ -n "$CA" ]; then
---
-1.9.1
-
meta-networking/recipes-daemons/squid/squid_3.5.5.bb renamed from meta-networking/recipes-daemons/squid/squid_3.4.7.bb +6 -5
similarity index 86%
rename from meta-networking/recipes-daemons/squid/squid_3.4.7.bb
rename to meta-networking/recipes-daemons/squid/squid_3.5.5.bb
index 7b00dfc..198319d 100644
@@ -16,19 +16,18 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P
             file://Set-up-for-cross-compilation.patch \
             file://Skip-AC_RUN_IFELSE-tests.patch \
             file://Fix-flawed-dynamic-ldb-link-test-in-configure.patch \
-           file://squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch \
             file://squid-use-serial-tests-config-needed-by-ptest.patch \
             file://run-ptest \
             file://volatiles.03_squid \
  "
 
  LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \
-                    file://COPYRIGHT;md5=2900f50789c498be8e9f1eb23b55cbe9 \
+                    file://errors/COPYRIGHT;md5=0fed8f1462f6fdbc62bb431bcb618f46 \
                     "
-SRC_URI[md5sum] = "9951034b10f7ee0f45a95cfae61c57c2"
-SRC_URI[sha256sum] = "7b423f3d3495a317503ca559ea535f80445fd7c4e3c3e268cb7a8c97c61af2b6"
+SRC_URI[md5sum] = "6aac5c2e9cbbeabcbf2e9e49a178a931"
+SRC_URI[sha256sum] = "741c24a307c50f0d845d53cabb66b36d91ce9a73c8a165eae5def5e4d11e6a0d"
 
-DEPENDS = "libtool krb5 openldap db cyrus-sasl"
+DEPENDS = "libtool krb5 openldap db cyrus-sasl libpam"
 
  inherit autotools useradd ptest
 
@@ -38,6 +37,8 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she
  PACKAGECONFIG ??= ""
  PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack"
  EXTRA_OECONF += "--with-default-user=squid"
+export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
+CACHED_CONFIGUREVARS += "squid_cv_gnu_atomics=yes"
 
  TESTDIR = "test-suite"
  do_compile_ptest() {
Signature · 2 lines
Best Reagrds,
Roy | RongQing Li
#6 lore raw
Quoted 1 line · [Re: [oe] [PATCH][meta-networking][v3] squid: upgrade to 3.5.5] On 15.09.01…

ping

I marked this patch rejected in patchworks after asking about the PAM dependency, I encourage everyone to check the state of any patch there as that's my primary workflow now since I know that's also the management system Martin uses and I want to make the coordination as easy as possible.

I initially missed your follow up because it was after the unrelated comment about a queue of patches that'd recently been merged.

Your response was that there was no configuration option to disable PAM after you looked at the code. I had a quick look through and the issue is more complicated than that. There absolutely is a way to turn off building the PAM module (see --enable-auth-basic) but that will only address one of a large number of potential QA issues, now that I look at it. The default will also depend on LDAP, NIS, SASL, RADIUS and so on.

I think the correct solution for this would be to have each of the helpers optionally enabled based on what your image contains (PKGCONFIG/DISTRO_FEATURES maybe) but for now it's probably okay to remove the dependency and re-submit something like below without change #5. Please also have another look at the error from the world builds to see if we need to either blacklist Squid or if there's a 'insane' workaround that'll squelch the error until we get it cleaned up properly.

Then on the upgrade to 3.5.7 (the current stable) we'll want to do something cleaner.

-J.

Quoted 111 lines

-Roy

Quoted 106 lines · On 2015年07月07日 09:55, [email protected] wrote:

From: Roy Li <[email protected]>

1. Remove the squid-change-ksh-referen*.patch which is not needed, since 3.5.5 did not use ksh by default.
2. Update the checksum of COPYING,since the date in it has been changed.
3. Define BUILDCXXFLAGS, otherwise the target gcc options -std=c++11 will add into it, and lead to building failure since host gcc maybe not support "-std=c++11"
4. Assume to support GNU atomic operations by default, the running check on cross-compile setup does not work
5. Add the dependency on libpam

---
 ...ge-ksh-reference-in-krb-ldap-helper-to-sh.patch | 39 ----------------------
 .../squid/{squid_3.4.7.bb => squid_3.5.5.bb}       | 11 +++---
 2 files changed, 6 insertions(+), 44 deletions(-)
 delete mode 100644 meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch
 rename meta-networking/recipes-daemons/squid/{squid_3.4.7.bb => squid_3.5.5.bb} (86%)
meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch deleted +0 -39
deleted file mode 100644
index 8e03860..0000000
@@ -1,39 +0,0 @@
-squid: change ksh reference in krb ldap helper to sh
-
-Very simple cert_tool script with no ksh specifics.
-Change it to use sh so a package dependency doesn't
-get created to ksh.
-
-Upstream-Status: Pending
-
-Signed-off-by: Jim Somerville <[email protected]>
-Signed-off-by: Chong Lu <[email protected]>
----
- helpers/external_acl/kerberos_ldap_group/cert_tool | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/helpers/external_acl/kerberos_ldap_group/cert_tool b/helpers/external_acl/kerberos_ldap_group/cert_tool
-index 9f14959..8c4ea11 100644
---- a/helpers/external_acl/kerberos_ldap_group/cert_tool
-+++ b/helpers/external_acl/kerberos_ldap_group/cert_tool
-@@ -1,4 +1,4 @@
--#!/bin/ksh
-+#!/bin/sh
- #
- #  -----------------------------------------------------------------------------
- #
-@@ -64,9 +64,9 @@ QUIT
- # Create database for Sun ldap and pem file for Openldap
- #
- rm ${server}_[0-9]*.pem 2>/dev/null
--let i=0
-+i=0
-  ls ${server}_[0-9]*.cert | while read file; do
-- let i=i+1
-+ i=`expr $i + 1`
-  cat  $file  >> ${server}_$i.pem
-  CA=`openssl x509 -noout -text -in  ${server}_$i.pem | grep -i "CA:.*true"`
-  if [ -n "$CA" ]; then
---
-1.9.1
-
meta-networking/recipes-daemons/squid/squid_3.5.5.bb renamed from meta-networking/recipes-daemons/squid/squid_3.4.7.bb +6 -5
similarity index 86%
rename from meta-networking/recipes-daemons/squid/squid_3.4.7.bb
rename to meta-networking/recipes-daemons/squid/squid_3.5.5.bb
index 7b00dfc..198319d 100644
@@ -16,19 +16,18 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P
            file://Set-up-for-cross-compilation.patch \
            file://Skip-AC_RUN_IFELSE-tests.patch \
            file://Fix-flawed-dynamic-ldb-link-test-in-configure.patch \
-           file://squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch \
            file://squid-use-serial-tests-config-needed-by-ptest.patch \
            file://run-ptest \
            file://volatiles.03_squid \
 "
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \
-                    file://COPYRIGHT;md5=2900f50789c498be8e9f1eb23b55cbe9 \
+                    file://errors/COPYRIGHT;md5=0fed8f1462f6fdbc62bb431bcb618f46 \
                    "
-SRC_URI[md5sum] = "9951034b10f7ee0f45a95cfae61c57c2"
-SRC_URI[sha256sum] = "7b423f3d3495a317503ca559ea535f80445fd7c4e3c3e268cb7a8c97c61af2b6"
+SRC_URI[md5sum] = "6aac5c2e9cbbeabcbf2e9e49a178a931"
+SRC_URI[sha256sum] = "741c24a307c50f0d845d53cabb66b36d91ce9a73c8a165eae5def5e4d11e6a0d"
 
-DEPENDS = "libtool krb5 openldap db cyrus-sasl"
+DEPENDS = "libtool krb5 openldap db cyrus-sasl libpam"
 
 inherit autotools useradd ptest
 
@@ -38,6 +37,8 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack"
 EXTRA_OECONF += "--with-default-user=squid"
+export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
+CACHED_CONFIGUREVARS += "squid_cv_gnu_atomics=yes"
 
 TESTDIR = "test-suite"
 do_compile_ptest() {
Signature · 2 lines
-Joe MacDonald.
:wq
#7 lore raw
Quoted 20 lines · Joe MacDonald
Quoted 1 line · [Re: [oe] [PATCH][meta-networking][v3] squid: upgrade to 3.5.5] On 15.09.01…

ping

I marked this patch rejected in patchworks after asking about the PAM dependency, I encourage everyone to check the state of any patch there as that's my primary workflow now since I know that's also the management system Martin uses and I want to make the coordination as easy as possible.

I initially missed your follow up because it was after the unrelated comment about a queue of patches that'd recently been merged.

Your response was that there was no configuration option to disable PAM after you looked at the code. I had a quick look through and the issue is more complicated than that. There absolutely is a way to turn off building the PAM module (see --enable-auth-basic) but that will only address one of a large number of potential QA issues, now that I look at it. The default will also depend on LDAP, NIS, SASL, RADIUS and so on.

Quoted 9 lines

I think the correct solution for this would be to have each of the helpers optionally enabled based on what your image contains (PKGCONFIG/DISTRO_FEATURES maybe) but for now it's probably okay to remove the dependency and re-submit something like below without change #5. Please also have another look at the error from the world builds to see if we need to either blacklist Squid or if there's a 'insane' workaround that'll squelch the error until we get it cleaned up properly.

I will try

Quoted 3 lines

Then on the upgrade to 3.5.7 (the current stable) we'll want to do something cleaner.

OK, I will upgrade it to 3.5.7

-R

Quoted 113 lines

-J.

Quoted 111 lines

-Roy

Quoted 106 lines · On 2015年07月07日 09:55, [email protected] wrote:

From: Roy Li <[email protected]>

1. Remove the squid-change-ksh-referen*.patch which is not needed, since 3.5.5 did not use ksh by default.
2. Update the checksum of COPYING,since the date in it has been changed.
3. Define BUILDCXXFLAGS, otherwise the target gcc options -std=c++11 will add into it, and lead to building failure since host gcc maybe not support "-std=c++11"
4. Assume to support GNU atomic operations by default, the running check on cross-compile setup does not work
5. Add the dependency on libpam

---
  ...ge-ksh-reference-in-krb-ldap-helper-to-sh.patch | 39 ----------------------
  .../squid/{squid_3.4.7.bb => squid_3.5.5.bb}       | 11 +++---
  2 files changed, 6 insertions(+), 44 deletions(-)

delete mode 100644 meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch rename meta-networking/recipes-daemons/squid/{squid_3.4.7.bb => squid_3.5.5.bb} (86%)

meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch deleted +0 -39
deleted file mode 100644
index 8e03860..0000000
@@ -1,39 +0,0 @@
-squid: change ksh reference in krb ldap helper to sh
-
-Very simple cert_tool script with no ksh specifics.
-Change it to use sh so a package dependency doesn't
-get created to ksh.
-
-Upstream-Status: Pending
-
-Signed-off-by: Jim Somerville <[email protected]>
-Signed-off-by: Chong Lu <[email protected]>
----
- helpers/external_acl/kerberos_ldap_group/cert_tool | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/helpers/external_acl/kerberos_ldap_group/cert_tool b/helpers/external_acl/kerberos_ldap_group/cert_tool
-index 9f14959..8c4ea11 100644
---- a/helpers/external_acl/kerberos_ldap_group/cert_tool
-+++ b/helpers/external_acl/kerberos_ldap_group/cert_tool
-@@ -1,4 +1,4 @@
--#!/bin/ksh
-+#!/bin/sh
- #
- #  -----------------------------------------------------------------------------
- #
-@@ -64,9 +64,9 @@ QUIT
- # Create database for Sun ldap and pem file for Openldap
- #
- rm ${server}_[0-9]*.pem 2>/dev/null
--let i=0
-+i=0
-  ls ${server}_[0-9]*.cert | while read file; do
-- let i=i+1
-+ i=`expr $i + 1`
-  cat  $file  >> ${server}_$i.pem
-  CA=`openssl x509 -noout -text -in  ${server}_$i.pem | grep -i "CA:.*true"`
-  if [ -n "$CA" ]; then
---
-1.9.1
-
meta-networking/recipes-daemons/squid/squid_3.5.5.bb renamed from meta-networking/recipes-daemons/squid/squid_3.4.7.bb +6 -5
similarity index 86%
rename from meta-networking/recipes-daemons/squid/squid_3.4.7.bb
rename to meta-networking/recipes-daemons/squid/squid_3.5.5.bb
index 7b00dfc..198319d 100644
@@ -16,19 +16,18 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P
             file://Set-up-for-cross-compilation.patch \
             file://Skip-AC_RUN_IFELSE-tests.patch \
             file://Fix-flawed-dynamic-ldb-link-test-in-configure.patch \
-           file://squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch \
             file://squid-use-serial-tests-config-needed-by-ptest.patch \
             file://run-ptest \
             file://volatiles.03_squid \
  "
 
  LIC_FILES_CHKSUM = "file://COPYING;md5=c492e2d6d32ec5c1aad0e0609a141ce9 \
-                    file://COPYRIGHT;md5=2900f50789c498be8e9f1eb23b55cbe9 \
+                    file://errors/COPYRIGHT;md5=0fed8f1462f6fdbc62bb431bcb618f46 \
                     "
-SRC_URI[md5sum] = "9951034b10f7ee0f45a95cfae61c57c2"
-SRC_URI[sha256sum] = "7b423f3d3495a317503ca559ea535f80445fd7c4e3c3e268cb7a8c97c61af2b6"
+SRC_URI[md5sum] = "6aac5c2e9cbbeabcbf2e9e49a178a931"
+SRC_URI[sha256sum] = "741c24a307c50f0d845d53cabb66b36d91ce9a73c8a165eae5def5e4d11e6a0d"
 
-DEPENDS = "libtool krb5 openldap db cyrus-sasl"
+DEPENDS = "libtool krb5 openldap db cyrus-sasl libpam"
 
  inherit autotools useradd ptest
 
@@ -38,6 +37,8 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she
  PACKAGECONFIG ??= ""
  PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack"
  EXTRA_OECONF += "--with-default-user=squid"
+export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
+CACHED_CONFIGUREVARS += "squid_cv_gnu_atomics=yes"
 
  TESTDIR = "test-suite"
  do_compile_ptest() {
Signature · 2 lines
Best Reagrds,
Roy | RongQing Li