summaryrefslogtreecommitdiff
path: root/net/openldap20/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap20/files')
-rw-r--r--net/openldap20/files/libtool.diff19
-rw-r--r--net/openldap20/files/manpages21
-rw-r--r--net/openldap20/files/patch-clients_ud_Makefile.in8
-rw-r--r--net/openldap20/files/slapd.sh6
-rw-r--r--net/openldap20/files/slurpd.sh27
5 files changed, 40 insertions, 41 deletions
diff --git a/net/openldap20/files/libtool.diff b/net/openldap20/files/libtool.diff
deleted file mode 100644
index 0cf57bbee7ea..000000000000
--- a/net/openldap20/files/libtool.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- libtool.orig Tue Oct 31 01:43:06 2000
-+++ libtool Tue Oct 31 01:44:42 2000
-@@ -448,6 +448,16 @@
- --mode) prevopt="--mode" prev=mode ;;
- --mode=*) mode="$optarg" ;;
-
-+ --only-shared)
-+ build_libtool_libs=yes
-+ build_old_libs=no
-+ ;;
-+
-+ --only-static)
-+ build_libtool_libs=no
-+ build_old_libs=yes
-+ ;;
-+
- --quiet | --silent)
- show=:
- ;;
diff --git a/net/openldap20/files/manpages b/net/openldap20/files/manpages
index 1c39b81911fc..b10af04f6545 100644
--- a/net/openldap20/files/manpages
+++ b/net/openldap20/files/manpages
@@ -77,12 +77,11 @@ MLINKS+= lber-encode.3 ber_put_ostring.3
MLINKS+= lber-encode.3 ber_put_seq.3
MLINKS+= lber-encode.3 ber_put_set.3
MLINKS+= lber-encode.3 ber_put_string.3
-MLINKS+= lber-decode.3 ber_start_set.3
-MLINKS+= ldap.3 cldap.3
+MLINKS+= lber-encode.3 ber_start_set.3
+MLINKS+= ldap_abandon.3 ldap_abandon_ext.3
+MLINKS+= ldap_add.3 ldap_add_ext.3
+MLINKS+= ldap_add.3 ldap_add_ext_s.3
MLINKS+= ldap_add.3 ldap_add_s.3
-MLINKS+= ldap_bind.3 ldap_abandon_ext.3
-MLINKS+= ldap_bind.3 ldap_add_ext.3
-MLINKS+= ldap_bind.3 ldap_add_ext_s.3
MLINKS+= ldap_bind.3 ldap_bind_s.3
MLINKS+= ldap_bind.3 ldap_kerberos_bind1.3
MLINKS+= ldap_bind.3 ldap_kerberos_bind1_s.3
@@ -91,7 +90,6 @@ MLINKS+= ldap_bind.3 ldap_kerberos_bind2_s.3
MLINKS+= ldap_bind.3 ldap_kerberos_bind_s.3
MLINKS+= ldap_bind.3 ldap_sasl_bind.3
MLINKS+= ldap_bind.3 ldap_sasl_bind_s.3
-MLINKS+= ldap_bind.3 ldap_set_rebind_proc.3
MLINKS+= ldap_bind.3 ldap_simple_bind.3
MLINKS+= ldap_bind.3 ldap_simple_bind_s.3
MLINKS+= ldap_bind.3 ldap_unbind.3
@@ -105,12 +103,6 @@ MLINKS+= ldap_cache.3 ldap_flush_cache.3
MLINKS+= ldap_cache.3 ldap_set_cache_options.3
MLINKS+= ldap_cache.3 ldap_uncache_entry.3
MLINKS+= ldap_cache.3 ldap_uncache_request.3
-MLINKS+= ldap_charset.3 ldap_8859_to_t61.3
-MLINKS+= ldap_charset.3 ldap_enable_translation.3
-MLINKS+= ldap_charset.3 ldap_set_string_translators.3
-MLINKS+= ldap_charset.3 ldap_t61_to_8859.3
-MLINKS+= ldap_charset.3 ldap_translate_from_t61.3
-MLINKS+= ldap_charset.3 ldap_translate_to_t61.3
MLINKS+= ldap_compare.3 ldap_compare_ext.3
MLINKS+= ldap_compare.3 ldap_compare_ext_s.3
MLINKS+= ldap_compare.3 ldap_compare_s.3
@@ -145,9 +137,7 @@ MLINKS+= ldap_friendly.3 ldap_free_friendlymap.3
MLINKS+= ldap_friendly.3 ldap_friendly_name.3
MLINKS+= ldap_get_dn.3 ldap_dn2ufn.3
MLINKS+= ldap_get_dn.3 ldap_explode_dn.3
-MLINKS+= ldap_get_dn.3 ldap_explode_dns.3
MLINKS+= ldap_get_dn.3 ldap_explode_rdn.3
-MLINKS+= ldap_get_dn.3 ldap_is_dns_dn.3
MLINKS+= ldap_get_values.3 ldap_count_values.3
MLINKS+= ldap_get_values.3 ldap_count_values_len.3
MLINKS+= ldap_get_values.3 ldap_get_values_len.3
@@ -213,7 +203,4 @@ MLINKS+= ldap_url.3 ldap_url_search.3
MLINKS+= ldap_url.3 ldap_url_search_s.3
MLINKS+= ldap_url.3 ldap_url_search_st.3
MLINKS+= ldapmodify.1 ldapadd.1
-MLINKS+= ldif2ldbm.8 ldif2id2children.8
-MLINKS+= ldif2ldbm.8 ldif2id2entry.8
-MLINKS+= ldif2ldbm.8 ldif2index.8
MLINKS+= mail500.8 fax500.8
diff --git a/net/openldap20/files/patch-clients_ud_Makefile.in b/net/openldap20/files/patch-clients_ud_Makefile.in
index 18f342c29a53..9cf81be04cdd 100644
--- a/net/openldap20/files/patch-clients_ud_Makefile.in
+++ b/net/openldap20/files/patch-clients_ud_Makefile.in
@@ -2,7 +2,9 @@
+++ clients/ud/Makefile.in Wed Jul 26 14:24:14 2000
@@ -26,4 +26,4 @@
install-local: FORCE
- -$(MKDIR) $(bindir)
- -mv -f $(bindir)/ud $(bindir)/ud-
-- $(LTINSTALL) $(INSTALLFLAGS) -m 775 ud $(bindir)
+ -$(MKDIR) $(DESTDIR)$(bindir)
+- -mv -f $(DESTDIR)$(bindir)/ud $(DESTDIR)$(bindir)/ud-
+ $(LTINSTALL) $(INSTALLFLAGS) -m 755 ud $(bindir)
+ @( \
+ for prg in $(PROGRAMS); do \
+ $(LTINSTALL) $(INSTALLFLAGS) -s -m 755 $$prg$(EXEEXT) \
diff --git a/net/openldap20/files/slapd.sh b/net/openldap20/files/slapd.sh
index 0e3601b07e5c..08a215cd5ea8 100644
--- a/net/openldap20/files/slapd.sh
+++ b/net/openldap20/files/slapd.sh
@@ -15,14 +15,16 @@ slapd_program=@@PREFIX@@/libexec/slapd
# IPv6 Only
#slapd_args='-h ldap://[::]'
#
+# Add '-u ldap -g ldap' when you do not want to run
+# slapd as root
#
slapd_args=
-pidfile=/var/run/slapd.pid
+pidfile=@@LDAP_RUN_DIR@@/slapd.pid
case "$1" in
start)
- if [ -x $slapd ]; then
+ if [ -x ${slapd_program} ]; then
echo -n ' slapd'
eval ${slapd_program} ${slapd_args}
diff --git a/net/openldap20/files/slurpd.sh b/net/openldap20/files/slurpd.sh
new file mode 100644
index 000000000000..0eafcbeebcd7
--- /dev/null
+++ b/net/openldap20/files/slurpd.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+slurpd_program=@@PREFIX@@/libexec/slurpd
+
+slurpd_args=
+
+case "$1" in
+start)
+ if [ -x ${slurpd_program} ]; then
+ echo -n ' slurpd'
+ ${slurpd_program} ${slurpd_args}
+ fi
+ ;;
+stop)
+ if ! killall `basename ${slurpd_program}`; then
+ echo ' slurpd: not running'
+ fi
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ exit 64
+ ;;
+esac
+
+exit 0