diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-05-20 11:23:36 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-05-20 11:23:36 +0000 |
commit | 5640f019e88f4608fba7ac1e9d141db857f461bf (patch) | |
tree | 82e72510d65cc4da760c332eb77fe80b5540e44f /net/whatmask | |
parent | Upgrading to Apache 1.3.20 + mod_ssl 2.8.4 (diff) |
add whatmask
Easily convert between three common subnet mask notations
Notes
Notes:
svn path=/head/; revision=42801
Diffstat (limited to 'net/whatmask')
-rw-r--r-- | net/whatmask/Makefile | 18 | ||||
-rw-r--r-- | net/whatmask/distinfo | 1 | ||||
-rw-r--r-- | net/whatmask/pkg-comment | 1 | ||||
-rw-r--r-- | net/whatmask/pkg-descr | 21 | ||||
-rw-r--r-- | net/whatmask/pkg-plist | 1 |
5 files changed, 42 insertions, 0 deletions
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 |