63dbb2a3a1
ipaddr is a command-line tool for manipulating and querying IP addresses and networks. It provides functionality similar to Python's ipaddress module but as a standalone CLI utility. Features include: - IPv4 and IPv6 address normalization - CIDR and netmask prefix notation support - Network calculations (network, broadcast, host addressing) - Address classification (private, loopback, multicast, etc.) - Subnet and supernet operations - Command chaining for complex operations - IPv6-specific features (6to4, Teredo, zone-id) WWW: https://github.com/astralblue/ipaddr PR: 292621 Reported by: Eugene M. Kim <ab@astral.blue> (new maintainer)
25 lines
516 B
Makefile
25 lines
516 B
Makefile
PORTNAME= ipaddr
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.0.0
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= ab@astral.blue
|
|
COMMENT= Command-line IP address manipulation tool
|
|
WWW= https://github.com/astralblue/ipaddr
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64
|
|
ONLY_FOR_ARCHS_REASON= requires compiler support for __uint128_t (64-bit only)
|
|
|
|
USES= cmake
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= astralblue
|
|
|
|
PLIST_FILES= bin/ipaddr \
|
|
share/man/man1/ipaddr.1.gz
|
|
|
|
.include <bsd.port.mk>
|