View | Details | Raw Unified | Return to bug 18616
Collapse All | Expand All

(-)ldap.lib.orig (-5 / +3 lines)
Lines 1-7 Link Here
1
#!/bin/sh -e
1
#!/bin/sh -e
2
2
3
chrooted_slib=lib
4
5
# Source functions library
3
# Source functions library
6
. /etc/chroot.d/functions
4
. /etc/chroot.d/functions
7
5
Lines 20-34 Link Here
20
18
21
# copy SASL2 plugins
19
# copy SASL2 plugins
22
CopyLibs $verbose $force \
20
CopyLibs $verbose $force \
23
	-l/usr/${chrooted_slib}/sasl2/lib*.so \
21
	-l/usr/${chrooted_slib}/sasl2-3/lib*.so \
24
	-d usr/lib/sasl2
22
	-d usr/lib/sasl2-3
25
23
26
# copy OpenLDAP plugins
24
# copy OpenLDAP plugins
27
CopyLibs $verbose $force \
25
CopyLibs $verbose $force \
28
	-l/usr/lib/openldap/* \
26
	-l/usr/lib/openldap/* \
29
	-d usr/lib/openldap
27
	-d usr/lib/openldap
30
28
31
ldd /usr/${chrooted_slib}/sasl2/lib*.so /usr/lib/openldap/* 2>/dev/null |
29
ldd /usr/${chrooted_slib}/sasl2-3/lib*.so /usr/lib/openldap/* 2>/dev/null |
32
sed -ne 's/^[[:space:]]\+\([^[:space:]]\+ => \)\?\([^[:space:]]\+\) (0x\([0-9a-f]\+\))$/\2/p' |
30
sed -ne 's/^[[:space:]]\+\([^[:space:]]\+ => \)\?\([^[:space:]]\+\) (0x\([0-9a-f]\+\))$/\2/p' |
33
sort -u >.libs
31
sort -u >.libs
34
32

Return to bug 18616