summaryrefslogtreecommitdiff
path: root/net/whatmask
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-05-21 13:14:36 +0000
committerzuntum <zuntum@pkgsrc.org>2001-05-21 13:14:36 +0000
commit092ebdf92dbfac908f1d08a5306b565c3c0c72c9 (patch)
treed908d493a15daf775675e2db9c504d183f36d2ea /net/whatmask
parent02bcbd835cb44a25b2a9964c4110f3a1e7b6334a (diff)
downloadpkgsrc-092ebdf92dbfac908f1d08a5306b565c3c0c72c9.tar.gz
Initial import of whatmask-1.0
Whatmask is a small C program that lets you easily convert between three common subnet mask notations. Notations supported: Name Example --------------------------------- CIDR /24 Netmask 255.255.255.0 Wilcard Bits 0.0.0.255 The above notations are all identical. CIDR notation commonly has a "/" in front of the number (representing the number of bits). Whatmask can accept these notations with or without a slash. This notation is used more and more recently. A lot of popular routers and software supprt this notation. Netmask notation is pretty much the standard old-school way of doing it. It is supported by most systems (Un*x, Win, Mac, etc.). Wilcard bits are similar to the netmask, but they are the logical not of the netmask. This notation is used by a number of popular routers.
Diffstat (limited to 'net/whatmask')
-rw-r--r--net/whatmask/Makefile14
-rw-r--r--net/whatmask/distinfo4
-rw-r--r--net/whatmask/pkg/DESCR21
-rw-r--r--net/whatmask/pkg/PLIST2
4 files changed, 41 insertions, 0 deletions
diff --git a/net/whatmask/Makefile b/net/whatmask/Makefile
new file mode 100644
index 00000000000..376513d2c2b
--- /dev/null
+++ b/net/whatmask/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/21 13:14:36 zuntum Exp $
+#
+
+DISTNAME= whatmask-1.0
+CATEGORIES= net
+MASTER_SITES= http://downloads.laffeycomputer.com/current_builds/whatmask/
+
+MAINTAINER= zuntum@netbsd.org
+HOMEPAGE= http://www.laffeycomputer.com/whatmask.html
+COMMENT= Easily convert between three common subnet mask notations
+
+GNU_CONFIGURE= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/whatmask/distinfo b/net/whatmask/distinfo
new file mode 100644
index 00000000000..600cfba2bc4
--- /dev/null
+++ b/net/whatmask/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/05/21 13:14:36 zuntum Exp $
+
+SHA1 (whatmask-1.0.tar.gz) = 871b0e6f474bb977d1ff2a43bcb4c1520ebd00e5
+Size (whatmask-1.0.tar.gz) = 32745 bytes
diff --git a/net/whatmask/pkg/DESCR b/net/whatmask/pkg/DESCR
new file mode 100644
index 00000000000..e5690c250fd
--- /dev/null
+++ b/net/whatmask/pkg/DESCR
@@ -0,0 +1,21 @@
+Whatmask is a small C program that lets you easily convert between three common
+subnet mask notations.
+
+Notations supported:
+
+ Name Example
+ ---------------------------------
+ CIDR /24
+ Netmask 255.255.255.0
+ Wilcard Bits 0.0.0.255
+
+The above notations are all identical. CIDR notation commonly has a "/" in
+front of the number (representing the number of bits). Whatmask can accept
+these notations with or without a slash. This notation is used more and more
+recently. A lot of popular routers and software supprt this notation.
+
+Netmask notation is pretty much the standard old-school way of doing it. It is
+supported by most systems (Un*x, Win, Mac, etc.).
+
+Wilcard bits are similar to the netmask, but they are the logical not of the
+netmask. This notation is used by a number of popular routers.
diff --git a/net/whatmask/pkg/PLIST b/net/whatmask/pkg/PLIST
new file mode 100644
index 00000000000..49ba4244a25
--- /dev/null
+++ b/net/whatmask/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/21 13:14:36 zuntum Exp $
+bin/whatmask