[Midnightbsd-cvs] mports: mports/dns: Add nslint

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Nov 11 18:25:37 EST 2007


Log Message:
-----------
Add nslint

Modified Files:
--------------
    mports/dns:
        Makefile (r1.11 -> r1.12)

Added Files:
-----------
    mports/dns/nslint:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/dns/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -L dns/Makefile -L dns/Makefile -u -r1.11 -r1.12
--- dns/Makefile
+++ dns/Makefile
@@ -12,6 +12,7 @@
     SUBDIR += inadyn
     SUBDIR += libidn
     SUBDIR += mdnsd
+    SUBDIR += nslint
     SUBDIR += p5-Net-DNS
     SUBDIR += p5-Net-DNS-Resolver-Programmable
 
--- /dev/null
+++ dns/nslint/pkg-descr
@@ -0,0 +1,7 @@
+Nslint is a lint program for DNS zone files.  It is produced by the
+Lawrence Berkeley National Laboratory, Network Research Group.
+
+Please send bugs and comments to nslint at ee.lbl.gov.
+
+WWW: http://ee.lbl.gov/ftp.html
+
--- /dev/null
+++ dns/nslint/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for:	nslint
+# Date created:		10 Nov 2007
+# Whom:			Lucas Holt <luke at midnightbsd.org>
+#
+# $MidnightBSD: mports/dns/nslint/Makefile,v 1.1 2007/11/11 23:25:35 laffer1 Exp $
+#
+
+PORTNAME=	nslint
+PORTVERSION=	2.1.a6
+CATEGORIES=	dns
+MASTER_SITES=	ftp://ftp.ee.lbl.gov/ \
+		http://critical.ch/distfiles/ \
+		http://energy.critical.ch/distfiles/
+DISTNAME=	${PORTNAME}-${PORTVERSION:S/.a/a/}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Perform consistency checks on DNS zone files
+
+GNU_CONFIGURE=	yes
+
+ALL_TARGET=	${PORTNAME}
+INSTALL_TARGET=	install install-man
+
+BOOTFILE?=	/etc/namedb/named.boot
+CONFFILE?=	/etc/namedb/named.conf
+
+MAN8=		nslint.8
+PLIST_FILES=	bin/nslint
+
+post-patch:
+	${REINPLACE_CMD} -e '/^\ \{4\}V_CCOPT/d' ${WRKSRC}/configure
+	${REINPLACE_CMD} -e 's|/etc/named.boot|${BOOTFILE}|; \
+		s|/etc/named.conf|${CONFFILE}|' \
+			${WRKSRC}/${PORTNAME}.c \
+			${WRKSRC}/${MAN8}
+
+.include <bsd.port.mk>
--- /dev/null
+++ dns/nslint/distinfo
@@ -0,0 +1,3 @@
+MD5 (nslint-2.1a6.tar.gz) = ebd860efae831147b095f53d81fb9947
+SHA256 (nslint-2.1a6.tar.gz) = b06f1ad32743984ffba7803136414a3e63156fc4a2403e7f38893337547ef2ce
+SIZE (nslint-2.1a6.tar.gz) = 87935


More information about the Midnightbsd-cvs mailing list