summaryrefslogtreecommitdiffstats
path: root/package/openldap/patches
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-13 03:49:16 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-13 03:49:16 +0000
commit367bcce8ef1e15f681e57fc04efdb3f43283e36c (patch)
tree329922c675f70e999452535e2d502c70355216be /package/openldap/patches
parentc26c2edc7af89ece52a0b472420f146d92efe26d (diff)
Add openldap package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@872 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/openldap/patches')
-rw-r--r--package/openldap/patches/500-cross-compile.patch12
-rw-r--r--package/openldap/patches/750-no-strip.patch36
2 files changed, 48 insertions, 0 deletions
diff --git a/package/openldap/patches/500-cross-compile.patch b/package/openldap/patches/500-cross-compile.patch
new file mode 100644
index 000000000..d0aafdcd7
--- /dev/null
+++ b/package/openldap/patches/500-cross-compile.patch
@@ -0,0 +1,12 @@
+diff -ruN openldap-2.2.26-orig/libraries/liblunicode/Makefile.in openldap-2.2.26-1/libraries/liblunicode/Makefile.in
+--- openldap-2.2.26-orig/libraries/liblunicode/Makefile.in 2005-01-20 18:01:03.000000000 +0100
++++ openldap-2.2.26-1/libraries/liblunicode/Makefile.in 2005-05-08 15:47:08.000000000 +0200
+@@ -29,7 +29,7 @@
+ LDAP_INCDIR= ../../include
+ LDAP_LIBDIR= ../../libraries
+
+-ucgendat: $(XLIBS) ucgendat.o
++ucgendat: ucgendat.o
+ $(LTLINK) -o $@ ucgendat.o $(LIBS)
+ ./ucgendat $(srcdir)/UnicodeData.txt -x $(srcdir)/CompositionExclusions.txt
+
diff --git a/package/openldap/patches/750-no-strip.patch b/package/openldap/patches/750-no-strip.patch
new file mode 100644
index 000000000..d472fd87f
--- /dev/null
+++ b/package/openldap/patches/750-no-strip.patch
@@ -0,0 +1,36 @@
+diff -ruN openldap-2.2.26-orig/clients/tools/Makefile.in openldap-2.2.26-1/clients/tools/Makefile.in
+--- openldap-2.2.26-orig/clients/tools/Makefile.in 2005-01-20 18:00:55.000000000 +0100
++++ openldap-2.2.26-1/clients/tools/Makefile.in 2005-05-08 15:47:08.000000000 +0200
+@@ -98,7 +98,7 @@
+ -$(MKDIR) $(DESTDIR)$(bindir)
+ @( \
+ for prg in $(PROGRAMS); do \
+- $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \
++ $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT) \
+ $(DESTDIR)$(bindir); \
+ done \
+ )
+diff -ruN openldap-2.2.26-orig/servers/slapd/Makefile.in openldap-2.2.26-1/servers/slapd/Makefile.in
+--- openldap-2.2.26-orig/servers/slapd/Makefile.in 2005-01-20 18:01:05.000000000 +0100
++++ openldap-2.2.26-1/servers/slapd/Makefile.in 2005-05-08 15:47:08.000000000 +0200
+@@ -355,7 +355,7 @@
+ install-slapd: FORCE
+ -$(MKDIR) $(DESTDIR)$(libexecdir)
+ -$(MKDIR) $(DESTDIR)$(localstatedir)/run
+- $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 \
++ $(LTINSTALL) $(INSTALLFLAGS) -m 755 \
+ slapd$(EXEEXT) $(DESTDIR)$(libexecdir)
+ @for i in $(SUBDIRS); do \
+ if test -d $$i -a -f $$i/Makefile ; then \
+diff -ruN openldap-2.2.26-orig/servers/slurpd/Makefile.in openldap-2.2.26-1/servers/slurpd/Makefile.in
+--- openldap-2.2.26-orig/servers/slurpd/Makefile.in 2005-01-20 18:01:19.000000000 +0100
++++ openldap-2.2.26-1/servers/slurpd/Makefile.in 2005-05-08 15:47:08.000000000 +0200
+@@ -60,7 +60,7 @@
+ @-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-slurp
+ @( \
+ for prg in $(PROGRAMS); do \
+- $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \
++ $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$prg$(EXEEXT) \
+ $(DESTDIR)$(libexecdir); \
+ done \
+ )