ports/60965: [NEW PORT] net/ldapdns: LDAP backed DNS server

Paul Dlug paul at aps.org
Tue Jan 6 06:40:19 UTC 2004


>Number:         60965
>Category:       ports
>Synopsis:       [NEW PORT] net/ldapdns: LDAP backed DNS server
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 05 22:40:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Paul Dlug
>Release:        FreeBSD 5.2-RC i386
>Organization:
>Environment:
System: FreeBSD lugnut.aps.org 5.2-RC FreeBSD 5.2-RC #1: Wed Dec 17 11:47:30 EST 2003
>Description:
ldapdns is a lightweight, high performance DNS server which utilizes LDAP
as its backend. It is originally based on djbdns and strives to maintain the
same goals of performance, security and simplicity.

WWW:	http://www.nimh.org/code/ldapdns/

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- ldapdns-2.05.shar begins here ---
# 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:
#
#	ldapdns
#	ldapdns/pkg-descr
#	ldapdns/Makefile
#	ldapdns/pkg-plist
#	ldapdns/distinfo
#	ldapdns/files
#	ldapdns/files/patch-configure
#
echo c - ldapdns
mkdir -p ldapdns > /dev/null 2>&1
echo x - ldapdns/pkg-descr
sed 's/^X//' >ldapdns/pkg-descr << 'END-of-ldapdns/pkg-descr'
Xldapdns is a lightweight, high performance DNS server which utilizes LDAP
Xas its backend. It is originally based on djbdns and strives to maintain the
Xsame goals of performance, security and simplicity.
X
XWWW:	http://www.nimh.org/code/ldapdns/
END-of-ldapdns/pkg-descr
echo x - ldapdns/Makefile
sed 's/^X//' >ldapdns/Makefile << 'END-of-ldapdns/Makefile'
X# New ports collection makefile for:	ldapdns
X# Date created:		2004-01-06
X# Whom:			Paul Dlug <paul at aps.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ldapdns
XPORTVERSION=	2.05
XCATEGORIES=		net
XMASTER_SITES=	http://www.nimh.org/dl/
X
XMAINTAINER=		paul at aps.org
XCOMMENT=		LDAP backed DNS server
X
XRUN_DEPENDS=	setuidgid:${PORTSDIR}/sysutils/daemontools \
X				tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
X
XALL_TARGET=		default
X
XUSE_OPENLDAP=	yes
XHAS_CONFIGURE=	yes
X
XCONFIGURE_ARGS+=	--prefix=${PREFIX}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/ldapdns ${PREFIX}/bin/ldapdns
X	${INSTALL_PROGRAM} ${WRKSRC}/ldapaxfr ${PREFIX}/bin/ldapaxfr
X	${INSTALL_SCRIPT} ${WRKSRC}/ldapdns-conf ${PREFIX}/bin/ldapdns-conf
X	${INSTALL_SCRIPT} ${WRKSRC}/ldapaxfr-conf ${PREFIX}/bin/ldapaxfr-conf
X	${INSTALL_SCRIPT} ${WRKSRC}/domainname.sh ${PREFIX}/bin/domainname.sh
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README.axfr ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README.comparison ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README.generic-rr ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README.search ${DOCSDIR}
X.endif
X
X.include <bsd.port.pre.mk>
X.include <bsd.port.post.mk>
END-of-ldapdns/Makefile
echo x - ldapdns/pkg-plist
sed 's/^X//' >ldapdns/pkg-plist << 'END-of-ldapdns/pkg-plist'
Xbin/ldapdns
Xbin/ldapaxfr
Xbin/ldapdns-conf
Xbin/ldapaxfr-conf
Xbin/domainname.sh
X%%PORTDOCS%%%%DOCSDIR%%/FAQ
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/README.axfr
X%%PORTDOCS%%%%DOCSDIR%%/README.comparison
X%%PORTDOCS%%%%DOCSDIR%%/README.generic-rr
X%%PORTDOCS%%%%DOCSDIR%%/README.search
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-ldapdns/pkg-plist
echo x - ldapdns/distinfo
sed 's/^X//' >ldapdns/distinfo << 'END-of-ldapdns/distinfo'
XMD5 (ldapdns-2.05.tar.gz) = 0debd9080656e499e7d906807226fecd
END-of-ldapdns/distinfo
echo c - ldapdns/files
mkdir -p ldapdns/files > /dev/null 2>&1
echo x - ldapdns/files/patch-configure
sed 's/^X//' >ldapdns/files/patch-configure << 'END-of-ldapdns/files/patch-configure'
X--- configure.orig	Tue Jan  6 00:50:28 2004
X+++ configure	Tue Jan  6 01:02:53 2004
X@@ -21,6 +21,12 @@
X 	*-prefix=*)
X 		PREFIX=`echo $1 | sed -e 's/^.*-prefix=//'`
X 		;;
X+	*-includes=*)
X+		CFLAGS="$CFLAGS -I"`echo $1 | sed -e 's/^.*-includes=//'`
X+		;;
X+	*-libs=*)
X+		LIBS="$LIBS -L"`echo $1 | sed -e 's/^.*-libs=//'`
X+		;;
X 	CC=*)
X 		CC=`echo $1 | sed -e 's/^CC=//'`
X 		;;
X@@ -43,10 +49,13 @@
X 	shift
X done
X 
X+
X if [ "X$show_help" != "X0" ]; then
X 	echo "Usage: configure [options]"
X 	echo "  --help                    print this message"
X 	echo "  --prefix=foo              specify install prefix"
X+	echo "  --includes=foo            specify include directory for openldap headers"
X+	echo "  --libs=foo                specify library directory for openldap libraries"
X 	if [ "X$show_help" = "X2" ]; then
X 		exit 1
X 	fi
X@@ -342,6 +351,7 @@
X echo CC=$CC >> Makefile.config
X echo CFLAGS="$CFLAGS" >> Makefile.config
X echo LFLAGS="$LIBS" >> Makefile.config
X+echo PREFIX="$PREFIX" >> Makefile.config
X echo "done"
X echo ""
X 
END-of-ldapdns/files/patch-configure
exit
--- ldapdns-2.05.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list