BSD Ports

net/subnetcalc 2.7.6 FreeBSD

IPv4/IPv6 Subnet Calculator

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
f04772df96
License
GPLv3+
Categories
net
Package size
39.4 KiB, 102.1 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDnet/subnetcalc2.7.6
DragonFlynet/subnetcalc2.6.1
HardenedBSDnet/subnetcalc2.7.5
GhostBSDnet/subnetcalc2.7.5

Install

Binary package:

pkg install subnetcalc

From the ports tree:

cd /usr/ports/net/subnetcalc/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	subnetcalc>0:net/subnetcalc

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.7.62.7.62.4.182.6.42.7.6
FreeBSD:14:quarterly2.7.52.7.5n/a2.6.42.7.5
FreeBSD:15:latest2.7.62.7.6n/a2.6.42.6.4
FreeBSD:15:quarterly2.7.52.7.5n/an/an/a
FreeBSD:16:latest2.7.62.7.6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 5

No port depends on this one.

Configuration

Options name: net_subnetcalc

OptionDefaultDescription
GEOIPonBuild with GeoIP support
NLSoffNative Language Support
USES
cmake tar:xz
Service scripts
none

Files

Manual pages 1
  • subnetcalc(1)
pkg-plist 6
  • bin/subnetcalc
  • share/bash-completion/completions/subnetcalc
  • share/locale/de/LC_MESSAGES/subnetcalc.mo
  • share/locale/ka/LC_MESSAGES/subnetcalc.mo
  • share/locale/nb/LC_MESSAGES/subnetcalc.mo
  • share/man/man1/subnetcalc.1.gz
distinfo 1
FileSizeSHA256
subnetcalc-2.7.6.tar.xz157424dcdca4fe1f402c69c4dee1adc6ae1b0c133de8726f509560a1072d54d9ae2c72
Master sites 1
  • https://www.nntb.no/~dreibh/subnetcalc/download/

Commit history 2

DateCommitCreditsLog message
f04772df96 Thomas Dreibholz net/subnetcalc: Update 2.7.5 => 2.7.6
Changelog: https://github.com/dreibh/subnetcalc/blob/subnetcalc-2.7.6/ChangeLog PR: 299063 Approved by: osa, vvd (Mentors, implicit)
74b690290b Yusuf Yaman net/subnetcalc: Update 2.7.1 => 2.7.5
Changelog: https://github.com/dreibh/subnetcalc/blob/subnetcalc-2.7.5/ChangeLog Commit log: https://github.com/dreibh/subnetcalc/compare/subnetcalc-2.7.1...subnetcalc-2.7.5 PR: 297195 Reported by: Thomas Dreibholz <[email protected]> (maintainer) Approved by: osa, vvd (Mentors, implicit)