aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2017-05-08 18:49:40 +0800
committergarga <garga@FreeBSD.org>2017-05-08 18:49:40 +0800
commit1374edde77abef40c5be4cf47cf61455d365ebb3 (patch)
tree37f8c39bbda6a61f540f19051b8887290d8a830e
parent0cc792e1d5ea2c9f197e3d869d6d0a74f3553846 (diff)
downloadfreebsd-ports-gnome-1374edde77abef40c5be4cf47cf61455d365ebb3.tar.gz
freebsd-ports-gnome-1374edde77abef40c5be4cf47cf61455d365ebb3.tar.zst
freebsd-ports-gnome-1374edde77abef40c5be4cf47cf61455d365ebb3.zip
Add net-mgmt/iprange
This tool is capable of managing sets of IPs. Why to use iprange over any other aggregate ? * simpler * supports many input formats, all together in the same file * faster, actually a lot faster (thanks to the original design by Gabriel Somlo) * can compare files with IPs to find if they overlap and to what degree * can find the IPs common to a set of files * can exclude IPs (merge a set of files while excluding all IPs matched by another set of files) WWW: https://github.com/firehol/iprange MFH: 2017Q2 Sponsored by: Rubicon Communications (Netgate)
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/iprange/Makefile19
-rw-r--r--net-mgmt/iprange/distinfo3
-rw-r--r--net-mgmt/iprange/pkg-descr13
4 files changed, 36 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 05f39c7495c9..4f1b5d73e43e 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -97,6 +97,7 @@
SUBDIR += ipcad
SUBDIR += ipcalc
SUBDIR += ipplan
+ SUBDIR += iprange
SUBDIR += ipv6calc
SUBDIR += ipv6gen
SUBDIR += ipv6mon
diff --git a/net-mgmt/iprange/Makefile b/net-mgmt/iprange/Makefile
new file mode 100644
index 000000000000..f9d674abf75f
--- /dev/null
+++ b/net-mgmt/iprange/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= iprange
+PORTVERSION= 1.0.3
+CATEGORIES= net-mgmt
+MASTER_SITES= https://firehol.org/download/iprange/releases/v1.0.3/
+
+MAINTAINER= garga@FreeBSD.org
+COMMENT= Manage IP ranges
+
+LICENSE= GPLv2+
+
+USES= tar:xz
+GNU_CONFIGURE= yes
+
+PLIST_FILES= bin/iprange \
+ man/man1/iprange.1.gz
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/iprange/distinfo b/net-mgmt/iprange/distinfo
new file mode 100644
index 000000000000..a7b30f797414
--- /dev/null
+++ b/net-mgmt/iprange/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1491930472
+SHA256 (iprange-1.0.3.tar.xz) = e22d528eadff3486147aa0763bdc20d4f9b7af6c6f0e4ce9205bc3bc7ca18f53
+SIZE (iprange-1.0.3.tar.xz) = 107436
diff --git a/net-mgmt/iprange/pkg-descr b/net-mgmt/iprange/pkg-descr
new file mode 100644
index 000000000000..fa5b01b73a94
--- /dev/null
+++ b/net-mgmt/iprange/pkg-descr
@@ -0,0 +1,13 @@
+This tool is capable of managing sets of IPs.
+
+ Why to use iprange over any other aggregate ?
+ * simpler
+ * supports many input formats, all together in the same file
+ * faster, actually a lot faster (thanks to the original design
+ by Gabriel Somlo)
+ * can compare files with IPs to find if they overlap and to what degree
+ * can find the IPs common to a set of files
+ * can exclude IPs (merge a set of files while excluding all IPs matched
+ by another set of files)
+
+WWW: https://github.com/firehol/iprange