|Summary:||New port: net/subnetcalc -- IPv4/IPv6 Subnet Calculator|
|Product:||Ports & Packages||Reporter:||dreibh|
|Component:||Individual Port(s)||Assignee:||Jason Helfman <jgh>|
|Severity:||Affects Only Me||CC:||driesm.michiels, jgh|
Description dreibh 2019-08-14 13:39:30 UTC
Created attachment 206536 [details] The shar file The package subnetcalc has been missing in the FreeBSD ports. Therefore, I have created a port. 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. Homepage of subnetcalc: https://www.uni-due.de/~be0001/subnetcalc/ Fix: The shar file subnetcalc-2.4.14.shar is attached.
Comment 1 Jason Helfman 2019-08-15 17:48:55 UTC
Hi, This did exist at one point, but was removed from the tree. Can you please do a diff against this version of the tree: https://svnweb.freebsd.org/ports/head/net/subnetcalc/?pathrev=493048 And attach a diff. This was my analysis, however if I am incorrect, let us have a dialog about this. Thanks! -jgh
Comment 2 Jason Helfman 2019-08-16 18:10:59 UTC
Created attachment 206622 [details] patch based off of r493048 of port Attached is a patch based of of r493048 of port. Please review.
Comment 3 dreibh 2019-08-19 19:00:40 UTC
The patch looks fine. Thank you!
Comment 4 commit-hook 2019-08-19 19:22:58 UTC
A commit references this bug: Author: jgh Date: Mon Aug 19 19:22:26 UTC 2019 New revision: 509302 URL: https://svnweb.freebsd.org/changeset/ports/509302 Log: - 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: firstname.lastname@example.org (maintainer) Changes: head/MOVED head/net/Makefile head/net/subnetcalc/ head/net/subnetcalc/Makefile head/net/subnetcalc/distinfo
Comment 5 Jason Helfman 2019-08-19 21:22:58 UTC
Thanks for your contribution!