summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-08-27 03:49:25 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-08-27 03:49:25 +0000
commita0287caaa36ab9b14bdfe8b279aa03d524151766 (patch)
treee802c3f07b117891d92e1735fb389bced40c113c
parentUpdate to 1.0.6. Somehow the build problem on 5.x is gone. (diff)
Add subcalc, a utility that is used for subnet calculation and IPv6
DNS PTR record generation. subcalc takes command line arguments in a similar format to ifconfig(8) so the synopsis should be familiar to the user. Given an address family, address and a netmask/prefix length, subcalc will calculate the number of hosts and address ranges of the specific network. PR: ports/55979 Submitted by: Chris S.J. Peron
-rw-r--r--net-mgmt/subcalc/Makefile20
-rw-r--r--net-mgmt/subcalc/distinfo1
-rw-r--r--net-mgmt/subcalc/pkg-descr8
-rw-r--r--net-mgmt/subcalc/pkg-plist1
-rw-r--r--net/Makefile1
-rw-r--r--net/subcalc/Makefile20
-rw-r--r--net/subcalc/distinfo1
-rw-r--r--net/subcalc/pkg-descr8
-rw-r--r--net/subcalc/pkg-plist1
9 files changed, 61 insertions, 0 deletions
diff --git a/net-mgmt/subcalc/Makefile b/net-mgmt/subcalc/Makefile
new file mode 100644
index 000000000000..17ed2203726f
--- /dev/null
+++ b/net-mgmt/subcalc/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: subcalc
+# Date created: 24 August 2003
+# Whom: Chris S.J. Peron <maneo@bsdpro.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= subcalc
+PORTVERSION= 1.0
+CATEGORIES= ipv6 net
+MASTER_SITES= http://www.seccuris.com/documents/downloads/
+MASTER_SITE_SUBDIR= subcalc
+
+MAINTAINER= maneo@bsdpro.com
+COMMENT= Advanced IP/IPv6 subnet calculation and discovery
+
+MAN1= subcalc.1
+MANCOMPRESSED= yes
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/subcalc/distinfo b/net-mgmt/subcalc/distinfo
new file mode 100644
index 000000000000..c1a6756a0b5e
--- /dev/null
+++ b/net-mgmt/subcalc/distinfo
@@ -0,0 +1 @@
+MD5 (subcalc-1.0.tar.gz) = edb4cb00cadee478a013e24846926655
diff --git a/net-mgmt/subcalc/pkg-descr b/net-mgmt/subcalc/pkg-descr
new file mode 100644
index 000000000000..d8d34137429f
--- /dev/null
+++ b/net-mgmt/subcalc/pkg-descr
@@ -0,0 +1,8 @@
+The subcalc utility is used for subnet calculation and IPv6 DNS PTR
+record generation. subcalc takes command line arguments in a similar
+format to ifconfig(8) so the synopsis should be familiar to the user.
+Given an address family, address and a netmask/prefix length, subcalc
+will calculate the number of hosts and address ranges of the specific
+network.
+
+WWW: http://www.seccuris.com
diff --git a/net-mgmt/subcalc/pkg-plist b/net-mgmt/subcalc/pkg-plist
new file mode 100644
index 000000000000..8194aa8761c6
--- /dev/null
+++ b/net-mgmt/subcalc/pkg-plist
@@ -0,0 +1 @@
+bin/subcalc
diff --git a/net/Makefile b/net/Makefile
index a71f13a3ba68..c5ce4074f935 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -653,6 +653,7 @@
SUBDIR += staticcharge
SUBDIR += sting
SUBDIR += stone
+ SUBDIR += subcalc
SUBDIR += suckblow
SUBDIR += sup
SUBDIR += svnc
diff --git a/net/subcalc/Makefile b/net/subcalc/Makefile
new file mode 100644
index 000000000000..17ed2203726f
--- /dev/null
+++ b/net/subcalc/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: subcalc
+# Date created: 24 August 2003
+# Whom: Chris S.J. Peron <maneo@bsdpro.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= subcalc
+PORTVERSION= 1.0
+CATEGORIES= ipv6 net
+MASTER_SITES= http://www.seccuris.com/documents/downloads/
+MASTER_SITE_SUBDIR= subcalc
+
+MAINTAINER= maneo@bsdpro.com
+COMMENT= Advanced IP/IPv6 subnet calculation and discovery
+
+MAN1= subcalc.1
+MANCOMPRESSED= yes
+
+.include <bsd.port.mk>
diff --git a/net/subcalc/distinfo b/net/subcalc/distinfo
new file mode 100644
index 000000000000..c1a6756a0b5e
--- /dev/null
+++ b/net/subcalc/distinfo
@@ -0,0 +1 @@
+MD5 (subcalc-1.0.tar.gz) = edb4cb00cadee478a013e24846926655
diff --git a/net/subcalc/pkg-descr b/net/subcalc/pkg-descr
new file mode 100644
index 000000000000..d8d34137429f
--- /dev/null
+++ b/net/subcalc/pkg-descr
@@ -0,0 +1,8 @@
+The subcalc utility is used for subnet calculation and IPv6 DNS PTR
+record generation. subcalc takes command line arguments in a similar
+format to ifconfig(8) so the synopsis should be familiar to the user.
+Given an address family, address and a netmask/prefix length, subcalc
+will calculate the number of hosts and address ranges of the specific
+network.
+
+WWW: http://www.seccuris.com
diff --git a/net/subcalc/pkg-plist b/net/subcalc/pkg-plist
new file mode 100644
index 000000000000..8194aa8761c6
--- /dev/null
+++ b/net/subcalc/pkg-plist
@@ -0,0 +1 @@
+bin/subcalc