]> git.pld-linux.org Git - packages/cyrus-sasl.git/blame - cyrus-sasl-parallel-make.patch
- updated to 2.1.25
[packages/cyrus-sasl.git] / cyrus-sasl-parallel-make.patch
CommitLineData
38ee6d59
KK
1diff -ur cyrus-sasl-2.1.23.orig/plugins/Makefile.am cyrus-sasl-2.1.23/plugins/Makefile.am
2--- cyrus-sasl-2.1.23.orig/plugins/Makefile.am 2009-12-09 08:19:06.981152890 +0000
3+++ cyrus-sasl-2.1.23/plugins/Makefile.am 2009-12-09 08:33:41.561911411 +0000
4@@ -186,8 +186,8 @@
5
6 CLEANFILES=$(init_src)
7
8-${init_src}: $(srcdir)/makeinit.sh
9- $(SHELL) $(srcdir)/makeinit.sh
10+${init_src}: $(srcdir)/makeinit.sh $@
11+ $(SHELL) $(srcdir)/makeinit.sh $@
12
13 # Compatibility function build rules (they build in lib/)
14 $(COMPAT_OBJS):
94e6777d
JB
15--- cyrus-sasl-2.1.25/plugins/makeinit.sh.orig 2011-09-16 21:54:18.916159956 +0200
16+++ cyrus-sasl-2.1.25/plugins/makeinit.sh 2011-09-17 07:31:12.530652281 +0200
17@@ -1,6 +1,9 @@
18-# mechanism plugins
19-for mech in anonymous crammd5 digestmd5 scram gssapiv2 kerberos4 login ntlm otp passdss plain srp gs2; do
20+plug="${1%_init.c}"
21
22+# mechanism plugins
23+case "$plug" in
24+ anonymous|crammd5|digestmd5|scram|gssapiv2|kerberos4|login|ntlm|otp|passdss|plain|srp|gs2)
25+mech="$plug"
38ee6d59
KK
26 echo "
27 #include <config.h>
28
94e6777d 29@@ -44,11 +47,13 @@
38ee6d59
KK
30 SASL_CLIENT_PLUG_INIT( $mech )
31 SASL_SERVER_PLUG_INIT( $mech )
32 " > ${mech}_init.c
33-done
38ee6d59 34+;;
94e6777d 35+esac
38ee6d59 36
94e6777d
JB
37 # auxprop plugins
38-for auxprop in sasldb mysql pgsql sqlite sqlite3 ldapdb; do
39-
40+case "$plug" in
41+ sasldb|mysql|pgsql|sqlite|sqlite3|ldapdb)
42+auxprop=$plug
38ee6d59
KK
43 echo "
44 #include <config.h>
45
94e6777d 46@@ -87,7 +92,12 @@
38ee6d59 47
94e6777d
JB
48 SASL_AUXPROP_PLUG_INIT( $auxprop )
49 " > ${auxprop}_init.c
38ee6d59
KK
50-done
51+;;
52+esac
53
94e6777d
JB
54 # ldapdb is also a canon_user plugin
55+case "$plug" in
56+ ldapdb)
57 echo "SASL_CANONUSER_PLUG_INIT( ldapdb )" >> ldapdb_init.c
58+;;
59+esac
This page took 0.171839 seconds and 4 git commands to generate.