From df479a98693f5419f688ae9367f98e3245615027 Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Sun, 24 Mar 2002 23:22:40 +0000 Subject: Add new port net/sipcalc - IP subnet calculator with IPv6 support PR: 36264 Submitted by: Janos Mohacsi --- net-mgmt/sipcalc/Makefile | 28 ++++++++++++++++++++++++++++ net-mgmt/sipcalc/distinfo | 1 + net-mgmt/sipcalc/pkg-comment | 1 + net-mgmt/sipcalc/pkg-descr | 24 ++++++++++++++++++++++++ net-mgmt/sipcalc/pkg-plist | 1 + net/Makefile | 1 + net/sipcalc/Makefile | 28 ++++++++++++++++++++++++++++ net/sipcalc/distinfo | 1 + net/sipcalc/pkg-comment | 1 + net/sipcalc/pkg-descr | 24 ++++++++++++++++++++++++ net/sipcalc/pkg-plist | 1 + 11 files changed, 111 insertions(+) create mode 100644 net-mgmt/sipcalc/Makefile create mode 100644 net-mgmt/sipcalc/distinfo create mode 100644 net-mgmt/sipcalc/pkg-comment create mode 100644 net-mgmt/sipcalc/pkg-descr create mode 100644 net-mgmt/sipcalc/pkg-plist create mode 100644 net/sipcalc/Makefile create mode 100644 net/sipcalc/distinfo create mode 100644 net/sipcalc/pkg-comment create mode 100644 net/sipcalc/pkg-descr create mode 100644 net/sipcalc/pkg-plist diff --git a/net-mgmt/sipcalc/Makefile b/net-mgmt/sipcalc/Makefile new file mode 100644 index 000000000000..69a494cb875b --- /dev/null +++ b/net-mgmt/sipcalc/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: sipcalc +# Date created: 24.03.2002 +# Whom: Janos.Mohacsi@dante.org.uk +# +# $FreeBSD$ +# + +PORTNAME= sipcalc +PORTVERSION= 1.1.0 +CATEGORIES= net ipv6 +MASTER_SITES= http://www.routemeister.net/projects/sipcalc/files/ + +MAINTAINER= Janos.Mohacsi@dante.org.uk + +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + +GNU_CONFIGURE= yes +MAN1= sipcalc.1 + +post-install: + @${ECHO} '=======================================================' + @${ECHO} 'If you want CGI support copy sipcalc-www to your CGI ' + @${ECHO} 'directory. Copy also the docs/web.html into the appropriate ' + @${ECHO} 'web directory. This is not done, since CGI and web setup' + @${ECHO} 'has to be done according to your local policy.' + @${ECHO} '=======================================================' + +.include diff --git a/net-mgmt/sipcalc/distinfo b/net-mgmt/sipcalc/distinfo new file mode 100644 index 000000000000..ba6fd51d4362 --- /dev/null +++ b/net-mgmt/sipcalc/distinfo @@ -0,0 +1 @@ +MD5 (sipcalc-1.1.0.tar.gz) = 556528a6d80fffda792bd3bdc6ac954b diff --git a/net-mgmt/sipcalc/pkg-comment b/net-mgmt/sipcalc/pkg-comment new file mode 100644 index 000000000000..48f6fe792b47 --- /dev/null +++ b/net-mgmt/sipcalc/pkg-comment @@ -0,0 +1 @@ +Sipcalc is an IP subnet calculator with IPv6 and CGI interface support diff --git a/net-mgmt/sipcalc/pkg-descr b/net-mgmt/sipcalc/pkg-descr new file mode 100644 index 000000000000..a291eaaed04a --- /dev/null +++ b/net-mgmt/sipcalc/pkg-descr @@ -0,0 +1,24 @@ +Sipcalc is an ip subnet calculator. +Features: + +IPv4 - +* Retrieving of address information from interfaces. +* Classful and CIDR output. +* Multiple address and netmask formats (dotted quad, hex, number of bits). +* Output of broadcast address, network class, Cisco wildcard, hosts/range, + network range. +* Output of a userdefined number of extra networks. +* The ability to "split" a network based on a smaller netmask, + now also with recursive runs on the generated subnets. +* DNS resolution. + +IPv6 - +* Compressed and expanded input addresses. +* Compressed and expanded output. +* Standard IPv6 network output. +* Reverse dns address generation. +* The ability to "split" a network based on a smaller netmask, + now also with recursive runs on the generated subnets. +* DNS resolution. + +WWW: http://www.routemeister.net/projects/sipcalc/ diff --git a/net-mgmt/sipcalc/pkg-plist b/net-mgmt/sipcalc/pkg-plist new file mode 100644 index 000000000000..d5ff407d4904 --- /dev/null +++ b/net-mgmt/sipcalc/pkg-plist @@ -0,0 +1 @@ +bin/sipcalc diff --git a/net/Makefile b/net/Makefile index 691db19d9985..4568ea4f4a7f 100644 --- a/net/Makefile +++ b/net/Makefile @@ -446,6 +446,7 @@ SUBDIR += silc-doc SUBDIR += silc-server SUBDIR += sing + SUBDIR += sipcalc SUBDIR += sleuth SUBDIR += slirp SUBDIR += smbfs diff --git a/net/sipcalc/Makefile b/net/sipcalc/Makefile new file mode 100644 index 000000000000..69a494cb875b --- /dev/null +++ b/net/sipcalc/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: sipcalc +# Date created: 24.03.2002 +# Whom: Janos.Mohacsi@dante.org.uk +# +# $FreeBSD$ +# + +PORTNAME= sipcalc +PORTVERSION= 1.1.0 +CATEGORIES= net ipv6 +MASTER_SITES= http://www.routemeister.net/projects/sipcalc/files/ + +MAINTAINER= Janos.Mohacsi@dante.org.uk + +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + +GNU_CONFIGURE= yes +MAN1= sipcalc.1 + +post-install: + @${ECHO} '=======================================================' + @${ECHO} 'If you want CGI support copy sipcalc-www to your CGI ' + @${ECHO} 'directory. Copy also the docs/web.html into the appropriate ' + @${ECHO} 'web directory. This is not done, since CGI and web setup' + @${ECHO} 'has to be done according to your local policy.' + @${ECHO} '=======================================================' + +.include diff --git a/net/sipcalc/distinfo b/net/sipcalc/distinfo new file mode 100644 index 000000000000..ba6fd51d4362 --- /dev/null +++ b/net/sipcalc/distinfo @@ -0,0 +1 @@ +MD5 (sipcalc-1.1.0.tar.gz) = 556528a6d80fffda792bd3bdc6ac954b diff --git a/net/sipcalc/pkg-comment b/net/sipcalc/pkg-comment new file mode 100644 index 000000000000..48f6fe792b47 --- /dev/null +++ b/net/sipcalc/pkg-comment @@ -0,0 +1 @@ +Sipcalc is an IP subnet calculator with IPv6 and CGI interface support diff --git a/net/sipcalc/pkg-descr b/net/sipcalc/pkg-descr new file mode 100644 index 000000000000..a291eaaed04a --- /dev/null +++ b/net/sipcalc/pkg-descr @@ -0,0 +1,24 @@ +Sipcalc is an ip subnet calculator. +Features: + +IPv4 - +* Retrieving of address information from interfaces. +* Classful and CIDR output. +* Multiple address and netmask formats (dotted quad, hex, number of bits). +* Output of broadcast address, network class, Cisco wildcard, hosts/range, + network range. +* Output of a userdefined number of extra networks. +* The ability to "split" a network based on a smaller netmask, + now also with recursive runs on the generated subnets. +* DNS resolution. + +IPv6 - +* Compressed and expanded input addresses. +* Compressed and expanded output. +* Standard IPv6 network output. +* Reverse dns address generation. +* The ability to "split" a network based on a smaller netmask, + now also with recursive runs on the generated subnets. +* DNS resolution. + +WWW: http://www.routemeister.net/projects/sipcalc/ diff --git a/net/sipcalc/pkg-plist b/net/sipcalc/pkg-plist new file mode 100644 index 000000000000..d5ff407d4904 --- /dev/null +++ b/net/sipcalc/pkg-plist @@ -0,0 +1 @@ +bin/sipcalc -- cgit v1.2.3