ports/80315: [NEW PORT] net-mgmt/grepcidr: Filter IP addresses matching IPv4 CIDR/network specification
Douglas Fraser
doug+ports at idmf.net
Mon Apr 25 04:30:19 UTC 2005
>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 <doug+ports at idmf.net>
>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 <doug at idmf.net>
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 at 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 <bsd.port.mk>
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:
More information about the freebsd-ports-bugs
mailing list