./net/whatmask, Easily convert between three common subnet mask notations

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2, Package name: whatmask-1.2, Maintainer: pkgsrc-users

Whatmask is a small C program that will help you with network settings.

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.

Netmask Notations supported:

Name Example
---------------------------------
CIDR /24
Netmask 255.255.255.0
Hex Netmask 0xffffff00
Wilcard Bits 0.0.0.255


Master sites:

SHA1: 313762672acacd40de8021132b1024a5c96e2ad5
RMD160: 5863edc9fe0e3f98b5ff03e79117e44080e58033
Filesize: 166.194 KB

Version history: (Expand)


CVS history: (Expand)


   2015-11-04 01:35:47 by Alistair G. Crooks | Files touched by this commit (748)
Log message:
Add SHA512 digests for distfiles for net category

Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2012-10-23 19:19:22 by Aleksej Saushev | Files touched by this commit (671)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
   2010-02-26 11:28:35 by Thomas Klausner | Files touched by this commit (59)
Log message:
Reset maintainer for developers who gave back their commit bit.
   2008-06-20 03:09:45 by Joerg Sonnenberger | Files touched by this commit (993)
Log message:
Add DESTDIR support.
   2005-11-01 19:31:16 by Todd Vierling | Files touched by this commit (1)
Log message:
Include devel/sysexits bl3.
   2003-12-19 13:23:56 by Tomasz Luchowski | Files touched by this commit (4) | Package updated
Log message:
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!
   2003-07-18 00:57:07 by grant beattie | Files touched by this commit (1065)
Log message:
s/netbsd.org/NetBSD.org/
   2003-05-06 19:43:16 by Julio Merino | Files touched by this commit (726)
Log message:
Drop trailing whitespace.  Ok'ed by wiz.