pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/openldap Patch for building slapo-nops as a ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6db2d36a17e1
branches:  trunk
changeset: 553838:6db2d36a17e1
user:      manu <manu%pkgsrc.org@localhost>
date:      Sat Jan 31 18:25:57 2009 +0000

description:
Patch for building slapo-nops as a module (already committed upstream)

diffstat:

 databases/openldap/distinfo         |   3 ++-
 databases/openldap/patches/patch-db |  24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r 13e152da17db -r 6db2d36a17e1 databases/openldap/distinfo
--- a/databases/openldap/distinfo       Sat Jan 31 17:45:00 2009 +0000
+++ b/databases/openldap/distinfo       Sat Jan 31 18:25:57 2009 +0000
@@ -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-an) = f98c6457474247c092dd0a062e86560cc894ec4e
 SHA1 (patch-ao) = 6276a1226689fc3be3ffacbcd8df2e4f3e51d1a0
 SHA1 (patch-da) = c7ac86fcb4b4283fc61a3e045197bbef617c6ff4
+SHA1 (patch-db) = 2200cd44e8954ddd8c6bfdd5a0bc3c01831ba90e
diff -r 13e152da17db -r 6db2d36a17e1 databases/openldap/patches/patch-db
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/openldap/patches/patch-db       Sat Jan 31 18:25:57 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index