From owner-freebsd-ports Tue Nov 21 7:20:12 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A942D37B4CF for ; Tue, 21 Nov 2000 07:20:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA29799; Tue, 21 Nov 2000 07:20:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from lindt.urgle.com (lindt.urgle.com [195.173.172.169]) by hub.freebsd.org (Postfix) with ESMTP id 0EAC637B4C5 for ; Tue, 21 Nov 2000 07:15:54 -0800 (PST) Received: from mike by lindt.urgle.com with local (Exim 3.03 #1) id 13yF9E-000LYN-00 for FreeBSD-gnats-submit@freebsd.org; Tue, 21 Nov 2000 15:15:52 +0000 Message-Id: Date: Tue, 21 Nov 2000 15:15:52 +0000 From: mike@urgle.com Reply-To: mike@urgle.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/23005: New port - netmask-2.3.3 - Tool for generating terse netmasks. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23005 >Category: ports >Synopsis: New port - netmask-2.3.3 - Tool for generating terse netmasks. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 21 07:20:04 PST 2000 >Closed-Date: >Last-Modified: >Originator: Mike Bristow >Release: FreeBSD {3.3-STABLE-19991109, 4.2-BETA-20001108T111811, 5.0-CURRENT-20001118T124935} i386 >Organization: >Environment: >Description: 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. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # net/netmask/ # net/netmask/Makefile # net/netmask/pkg-comment # net/netmask/pkg-descr # net/netmask/distinfo # net/netmask/files # net/netmask/files/patch-aa # net/netmask/files/patch-ab # net/netmask/pkg-plist # echo c - net/netmask/ mkdir -p net/netmask/ > /dev/null 2>&1 echo x - net/netmask/Makefile sed 's/^X//' >net/netmask/Makefile << 'END-of-net/netmask/Makefile' X# New ports collection makefile for: netmask X# Date created: 19 Novemver 2000 X# Whom: Mike Bristow X# $FreeBSD$ X XPORTNAME= netmask XPORTVERSION= 2.3.3 XCATEGORIES= net XMASTER_SITES= http://ftp.debian.org/debian/dists/potato/main/source/net/ XDISTNAME= netmask_2.3.3 X XMAINTAINER= Mike Bristow X XLIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} XUSE_AUTOMAKE= yes XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" X XUSE_GMAKE= yes X XMAN1= netmask.1 X X.include END-of-net/netmask/Makefile echo x - net/netmask/pkg-comment sed 's/^X//' >net/netmask/pkg-comment << 'END-of-net/netmask/pkg-comment' XTool for generating terse netmasks in several common formats. END-of-net/netmask/pkg-comment echo x - net/netmask/pkg-descr sed 's/^X//' >net/netmask/pkg-descr << 'END-of-net/netmask/pkg-descr' XThis is a handy tool for generating terse netmasks in several common Xformats. If you've ever maintained a firewall with more than a few rules Xin it, you might use netmask to clean up and generalize sloppy rules left by Xthe netadmin before you. It will also convert netmasks from one format Xto another for the day you change your firewall software. END-of-net/netmask/pkg-descr echo x - net/netmask/distinfo sed 's/^X//' >net/netmask/distinfo << 'END-of-net/netmask/distinfo' XMD5 (netmask_2.3.3.tar.gz) = feea81712136bd200c3f87ab40b509b8 END-of-net/netmask/distinfo echo c - net/netmask/files mkdir -p net/netmask/files > /dev/null 2>&1 echo x - net/netmask/files/patch-aa sed 's/^X//' >net/netmask/files/patch-aa << 'END-of-net/netmask/files/patch-aa' X--- netmask.c.orig Mon Nov 20 00:22:41 2000 X+++ netmask.c Mon Nov 20 00:22:58 2000 X@@ -17,15 +17,15 @@ X along with this program; if not, write to the Free Software X Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ X X+#include X+#include X+#include X #include X #include X #include X-#include X #include X #include X #include X-#include X-#include X #include "errors.h" X X struct addrmask { END-of-net/netmask/files/patch-aa echo x - net/netmask/files/patch-ab sed 's/^X//' >net/netmask/files/patch-ab << 'END-of-net/netmask/files/patch-ab' X--- netmask.texi.orig Mon Nov 20 00:39:20 2000 X+++ netmask.texi Mon Nov 20 00:39:33 2000 X@@ -3,6 +3,11 @@ X @setfilename netmask.info X @settitle Generating Optimized Network Masks X @finalout X+@dircategory Miscellaneous X+@direntry X+* netmask: (netmask). Tool for generating terse netmasks. X+@end direntry X+ X @setchapternewpage odd X @c %**end of header X END-of-net/netmask/files/patch-ab echo x - net/netmask/pkg-plist sed 's/^X//' >net/netmask/pkg-plist << 'END-of-net/netmask/pkg-plist' Xbin/netmask X@unexec install-info --delete %D/info/netmask.info %D/info/dir Xinfo/netmask.info X@exec install-info %D/info/netmask.info %D/info/dir END-of-net/netmask/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message