From owner-svn-ports-all@FreeBSD.ORG Thu Oct 25 22:19:48 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 637BC8DB; Thu, 25 Oct 2012 22:19:48 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4B6BB8FC17; Thu, 25 Oct 2012 22:19:48 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9PMJmja058392; Thu, 25 Oct 2012 22:19:48 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9PMJmAI058388; Thu, 25 Oct 2012 22:19:48 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201210252219.q9PMJmAI058388@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 25 Oct 2012 22:19:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306402 - in head/net/ldap2dns: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 22:19:48 -0000 Author: bapt Date: Thu Oct 25 22:19:47 2012 New Revision: 306402 URL: http://svn.freebsd.org/changeset/ports/306402 Log: Update 0.4.2 Add license Respect DOCS Trim heade Undeprecate point to new home PR: ports/172040 Submitted by: KATO Tsuguru Feature safe: yes Deleted: head/net/ldap2dns/files/patch-Makefile head/net/ldap2dns/files/patch-ldap2dns.c head/net/ldap2dns/pkg-plist Modified: head/net/ldap2dns/Makefile head/net/ldap2dns/distinfo head/net/ldap2dns/pkg-descr Modified: head/net/ldap2dns/Makefile ============================================================================== --- head/net/ldap2dns/Makefile Thu Oct 25 22:07:58 2012 (r306401) +++ head/net/ldap2dns/Makefile Thu Oct 25 22:19:47 2012 (r306402) @@ -1,44 +1,66 @@ -# New ports collection makefile for: ldap2dns -# Date created: 29 September 2003 -# Whom: Bruce M Simpson -# +# Created by: Bruce M Simpson # $FreeBSD$ -# PORTNAME= ldap2dns -PORTVERSION= 0.4.1 -PORTREVISION= 2 +PORTVERSION= 0.4.2 CATEGORIES= net -MASTER_SITES= http://projects.alkaloid.net/e107_files/downloads/ +MASTER_SITES= http://cloud.github.com/downloads/bklang/ldap2dns/ MAINTAINER= ports@FreeBSD.org COMMENT= Maintain DNS zones using an LDAP directory -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-10-20 +LICENSE= GPLv2 RUN_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \ p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap +OPTIONS_DEFINE= DOCS + +USE_PERL5_RUN= yes USE_GMAKE= yes USE_OPENLDAP= yes -USE_PERL5= yes -MAKE_ENV= INC=-I${PREFIX}/include LIB=-L${PREFIX}/lib +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +MAN1= ldap2dns.1 + +PORTDOCS= * + +PLIST_FILES= bin/ldap2dns \ + bin/ldap2dnsd \ + %%DATADIR%%/axfr2ldap.pl \ + %%DATADIR%%/data2ldif.pl \ + %%DATADIR%%/ldap2dns.schema \ + %%DATADIR%%/ldap2tinydns-conf +PLIST_DIRS= %%DATADIR%% + +.include post-patch: - @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/ldap2dns.c - @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/ldap2tinydns-conf + @${REINPLACE_CMD} -e \ + 's|^CC=|CC?=| ; \ + s|^LD=.*|LD=$$(CC)|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e \ + 's|"/etc|"${PREFIX}/etc|' ${WRKSRC}/ldap2dns.c + @${REINPLACE_CMD} -e \ + 's|^/etc|${PREFIX}/etc|' ${WRKSRC}/ldap2dns.1 + @${REINPLACE_CMD} -e \ + 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/ldap2tinydns-conf do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/ldap2dns ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/ldap2dnsd ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/ldap2dns ${PREFIX}/bin + ${LN} -sf ldap2dns ${PREFIX}/bin/ldap2dnsd + ${INSTALL_MAN} ${WRKSRC}/ldap2dns.1 ${MANPREFIX}/man/man1 + @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/ldap2dns.schema ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/doc/example.ldif ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/doc/README.html ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/ldap2tinydns-conf ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/ldap2tinydns-conf ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/scripts/axfr2ldap.pl ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/scripts/data2ldif.pl ${DATADIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/README.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/example.ldif ${DOCSDIR} +.endif .include Modified: head/net/ldap2dns/distinfo ============================================================================== --- head/net/ldap2dns/distinfo Thu Oct 25 22:07:58 2012 (r306401) +++ head/net/ldap2dns/distinfo Thu Oct 25 22:19:47 2012 (r306402) @@ -1,2 +1,2 @@ -SHA256 (ldap2dns-0.4.1.tar.gz) = 870614b685a54dedc17c108c201b8aa30146865c03887358c06fad58cb6e2f60 -SIZE (ldap2dns-0.4.1.tar.gz) = 54857 +SHA256 (ldap2dns-0.4.2.tar.gz) = 23a24bd2233dafeb40cc2d755fa24cc4bd1207e92fdee614e642ea1064711b98 +SIZE (ldap2dns-0.4.2.tar.gz) = 61325 Modified: head/net/ldap2dns/pkg-descr ============================================================================== --- head/net/ldap2dns/pkg-descr Thu Oct 25 22:07:58 2012 (r306401) +++ head/net/ldap2dns/pkg-descr Thu Oct 25 22:19:47 2012 (r306402) @@ -5,7 +5,4 @@ from a LDAP directory. ldap2dns is desig by tinydns from the djbdns package, but also may be used to write .db-files used by named as found in the BIND package. -WWW: http://projects.alkaloid.net/ - -Bruce -bms@spc.org +WWW: https://github.com/bklang/ldap2dns