Skip to content

Commit

Permalink
Import p5-Net-Patricia-1.22 as net/p5-Net-Patricia
Browse files Browse the repository at this point in the history
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.

Packaged by Thomas Merkel and patches provided via
NetBSD/pkgsrc pullup request #15.
  • Loading branch information
iamleot committed Aug 31, 2017
1 parent 6bed8b1 commit 1cf5ca0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions net/p5-Net-Patricia/DESCR
Original file line number Diff line number Diff line change
@@ -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.
20 changes: 20 additions & 0 deletions net/p5-Net-Patricia/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.1 2017/08/31 15:41:35 leot 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= gnu-gpl-v2 AND 2-clause-bsd

DEPENDS+= p5-Net-CIDR-Lite>=0.20:../../net/p5-Net-CIDR-Lite
DEPENDS+= p5-Socket6-[0-9]*:../../net/p5-Socket6

PERL5_PACKLIST= auto/Net/Patricia/.packlist

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
6 changes: 6 additions & 0 deletions net/p5-Net-Patricia/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2017/08/31 15:41:35 leot Exp $

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

0 comments on commit 1cf5ca0

Please sign in to comment.