Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 1998 21:23:59 +1000 (EST)
From:      lodea@angmar.mel.cybec.com.au
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7995: New Port: OpenLDAP 1.0.1
Message-ID:  <199809201123.VAA21030@angmar.mel.cybec.com.au>

next in thread | raw e-mail | index | archive | help

>Number:         7995
>Category:       ports
>Synopsis:       Port of OpenLDAP 1.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 20 04:20:02 PDT 1998
>Last-Modified:
>Originator:     Lachlan O'Dea
>Organization:
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

>Description:
A port of the current release of OpenLDAP, 1.0.1. Terry Lambert appears
to have done all the hard work already, so it was pretty easy to port :-)

OpenLDAP is based on the UMich 3.3 LDAP code, but has many bug fixes and
is being actively developed. <http://www.openldap.org/>; for more info.

It passes all tests on my -current machine, but test007-replication fails
on my -stable machine. This may be peculiar to my box, I haven't looked
into it yet.

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	openldap
#	openldap/Makefile
#	openldap/pkg
#	openldap/pkg/COMMENT
#	openldap/pkg/DESCR
#	openldap/pkg/PLIST
#	openldap/patches
#	openldap/patches/patch-aa
#	openldap/files
#	openldap/files/md5
#
echo c - openldap
mkdir -p openldap > /dev/null 2>&1
echo x - openldap/Makefile
sed 's/^X//' >openldap/Makefile << 'END-of-openldap/Makefile'
X# New ports collection makefile for:    openldap
X# Version required:     1.0.1
X# Date created:         20 Sep 1998
X# Whom:                 Lachlan O'Dea
X#
X# $Id$
X#
X
XDISTNAME=       openldap-1.0.1
XCATEGORIES=	net
XMASTER_SITES=	ftp://ftp.OpenLDAP.org/pub/OpenLDAP/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=     ulmo@earthling.net
X
XWRKSRC=		${WRKDIR}/ldap
XMANCOMPRESSED=	yes
XMAN1=	ldapdelete.1 ldapmodify.1 ldapmodrdn.1 ldapsearch.1 ud.1
XMAN3=	cldap_close.3 cldap_open.3 cldap_search_s.3 cldap_setretryinfo.3 \
X	lber-decode.3 lber-encode.3 ldap.3 ldap_abandon.3 ldap_add.3 \
X	ldap_bind.3 ldap_cache.3 ldap_charset.3 ldap_compare.3 ldap_delete.3 \
X	ldap_disptmpl.3 ldap_entry2text.3 ldap_error.3 \
X	ldap_first_attribute.3 ldap_first_entry.3 ldap_friendly.3 \
X	ldap_get_dn.3 ldap_get_values.3 ldap_getfilter.3 ldap_modify.3 \
X	ldap_modrdn.3 ldap_open.3 ldap_result.3 ldap_search.3 \
X	ldap_searchprefs.3 ldap_sort.3 ldap_ufn.3 ldap_url.3 regex.3
XMAN5=	ldapfilter.conf.5 ldapfriendly.5 ldapsearchprefs.conf.5 \
X	ldaptemplates.conf.5 ldif.5 slapd.conf.5 slapd.replog.5 ud.conf.5
XMAN8=	centipede.8 chlog2replog.8 edb2ldif.8 go500.8 go500gw.8 \
X	in.xfingerd.8 ldapd.8 ldbmcat.8 ldif.8 ldif2ldbm.8 mail500.8 \
X	rcpt500.8 slapd.8 slurpd.8
X
Xpre-patch:
X	${CP} ${WRKSRC}/Make-common.dist ${WRKSRC}/Make-common
X
Xpre-install:
X	${MKDIR}  ${PREFIX}/libexec
X	${MKDIR}  ${PREFIX}/sbin
X
Xpost-install:
X	strip ${PREFIX}/bin/ldapadd ${PREFIX}/bin/ldapdelete \
X	${PREFIX}/bin/ldapmodrdn ${PREFIX}/bin/ldapsearch ${PREFIX}/bin/ud \
X	${PREFIX}/libexec/fax500 ${PREFIX}/libexec/go500 \
X	${PREFIX}/libexec/go500gw ${PREFIX}/libexec/in.xfingerd \
X	${PREFIX}/libexec/mail500 ${PREFIX}/libexec/rcpt500 \
X	${PREFIX}/libexec/rp500 ${PREFIX}/libexec/slapd \
X	${PREFIX}/libexec/slurpd ${PREFIX}/sbin/centipede \
X	${PREFIX}/sbin/ldbmcat ${PREFIX}/sbin/ldbmtest ${PREFIX}/sbin/ldif \
X	${PREFIX}/sbin/ldif2id2children ${PREFIX}/sbin/ldif2id2entry \
X	${PREFIX}/sbin/ldif2index ${PREFIX}/sbin/ldif2ldbm
X
X.include <bsd.port.mk>
END-of-openldap/Makefile
echo c - openldap/pkg
mkdir -p openldap/pkg > /dev/null 2>&1
echo x - openldap/pkg/COMMENT
sed 's/^X//' >openldap/pkg/COMMENT << 'END-of-openldap/pkg/COMMENT'
XOpen source LDAP client and server software.
END-of-openldap/pkg/COMMENT
echo x - openldap/pkg/DESCR
sed 's/^X//' >openldap/pkg/DESCR << 'END-of-openldap/pkg/DESCR'
XOpenLDAP is a suite of Lightweight Directory Access Protocol (LDAP) servers,
Xclients, utilities and development tools. OpenLDAP is derived from the
XUniversity of Michigan LDAP release 3.3 and is distributed under a
XPerl-style "Artistic License".
X
XChanges from U. Mich release 3.3:
X
X	- TCP Wrappers support added to slapd,
X	- Berkely DB2 compatibility added to slapd,
X	- ACL enhancements including Access by Group and POSIX regex(3)
X	  support,
X	- platforms updates, and
X	- numerous bug fixes and build changes.
X
XSee the CHANGES file in the distribution for more details.
X 
Xhttp://www.openldap.org/
X
XLachlan O'Dea
Xulmo@earthling.net
END-of-openldap/pkg/DESCR
echo x - openldap/pkg/PLIST
sed 's/^X//' >openldap/pkg/PLIST << 'END-of-openldap/pkg/PLIST'
Xbin/ldapadd
Xbin/ldapdelete
Xbin/ldapmodify
Xbin/ldapmodrdn
Xbin/ldapsearch
Xbin/ud
Xbin/xrpcomp
Xetc/ldap/go500gw.help
Xetc/ldap/ldapfilter.conf
Xetc/ldap/ldapfriendly
Xetc/ldap/ldapsearchprefs.conf
Xetc/ldap/ldaptemplates.conf
Xetc/ldap/rcpt500.help
Xetc/ldap/slapd.at.conf
Xetc/ldap/slapd.conf
Xetc/ldap/slapd.oc.conf
Xinclude/disptmpl.h
Xinclude/lber.h
Xinclude/ldap.h
Xinclude/proto-lber.h
Xinclude/proto-ldap.h
Xinclude/srchpref.h
Xlib/liblber.a
Xlib/libldap.a
Xlibexec/fax500
Xlibexec/go500
Xlibexec/go500gw
Xlibexec/in.xfingerd
Xlibexec/mail500
Xlibexec/rcpt500
Xlibexec/rp500
Xlibexec/slapd
Xlibexec/slurpd
Xsbin/centipede
Xsbin/ldbmcat
Xsbin/ldbmtest
Xsbin/ldif
Xsbin/ldif2id2children
Xsbin/ldif2id2entry
Xsbin/ldif2index
Xsbin/ldif2ldbm
Xman/man1/ldapadd.1.gz
Xman/man3/cldap.3.gz
Xman/man3/ldap_add_s.3.gz
Xman/man3/ldap_bind_s.3.gz
Xman/man3/ldap_simple_bind.3.gz
Xman/man3/ldap_simple_bind_s.3.gz
Xman/man3/ldap_kerberos_bind_s.3.gz
Xman/man3/ldap_kerberos_bind1.3.gz
Xman/man3/ldap_kerberos_bind1_s.3.gz
Xman/man3/ldap_kerberos_bind2.3.gz
Xman/man3/ldap_kerberos_bind2_s.3.gz
Xman/man3/ldap_unbind.3.gz
Xman/man3/ldap_unbind_s.3.gz
Xman/man3/ldap_set_rebind_proc.3.gz
Xman/man3/ldap_enable_cache.3.gz
Xman/man3/ldap_disable_cache.3.gz
Xman/man3/ldap_destroy_cache.3.gz
Xman/man3/ldap_flush_cache.3.gz
Xman/man3/ldap_uncache_entry.3.gz
Xman/man3/ldap_uncache_request.3.gz
Xman/man3/ldap_set_cache_options.3.gz
Xman/man3/ldap_set_string_translators.3.gz
Xman/man3/ldap_enable_translation.3.gz
Xman/man3/ldap_translate_from_t61.3.gz
Xman/man3/ldap_translate_to_t61.3.gz
Xman/man3/ldap_t61_to_8859.3.gz
Xman/man3/ldap_8859_to_t61.3.gz
Xman/man3/ldap_compare_s.3.gz
Xman/man3/ldap_delete_s.3.gz
Xman/man3/ldap_init_templates.3.gz
Xman/man3/ldap_init_templates_buf.3.gz
Xman/man3/ldap_free_templates.3.gz
Xman/man3/ldap_first_disptmpl.3.gz
Xman/man3/ldap_tmplattrs.3.gz
Xman/man3/ldap_next_disptmpl.3.gz
Xman/man3/ldap_oc2template.3.gz
Xman/man3/ldap_first_tmplrow.3.gz
Xman/man3/ldap_next_tmplrow.3.gz
Xman/man3/ldap_first_tmplcol.3.gz
Xman/man3/ldap_next_tmplcol.3.gz
Xman/man3/ldap_entry2text_search.3.gz
Xman/man3/ldap_vals2text.3.gz
Xman/man3/ldap_entry2html.3.gz
Xman/man3/ldap_entry2html_search.3.gz
Xman/man3/ldap_vals2html.3.gz
Xman/man3/ldap_perror.3.gz
Xman/man3/ld_errno.3.gz
Xman/man3/ldap_result2error.3.gz
Xman/man3/ldap_errlist.3.gz
Xman/man3/ldap_err2string.3.gz
Xman/man3/ldap_next_attribute.3.gz
Xman/man3/ldap_next_entry.3.gz
Xman/man3/ldap_count_entries.3.gz
Xman/man3/ldap_friendly_name.3.gz
Xman/man3/ldap_free_friendlymap.3.gz
Xman/man3/ldap_explode_dn.3.gz
Xman/man3/ldap_explode_dns.3.gz
Xman/man3/ldap_dn2ufn.3.gz
Xman/man3/ldap_is_dns_dn.3.gz
Xman/man3/ldap_get_values_len.3.gz
Xman/man3/ldap_value_free.3.gz
Xman/man3/ldap_value_free_len.3.gz
Xman/man3/ldap_count_values.3.gz
Xman/man3/ldap_count_values_len.3.gz
Xman/man3/ldap_init_getfilter.3.gz
Xman/man3/ldap_init_getfilter_buf.3.gz
Xman/man3/ldap_getfilter_free.3.gz
Xman/man3/ldap_getfirstfilter.3.gz
Xman/man3/ldap_getnextfilter.3.gz
Xman/man3/ldap_setfilteraffixes.3.gz
Xman/man3/ldap_build_filter.3.gz
Xman/man3/ldap_modify_s.3.gz
Xman/man3/ldap_mods_free.3.gz
Xman/man3/ldap_modrdn_s.3.gz
Xman/man3/ldap_modrdn2.3.gz
Xman/man3/ldap_modrdn2_s.3.gz
Xman/man3/ldap_init.3.gz
Xman/man3/ldap_msgfree.3.gz
Xman/man3/ldap_search_s.3.gz
Xman/man3/ldap_search_st.3.gz
Xman/man3/ldap_init_searchprefs.3.gz
Xman/man3/ldap_init_searchprefs_buf.3.gz
Xman/man3/ldap_free_searchprefs.3.gz
Xman/man3/ldap_first_searchobj.3.gz
Xman/man3/ldap_next_searchobj.3.gz
Xman/man3/ldap_sort_entries.3.gz
Xman/man3/ldap_sort_values.3.gz
Xman/man3/ldap_sort_strcasecmp.3.gz
Xman/man3/ldap_ufn_search_s.3.gz
Xman/man3/ldap_ufn_search_c.3.gz
Xman/man3/ldap_ufn_search_ct.3.gz
Xman/man3/ldap_ufn_setprefix.3.gz
Xman/man3/ldap_ufn_setfilter.3.gz
Xman/man3/ldap_ufn_timeout.3.gz
Xman/man3/ldap_is_ldap_url.3.gz
Xman/man3/ldap_url_parse.3.gz
Xman/man3/ldap_free_urldesc.3.gz
Xman/man3/ldap_url_search.3.gz
Xman/man3/ldap_url_search_s.3.gz
Xman/man3/ldap_url_search_st.3.gz
Xman/man8/ldif2index.8.gz
Xman/man8/ldif2id2entry.8.gz
Xman/man8/ldif2id2children.8.gz
Xman/man8/fax500.8.gz
X@dirrm etc/ldap
END-of-openldap/pkg/PLIST
echo c - openldap/patches
mkdir -p openldap/patches > /dev/null 2>&1
echo x - openldap/patches/patch-aa
sed 's/^X//' >openldap/patches/patch-aa << 'END-of-openldap/patches/patch-aa'
X*** Make-common.orig	Thu Aug 27 03:10:10 1998
X--- Make-common	Sun Sep 20 16:51:05 1998
X***************
X*** 44,50 ****
X  #
X  # Per platform defaults override these.
X  #
X! LDAP_PREFIX?= /usr/local
X  LDAP_INSTROOT?= $(LDAP_PREFIX)
X  LDAP_ETCDIR?= $(LDAP_INSTROOT)/etc/ldap
X  LDAP_INCDIR?= $(LDAP_INSTROOT)/include
X--- 44,50 ----
X  #
X  # Per platform defaults override these.
X  #
X! LDAP_PREFIX?= ${PREFIX}
X  LDAP_INSTROOT?= $(LDAP_PREFIX)
X  LDAP_ETCDIR?= $(LDAP_INSTROOT)/etc/ldap
X  LDAP_INCDIR?= $(LDAP_INSTROOT)/include
X***************
X*** 254,263 ****
X  # LDAP_ACLGROUP=-DACLGROUP
X  
X  # uncomment these lines to enable support for CRYPT passwords in LDBM.
X! # LDAP_CRYPT=-DLDAP_CRYPT
X  # LDAP_CRYPT_LIB?=
X  # and comment this line out
X! LDAP_CRYPT_LIB=
X  
X  # uncomment these lines to enable support fro tcp_wrappers in servers.
X  # Requires tcp_wrappers.
X--- 254,263 ----
X  # LDAP_ACLGROUP=-DACLGROUP
X  
X  # uncomment these lines to enable support for CRYPT passwords in LDBM.
X! LDAP_CRYPT=-DLDAP_CRYPT
X  # LDAP_CRYPT_LIB?=
X  # and comment this line out
X! # LDAP_CRYPT_LIB=
X  
X  # uncomment these lines to enable support fro tcp_wrappers in servers.
X  # Requires tcp_wrappers.
END-of-openldap/patches/patch-aa
echo c - openldap/files
mkdir -p openldap/files > /dev/null 2>&1
echo x - openldap/files/md5
sed 's/^X//' >openldap/files/md5 << 'END-of-openldap/files/md5'
XMD5 (openldap-1.0.1.tgz) = 26ea15718640bd76a41598ce413c8e24
END-of-openldap/files/md5
exit

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809201123.VAA21030>