diff options
author | zuntum <zuntum@pkgsrc.org> | 2003-12-19 12:23:56 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2003-12-19 12:23:56 +0000 |
commit | f26e335c1ddfbf485dc7a66d1184d74a26437440 (patch) | |
tree | 8560872fb871bfc097f7f000723d88bb128e25f3 /net | |
parent | 9e4fdb68eb97f1dce9ef08f32f651ce8b4f851ea (diff) | |
download | pkgsrc-f26e335c1ddfbf485dc7a66d1184d74a26437440.tar.gz |
Update to version 1.2
Changes from version 1.1:
* Added support for hex netmasks.
* Minor bugfixes, cleanup.
Provided by the maintainer - Joe Laffey <joe@laffeycomputer.com>, thanks!
Diffstat (limited to 'net')
-rw-r--r-- | net/whatmask/DESCR | 30 | ||||
-rw-r--r-- | net/whatmask/Makefile | 4 | ||||
-rw-r--r-- | net/whatmask/PLIST | 3 | ||||
-rw-r--r-- | net/whatmask/distinfo | 6 |
4 files changed, 19 insertions, 24 deletions
diff --git a/net/whatmask/DESCR b/net/whatmask/DESCR index 46cb75297c8..0fd4368a245 100644 --- a/net/whatmask/DESCR +++ b/net/whatmask/DESCR @@ -1,21 +1,15 @@ -Whatmask is a small C program that lets you easily convert between three common -subnet mask notations. +Whatmask is a small C program that will help you with network settings. -Notations supported: +Whatmask can work in two modes. The first mode (which is how prior +versions worked) is to invoke Whatmask with only a subnet mask as the +argument. In this mode Whatmask will echo back the subnet mask in four +formats, plus the number of useable addresses in the range. - Name Example - --------------------------------- - CIDR /24 - Netmask 255.255.255.0 - Wilcard Bits 0.0.0.255 +Netmask Notations supported: -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 support 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. + Name Example +--------------------------------- + CIDR /24 + Netmask 255.255.255.0 + Hex Netmask 0xffffff00 + Wilcard Bits 0.0.0.255 diff --git a/net/whatmask/Makefile b/net/whatmask/Makefile index 8611242dc6b..7b86c3c9866 100644 --- a/net/whatmask/Makefile +++ b/net/whatmask/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2003/07/17 22:52:02 grant Exp $ +# $NetBSD: Makefile,v 1.4 2003/12/19 12:23:56 zuntum Exp $ # -DISTNAME= whatmask-1.1 +DISTNAME= whatmask-1.2 CATEGORIES= net MASTER_SITES= http://downloads.laffeycomputer.com/current_builds/whatmask/ diff --git a/net/whatmask/PLIST b/net/whatmask/PLIST index e6b6469ab27..9b209dc8a02 100644 --- a/net/whatmask/PLIST +++ b/net/whatmask/PLIST @@ -1,2 +1,3 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:59:49 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2003/12/19 12:23:56 zuntum Exp $ bin/whatmask +man/man1/whatmask.1 diff --git a/net/whatmask/distinfo b/net/whatmask/distinfo index 8df51db71cd..d98f67334c1 100644 --- a/net/whatmask/distinfo +++ b/net/whatmask/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/09/30 21:22:07 zuntum Exp $ +$NetBSD: distinfo,v 1.3 2003/12/19 12:23:56 zuntum Exp $ -SHA1 (whatmask-1.1.tar.gz) = f6f981d90e3e9cc4e0c1e45c6b3277db993792ac -Size (whatmask-1.1.tar.gz) = 162664 bytes +SHA1 (whatmask-1.2.tar.gz) = 313762672acacd40de8021132b1024a5c96e2ad5 +Size (whatmask-1.2.tar.gz) = 170183 bytes |