Install this version:
emerge -a =net-misc/subnetcalc-2.5.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-misc/subnetcalc-2.5.1
Or alternatively:
emerge --autounmask-write -a =net-misc/subnetcalc-2.5.1
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License
EAPI=8
inherit cmake
if [[ "${PV}" =~ "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/dreibh/subnetcalc"
else
SRC_URI="https://github.com/dreibh/subnetcalc/archive/refs/tags/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-${P}"
fi
DESCRIPTION="An IPv4/IPv6 Subnet Calculator"
HOMEPAGE="https://www.nntb.no/~dreibh/subnetcalc/"
LICENSE="GPL-3"
SLOT="0"
IUSE="geoip"
DEPEND="
geoip? ( dev-libs/geoip )
"
RDEPEND="
${DEPEND}
"
Manage flags for this package:
euse -i <flag> -p net-misc/subnetcalc |
euse -E <flag> -p net-misc/subnetcalc |
euse -D <flag> -p net-misc/subnetcalc
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | subnetcalc-2.5.1.tar.gz | 149224 bytes | https://github.com/dreibh/subnetcalc/archive/refs/tags/subnetcalc-2.5.1.tar.gz |