summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-07-18 02:46:08 +0000
committerNick Hadaway <raker@gentoo.org>2002-07-18 02:46:08 +0000
commitff93e0a0c664813a1cc0e6e377df0bb1ee96be6e (patch)
tree23108bcfd7d53f693e9446377f97361154ed02fd /net-fs/autofs/files
parentadded mask for new build of autofs. Please test for proper OpenLDAP (diff)
downloadhistorical-ff93e0a0c664813a1cc0e6e377df0bb1ee96be6e.tar.gz
historical-ff93e0a0c664813a1cc0e6e377df0bb1ee96be6e.tar.bz2
historical-ff93e0a0c664813a1cc0e6e377df0bb1ee96be6e.zip
New ebuild of autofs with OpenLDAP 2.x support. Also proper setting of
OPEN_MAX from linux/limits.h instead of a manual setting of variable as in previous ebuild. Please report your success/failure on bug report #2285
Diffstat (limited to 'net-fs/autofs/files')
-rw-r--r--net-fs/autofs/files/ldap.diff14
-rw-r--r--net-fs/autofs/files/open_max.diff12
2 files changed, 26 insertions, 0 deletions
diff --git a/net-fs/autofs/files/ldap.diff b/net-fs/autofs/files/ldap.diff
new file mode 100644
index 000000000000..1c3fc0f2ffa1
--- /dev/null
+++ b/net-fs/autofs/files/ldap.diff
@@ -0,0 +1,14 @@
+diff -urN autofs-3.1.7/Makefile.conf autofs-3.1.7-modified/Makefile.conf
+--- autofs-3.1.7/Makefile.conf Wed Jul 17 21:28:35 2002
++++ autofs-3.1.7-modified/Makefile.conf Wed Jul 17 21:29:05 2002
+@@ -17,8 +17,8 @@
+ HESIOD_FLAGS =
+
+ # LDAP support: yes (1) no (0)
+-LDAP = 0
+-LIBLDAP=
++LDAP = 1
++LIBLDAP= -lldap -llber
+ LDAP_FLAGS =
+
+ # NIS+ support: yes (1) no (0)
diff --git a/net-fs/autofs/files/open_max.diff b/net-fs/autofs/files/open_max.diff
new file mode 100644
index 000000000000..c08d52a57f8c
--- /dev/null
+++ b/net-fs/autofs/files/open_max.diff
@@ -0,0 +1,12 @@
+diff -urN autofs-3.1.7/modules/lookup_program.c autofs-3.1.7-modified/modules/lookup_program.c
+--- autofs-3.1.7/modules/lookup_program.c Sat Nov 4 01:05:17 2000
++++ autofs-3.1.7-modified/modules/lookup_program.c Wed Jul 17 21:20:06 2002
+@@ -16,7 +16,7 @@
+
+ #include <ctype.h>
+ #include <errno.h>
+-#include <limits.h>
++#include <linux/limits.h>
+ #include <malloc.h>
+ #include <stdio.h>
+ #include <string.h>