summaryrefslogtreecommitdiff
path: root/net/nbtscan
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-07-09 20:08:48 +0000
committeragc <agc@pkgsrc.org>2002-07-09 20:08:48 +0000
commit17b972bdd7494a6db2a1137ab0db334aa5c054d6 (patch)
treeda55ec515cd3700756b442b7a70cd3d8d232fb45 /net/nbtscan
parent6b48fa4d9c3b2dcf98af7741e06d745dae7ee1e4 (diff)
downloadpkgsrc-17b972bdd7494a6db2a1137ab0db334aa5c054d6.tar.gz
Initial import of nbtscan-1.0.2 into the NetBSD packages collection.
Provided in PR 17355 by ISIHARA,Takanori NBTscan is a program for scanning IP networks for NetBIOS name information. It sends NetBIOS status query to each address in supplied range and lists received information in human readable form. For each respondent host it lists IP address, NetBIOS computer name, logged-in user name and MAC address.
Diffstat (limited to 'net/nbtscan')
-rw-r--r--net/nbtscan/DESCR5
-rw-r--r--net/nbtscan/Makefile21
-rw-r--r--net/nbtscan/PLIST4
-rw-r--r--net/nbtscan/distinfo5
-rw-r--r--net/nbtscan/patches/patch-aa13
-rw-r--r--net/nbtscan/patches/patch-ab13
6 files changed, 61 insertions, 0 deletions
diff --git a/net/nbtscan/DESCR b/net/nbtscan/DESCR
new file mode 100644
index 00000000000..20ae0b5f1e4
--- /dev/null
+++ b/net/nbtscan/DESCR
@@ -0,0 +1,5 @@
+NBTscan is a program for scanning IP networks for NetBIOS name
+information. It sends NetBIOS status query to each address in supplied
+range and lists received information in human readable form. For each
+respondent host it lists IP address, NetBIOS computer name, logged-in
+user name and MAC address.
diff --git a/net/nbtscan/Makefile b/net/nbtscan/Makefile
new file mode 100644
index 00000000000..f94c0c940b5
--- /dev/null
+++ b/net/nbtscan/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/09 20:08:48 agc Exp $
+# FreeBSD Id: ports/net/nbtscan/Makefile,v 1.2 2001/08/25 10:53:28 kris Exp
+
+DISTNAME= nbtscan-1.0.2
+CATEGORIES= net
+MASTER_SITES= http://www.inetcat.org/software/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.inetcat.org/software/nbtscan.html
+COMMENT= NetBIOS name network scanner
+
+GNU_CONFIGURE= yes
+
+ALL_TARGET= nbtscan
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nbtscan ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nbtscan
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nbtscan
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/nbtscan/PLIST b/net/nbtscan/PLIST
new file mode 100644
index 00000000000..62d5b6596be
--- /dev/null
+++ b/net/nbtscan/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/09 20:08:48 agc Exp $
+bin/nbtscan
+share/doc/nbtscan/README
+@dirrm share/doc/nbtscan
diff --git a/net/nbtscan/distinfo b/net/nbtscan/distinfo
new file mode 100644
index 00000000000..9cd364333ce
--- /dev/null
+++ b/net/nbtscan/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/07/09 20:08:48 agc Exp $
+
+MD5 (nbtscan-1.0.2.tar.gz) = 5c1666a628054856b44f890dc9b42263
+SHA1 (patch-aa) = 966afcff134f2e35ee95854ceb8d8e17f6857bb9
+SHA1 (patch-ab) = af63ec9e4697bde08aa2ca6c6a21fcf755f56671
diff --git a/net/nbtscan/patches/patch-aa b/net/nbtscan/patches/patch-aa
new file mode 100644
index 00000000000..0a37b225369
--- /dev/null
+++ b/net/nbtscan/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/07/09 20:08:48 agc Exp $
+
+$OpenBSD: patch-configure,v 1.1 2001/03/16 10:20:50 wilfried Exp $
+--- configure.orig Wed Mar 29 11:28:23 2000
++++ configure Thu Mar 15 22:28:24 2001
+@@ -522,7 +522,6 @@ fi
+
+
+
+-CFLAGS=-O2
+ # Extract the first word of "gcc", so it can be a program name with args.
+ set dummy gcc; ac_word=$2
+ echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
diff --git a/net/nbtscan/patches/patch-ab b/net/nbtscan/patches/patch-ab
new file mode 100644
index 00000000000..fceee6881f1
--- /dev/null
+++ b/net/nbtscan/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/07/09 20:08:48 agc Exp $
+
+$OpenBSD: patch-configure_in,v 1.1 2001/03/16 10:20:50 wilfried Exp $
+--- configure.in.orig Wed Mar 29 11:28:13 2000
++++ configure.in Thu Mar 15 22:28:22 2001
+@@ -2,7 +2,6 @@ dnl Process this file with autoconf to p
+ AC_INIT(statusq.c)
+
+ dnl Checks for programs.
+-CFLAGS=-O2
+ AC_PROG_CC
+ AC_PROG_INSTALL
+