diff options
Diffstat (limited to 'meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch')
-rw-r--r-- | meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch | 39 |
1 files changed, 39 insertions, 0 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 new file mode 100644 index 000000000..8e03860b3 --- /dev/null +++ b/meta-networking/recipes-daemons/squid/files/squid-change-ksh-reference-in-krb-ldap-helper-to-sh.patch | |||
@@ -0,0 +1,39 @@ | |||
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 | |||