summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-08-23 07:30:44 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-08-23 07:30:44 +0000
commitd6cae5eecf103a528514027a68424d176d1831ce (patch)
tree9897c6e183e0bd46a435ad5d07d41a3630c45232 /net-mgmt
parentAdd ruby-qt2sound, Qt2 sound extension for Ruby. (diff)
Add nbtscan 1.0.2, a tool for scanning for NetBIOS name information.
Obtained from: OpenBSD
Notes
Notes: svn path=/head/; revision=46686
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nbtscan/Makefile26
-rw-r--r--net-mgmt/nbtscan/distinfo1
-rw-r--r--net-mgmt/nbtscan/files/patch-configure11
-rw-r--r--net-mgmt/nbtscan/files/patch-configure_in11
-rw-r--r--net-mgmt/nbtscan/pkg-comment1
-rw-r--r--net-mgmt/nbtscan/pkg-descr5
-rw-r--r--net-mgmt/nbtscan/pkg-plist3
7 files changed, 58 insertions, 0 deletions
diff --git a/net-mgmt/nbtscan/Makefile b/net-mgmt/nbtscan/Makefile
new file mode 100644
index 000000000000..f4a90e332c61
--- /dev/null
+++ b/net-mgmt/nbtscan/Makefile
@@ -0,0 +1,26 @@
+# Ports collection makefile for: nbtscan
+# Date created: 22 Aug 2001
+# Whom: Kris Kennaway <kris@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nbtscan
+PORTVERSION= 1.0.2
+CATEGORIES= net
+MASTER_SITES= http://www.abb.aha.ru/software/
+
+MAINTAINER= kris@FreeBSD.org
+
+GNU_CONFIGURE= yes
+
+ALL_TARGET= nbtscan
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nbtscan ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/nbtscan
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nbtscan
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/nbtscan/distinfo b/net-mgmt/nbtscan/distinfo
new file mode 100644
index 000000000000..8f898cf153fd
--- /dev/null
+++ b/net-mgmt/nbtscan/distinfo
@@ -0,0 +1 @@
+MD5 (nbtscan-1.0.2.tar.gz) = 5c1666a628054856b44f890dc9b42263
diff --git a/net-mgmt/nbtscan/files/patch-configure b/net-mgmt/nbtscan/files/patch-configure
new file mode 100644
index 000000000000..a1f328f363e1
--- /dev/null
+++ b/net-mgmt/nbtscan/files/patch-configure
@@ -0,0 +1,11 @@
+$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-mgmt/nbtscan/files/patch-configure_in b/net-mgmt/nbtscan/files/patch-configure_in
new file mode 100644
index 000000000000..a140d8c4682a
--- /dev/null
+++ b/net-mgmt/nbtscan/files/patch-configure_in
@@ -0,0 +1,11 @@
+$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
+
diff --git a/net-mgmt/nbtscan/pkg-comment b/net-mgmt/nbtscan/pkg-comment
new file mode 100644
index 000000000000..a0d0c1421c54
--- /dev/null
+++ b/net-mgmt/nbtscan/pkg-comment
@@ -0,0 +1 @@
+NetBIOS name network scanner
diff --git a/net-mgmt/nbtscan/pkg-descr b/net-mgmt/nbtscan/pkg-descr
new file mode 100644
index 000000000000..29645444676c
--- /dev/null
+++ b/net-mgmt/nbtscan/pkg-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
+responded host it lists IP address, NetBIOS computer name, logged-in
+user name and MAC address.
diff --git a/net-mgmt/nbtscan/pkg-plist b/net-mgmt/nbtscan/pkg-plist
new file mode 100644
index 000000000000..7e6c71c70887
--- /dev/null
+++ b/net-mgmt/nbtscan/pkg-plist
@@ -0,0 +1,3 @@
+bin/nbtscan
+%%PORTDOCS%%share/doc/nbtscan/README
+%%PORTDOCS%%@dirrm share/doc/nbtscan