From cd6a1867a9234d1b4ac82a2766ea5f5052b2a918 Mon Sep 17 00:00:00 2001 From: Thomas Merkel Date: Wed, 30 Aug 2017 15:50:39 +0200 Subject: [PATCH] Add new package p5-Net-Patricia Patricia Trie perl module for fast IP address lookups --- net/p5-Net-Patricia/DESCR | 3 +++ net/p5-Net-Patricia/Makefile | 19 +++++++++++++++++++ net/p5-Net-Patricia/distinfo | 6 ++++++ 3 files changed, 28 insertions(+) create mode 100644 net/p5-Net-Patricia/DESCR create mode 100644 net/p5-Net-Patricia/Makefile create mode 100644 net/p5-Net-Patricia/distinfo diff --git a/net/p5-Net-Patricia/DESCR b/net/p5-Net-Patricia/DESCR new file mode 100644 index 000000000000..be0209d419d7 --- /dev/null +++ b/net/p5-Net-Patricia/DESCR @@ -0,0 +1,3 @@ +This module uses a Patricia Trie data structure to quickly perform IP address +prefix matching for applications such as IP subnet, network or routing table +lookups. diff --git a/net/p5-Net-Patricia/Makefile b/net/p5-Net-Patricia/Makefile new file mode 100644 index 000000000000..4442dc3d61c4 --- /dev/null +++ b/net/p5-Net-Patricia/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.24 2017/06/05 14:24:20 ryoon Exp $ +# + +DISTNAME= Net-Patricia-1.22 +PKGNAME= p5-${DISTNAME} +CATEGORIES= net perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} + +MAINTAINER= tm@core.io +HOMEPAGE= http://search.cpan.org/dist/Net-Patricia/ +COMMENT= Patricia Trie perl module for fast IP address lookups +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Net-CIDR-Lite>=0.20:../../net/p5-Net-CIDR-Lite + +PERL5_PACKLIST= auto/Net/Patricia/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/p5-Net-Patricia/distinfo b/net/p5-Net-Patricia/distinfo new file mode 100644 index 000000000000..6403b5fe6707 --- /dev/null +++ b/net/p5-Net-Patricia/distinfo @@ -0,0 +1,6 @@ +$NetBSD$ + +SHA1 (Net-Patricia-1.22.tar.gz) = 2a39c5910f9069a5b97647382061c12ae9c0458c +RMD160 (Net-Patricia-1.22.tar.gz) = e16e5731e2911fa6770285977b6385bd77323e63 +SHA512 (Net-Patricia-1.22.tar.gz) = d76702d30784f8448dcf3a5269e052bc7bd6f5fe5a16824b6e3ede1d0182deb139522e45e1fb78749a7527ddbc950c213d843e43f45b5b0ed63b5b985b329861 +Size (Net-Patricia-1.22.tar.gz) = 27780 bytes