pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/whatmask Update to version 1.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/129f3ca85e8b
branches: trunk
changeset: 465014:129f3ca85e8b
user: zuntum <zuntum%pkgsrc.org@localhost>
date: Fri Dec 19 12:23:56 2003 +0000
description:
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@localhost>, thanks!
diffstat:
net/whatmask/DESCR | 30 ++++++++++++------------------
net/whatmask/Makefile | 4 ++--
net/whatmask/PLIST | 3 ++-
net/whatmask/distinfo | 6 +++---
4 files changed, 19 insertions(+), 24 deletions(-)
diffs (69 lines):
diff -r c0ed16f2d3bc -r 129f3ca85e8b net/whatmask/DESCR
--- a/net/whatmask/DESCR Fri Dec 19 12:10:12 2003 +0000
+++ b/net/whatmask/DESCR Fri Dec 19 12:23:56 2003 +0000
@@ -1,21 +1,15 @@
-Whatmask is a small C program that lets you easily convert between three common
-subnet mask notations.
-
-Notations supported:
+Whatmask is a small C program that will help you with network settings.
- Name Example
- ---------------------------------
- CIDR /24
- Netmask 255.255.255.0
- Wilcard Bits 0.0.0.255
+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.
-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 Notations supported:
-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 -r c0ed16f2d3bc -r 129f3ca85e8b net/whatmask/Makefile
--- a/net/whatmask/Makefile Fri Dec 19 12:10:12 2003 +0000
+++ b/net/whatmask/Makefile Fri Dec 19 12:23:56 2003 +0000
@@ -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 -r c0ed16f2d3bc -r 129f3ca85e8b net/whatmask/PLIST
--- a/net/whatmask/PLIST Fri Dec 19 12:10:12 2003 +0000
+++ b/net/whatmask/PLIST Fri Dec 19 12:23:56 2003 +0000
@@ -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 -r c0ed16f2d3bc -r 129f3ca85e8b net/whatmask/distinfo
--- a/net/whatmask/distinfo Fri Dec 19 12:10:12 2003 +0000
+++ b/net/whatmask/distinfo Fri Dec 19 12:23:56 2003 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index