1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

- revive net/subnetcalc

- update to 2.4.14
- no geoip support, and lack of replacement
- maintainer plans to implement libmaxminddb

PR:		239854 (based on)
Submitted by:	dreibh@iem.uni-due.de (maintainer)
This commit is contained in:
Jason Helfman 2019-08-19 19:22:25 +00:00
parent 2d21d696d6
commit 59a4f014ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=509302
5 changed files with 37 additions and 1 deletions

1
MOVED
View File

@ -11547,7 +11547,6 @@ ftp/proftpd-mod_geoip||2019-02-16|Has expired: Uses legacy GeoIP 1 format which
net/go-geoip||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
net/py-GeoIP|net/py-GeoIP2|2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
net/pecl-geoip||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
net/subnetcalc||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
net/p5-Geo-IP||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
net/rubygem-geoip||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible
security/sguil||2019-02-16|Has expired: Uses legacy GeoIP 1 format which no longer works; switch to GeoIP 2 where possible

View File

@ -1403,6 +1403,7 @@
SUBDIR += ssvnc
SUBDIR += stone
SUBDIR += stund
SUBDIR += subnetcalc
SUBDIR += suckblow
SUBDIR += sup
SUBDIR += svnup

21
net/subnetcalc/Makefile Normal file
View File

@ -0,0 +1,21 @@
# Created by: Thomas Dreibholz <dreibh@iem.uni-due.de>
# $FreeBSD$
PORTNAME= subnetcalc
PORTVERSION= 2.4.14
CATEGORIES= net
MASTER_SITES= https://www.uni-due.de/~be0001/subnetcalc/download/
MAINTAINER= dreibh@iem.uni-due.de
COMMENT= IPv4/IPv6 Subnet Calculator
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:xz cmake
CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man
PLIST_FILES= bin/subnetcalc \
man/man1/subnetcalc.1.gz
.include <bsd.port.mk>

3
net/subnetcalc/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1565789859
SHA256 (subnetcalc-2.4.14.tar.xz) = a602cdc8f79fcfcf053c57a0747d0aeda156afeeac1b0facfdac1d0acbae469c
SIZE (subnetcalc-2.4.14.tar.xz) = 68708

12
net/subnetcalc/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
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.
WWW: https://www.uni-due.de/~be0001/subnetcalc/