summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
authormanu <manu>2009-01-31 18:25:57 +0000
committermanu <manu>2009-01-31 18:25:57 +0000
commit869da07ed00006d99a60cfbfcedfca6ff46229fc (patch)
tree6fe217510565fdf490e46404f72fb3a88d973a4b /databases/openldap
parent6fbede4676a577794ddbf52d4de6b0a34ff625cc (diff)
downloadpkgsrc-869da07ed00006d99a60cfbfcedfca6ff46229fc.tar.gz
Patch for building slapo-nops as a module (already committed upstream)
Diffstat (limited to 'databases/openldap')
-rw-r--r--databases/openldap/distinfo3
-rw-r--r--databases/openldap/patches/patch-db24
2 files changed, 26 insertions, 1 deletions
diff --git a/databases/openldap/distinfo b/databases/openldap/distinfo
index 9c4b5b5dbea..ba720f2b056 100644
--- a/databases/openldap/distinfo
+++ b/databases/openldap/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.68 2009/01/31 15:59:04 manu Exp $
+$NetBSD: distinfo,v 1.69 2009/01/31 18:25:57 manu Exp $
SHA1 (openldap-2.4.13.tgz) = bb6fe22808d36425b3bad6ce367e882530ccbf51
RMD160 (openldap-2.4.13.tgz) = c459bb7912e70187bab298911252b6d14590bfd2
@@ -14,3 +14,4 @@ SHA1 (patch-am) = 06c17b10bb8cc091461b82fca2b5d6032b613c78
SHA1 (patch-an) = f98c6457474247c092dd0a062e86560cc894ec4e
SHA1 (patch-ao) = 6276a1226689fc3be3ffacbcd8df2e4f3e51d1a0
SHA1 (patch-da) = c7ac86fcb4b4283fc61a3e045197bbef617c6ff4
+SHA1 (patch-db) = 2200cd44e8954ddd8c6bfdd5a0bc3c01831ba90e
diff --git a/databases/openldap/patches/patch-db b/databases/openldap/patches/patch-db
new file mode 100644
index 00000000000..c1500afdb8b
--- /dev/null
+++ b/databases/openldap/patches/patch-db
@@ -0,0 +1,24 @@
+$NetBSD: patch-db,v 1.1 2009/01/31 18:25:57 manu Exp $
+--- contrib/slapd-modules/nops/Makefile.orig 2009-01-31 17:21:12.000000000 +0000
++++ contrib/slapd-modules/nops/Makefile 2009-01-31 18:10:29.000000000 +0000
+@@ -1,9 +1,15 @@
+-CPPFLAGS+=-I../../../include -I../../../servers/slapd
++CPPFLAGS+=-I../../../include -I../../../servers/slapd
++CPPFLAGS+=-DSLAPD_OVER_NOPS=SLAPD_MOD_DYNAMIC
++LIBS=-lldap_r -llber -lcrypto
+
+-all: nops.so
++all: nops.la
+
+-nops.so: nops.c
+- $(CC) -shared $(CPPFLAGS) -Wall -o $@ $?
++nops.lo: nops.c
++ $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -c $?
++
++nops.la: nops.lo
++ $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
++ -rpath $(PREFIX)/lib -module -o $@ $? $(LIBS)
+
+ clean:
+- rm nops.so
++ rm nops.lo nops.la