packages: openldap/openldap-contrib-modules.patch (NEW) - build rules for c...

baggins baggins at pld-linux.org
Mon Mar 28 21:06:51 CEST 2011


Author: baggins                      Date: Mon Mar 28 19:06:51 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- build rules for contrib/slapd-modules

---- Files affected:
packages/openldap:
   openldap-contrib-modules.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/openldap/openldap-contrib-modules.patch
diff -u /dev/null packages/openldap/openldap-contrib-modules.patch:1.1
--- /dev/null	Mon Mar 28 21:06:51 2011
+++ packages/openldap/openldap-contrib-modules.patch	Mon Mar 28 21:06:46 2011
@@ -0,0 +1,1349 @@
+diff -urN openldap-2.4.25/configure.in openldap-2.4.25-contrib/configure.in
+--- openldap-2.4.25/configure.in	2011-03-24 02:18:25.000000000 +0100
++++ openldap-2.4.25-contrib/configure.in	2011-03-28 17:59:14.569152000 +0200
+@@ -3188,6 +3188,28 @@
+ [servers/slapd/shell-backends/Makefile:build/top.mk:servers/slapd/shell-backends/Makefile.in:build/srv.mk]
+ [servers/slapd/slapi/Makefile:build/top.mk:servers/slapd/slapi/Makefile.in:build/lib.mk:build/lib-shared.mk]
+ [servers/slapd/overlays/Makefile:build/top.mk:servers/slapd/overlays/Makefile.in:build/lib.mk]
++[contrib/slapd-modules/Makefile:build/top.mk:contrib/slapd-modules/Makefile.in:build/dir.mk]
++[contrib/slapd-modules/acl/Makefile:build/top.mk:contrib/slapd-modules/acl/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/addpartial/Makefile:build/top.mk:contrib/slapd-modules/addpartial/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/allop/Makefile:build/top.mk:contrib/slapd-modules/allop/Makefile.in:build/mod.mk:build/man.mk]
++[contrib/slapd-modules/allowed/Makefile:build/top.mk:contrib/slapd-modules/allowed/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/autogroup/Makefile:build/top.mk:contrib/slapd-modules/autogroup/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/cloak/Makefile:build/top.mk:contrib/slapd-modules/cloak/Makefile.in:build/mod.mk:build/man.mk]
++[contrib/slapd-modules/comp_match/Makefile:build/top.mk:contrib/slapd-modules/comp_match/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/denyop/Makefile:build/top.mk:contrib/slapd-modules/denyop/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/dsaschema/Makefile:build/top.mk:contrib/slapd-modules/dsaschema/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/dupent/Makefile:build/top.mk:contrib/slapd-modules/dupent/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/kinit/Makefile:build/top.mk:contrib/slapd-modules/kinit/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/lastbind/Makefile:build/top.mk:contrib/slapd-modules/lastbind/Makefile.in:build/mod.mk:build/man.mk]
++[contrib/slapd-modules/lastmod/Makefile:build/top.mk:contrib/slapd-modules/lastmod/Makefile.in:build/mod.mk:build/man.mk]
++[contrib/slapd-modules/noopsrch/Makefile:build/top.mk:contrib/slapd-modules/noopsrch/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/nops/Makefile:build/top.mk:contrib/slapd-modules/nops/Makefile.in:build/mod.mk:build/man.mk]
++[contrib/slapd-modules/nssov/Makefile:build/top.mk:contrib/slapd-modules/nssov/Makefile.in:build/mod.mk:build/man.mk]
++[contrib/slapd-modules/passwd/Makefile:build/top.mk:contrib/slapd-modules/passwd/Makefile.in:build/lib.mk]
++[contrib/slapd-modules/proxyOld/Makefile:build/top.mk:contrib/slapd-modules/proxyOld/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/samba4/Makefile:build/top.mk:contrib/slapd-modules/samba4/Makefile.in:build/lib.mk]
++[contrib/slapd-modules/smbk5pwd/Makefile:build/top.mk:contrib/slapd-modules/smbk5pwd/Makefile.in:build/mod.mk]
++[contrib/slapd-modules/trace/Makefile:build/top.mk:contrib/slapd-modules/trace/Makefile.in:build/mod.mk]
+ [tests/Makefile:build/top.mk:tests/Makefile.in:build/dir.mk]
+ [tests/run]
+ [tests/progs/Makefile:build/top.mk:tests/progs/Makefile.in:build/rules.mk])
+diff -urN openldap-2.4.25/contrib/slapd-modules/acl/Makefile.in openldap-2.4.25-contrib/contrib/slapd-modules/acl/Makefile.in
+--- openldap-2.4.25/contrib/slapd-modules/acl/Makefile.in	1970-01-01 01:00:00.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/acl/Makefile.in	2011-03-28 17:51:20.119152000 +0200
+@@ -0,0 +1,20 @@
++BUILD_MOD = mod
++
++SRCS = posixgroup.c
++
++OBJS = posixgroup.lo
++
++LIBBASE = acl-posixgroup
++
++LDAP_INCDIR= ../../../include       
++LDAP_LIBDIR= ../../../libraries
++
++MOD_DEFS = -DSLAPD_IMPORT
++#MOD_LIBS = 
++
++shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
++NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++
++XINCPATH = -I. -I$(srcdir)/. -I../../../servers/slapd
++XDEFS = $(MODULES_CPPFLAGS)
+diff -urN openldap-2.4.25/contrib/slapd-modules/addpartial/Makefile openldap-2.4.25-contrib/contrib/slapd-modules/addpartial/Makefile
+--- openldap-2.4.25/contrib/slapd-modules/addpartial/Makefile	2009-01-21 01:18:19.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/addpartial/Makefile	1970-01-01 01:00:00.000000000 +0100
+@@ -1,13 +0,0 @@
+-# $OpenLDAP: pkg/ldap/contrib/slapd-modules/addpartial/Makefile,v 1.1.2.4 2009/01/21 00:18:19 quanah Exp $
+-OPENLDAP_SRC=../../..
+-OPENLDAP_BLD=../../..
+-CPPFLAGS+=-I${OPENLDAP_SRC}/include -I${OPENLDAP_SRC}/servers/slapd -I${OPENLDAP_BLD}/include
+-CC=gcc
+-
+-all: addpartial-overlay.so
+-
+-addpartial-overlay.so: addpartial-overlay.c
+-	$(CC) -shared $(CPPFLAGS) $(LDFLAGS) -Wall -o $@ $?
+-
+-clean:
+-	rm addpartial-overlay.so
+diff -urN openldap-2.4.25/contrib/slapd-modules/addpartial/Makefile.in openldap-2.4.25-contrib/contrib/slapd-modules/addpartial/Makefile.in
+--- openldap-2.4.25/contrib/slapd-modules/addpartial/Makefile.in	1970-01-01 01:00:00.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/addpartial/Makefile.in	2011-03-28 17:51:20.122152000 +0200
+@@ -0,0 +1,20 @@
++BUILD_MOD = mod
++
++SRCS = addpartial-overlay.c
++
++OBJS = addpartial-overlay.lo
++
++LIBBASE = addpartial-overlay
++
++LDAP_INCDIR= ../../../include       
++LDAP_LIBDIR= ../../../libraries
++
++MOD_DEFS = -DSLAPD_IMPORT
++#MOD_LIBS = 
++
++shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
++NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++
++XINCPATH = -I. -I$(srcdir)/. -I../../../servers/slapd
++XDEFS = $(MODULES_CPPFLAGS)
+diff -urN openldap-2.4.25/contrib/slapd-modules/allop/Makefile.in openldap-2.4.25-contrib/contrib/slapd-modules/allop/Makefile.in
+--- openldap-2.4.25/contrib/slapd-modules/allop/Makefile.in	1970-01-01 01:00:00.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/allop/Makefile.in	2011-03-28 19:59:06.534991161 +0200
+@@ -0,0 +1,22 @@
++BUILD_MOD = mod
++
++SRCS = allop.c
++
++OBJS = allop.lo
++
++LIBBASE = allop
++
++LDAP_INCDIR= ../../../include       
++LDAP_LIBDIR= ../../../libraries
++
++MOD_DEFS = -DSLAPD_IMPORT
++#MOD_LIBS = 
++
++shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
++NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++
++XINCPATH = -I. -I$(srcdir)/. -I../../../servers/slapd
++XDEFS = $(MODULES_CPPFLAGS)
++
++MANSECT=5
+diff -urN openldap-2.4.25/contrib/slapd-modules/allowed/Makefile openldap-2.4.25-contrib/contrib/slapd-modules/allowed/Makefile
+--- openldap-2.4.25/contrib/slapd-modules/allowed/Makefile	2011-01-05 00:49:30.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/allowed/Makefile	1970-01-01 01:00:00.000000000 +0100
+@@ -1,46 +0,0 @@
+-# $OpenLDAP: pkg/ldap/contrib/slapd-modules/allowed/Makefile,v 1.1.2.4 2011/01/04 23:49:30 kurt Exp $
+-# This work is part of OpenLDAP Software <http://www.openldap.org/>.
+-#
+-# Copyright 1998-2011 The OpenLDAP Foundation.
+-# Copyright 2004 Howard Chu, Symas Corp. All Rights Reserved.
+-#
+-# Redistribution and use in source and binary forms, with or without
+-# modification, are permitted only as authorized by the OpenLDAP
+-# Public License.
+-#
+-# A copy of this license is available in the file LICENSE in the
+-# top-level directory of the distribution or, alternatively, at
+-# <http://www.OpenLDAP.org/license.html>.
+-
+-PREFIX=/opt/openldap-HEAD
+-
+-LIBTOOL=../../../libtool
+-OPT=-g -O2
+-CC=gcc
+-
+-DEFS=-DSLAPD_OVER_ALLOWED=SLAPD_MOD_DYNAMIC
+-
+-LDAP_INC=-I../../../include -I../../../servers/slapd
+-INCS=$(LDAP_INC)
+-
+-LDAP_LIB=-lldap_r -llber -L../../../lib
+-LDAP_LIB=
+-LIBS=$(LDAP_LIB)
+-
+-all:	allowed.la
+-
+-
+-allowed.lo:	allowed.c
+-	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $?
+-
+-allowed.la:	allowed.lo
+-	$(LIBTOOL) --mode=link $(CC) $(OPT) -version-info 0:0:0 \
+-	-rpath $(PREFIX)/lib -module -o $@ $? $(LIBS)
+-
+-clean:
+-	rm -f allowed.o allowed.lo allowed.la
+-
+-install: allowed.la
+-	mkdir -p $(PREFIX)/libexec/openldap
+-	$(LIBTOOL) --mode=install cp allowed.la $(PREFIX)/libexec/openldap
+-	$(LIBTOOL) --finish $(PREFIX)/libexec/openldap
+diff -urN openldap-2.4.25/contrib/slapd-modules/allowed/Makefile.in openldap-2.4.25-contrib/contrib/slapd-modules/allowed/Makefile.in
+--- openldap-2.4.25/contrib/slapd-modules/allowed/Makefile.in	1970-01-01 01:00:00.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/allowed/Makefile.in	2011-03-28 17:51:20.127152000 +0200
+@@ -0,0 +1,20 @@
++BUILD_MOD = mod
++
++SRCS = allowed.c
++
++OBJS = allowed.lo
++
++LIBBASE = allowed
++
++LDAP_INCDIR= ../../../include       
++LDAP_LIBDIR= ../../../libraries
++
++MOD_DEFS = -DSLAPD_IMPORT -DSLAPD_OVER_ALLOWED=SLAPD_MOD_DYNAMIC
++#MOD_LIBS = 
++
++shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
++NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++
++XINCPATH = -I. -I$(srcdir)/. -I../../../servers/slapd
++XDEFS = $(MODULES_CPPFLAGS)
+diff -urN openldap-2.4.25/contrib/slapd-modules/autogroup/Makefile openldap-2.4.25-contrib/contrib/slapd-modules/autogroup/Makefile
+--- openldap-2.4.25/contrib/slapd-modules/autogroup/Makefile	2011-01-04 20:29:39.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/autogroup/Makefile	1970-01-01 01:00:00.000000000 +0100
+@@ -1,27 +0,0 @@
+-LIBTOOL=../../../libtool
+-
+-CPPFLAGS+=-I../../../include -I../../../servers/slapd
+-
+-ldap_subdir = openldap
+-prefix=/usr/local
+-exec_prefix = $(prefix)
+-libdir = $(exec_prefix)/lib
+-libexecdir = $(exec_prefix)/libexec
+-moduledir = $(exec_prefix)/libexec/$(ldap_subdir)
+-
+-all: autogroup.la
+-
+-autogroup.lo:	autogroup.c
+-	$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $?
+-
+-autogroup.la:	autogroup.lo
+-	$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
+-	-rpath $(libdir) -module -o $@ $? 
+-
+-clean:
+-	rm -f autogroup.lo autogroup.la
+-
+-install: autogroup.la
+-	mkdir -p $(DESTDIR)$(moduledir)
+-	$(LIBTOOL) --mode=install cp autogroup.la $(DESTDIR)$(moduledir)
+-	$(LIBTOOL) --finish $(DESTDIR)$(moduledir)
+diff -urN openldap-2.4.25/contrib/slapd-modules/autogroup/Makefile.in openldap-2.4.25-contrib/contrib/slapd-modules/autogroup/Makefile.in
+--- openldap-2.4.25/contrib/slapd-modules/autogroup/Makefile.in	1970-01-01 01:00:00.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/autogroup/Makefile.in	2011-03-28 17:51:20.127152000 +0200
+@@ -0,0 +1,20 @@
++BUILD_MOD = mod
++
++SRCS = autogroup.c
++
++OBJS = autogroup.lo
++
++LIBBASE = autogroup
++
++LDAP_INCDIR= ../../../include       
++LDAP_LIBDIR= ../../../libraries
++
++MOD_DEFS = -DSLAPD_IMPORT
++#MOD_LIBS = 
++
++shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
++NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++
++XINCPATH = -I. -I$(srcdir)/. -I../../../servers/slapd
++XDEFS = $(MODULES_CPPFLAGS)
+diff -urN openldap-2.4.25/contrib/slapd-modules/cloak/Makefile openldap-2.4.25-contrib/contrib/slapd-modules/cloak/Makefile
+--- openldap-2.4.25/contrib/slapd-modules/cloak/Makefile	2011-03-24 19:15:01.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/cloak/Makefile	1970-01-01 01:00:00.000000000 +0100
+@@ -1,17 +0,0 @@
+-# $OpenLDAP: pkg/ldap/contrib/slapd-modules/cloak/Makefile,v 1.2.2.2 2011/03/24 18:15:01 quanah Exp $
+-CPPFLAGS+=-I../../../include -I../../../servers/slapd 
+-CPPFLAGS+=-DSLAPD_OVER_CLOAK=SLAPD_MOD_DYNAMIC
+-LIBS=-lldap_r -llber -lcrypto
+-LIBTOOL=../../../libtool
+-
+-all: cloak.la
+-
+-cloak.lo:    cloak.c
+-	$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -c $?
+-
+-cloak.la:    cloak.lo
+-	$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
+-		   -rpath $(PREFIX)/lib -module -o $@ $? $(LIBS)
+-
+-clean:
+-	rm cloak.lo cloak.la
+diff -urN openldap-2.4.25/contrib/slapd-modules/cloak/Makefile.in openldap-2.4.25-contrib/contrib/slapd-modules/cloak/Makefile.in
+--- openldap-2.4.25/contrib/slapd-modules/cloak/Makefile.in	1970-01-01 01:00:00.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/cloak/Makefile.in	2011-03-28 19:59:11.461991161 +0200
+@@ -0,0 +1,22 @@
++BUILD_MOD = mod
++
++SRCS = cloak.c
++
++OBJS = cloak.lo
++
++LIBBASE = cloak
++
++LDAP_INCDIR= ../../../include       
++LDAP_LIBDIR= ../../../libraries
++
++MOD_DEFS = -DSLAPD_IMPORT -DSLAPD_OVER_CLOAK=SLAPD_MOD_DYNAMIC
++#MOD_LIBS = 
++
++shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
++NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++
++XINCPATH = -I. -I$(srcdir)/. -I../../../servers/slapd
++XDEFS = $(MODULES_CPPFLAGS)
++
++MANSECT=5
+diff -urN openldap-2.4.25/contrib/slapd-modules/comp_match/Makefile openldap-2.4.25-contrib/contrib/slapd-modules/comp_match/Makefile
+--- openldap-2.4.25/contrib/slapd-modules/comp_match/Makefile	2011-01-05 00:49:31.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/comp_match/Makefile	1970-01-01 01:00:00.000000000 +0100
+@@ -1,66 +0,0 @@
+-# $OpenLDAP: pkg/ldap/contrib/slapd-modules/comp_match/Makefile,v 1.11.2.6 2011/01/04 23:49:31 kurt Exp $
+-# This work is part of OpenLDAP Software <http://www.openldap.org/>.
+-#
+-# Copyright 2003-2011 The OpenLDAP Foundation.
+-# Portions Copyright 2004 by IBM Corporation.
+-# All rights reserved.
+-
+-# Copyright 2004 Sang Seok Lim, IBM Corp. All Rights Reserved.
+-#
+-# Redistribution and use in source and binary forms, with or without
+-# modification, are permitted only as authorized by the OpenLDAP
+-# Public License.
+-#
+-# A copy of this license is available in the file LICENSE in the
+-# top-level directory of the distribution or, alternatively, at
+-# <http://www.OpenLDAP.org/license.html>.
+-
+-topsrcdir = ../../..
+-snaccdir = ../$(topsrcdir)/snacc
+-openssldir = /usr/local/include/openssl
+-
+-LIBTOOL=$(topsrcdir)/libtool
+-OPT=-g -O2 -DLDAP_COMPONENT
+-CC=gcc
+-
+-SNACC_INC=-I$(snaccdir) -I$(snaccdir)/c-lib/inc
+-LDAP_INC=-I$(topsrcdir)/include -I$(topsrcdir)/servers/slapd -I$(topbuilddir)/include
+-OPENSSL_INC=-I$(openssldir)
+-INCS=$(LDAP_INC) $(SNACC_INC) $(OPENSSL_INC)
+-
+-SNACC_LIB=$(snaccdir)/c-lib/libcasn1.a
+-SSL_LIB=/usr/local/lib/lcrypto
+-
+-LIBS=$(LDAP_LIB) $(SNACC_LIB) $(SSL_LIB)
+-
+-all:	compmatch.la
+-
+-
+-componentlib.lo:	componentlib.c
+-	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(INCS) -c $?
+-
+-certificate.lo:	certificate.c
+-	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(INCS) -c $?
+-
+-crl.lo:	crl.c
+-	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(INCS) -c $?
+-
+-authorityKeyIdentifier.lo:	authorityKeyIdentifier.c
+-	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(INCS) -c $?
+-
+-asn_to_syn_mr.lo:	asn_to_syn_mr.c
+-	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(INCS) -c $?
+-
+-init.lo:	init.c
+-	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(INCS) -c $?
+-
+-compmatch.la:	componentlib.lo init.lo certificate.lo asn_to_syn_mr.lo authorityKeyIdentifier.lo crl.lo
+-	$(LIBTOOL) --mode=link $(CC) $(OPT) $(LIBS) -version-info 0:0:0 \
+-	-rpath /usr/local/libexec/openldap -module -o $@ $? $(LIBS)
+-
+-clean:
+-	\rm compmatch.la componentlib.lo certificate.lo asn_to_syn_mr.lo authorityKeyIdentifier.lo crl.lo\
+-		init.o init.lo componentlib.o certificate.o asn_to_syn_mr.o authorityKeyIdentifier.o crl.o
+-install:
+-	cp -r .libs $(topsrcdir)/tests/data/comp_libs
+-	cp compmatch.la  $(topsrcdir)/tests/data/comp_libs
+diff -urN openldap-2.4.25/contrib/slapd-modules/comp_match/Makefile.in openldap-2.4.25-contrib/contrib/slapd-modules/comp_match/Makefile.in
+--- openldap-2.4.25/contrib/slapd-modules/comp_match/Makefile.in	1970-01-01 01:00:00.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/comp_match/Makefile.in	2011-03-28 17:51:20.128152000 +0200
+@@ -0,0 +1,28 @@
++BUILD_MOD = mod
++
++SRCS = asn_to_syn_mr.c authorityKeyIdentifier.c certificate.c \
++	componentlib.c crl.c init.c
++
++OBJS = asn_to_syn_mr.lo authorityKeyIdentifier.lo certificate.lo \
++	componentlib.lo crl.lo init.lo
++
++LIBBASE = compmatch
++
++OPENSSL_INC = -I/usr/include/openssl
++OPENSSL_LIBS = -lcrypto
++
++SNACC_INC =-I/usr/include/snacc -I/usr/include/snacc/c-lib/inc
++SNACC_LIBS = -lcasn1
++
++LDAP_INCDIR= ../../../include       
++LDAP_LIBDIR= ../../../libraries
++
++MOD_DEFS = -DSLAPD_IMPORT -DLDAP_COMPONENT $(OPENSSL_INC) $(SNACC_INC)
++MOD_LIBS = $(OPENSSL_LIBS) $(SNACC_LIBS)
++
++shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
++NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++
++XINCPATH = -I. -I$(srcdir)/. -I../../../servers/slapd
++XDEFS = $(MODULES_CPPFLAGS)
+diff -urN openldap-2.4.25/contrib/slapd-modules/denyop/Makefile.in openldap-2.4.25-contrib/contrib/slapd-modules/denyop/Makefile.in
+--- openldap-2.4.25/contrib/slapd-modules/denyop/Makefile.in	1970-01-01 01:00:00.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/denyop/Makefile.in	2011-03-28 17:51:20.128152000 +0200
+@@ -0,0 +1,20 @@
++BUILD_MOD = mod
++
++SRCS = denyop.c
++
++OBJS = denyop.lo
++
++LIBBASE = denyop
++
++LDAP_INCDIR= ../../../include       
++LDAP_LIBDIR= ../../../libraries
++
++MOD_DEFS = -DSLAPD_IMPORT -DSLAPD_OVER_DENYOP=SLAPD_MOD_DYNAMIC
++#MOD_LIBS = 
++
++shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
++NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++
++XINCPATH = -I. -I$(srcdir)/. -I../../../servers/slapd
++XDEFS = $(MODULES_CPPFLAGS)
+diff -urN openldap-2.4.25/contrib/slapd-modules/dsaschema/Makefile.in openldap-2.4.25-contrib/contrib/slapd-modules/dsaschema/Makefile.in
+--- openldap-2.4.25/contrib/slapd-modules/dsaschema/Makefile.in	1970-01-01 01:00:00.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/dsaschema/Makefile.in	2011-03-28 17:51:20.129152000 +0200
+@@ -0,0 +1,20 @@
++BUILD_MOD = mod
++
++SRCS = dsaschema.c
++
++OBJS = dsaschema.lo
++
++LIBBASE = dsaschema
++
++LDAP_INCDIR= ../../../include       
++LDAP_LIBDIR= ../../../libraries
++
++MOD_DEFS = -DSLAPD_IMPORT
++#MOD_LIBS = 
++
++shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
++NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++
++XINCPATH = -I. -I$(srcdir)/. -I../../../servers/slapd
++XDEFS = $(MODULES_CPPFLAGS)
+diff -urN openldap-2.4.25/contrib/slapd-modules/dupent/Makefile openldap-2.4.25-contrib/contrib/slapd-modules/dupent/Makefile
+--- openldap-2.4.25/contrib/slapd-modules/dupent/Makefile	2011-01-05 00:49:32.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/dupent/Makefile	1970-01-01 01:00:00.000000000 +0100
+@@ -1,52 +0,0 @@
+-# $OpenLDAP: pkg/ldap/contrib/slapd-modules/dupent/Makefile,v 1.1.2.3 2011/01/04 23:49:32 kurt Exp $
+-# This work is part of OpenLDAP Software <http://www.openldap.org/>.
+-#
+-# Copyright 1998-2011 The OpenLDAP Foundation.
+-# Copyright 2004 Howard Chu, Symas Corp. All Rights Reserved.
+-#
+-# Redistribution and use in source and binary forms, with or without
+-# modification, are permitted only as authorized by the OpenLDAP
+-# Public License.
+-#
+-# A copy of this license is available in the file LICENSE in the
+-# top-level directory of the distribution or, alternatively, at
+-# <http://www.OpenLDAP.org/license.html>.
+-
+-LIBTOOL=../../../libtool
+-OPT=-DSLAPD_OVER_DUPENT=2 -g -O2
+-#LIBTOOL=../../../../ldap-devel/libtool
+-#OPT=-DSLAPD_OVER_DUPENT=2 -g -O0
+-CC=gcc
+-
+-LDAP_INC=-I../../../include -I../../../servers/slapd
+-#LDAP_INC=-I../../../include -I../../../servers/slapd -I../../../../ldap-devel/include
+-INCS=$(LDAP_INC)
+-
+-LDAP_LIB=-lldap_r -llber
+-LIBS=$(LDAP_LIB)
+-
+-prefix=/usr/local
+-exec_prefix=$(prefix)
+-ldap_subdir=/openldap
+-
+-libdir=$(exec_prefix)/lib
+-libexecdir=$(exec_prefix)/libexec
+-moduledir = $(libexecdir)$(ldap_subdir)
+-
+-all:	dupent.la
+-
+-
+-dupent.lo:	dupent.c
+-	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $?
+-
+-dupent.la:	dupent.lo
+-	$(LIBTOOL) --mode=link $(CC) $(OPT) -version-info 0:0:0 \
+-	-rpath $(moduledir) -module -o $@ $? $(LIBS)
+-
+-clean:
+-	rm -f dupent.lo dupent.la
+-
+-install: dupent.la
+-	mkdir -p $(DESTDIR)$(moduledir)
+-	$(LIBTOOL) --mode=install cp dupent.la $(DESTDIR)$(moduledir)
+-
+diff -urN openldap-2.4.25/contrib/slapd-modules/dupent/Makefile.in openldap-2.4.25-contrib/contrib/slapd-modules/dupent/Makefile.in
+--- openldap-2.4.25/contrib/slapd-modules/dupent/Makefile.in	1970-01-01 01:00:00.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/dupent/Makefile.in	2011-03-28 17:51:20.133152000 +0200
+@@ -0,0 +1,20 @@
++BUILD_MOD = mod
++
++SRCS = dupent.c
++
++OBJS = dupent.lo
++
++LIBBASE = dupent
++
++LDAP_INCDIR= ../../../include       
++LDAP_LIBDIR= ../../../libraries
++
++MOD_DEFS = -DSLAPD_IMPORT -DSLAPD_OVER_DUPENT=SLAPD_MOD_DYNAMIC
++#MOD_LIBS = 
++
++shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
++NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++
++XINCPATH = -I. -I$(srcdir)/. -I../../../servers/slapd
++XDEFS = $(MODULES_CPPFLAGS)
+diff -urN openldap-2.4.25/contrib/slapd-modules/kinit/Makefile.in openldap-2.4.25-contrib/contrib/slapd-modules/kinit/Makefile.in
+--- openldap-2.4.25/contrib/slapd-modules/kinit/Makefile.in	1970-01-01 01:00:00.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/kinit/Makefile.in	2011-03-28 17:51:20.134152000 +0200
+@@ -0,0 +1,23 @@
++BUILD_MOD = mod
++
++SRCS = kinit.c
++
++OBJS = kinit.lo
++
++LIBBASE = kinit
++
++LDAP_INCDIR= ../../../include       
++LDAP_LIBDIR= ../../../libraries
++
++KRB5_INC = -I/usr/include/krb5
++KRB5_LIBS = -lkrb5
++
++MOD_DEFS = -DSLAPD_IMPORT $(KRB5_INC)
++MOD_LIBS = $(KRB5_LIBS)
++
++shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
++NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC at _LDAP_LIBS)
++
++XINCPATH = -I. -I$(srcdir)/. -I../../../servers/slapd
++XDEFS = $(MODULES_CPPFLAGS)
+diff -urN openldap-2.4.25/contrib/slapd-modules/lastbind/Makefile openldap-2.4.25-contrib/contrib/slapd-modules/lastbind/Makefile
+--- openldap-2.4.25/contrib/slapd-modules/lastbind/Makefile	2011-03-25 20:39:47.000000000 +0100
++++ openldap-2.4.25-contrib/contrib/slapd-modules/lastbind/Makefile	1970-01-01 01:00:00.000000000 +0100
+@@ -1,34 +0,0 @@
+-# $OpenLDAP: pkg/ldap/contrib/slapd-modules/lastbind/Makefile,v 1.2.2.4 2011/03/25 19:39:47 quanah Exp $
+-# Copyright 2009 Jonathan Clarke <jonathan at phillipoux.net>.
+-# All rights reserved.
+-#
+-# Redistribution and use in source and binary forms, with or without
+-# modification, are permitted only as authorized by the OpenLDAP
+-# Public License.
+-#
+-# A copy of this license is available in the file LICENSE in the
+-# top-level directory of the distribution or, alternatively, at
+-# <http://www.OpenLDAP.org/license.html>.
+-
+-CPPFLAGS+=-I../../../include -I../../../servers/slapd 
+-CPPFLAGS+=-DSLAPD_OVER_LASTBIND=SLAPD_MOD_DYNAMIC
+-#LIBTOOL=libtool
+-LIBTOOL=../../../libtool
+-
+-prefix=/usr/local
+-
+-all: lastbind.la
+-
+-lastbind.lo:    lastbind.c
+-	$(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) -Wall -c $?
+-
+-lastbind.la:    lastbind.lo
+-	$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
+-		   -rpath $(prefix)/lib -module -o $@ $?
+-
+-clean:
+-	rm -rf lastbind.lo lastbind.la lastbind.o .libs/
+-
<<Diff was trimmed, longer than 597 lines>>


More information about the pld-cvs-commit mailing list