aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-20 11:23:36 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-20 11:23:36 +0000
commit5640f019e88f4608fba7ac1e9d141db857f461bf (patch)
tree82e72510d65cc4da760c332eb77fe80b5540e44f
parentd7e4ad5c404b1e38dca6577f058789d48a701116 (diff)
downloadports-5640f019e88f4608fba7ac1e9d141db857f461bf.tar.gz
ports-5640f019e88f4608fba7ac1e9d141db857f461bf.zip
add whatmask
Easily convert between three common subnet mask notations
Notes
Notes: svn path=/head/; revision=42801
-rw-r--r--net-mgmt/whatmask/Makefile18
-rw-r--r--net-mgmt/whatmask/distinfo1
-rw-r--r--net-mgmt/whatmask/pkg-comment1
-rw-r--r--net-mgmt/whatmask/pkg-descr21
-rw-r--r--net-mgmt/whatmask/pkg-plist1
-rw-r--r--net/Makefile1
-rw-r--r--net/whatmask/Makefile18
-rw-r--r--net/whatmask/distinfo1
-rw-r--r--net/whatmask/pkg-comment1
-rw-r--r--net/whatmask/pkg-descr21
-rw-r--r--net/whatmask/pkg-plist1
11 files changed, 85 insertions, 0 deletions
diff --git a/net-mgmt/whatmask/Makefile b/net-mgmt/whatmask/Makefile
new file mode 100644
index 000000000000..0abcb2657d21
--- /dev/null
+++ b/net-mgmt/whatmask/Makefile
@@ -0,0 +1,18 @@
+# ex:ts=8
+# New ports collection makefile for: whatmask
+# Date created: May 20, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= whatmask
+PORTVERSION= 1.0
+CATEGORIES= net
+MASTER_SITES= http://downloads.laffeycomputer.com/current_builds/whatmask/
+
+MAINTAINER= ports@FreeBSD.org
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/whatmask/distinfo b/net-mgmt/whatmask/distinfo
new file mode 100644
index 000000000000..16df84818b68
--- /dev/null
+++ b/net-mgmt/whatmask/distinfo
@@ -0,0 +1 @@
+MD5 (whatmask-1.0.tar.gz) = fd8efa419f9a39c16ada9ddfbbb92b66
diff --git a/net-mgmt/whatmask/pkg-comment b/net-mgmt/whatmask/pkg-comment
new file mode 100644
index 000000000000..963ecff5d52a
--- /dev/null
+++ b/net-mgmt/whatmask/pkg-comment
@@ -0,0 +1 @@
+Easily convert between three common subnet mask notations
diff --git a/net-mgmt/whatmask/pkg-descr b/net-mgmt/whatmask/pkg-descr
new file mode 100644
index 000000000000..9a3fdb5fb8cc
--- /dev/null
+++ b/net-mgmt/whatmask/pkg-descr
@@ -0,0 +1,21 @@
+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 (and nobody
+knows why...).
+
+WWW: http://www.laffeycomputer.com/whatmask.html
diff --git a/net-mgmt/whatmask/pkg-plist b/net-mgmt/whatmask/pkg-plist
new file mode 100644
index 000000000000..c6c0223c0fff
--- /dev/null
+++ b/net-mgmt/whatmask/pkg-plist
@@ -0,0 +1 @@
+bin/whatmask
diff --git a/net/Makefile b/net/Makefile
index 8d10dfe60878..bce19df32b9b 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -364,6 +364,7 @@
SUBDIR += vrrp
SUBDIR += vtun
SUBDIR += wais
+ SUBDIR += whatmask
SUBDIR += wide-dhcp
SUBDIR += wmnet
SUBDIR += wmnetmon
diff --git a/net/whatmask/Makefile b/net/whatmask/Makefile
new file mode 100644
index 000000000000..0abcb2657d21
--- /dev/null
+++ b/net/whatmask/Makefile
@@ -0,0 +1,18 @@
+# ex:ts=8
+# New ports collection makefile for: whatmask
+# Date created: May 20, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= whatmask
+PORTVERSION= 1.0
+CATEGORIES= net
+MASTER_SITES= http://downloads.laffeycomputer.com/current_builds/whatmask/
+
+MAINTAINER= ports@FreeBSD.org
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/net/whatmask/distinfo b/net/whatmask/distinfo
new file mode 100644
index 000000000000..16df84818b68
--- /dev/null
+++ b/net/whatmask/distinfo
@@ -0,0 +1 @@
+MD5 (whatmask-1.0.tar.gz) = fd8efa419f9a39c16ada9ddfbbb92b66
diff --git a/net/whatmask/pkg-comment b/net/whatmask/pkg-comment
new file mode 100644
index 000000000000..963ecff5d52a
--- /dev/null
+++ b/net/whatmask/pkg-comment
@@ -0,0 +1 @@
+Easily convert between three common subnet mask notations
diff --git a/net/whatmask/pkg-descr b/net/whatmask/pkg-descr
new file mode 100644
index 000000000000..9a3fdb5fb8cc
--- /dev/null
+++ b/net/whatmask/pkg-descr
@@ -0,0 +1,21 @@
+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 (and nobody
+knows why...).
+
+WWW: http://www.laffeycomputer.com/whatmask.html
diff --git a/net/whatmask/pkg-plist b/net/whatmask/pkg-plist
new file mode 100644
index 000000000000..c6c0223c0fff
--- /dev/null
+++ b/net/whatmask/pkg-plist
@@ -0,0 +1 @@
+bin/whatmask