Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 04:40:04 -0700 (PDT)
From:      "Lachlan O'Dea" <lodea@angmar.mel.cybec.com.au>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/7995: New Port: OpenLDAP 1.0.1
Message-ID:  <199809221140.EAA18754@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/7995; it has been noted by GNATS.

From: "Lachlan O'Dea" <lodea@angmar.mel.cybec.com.au>
To: VANDERHOEK TIMOTHY MICHAEL <vanderh@ecf.utoronto.ca>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/7995: New Port: OpenLDAP 1.0.1
Date: Tue, 22 Sep 1998 21:41:31 +1000 (EST)

 On Mon, 21 Sep 1998, VANDERHOEK TIMOTHY MICHAEL wrote:
 
 > "MLINKS" is overloaded.  You need to read the MLINKS stuff in bsd.port.mk,
 > not the MLINKS stuff in bsd.man.mk.  I can save you a bit of trouble, and
 > tell you that you must just list all linked manpages (whether the port
 > installs them itself or not, wether they are hardlinks or symlinks) in the
 > same fashion as the above-quoted example.  The bsd.port.mk version of
 > MLINKS is slightly less trivial than the bsd.man.mk version, but it makes
 > a much more interesting read (saying that as its author :-).
 
 When I looked up MLINKS on my -stable box, I was looking at an old
 bsd.port.mk. Doh. It makes sense now. 
 
 So I think I've finally got it right. Thanks for the help.
 
 # 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/patches/patch-ab
 #	openldap/patches/patch-ac
 #	openldap/files
 #	openldap/files/md5
 #	openldap/files/manpages
 #
 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
 X
 X.include "files/manpages"
 X
 XMAKE_ENV=	LDAP_PREFIX=${PREFIX} \
 X		EXTRACFLAGS="${CFLAGS}"
 X
 Xpre-patch:
 X	${CP} ${WRKSRC}/Make-common.dist ${WRKSRC}/Make-common
 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. LDAP is an Internet standard
 Xdirectory service protocol that can be used stand-alone, or as a front end
 Xto an X.500 directory. LDAP is defined by RFCs 1777 through 1779.
 X
 XOpenLDAP is derived from the University of Michigan LDAP release 3.3 and is
 Xdistributed under a Perl-style "Artistic License".
 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
 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	Fri Sep  4 13:28:19 1998
 X--- Make-common	Mon Sep 21 14:35:10 1998
 X***************
 X*** 261,270 ****
 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--- 261,270 ----
 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 x - openldap/patches/patch-ab
 sed 's/^X//' >openldap/patches/patch-ab << 'END-of-openldap/patches/patch-ab'
 X*** build/platforms/freebsd2-gcc/Make-platform.orig	Mon Sep 21 14:44:56 1998
 X--- build/platforms/freebsd2-gcc/Make-platform	Mon Sep 21 14:53:32 1998
 X***************
 X*** 6,12 ****
 X  #
 X  # add any platform-specific overrides below here
 X  #
 X! EXTRACFLAGS=-O -g
 X  LDBMBACKEND=-DLDBM_USE_DBBTREE
 X  LDBMINCLUDE=-I/usr/include
 X  
 X--- 6,12 ----
 X  #
 X  # add any platform-specific overrides below here
 X  #
 X! EXTRACFLAGS?=-O -g
 X  LDBMBACKEND=-DLDBM_USE_DBBTREE
 X  LDBMINCLUDE=-I/usr/include
 X  
 END-of-openldap/patches/patch-ab
 echo x - openldap/patches/patch-ac
 sed 's/^X//' >openldap/patches/patch-ac << 'END-of-openldap/patches/patch-ac'
 X*** build/platforms/freebsd3-gcc/Make-platform.orig	Mon Sep 21 14:45:53 1998
 X--- build/platforms/freebsd3-gcc/Make-platform	Mon Sep 21 14:53:44 1998
 X***************
 X*** 6,12 ****
 X  #
 X  # add any platform-specific overrides below here
 X  #
 X! EXTRACFLAGS=-O -g
 X  LDBMBACKEND=-DLDBM_USE_DBBTREE
 X  LDBMINCLUDE=-I/usr/include
 X  
 X--- 6,12 ----
 X  #
 X  # add any platform-specific overrides below here
 X  #
 X! EXTRACFLAGS?=-O -g
 X  LDBMBACKEND=-DLDBM_USE_DBBTREE
 X  LDBMINCLUDE=-I/usr/include
 X  
 END-of-openldap/patches/patch-ac
 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
 echo x - openldap/files/manpages
 sed 's/^X//' >openldap/files/manpages << 'END-of-openldap/files/manpages'
 XMAN1+=	ldapdelete.1
 XMAN1+=	ldapmodify.1
 XMAN1+=	ldapmodrdn.1
 XMAN1+=	ldapsearch.1
 XMAN1+=	ud.1
 XMAN3+=	cldap_close.3
 XMAN3+=	cldap_open.3
 XMAN3+=	cldap_search_s.3
 XMAN3+=	cldap_setretryinfo.3
 XMAN3+=	lber-decode.3
 XMAN3+=	lber-encode.3
 XMAN3+=	ldap.3
 XMAN3+=	ldap_abandon.3
 XMAN3+=	ldap_add.3
 XMAN3+=	ldap_bind.3
 XMAN3+=	ldap_cache.3
 XMAN3+=	ldap_charset.3
 XMAN3+=	ldap_compare.3
 XMAN3+=	ldap_delete.3
 XMAN3+=	ldap_disptmpl.3
 XMAN3+=	ldap_entry2text.3
 XMAN3+=	ldap_error.3
 XMAN3+=	ldap_first_attribute.3
 XMAN3+=	ldap_first_entry.3
 XMAN3+=	ldap_friendly.3
 XMAN3+=	ldap_get_dn.3
 XMAN3+=	ldap_get_values.3
 XMAN3+=	ldap_getfilter.3
 XMAN3+=	ldap_modify.3
 XMAN3+=	ldap_modrdn.3
 XMAN3+=	ldap_open.3
 XMAN3+=	ldap_result.3
 XMAN3+=	ldap_search.3
 XMAN3+=	ldap_searchprefs.3
 XMAN3+=	ldap_sort.3
 XMAN3+=	ldap_ufn.3
 XMAN3+=	ldap_url.3
 XMAN3+=	regex.3
 XMAN5+=	ldapfilter.conf.5
 XMAN5+=	ldapfriendly.5
 XMAN5+=	ldapsearchprefs.conf.5
 XMAN5+=	ldaptemplates.conf.5
 XMAN5+=	ldif.5
 XMAN5+=	slapd.conf.5
 XMAN5+=	slapd.replog.5
 XMAN5+=	ud.conf.5
 XMAN8+=	centipede.8
 XMAN8+=	chlog2replog.8
 XMAN8+=	edb2ldif.8
 XMAN8+=	go500.8
 XMAN8+=	go500gw.8
 XMAN8+=	in.xfingerd.8
 XMAN8+=	ldapd.8
 XMAN8+=	ldbmcat.8
 XMAN8+=	ldif.8
 XMAN8+=	ldif2ldbm.8
 XMAN8+=	mail500.8
 XMAN8+=	rcpt500.8
 XMAN8+=	slapd.8
 XMAN8+=	slurpd.8
 XMLINKS+=	ldap.3 cldap.3
 XMLINKS+=	ldap_add.3 ldap_add_s.3
 XMLINKS+=	ldap_bind.3 ldap_bind_s.3
 XMLINKS+=	ldap_bind.3 ldap_kerberos_bind1.3
 XMLINKS+=	ldap_bind.3 ldap_kerberos_bind1_s.3
 XMLINKS+=	ldap_bind.3 ldap_kerberos_bind2.3
 XMLINKS+=	ldap_bind.3 ldap_kerberos_bind2_s.3
 XMLINKS+=	ldap_bind.3 ldap_kerberos_bind_s.3
 XMLINKS+=	ldap_bind.3 ldap_set_rebind_proc.3
 XMLINKS+=	ldap_bind.3 ldap_simple_bind.3
 XMLINKS+=	ldap_bind.3 ldap_simple_bind_s.3
 XMLINKS+=	ldap_bind.3 ldap_unbind.3
 XMLINKS+=	ldap_bind.3 ldap_unbind_s.3
 XMLINKS+=	ldap_cache.3 ldap_destroy_cache.3
 XMLINKS+=	ldap_cache.3 ldap_disable_cache.3
 XMLINKS+=	ldap_cache.3 ldap_enable_cache.3
 XMLINKS+=	ldap_cache.3 ldap_flush_cache.3
 XMLINKS+=	ldap_cache.3 ldap_set_cache_options.3
 XMLINKS+=	ldap_cache.3 ldap_uncache_entry.3
 XMLINKS+=	ldap_cache.3 ldap_uncache_request.3
 XMLINKS+=	ldap_charset.3 ldap_8859_to_t61.3
 XMLINKS+=	ldap_charset.3 ldap_enable_translation.3
 XMLINKS+=	ldap_charset.3 ldap_set_string_translators.3
 XMLINKS+=	ldap_charset.3 ldap_t61_to_8859.3
 XMLINKS+=	ldap_charset.3 ldap_translate_from_t61.3
 XMLINKS+=	ldap_charset.3 ldap_translate_to_t61.3
 XMLINKS+=	ldap_compare.3 ldap_compare_s.3
 XMLINKS+=	ldap_delete.3 ldap_delete_s.3
 XMLINKS+=	ldap_disptmpl.3 ldap_first_disptmpl.3
 XMLINKS+=	ldap_disptmpl.3 ldap_first_tmplcol.3
 XMLINKS+=	ldap_disptmpl.3 ldap_first_tmplrow.3
 XMLINKS+=	ldap_disptmpl.3 ldap_free_templates.3
 XMLINKS+=	ldap_disptmpl.3 ldap_init_templates.3
 XMLINKS+=	ldap_disptmpl.3 ldap_init_templates_buf.3
 XMLINKS+=	ldap_disptmpl.3 ldap_next_disptmpl.3
 XMLINKS+=	ldap_disptmpl.3 ldap_next_tmplcol.3
 XMLINKS+=	ldap_disptmpl.3 ldap_next_tmplrow.3
 XMLINKS+=	ldap_disptmpl.3 ldap_oc2template.3
 XMLINKS+=	ldap_disptmpl.3 ldap_tmplattrs.3
 XMLINKS+=	ldap_entry2text.3 ldap_entry2html.3
 XMLINKS+=	ldap_entry2text.3 ldap_entry2html_search.3
 XMLINKS+=	ldap_entry2text.3 ldap_entry2text_search.3
 XMLINKS+=	ldap_entry2text.3 ldap_vals2html.3
 XMLINKS+=	ldap_entry2text.3 ldap_vals2text.3
 XMLINKS+=	ldap_error.3 ld_errno.3
 XMLINKS+=	ldap_error.3 ldap_err2string.3
 XMLINKS+=	ldap_error.3 ldap_errlist.3
 XMLINKS+=	ldap_error.3 ldap_perror.3
 XMLINKS+=	ldap_error.3 ldap_result2error.3
 XMLINKS+=	ldap_first_attribute.3 ldap_next_attribute.3
 XMLINKS+=	ldap_first_entry.3 ldap_count_entries.3
 XMLINKS+=	ldap_first_entry.3 ldap_next_entry.3
 XMLINKS+=	ldap_friendly.3 ldap_free_friendlymap.3
 XMLINKS+=	ldap_friendly.3 ldap_friendly_name.3
 XMLINKS+=	ldap_get_dn.3 ldap_dn2ufn.3
 XMLINKS+=	ldap_get_dn.3 ldap_explode_dn.3
 XMLINKS+=	ldap_get_dn.3 ldap_explode_dns.3
 XMLINKS+=	ldap_get_dn.3 ldap_is_dns_dn.3
 XMLINKS+=	ldap_get_values.3 ldap_count_values.3
 XMLINKS+=	ldap_get_values.3 ldap_count_values_len.3
 XMLINKS+=	ldap_get_values.3 ldap_get_values_len.3
 XMLINKS+=	ldap_get_values.3 ldap_value_free.3
 XMLINKS+=	ldap_get_values.3 ldap_value_free_len.3
 XMLINKS+=	ldap_getfilter.3 ldap_build_filter.3
 XMLINKS+=	ldap_getfilter.3 ldap_getfilter_free.3
 XMLINKS+=	ldap_getfilter.3 ldap_getfirstfilter.3
 XMLINKS+=	ldap_getfilter.3 ldap_getnextfilter.3
 XMLINKS+=	ldap_getfilter.3 ldap_init_getfilter.3
 XMLINKS+=	ldap_getfilter.3 ldap_init_getfilter_buf.3
 XMLINKS+=	ldap_getfilter.3 ldap_setfilteraffixes.3
 XMLINKS+=	ldap_modify.3 ldap_modify_s.3
 XMLINKS+=	ldap_modify.3 ldap_mods_free.3
 XMLINKS+=	ldap_modrdn.3 ldap_modrdn2.3
 XMLINKS+=	ldap_modrdn.3 ldap_modrdn2_s.3
 XMLINKS+=	ldap_modrdn.3 ldap_modrdn_s.3
 XMLINKS+=	ldap_open.3 ldap_init.3
 XMLINKS+=	ldap_result.3 ldap_msgfree.3
 XMLINKS+=	ldap_search.3 ldap_search_s.3
 XMLINKS+=	ldap_search.3 ldap_search_st.3
 XMLINKS+=	ldap_searchprefs.3 ldap_first_searchobj.3
 XMLINKS+=	ldap_searchprefs.3 ldap_free_searchprefs.3
 XMLINKS+=	ldap_searchprefs.3 ldap_init_searchprefs.3
 XMLINKS+=	ldap_searchprefs.3 ldap_init_searchprefs_buf.3
 XMLINKS+=	ldap_searchprefs.3 ldap_next_searchobj.3
 XMLINKS+=	ldap_sort.3 ldap_sort_entries.3
 XMLINKS+=	ldap_sort.3 ldap_sort_strcasecmp.3
 XMLINKS+=	ldap_sort.3 ldap_sort_values.3
 XMLINKS+=	ldap_ufn.3 ldap_ufn_search_c.3
 XMLINKS+=	ldap_ufn.3 ldap_ufn_search_ct.3
 XMLINKS+=	ldap_ufn.3 ldap_ufn_search_s.3
 XMLINKS+=	ldap_ufn.3 ldap_ufn_setfilter.3
 XMLINKS+=	ldap_ufn.3 ldap_ufn_setprefix.3
 XMLINKS+=	ldap_ufn.3 ldap_ufn_timeout.3
 XMLINKS+=	ldap_url.3 ldap_free_urldesc.3
 XMLINKS+=	ldap_url.3 ldap_is_ldap_url.3
 XMLINKS+=	ldap_url.3 ldap_url_parse.3
 XMLINKS+=	ldap_url.3 ldap_url_search.3
 XMLINKS+=	ldap_url.3 ldap_url_search_s.3
 XMLINKS+=	ldap_url.3 ldap_url_search_st.3
 XMLINKS+=	ldapmodify.1 ldapadd.1
 XMLINKS+=	ldif2ldbm.8 ldif2id2children.8
 XMLINKS+=	ldif2ldbm.8 ldif2id2entry.8
 XMLINKS+=	ldif2ldbm.8 ldif2index.8
 XMLINKS+=	mail500.8 fax500.8
 END-of-openldap/files/manpages
 exit
 
 

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?199809221140.EAA18754>