]> git.pld-linux.org Git - packages/cyrus-sasl.git/blob - cyrus-sasl-parallel-make.patch
- allow building without Nagios support
[packages/cyrus-sasl.git] / cyrus-sasl-parallel-make.patch
1 diff -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):
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"
26  echo "
27  #include <config.h>
28  
29 @@ -44,11 +47,13 @@
30  SASL_CLIENT_PLUG_INIT( $mech )
31  SASL_SERVER_PLUG_INIT( $mech )
32  " > ${mech}_init.c
33 -done
34 +;;
35 +esac
36  
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
43  echo "
44  #include <config.h>
45  
46 @@ -87,7 +92,12 @@
47  
48  SASL_AUXPROP_PLUG_INIT( $auxprop )
49  " > ${auxprop}_init.c
50 -done
51 +;;
52 +esac
53  
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.042597 seconds and 3 git commands to generate.