net-misc/ipcalc-ng: new package, add 1.0.3

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2026-04-07 16:51:16 -04:00
parent 8cc06d95e1
commit e2bb7cf26e
3 changed files with 54 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
DIST ipcalc-1.0.3.tar.bz2 46303 BLAKE2B c2cfe6b1f834e233f87f8c03ca6d3ab03711acf397dd1f82dddf29655781d03258170c6a2c840217760c8a29a5ab8580a18894f8935da5551ebb72a2b3849f32 SHA512 30e57ad66257cf405c8cd78999f2c71535e813b65eb4b1abdcea089cdc8a76e080a9d520c068a1f36a7b943b43b836cff5c8d4d7ccbabca4a09208a2762e1800
DIST ipcalc.1-1.0.2.bz2 2821 BLAKE2B f2ee69b4caf71a950f050891cbefedf4d512db1a39a8cc33a8ae29d4af286078aa72fec8e7210c95a8919280a79ff4a8e8f124558a3b2bf55f680e4e1a7e81a2 SHA512 bcaf25d0d63b4efd922023e470ca946839104d141d3c96824da8a26d1162ca5fe567533255e36019a6facac1978470c61bef42278745892fd91e42fea54b68b9
+41
View File
@@ -0,0 +1,41 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Modern IPv4/IPv6 ipcalc tool"
HOMEPAGE="https://gitlab.com/ipcalc/ipcalc"
MY_P="ipcalc-${PV}"
SRC_URI="
https://gitlab.com/ipcalc/ipcalc/-/archive/${PV}/${MY_P}.tar.bz2
https://dev.gentoo.org/~floppym/dist/ipcalc.1-1.0.2.bz2
"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="geoip"
DEPEND="
geoip? ( dev-libs/libmaxminddb )
"
RDEPEND="${DEPEND}
!net-misc/ipcalc
"
src_configure() {
local emesonargs=(
$(meson_feature geoip use_maxminddb)
-Duse_geoip=disabled
-Duse_runtime_linking=disabled
)
meson_src_configure
}
src_install() {
meson_src_install
newman "${WORKDIR}/ipcalc.1-1.0.2" ipcalc.1
}
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>floppym@gentoo.org</email>
<name>Mike Gilbert</name>
</maintainer>
<upstream>
<remote-id type="gitlab">ipcalc/ipcalc</remote-id>
</upstream>
</pkgmetadata>