ports/148997: New port: net/subnetcalc

Thomas Dreibholz dreibh at iem.uni-due.de
Tue Jul 27 12:20:02 UTC 2010


>Number:         148997
>Category:       ports
>Synopsis:       New port: net/subnetcalc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 27 12:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Dreibholz
>Release:        8.1-RC2
>Organization:
University of Duisburg-Essen
>Environment:
FreeBSD north 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #10: Wed Jul 21 14:19:30 UTC 2010
>Description:
SubNetCalc is an IPv4/IPv6 subnet address calculator. For given IPv4 or IPv6 address and netmask or prefix length, it calculates network address, broadcast address, maximum number of hosts and host address range. The output is colourized for better readability (e.g. network part, host part). Also, it prints the addresses in binary format for better understandability. Furthermore, it can identify the address type (e.g. multicast, unique local, site local, etc.) and extract additional information from the address (e.g. type, scope, interface ID, etc.). Finally, it can generate IPv6 unique local prefixes.

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	distinfo
#	pkg-descr
#	pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965'
X# New ports collection makefile for: subnetcalc
X# Date created:                      27 July 2010
X# Whom:                              Thomas Dreibholz <dreibh at iem.uni-due.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	subnetcalc
XPORTVERSION=	2.1.2
XCATEGORIES=	net
XMASTER_SITES=	http://www.iem.uni-due.de/~dreibh/subnetcalc/download/ http://www.exp-math.uni-essen.de/~dreibh/subnetcalc/download/
XDISTNAME=	${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=     dreibh at iem.uni-due.de
XCOMMENT=        IPv4/IPv6 Subnet Calculator
X
X# RUN_DEPENDS=
XLIB_DEPENDS=    GeoIP.5:${PORTSDIR}/net/GeoIP
X
XGNU_CONFIGURE=  yes
XCONFIGURE_ARGS=	"--with-geoip=${LOCALBASE}"
XUSE_GMAKE=      yes
X
XLICENSE=        GPLv3
XLICENSE_FILE=   ${WRKSRC}/COPYING
X
Xpre-fetch:
X
Xpost-patch:
X
Xpre-install:
X
X.include <bsd.port.mk>
b67911656ef5d18c4ae36cb6741b7965
echo x - distinfo
sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f'
XMD5 (subnetcalc-2.1.2.tar.gz) = 106514c515037e3c8d4a15330e7ddb2f
XSHA256 (subnetcalc-2.1.2.tar.gz) = 6e28c63c128de098bd6b0a847681766e9fd115b3c36a3fe9bf769ce5ee5f9b17
XSIZE (subnetcalc-2.1.2.tar.gz) = 330159
57677d168a5ec21bdf22c9501f075a8f
echo x - pkg-descr
sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979'
XSubNetCalc is an IPv4/IPv6 subnet address calculator. For given IPv4 or IPv6
Xaddress and netmask or prefix length, it calculates network address, broadcast
Xaddress, maximum number of hosts and host address range. The output is
Xcolourized for better readability (e.g. network part, host part). Also, it
Xprints the addresses in binary format for better understandability.
X
XFurthermore, it can identify the address type (e.g. multicast, unique local,
Xsite local, etc.) and extract additional information from the address
X(e.g. type, scope, interface ID, etc.). Finally, it can generate IPv6 unique
Xlocal prefixes.
X
XWWW: http://www.iem.uni-due.de/~dreibh/subnetcalc/
7f9555c3c1089940396b503dd37f3979
echo x - pkg-plist
sed 's/^X//' >pkg-plist << '842cde48cf18b70a11b15515ca566742'
Xbin/subnetcalc
Xman/man8/subnetcalc.8
842cde48cf18b70a11b15515ca566742
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list