Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jul 2026 17:04:31 +0000
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Jordan Montesse <ports@brtsvcs.net>
Subject:   git: eb73851d9df9 - main - net/route-summarization: [New Port] Lightweight CIDR aggregator using Perl's Net::CIDR::Lite
Message-ID:  <6a47eb9f.2018f.52d99b2a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by pi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eb73851d9df90af31d73d9fec9caae6a425da4a5

commit eb73851d9df90af31d73d9fec9caae6a425da4a5
Author:     Jordan Montesse <ports@brtsvcs.net>
AuthorDate: 2026-07-03 17:03:15 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2026-07-03 17:03:15 +0000

    net/route-summarization: [New Port] Lightweight CIDR aggregator using Perl's Net::CIDR::Lite
    
    A lightweight CIDR aggregation utility built in Perl using the
    Net::CIDR::Lite module. This tool summarizes IPv4 and IPv6 prefixes
    from standard input and optionally formats output for SPF record
    usage.
    
    Inspired by the original concept described in Random Thoughts.
    
    PR:     294430
    Author: Jordan Montesse <ports@brtsvcs.net>
---
 net/Makefile                      |  1 +
 net/route-summarization/Makefile  | 27 +++++++++++++++++++++++++++
 net/route-summarization/distinfo  |  3 +++
 net/route-summarization/pkg-descr |  6 ++++++
 net/route-summarization/pkg-plist |  2 ++
 5 files changed, 39 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 8073519cb8de..6f66c0cf14d4 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1260,6 +1260,7 @@
     SUBDIR += ripe-whois
     SUBDIR += rosenpass
     SUBDIR += rospo
+    SUBDIR += route-summarization
     SUBDIR += routinator
     SUBDIR += rpki-client
     SUBDIR += rscsi
diff --git a/net/route-summarization/Makefile b/net/route-summarization/Makefile
new file mode 100644
index 000000000000..fd3f00656bdd
--- /dev/null
+++ b/net/route-summarization/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	route-summarization
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.3.1
+CATEGORIES=	net
+
+MAINTAINER=	ports@brtsvcs.net
+COMMENT=	Lightweight CIDR aggregator using Perl's Net::CIDR::Lite
+WWW=		https://github.com/edmundlod/route-summarization
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	p5-Net-CIDR-Lite>=0:net/p5-Net-CIDR-Lite
+
+USES=		perl5
+USE_GITHUB=	yes
+GH_ACCOUNT=	edmundlod
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/aggregateCIDR.pl ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA}	${WRKSRC}/README.md ${STAGEDIR}${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/net/route-summarization/distinfo b/net/route-summarization/distinfo
new file mode 100644
index 000000000000..20f21cf84cc3
--- /dev/null
+++ b/net/route-summarization/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1775960445
+SHA256 (edmundlod-route-summarization-v0.3.1_GH0.tar.gz) = 4cb6468319f3d16a53239c17a582d9845fe392cc2a231e326e13b9c88f216925
+SIZE (edmundlod-route-summarization-v0.3.1_GH0.tar.gz) = 6841
diff --git a/net/route-summarization/pkg-descr b/net/route-summarization/pkg-descr
new file mode 100644
index 000000000000..cf0d9c6df83f
--- /dev/null
+++ b/net/route-summarization/pkg-descr
@@ -0,0 +1,6 @@
+A lightweight CIDR aggregation utility built in Perl using the
+Net::CIDR::Lite module. This tool summarizes IPv4 and IPv6 prefixes
+from standard input and optionally formats output for SPF record
+usage.
+
+Inspired by the original concept described in Random Thoughts.
diff --git a/net/route-summarization/pkg-plist b/net/route-summarization/pkg-plist
new file mode 100644
index 000000000000..691cc4c7749a
--- /dev/null
+++ b/net/route-summarization/pkg-plist
@@ -0,0 +1,2 @@
+bin/aggregateCIDR.pl
+%%DATADIR%%/README.md


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a47eb9f.2018f.52d99b2a>