summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/grepcidr/DESCR4
-rw-r--r--textproc/grepcidr/Makefile23
-rw-r--r--textproc/grepcidr/PLIST3
-rw-r--r--textproc/grepcidr/distinfo14
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/grepcidr/DESCR b/textproc/grepcidr/DESCR
new file mode 100644
index 00000000000..531deba131f
--- /dev/null
+++ b/textproc/grepcidr/DESCR
@@ -0,0 +1,4 @@
+grepcidr can be used to filter a list of IP addresses against one or more
+IPv4 and IPv6 address ranges. As with grep, there are options to invert
+matching and load patterns from a file. grepcidr is designed to scale well,
+and handle large numbers of patterns and large input files efficiently.
diff --git a/textproc/grepcidr/Makefile b/textproc/grepcidr/Makefile
new file mode 100644
index 00000000000..25e65445069
--- /dev/null
+++ b/textproc/grepcidr/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2013/12/14 06:56:16 apb Exp $
+
+DISTNAME= grepcidr-2.9
+CATEGORIES= textproc
+MASTER_SITES= http://www.taugh.com/grepcidr-2/
+DISTFILES= grepcidr.c grepcidr.1 Makefile ChangeLog
+
+MAINTAINER= pkgsrc-users@netbsd.org
+HOMEPAGE= http://www.taugh.com/grepcidr-2/
+COMMENT= Filter IP addresses matching IPv4 or IPv6 CIDR specification
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/grepcidr \
+ ${DESTDIR}${PREFIX}/bin/grepcidr
+ ${INSTALL_MAN} ${WRKSRC}/grepcidr.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/grepcidr.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/grepcidr/PLIST b/textproc/grepcidr/PLIST
new file mode 100644
index 00000000000..b72b0c5e66e
--- /dev/null
+++ b/textproc/grepcidr/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2013/12/14 06:56:16 apb Exp $
+bin/grepcidr
+man/man1/grepcidr.1
diff --git a/textproc/grepcidr/distinfo b/textproc/grepcidr/distinfo
new file mode 100644
index 00000000000..2262cdad70f
--- /dev/null
+++ b/textproc/grepcidr/distinfo
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.1 2013/12/14 06:56:16 apb Exp $
+
+SHA1 (ChangeLog) = 77a818178bf642f92308eb18f0db85269a51a49e
+RMD160 (ChangeLog) = 015400732f355273c29bee770cc41f30d3f3f8a4
+Size (ChangeLog) = 1062 bytes
+SHA1 (Makefile) = a871695a911d4c964ecd9b9cab6768e7ef881612
+RMD160 (Makefile) = 88e8021e5d1fc99e7e0c5c4dda07c1560f301da5
+Size (Makefile) = 369 bytes
+SHA1 (grepcidr.1) = 7aa708486d0992cf48929f055358e787611a6601
+RMD160 (grepcidr.1) = 4276cc62ac64f68259eca5351f2b1b890713c2b5
+Size (grepcidr.1) = 4466 bytes
+SHA1 (grepcidr.c) = 67f56b9b75ce52112a735b368c065597687fe14f
+RMD160 (grepcidr.c) = b2372bb7f5a7bd80e307d8b60c31ddccb2d0e5e5
+Size (grepcidr.c) = 31237 bytes