Import of nslint 2.0.2a2.
Submitted by Wangden Kelsang <wngdn@src.uchicago.edu>. Nslint reads the (BIND) nameserver configuration files and performs a number of consistency checks on the dns records. Nslint is known to work with BIND versions 4, 8, and 9.
This commit is contained in:
parent
db5feb6b92
commit
907aa6f9cb
27
net/nslint/Makefile
Normal file
27
net/nslint/Makefile
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# $OpenBSD: Makefile,v 1.1.1.1 2001/02/28 23:57:34 naddy Exp $
|
||||||
|
# $FreeBSD: ports/net/nslint/Makefile,v 1.10 2000/04/09 18:12:37 cpiazza Exp $
|
||||||
|
|
||||||
|
DISTNAME= nslint-2.0.2a2
|
||||||
|
CATEGORIES= net
|
||||||
|
NEED_VERSION= 1.352
|
||||||
|
MAINTAINER= Wangden Kelsang <wngdn@src.uchicago.edu>
|
||||||
|
|
||||||
|
PERMIT_PACKAGE_CDROM= Yes
|
||||||
|
PERMIT_PACKAGE_FTP= Yes
|
||||||
|
PERMIT_DISTFILES_CDROM= Yes
|
||||||
|
PERMIT_DISTFILES_FTP= Yes
|
||||||
|
|
||||||
|
MASTER_SITES= ftp://ftp.ee.lbl.gov/
|
||||||
|
|
||||||
|
FLAVORS= static
|
||||||
|
FLAVOR?=
|
||||||
|
|
||||||
|
.if ${FLAVOR:L} == "static"
|
||||||
|
CONFIGURE_ENV= LDFLAGS=-static
|
||||||
|
.endif
|
||||||
|
|
||||||
|
CONFIGURE_STYLE= gnu
|
||||||
|
ALL_TARGET= nslint
|
||||||
|
INSTALL_TARGET= install install-man
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
net/nslint/files/md5
Normal file
3
net/nslint/files/md5
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
MD5 (nslint-2.0.2a2.tar.gz) = 25e3eef43b9c85d1b07266912aa6ba4d
|
||||||
|
RMD160 (nslint-2.0.2a2.tar.gz) = 46e2690e2bd9c3f3370a69b75b76353ad0073dee
|
||||||
|
SHA1 (nslint-2.0.2a2.tar.gz) = 4f6c7bbffacfea06455078482d2d5edd03f590da
|
20
net/nslint/patches/patch-Makefile_in
Normal file
20
net/nslint/patches/patch-Makefile_in
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2001/02/28 23:57:34 naddy Exp $
|
||||||
|
--- Makefile.in.orig Wed Mar 8 02:51:41 2000
|
||||||
|
+++ Makefile.in Thu Mar 1 00:53:06 2001
|
||||||
|
@@ -49,6 +49,7 @@ DEFS = @DEFS@
|
||||||
|
CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
|
||||||
|
|
||||||
|
# Standard LIBS
|
||||||
|
+LDFLAGS= @LDFLAGS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
@@ -79,7 +80,7 @@ CLEANFILES = $(PROG) $(OBJ) $(GENSRC)
|
||||||
|
|
||||||
|
$(PROG): $(OBJ)
|
||||||
|
@rm -f $@
|
||||||
|
- $(CC) $(CFLAGS) -o $@ $(OBJ) $(LIBS)
|
||||||
|
+ $(CC) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
|
||||||
|
|
||||||
|
version.o: version.c
|
||||||
|
version.c: $(srcdir)/VERSION
|
16
net/nslint/patches/patch-configure
Normal file
16
net/nslint/patches/patch-configure
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
$OpenBSD: patch-configure,v 1.1.1.1 2001/02/28 23:57:34 naddy Exp $
|
||||||
|
--- configure.orig Mon Jan 8 05:20:13 2001
|
||||||
|
+++ configure Thu Mar 1 00:53:06 2001
|
||||||
|
@@ -649,10 +649,10 @@ if test "${with_gcc+set}" = set; then
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
|
||||||
|
- V_CCOPT="-O"
|
||||||
|
+ V_CCOPT=""
|
||||||
|
V_INCLS=""
|
||||||
|
if test "${srcdir}" != "." ; then
|
||||||
|
- V_INCLS="-I\$\(srcdir\)"
|
||||||
|
+ V_INCLS="-I\$(srcdir)"
|
||||||
|
fi
|
||||||
|
if test "${CFLAGS+set}" = set; then
|
||||||
|
LBL_CFLAGS="$CFLAGS"
|
38
net/nslint/patches/patch-nslint_8
Normal file
38
net/nslint/patches/patch-nslint_8
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
$OpenBSD: patch-nslint_8,v 1.1.1.1 2001/02/28 23:57:34 naddy Exp $
|
||||||
|
--- nslint.8.orig Tue Feb 23 22:05:17 1999
|
||||||
|
+++ nslint.8 Thu Mar 1 00:53:06 2001
|
||||||
|
@@ -101,14 +101,14 @@ Missing quotes.
|
||||||
|
Specify an alternate
|
||||||
|
.I named.boot
|
||||||
|
file. The default is
|
||||||
|
-.IR /etc/named.boot .
|
||||||
|
+.IR /var/named/named.boot .
|
||||||
|
.TP
|
||||||
|
.TP
|
||||||
|
.B -c
|
||||||
|
Specify an alternate
|
||||||
|
.I named.conf
|
||||||
|
file. The default is
|
||||||
|
-.IR /etc/named.conf .
|
||||||
|
+.IR /var/named/named.conf .
|
||||||
|
.TP
|
||||||
|
.B -B
|
||||||
|
Specify an alternate
|
||||||
|
@@ -398,7 +398,7 @@ lines for new networks.
|
||||||
|
.na
|
||||||
|
.nh
|
||||||
|
.nf
|
||||||
|
-/etc/named.boot - default named configuration file
|
||||||
|
+/var/named/named.boot - default named configuration file
|
||||||
|
nslint.boot - default nslint configuration file
|
||||||
|
.ad
|
||||||
|
.hy
|
||||||
|
@@ -419,7 +419,7 @@ Lawrence Berkeley National Laboratory, U
|
||||||
|
The current version is available via anonymous ftp:
|
||||||
|
.LP
|
||||||
|
.RS
|
||||||
|
-.I ftp://ftp.ee.lbl.gov/nslint.tar.Z
|
||||||
|
+.I ftp://ftp.ee.lbl.gov/nslint.tar.gz
|
||||||
|
.RE
|
||||||
|
.SH BUGS
|
||||||
|
Please send bug reports to nslint@ee.lbl.gov.
|
14
net/nslint/patches/patch-nslint_c
Normal file
14
net/nslint/patches/patch-nslint_c
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
$OpenBSD: patch-nslint_c,v 1.1.1.1 2001/02/28 23:57:34 naddy Exp $
|
||||||
|
--- nslint.c.orig Mon Jan 8 05:19:57 2001
|
||||||
|
+++ nslint.c Thu Mar 1 00:53:06 2001
|
||||||
|
@@ -127,8 +127,8 @@ int strsize; /* size of space left in p
|
||||||
|
|
||||||
|
int debug;
|
||||||
|
int errors;
|
||||||
|
-char *bootfile = "/etc/named.boot";
|
||||||
|
-char *conffile = "/etc/named.conf";
|
||||||
|
+char *bootfile = "/var/named/named.boot";
|
||||||
|
+char *conffile = "/var/named/named.conf";
|
||||||
|
char *nslintboot;
|
||||||
|
char *nslintconf;
|
||||||
|
char *prog;
|
1
net/nslint/pkg/COMMENT
Normal file
1
net/nslint/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
|||||||
|
performs consistency checks on BIND files
|
5
net/nslint/pkg/DESCR
Normal file
5
net/nslint/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Nslint reads the (BIND) nameserver configuration files and performs a
|
||||||
|
number of consistency checks on the dns records. If any problems are
|
||||||
|
discovered, error messages are displayed on stderr and nslint exits
|
||||||
|
with a non-zero status. Nslint is known to work with BIND versions 4,
|
||||||
|
8, and 9.
|
3
net/nslint/pkg/PLIST
Normal file
3
net/nslint/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/02/28 23:57:34 naddy Exp $
|
||||||
|
bin/nslint
|
||||||
|
man/man8/nslint.8
|
Loading…
Reference in New Issue
Block a user