From fdd85c0497f81fb41ac3f672a6244d74943603ec Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Tue, 19 Dec 2000 10:29:26 +0000 Subject: Add netmask 2.3.3, a tool for generating terse netmasks in several common formats. PR: 23005 Submitted by: Mike Bristow --- net-mgmt/netmask/Makefile | 25 +++++++++++++++++++++++++ net-mgmt/netmask/distinfo | 1 + net-mgmt/netmask/files/patch-aa | 21 +++++++++++++++++++++ net-mgmt/netmask/files/patch-ab | 14 ++++++++++++++ net-mgmt/netmask/pkg-comment | 1 + net-mgmt/netmask/pkg-descr | 5 +++++ net-mgmt/netmask/pkg-plist | 4 ++++ 7 files changed, 71 insertions(+) create mode 100644 net-mgmt/netmask/Makefile create mode 100644 net-mgmt/netmask/distinfo create mode 100644 net-mgmt/netmask/files/patch-aa create mode 100644 net-mgmt/netmask/files/patch-ab create mode 100644 net-mgmt/netmask/pkg-comment create mode 100644 net-mgmt/netmask/pkg-descr create mode 100644 net-mgmt/netmask/pkg-plist (limited to 'net-mgmt/netmask') diff --git a/net-mgmt/netmask/Makefile b/net-mgmt/netmask/Makefile new file mode 100644 index 000000000000..1b21c29cb1e9 --- /dev/null +++ b/net-mgmt/netmask/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: netmask +# Date created: 19 Novemver 2000 +# Whom: Mike Bristow +# $FreeBSD$ + +PORTNAME= netmask +PORTVERSION= 2.3.3 +CATEGORIES= net +MASTER_SITES= http://ftp.debian.org/debian/dists/potato/main/source/net/ +DISTNAME= netmask_${PORTVERSION} + +MAINTAINER= mike@urgle.com + +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + +WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} +USE_AUTOMAKE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" + +USE_GMAKE= yes + +MAN1= netmask.1 + +.include diff --git a/net-mgmt/netmask/distinfo b/net-mgmt/netmask/distinfo new file mode 100644 index 000000000000..5a8c0e7cf0f8 --- /dev/null +++ b/net-mgmt/netmask/distinfo @@ -0,0 +1 @@ +MD5 (netmask_2.3.3.tar.gz) = feea81712136bd200c3f87ab40b509b8 diff --git a/net-mgmt/netmask/files/patch-aa b/net-mgmt/netmask/files/patch-aa new file mode 100644 index 000000000000..f6142c16da70 --- /dev/null +++ b/net-mgmt/netmask/files/patch-aa @@ -0,0 +1,21 @@ +--- netmask.c.orig Mon Nov 20 00:22:41 2000 ++++ netmask.c Mon Nov 20 00:22:58 2000 +@@ -17,15 +17,15 @@ + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + ++#include ++#include ++#include + #include + #include + #include +-#include + #include + #include + #include +-#include +-#include + #include "errors.h" + + struct addrmask { diff --git a/net-mgmt/netmask/files/patch-ab b/net-mgmt/netmask/files/patch-ab new file mode 100644 index 000000000000..df6d8e0d8b12 --- /dev/null +++ b/net-mgmt/netmask/files/patch-ab @@ -0,0 +1,14 @@ +--- netmask.texi.orig Mon Nov 20 00:39:20 2000 ++++ netmask.texi Mon Nov 20 00:39:33 2000 +@@ -3,6 +3,11 @@ + @setfilename netmask.info + @settitle Generating Optimized Network Masks + @finalout ++@dircategory Miscellaneous ++@direntry ++* netmask: (netmask). Tool for generating terse netmasks. ++@end direntry ++ + @setchapternewpage odd + @c %**end of header + diff --git a/net-mgmt/netmask/pkg-comment b/net-mgmt/netmask/pkg-comment new file mode 100644 index 000000000000..abf8d5a8043c --- /dev/null +++ b/net-mgmt/netmask/pkg-comment @@ -0,0 +1 @@ +Tool for generating terse netmasks in several common formats. diff --git a/net-mgmt/netmask/pkg-descr b/net-mgmt/netmask/pkg-descr new file mode 100644 index 000000000000..8222dcbf0534 --- /dev/null +++ b/net-mgmt/netmask/pkg-descr @@ -0,0 +1,5 @@ +This is a handy tool for generating terse netmasks in several common +formats. If you've ever maintained a firewall with more than a few rules +in it, you might use netmask to clean up and generalize sloppy rules left by +the netadmin before you. It will also convert netmasks from one format +to another for the day you change your firewall software. diff --git a/net-mgmt/netmask/pkg-plist b/net-mgmt/netmask/pkg-plist new file mode 100644 index 000000000000..3fa9b282b0a5 --- /dev/null +++ b/net-mgmt/netmask/pkg-plist @@ -0,0 +1,4 @@ +bin/netmask +@unexec install-info --delete %D/info/netmask.info %D/info/dir +info/netmask.info +@exec install-info %D/info/netmask.info %D/info/dir -- cgit v1.2.3