From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 25 04:30:19 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9654816A4CF for ; Mon, 25 Apr 2005 04:30:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BADC43D5A for ; Mon, 25 Apr 2005 04:30:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3P4UJjc083960 for ; Mon, 25 Apr 2005 04:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3P4UJGd083959; Mon, 25 Apr 2005 04:30:19 GMT (envelope-from gnats) Resent-Date: Mon, 25 Apr 2005 04:30:19 GMT Resent-Message-Id: <200504250430.j3P4UJGd083959@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Douglas Fraser Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5490416A4CE for ; Mon, 25 Apr 2005 04:26:47 +0000 (GMT) Received: from shadow.idmf.net (shadow.idmf.net [217.147.83.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3812A43D53 for ; Mon, 25 Apr 2005 04:26:46 +0000 (GMT) (envelope-from doug+ports@idmf.net) Received: from shadow-idmf-net--halo.idmf.net ([172.24.9.46] helo=halo.idmf.net) by shadow.idmf.net with esmtp (Exim; FreeBSD) id 1DPvAu-000JzW-6J for FreeBSD-gnats-submit@freebsd.org; Mon, 25 Apr 2005 05:26:29 +0100 Received: from [192.168.10.1] (helo=mail.idmf.net) by halo.idmf.net with esmtp (Exim; FreeBSD) id 1DPvB8-000FSR-9d for FreeBSD-gnats-submit@freebsd.org; Mon, 25 Apr 2005 05:26:39 +0100 Received: from bsd.enigma.intranet ([192.168.10.21]) by mail.idmf.net with Microsoft SMTPSVC(5.0.2195.5329); Mon, 25 Apr 2005 05:26:35 +0100 Message-Id: <20050425051635.V15390-100000@bsd.enigma.intranet> Date: Mon, 25 Apr 2005 05:25:53 +0100 (BST) From: Douglas Fraser To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80315: [NEW PORT] net-mgmt/grepcidr: Filter IP addresses matching IPv4 CIDR/network specification X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 04:30:19 -0000 >Number: 80315 >Category: ports >Synopsis: [NEW PORT] net-mgmt/grepcidr: Filter IP addresses matching IPv4 CIDR/network specification >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 25 04:30:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Douglas Fraser >Release: FreeBSD 5.3-RELEASE-p5 i386 >Organization: IDMF Networks >Environment: System: FreeBSD shadow.idmf.net 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Tue Jan 18 19:22:54 GMT 2005 >Description: grepcidr can be used to filter a list of IP addresses against one or more Classless Inter-Domain Routing (CIDR) specifications, or arbitrary networks specified by an address range. As with grep, there are options to invert matching and load patterns from a file. grepcidr is capable of comparing thousands or even millions of IPs to networks with little memory usage and in reasonable computation time. grepcidr has endless uses in network software, including: mail filtering and processing, network security, log analysis, and many custom applications. Author: Jem Berkes WWW: http://www.pc-tools.net/unix/grepcidr/ Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- grepcidr-1.3.shar begins here --- # 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: # # grepcidr # grepcidr/pkg-descr # grepcidr/Makefile # grepcidr/distinfo # echo c - grepcidr mkdir -p grepcidr > /dev/null 2>&1 echo x - grepcidr/pkg-descr sed 's/^X//' >grepcidr/pkg-descr << 'END-of-grepcidr/pkg-descr' Xgrepcidr can be used to filter a list of IP addresses against one Xor more Classless Inter-Domain Routing (CIDR) specifications, or Xarbitrary networks specified by an address range. As with grep, Xthere are options to invert matching and load patterns from a file. Xgrepcidr is capable of comparing thousands or even millions of IPs Xto networks with little memory usage and in reasonable computation Xtime. X Xgrepcidr has endless uses in network software, including: mail Xfiltering and processing, network security, log analysis, and many Xcustom applications. X X XAuthor: Jem Berkes XWWW: http://www.pc-tools.net/unix/grepcidr/ END-of-grepcidr/pkg-descr echo x - grepcidr/Makefile sed 's/^X//' >grepcidr/Makefile << 'END-of-grepcidr/Makefile' X# New ports collection makefile for: grepcidr X# Date created: 2005-04-24 X# Whom: Douglas Fraser X# X# $FreeBSD$ X# X XPORTNAME= grepcidr XPORTVERSION= 1.3 XCATEGORIES= net-mgmt textproc XMASTER_SITES= http://www.pc-tools.net/files/unix/ X XMAINTAINER= doug+ports@idmf.net XCOMMENT= Filter IP addresses matching IPv4 CIDR/network specification X XPLIST_FILES= bin/grepcidr X XUSE_REINPLACE= yes X Xdo-configure: X @${REINPLACE_CMD} \ X -e 's|/usr/local/bin|${PREFIX}/bin|' \ X -e 's|-s -O3 -Wall -pedantic|${CFLAGS}|' \ X -e 's|gcc|${CC}|' \ X ${WRKSRC}/Makefile X X.include END-of-grepcidr/Makefile echo x - grepcidr/distinfo sed 's/^X//' >grepcidr/distinfo << 'END-of-grepcidr/distinfo' XMD5 (grepcidr-1.3.tar.gz) = 7ccade25ce9fe6d6a02348ba8e4cf4a3 XSIZE (grepcidr-1.3.tar.gz) = 21691 END-of-grepcidr/distinfo exit --- grepcidr-1.3.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: