SOURCES: openvpn-plugin-auth-ldap-make.patch - up to 1.0.3
glen
glen at pld-linux.org
Sat Jan 21 01:08:14 CET 2006
Author: glen Date: Sat Jan 21 00:08:14 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- up to 1.0.3
---- Files affected:
SOURCES:
openvpn-plugin-auth-ldap-make.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/openvpn-plugin-auth-ldap-make.patch
diff -u SOURCES/openvpn-plugin-auth-ldap-make.patch:1.1 SOURCES/openvpn-plugin-auth-ldap-make.patch:1.2
--- SOURCES/openvpn-plugin-auth-ldap-make.patch:1.1 Fri Jan 20 23:55:57 2006
+++ SOURCES/openvpn-plugin-auth-ldap-make.patch Sat Jan 21 01:08:09 2006
@@ -1,53 +1,11 @@
---- ./Makefile~ 2005-10-03 17:38:46.000000000 +0300
-+++ ./Makefile 2005-10-03 17:38:48.000000000 +0300
-@@ -3,8 +3,8 @@
- #
-
- # This directory is where we will look for openvpn-plugin.h
--OPENVPN?= /usr/local/src/openvpn-2.0_rc17
--LDAP?= /usr/local/
-+OPENVPN?= /usr/include/openvpn
-+LDAP?= /usr
-
- INCLUDE= -I$(OPENVPN) -I$(LDAP)/include -I.
- LDFLAGS= -L$(LDAP)/lib
-@@ -12,13 +12,13 @@
- CFLAGS= -g -O2 -Wall -fPIC $(INCLUDE)
- OBJCFLAGS= $(CFLAGS) -fno-strict-aliasing
- LIBS= -lldap -lobjc -lpthread
--OBJS= auth-ldap.o LFString.o LFLDAPConnection.o LFAuthLDAPConfig.o
-+OBJS= auth-ldap.m.o LFString.m.o LFLDAPConnection.m.o LFAuthLDAPConfig.m.o
- TEST_OBJS= $(OBJS) test.o
-
--.c.o:
-+%.c.o:
- gcc -c $< -o $@ ${CFLAGS}
-
--.m.o:
-+%.m.o: %.m
- gcc -c $< -o $@ ${OBJCFLAGS}
-
- openvpn-auth-ldap.so : $(OBJS)
---- ./Makefile~ 2005-10-03 17:41:33.000000000 +0300
-+++ ./Makefile 2005-10-03 17:41:35.000000000 +0300
-@@ -9,7 +9,8 @@
- INCLUDE= -I$(OPENVPN) -I$(LDAP)/include -I.
- LDFLAGS= -L$(LDAP)/lib
-
--CFLAGS= -g -O2 -Wall -fPIC $(INCLUDE)
-+OPTFLAGS= -g -O2
-+CFLAGS= -Wall -fPIC $(INCLUDE)
- OBJCFLAGS= $(CFLAGS) -fno-strict-aliasing
- LIBS= -lldap -lobjc -lpthread
- OBJS= auth-ldap.m.o LFString.m.o LFLDAPConnection.m.o LFAuthLDAPConfig.m.o
---- ./Makefile~ 2005-10-03 18:49:02.000000000 +0300
-+++ ./Makefile 2005-10-03 18:49:04.000000000 +0300
-@@ -12,7 +12,7 @@
- OPTFLAGS= -g -O2
- CFLAGS= -Wall -fPIC $(INCLUDE)
- OBJCFLAGS= $(CFLAGS) -fno-strict-aliasing
--LIBS= -lldap -lobjc -lpthread
-+LIBS= -lldap -lobjc -lpthread -lstrlcpy
- OBJS= auth-ldap.m.o LFString.m.o LFLDAPConnection.m.o LFAuthLDAPConfig.m.o
- TEST_OBJS= $(OBJS) test.o
+--- auth-ldap-1.0.3/src/Makefile.in~ 2006-01-21 01:06:23.000000000 +0200
++++ auth-ldap-1.0.3/src/Makefile.in 2006-01-21 01:51:06.000000000 +0200
+@@ -24,7 +24,7 @@
+ ./test $(top_srcdir)/auth-ldap.conf
+
+ install:: openvpn-auth-ldap.so
+- $(INSTALL) -m 755 openvpn-auth-ldap.so $(DESTDIR)$(prefix)/lib/
++ $(INSTALL) -m 755 openvpn-auth-ldap.so $(DESTDIR)$(libdir)
+ clean::
+ rm -f $(TEST_OBJS) $(MODULE_OBJS) openvpn-auth-ldap.so test
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/openvpn-plugin-auth-ldap-make.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list