ports/100707: [new port] net-mgmt/asused - A tool to summarize address space used from RIPE DB
Babak Farrokhi
babak at farrokhi.net
Sat Jul 22 07:40:17 UTC 2006
>Number: 100707
>Category: ports
>Synopsis: [new port] net-mgmt/asused - A tool to summarize address space used from RIPE DB
>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: Sat Jul 22 07:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Babak Farrokhi
>Release: FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD 6.1-STABLE #2: Tue Jul 11 14:37:46 IRST 2006
root at starfish.datak.net:/usr/obj/usr/src/sys/SMP
>Description:
Asused is a tool to check and summarise address space
registered in the RIPE database. For a given list of
allocations the tool prints various information concerning
the allocations and the assignments they contain.
>How-To-Repeat:
>Fix:
--- asused.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:
#
# asused
# asused/pkg-descr
# asused/Makefile
# asused/pkg-plist
# asused/distinfo
# asused/files
# asused/files/pkg-message.in
#
echo c - asused
mkdir -p asused > /dev/null 2>&1
echo x - asused/pkg-descr
sed 's/^X//' >asused/pkg-descr << 'END-of-asused/pkg-descr'
XAsused is a tool to check and summarise address space
Xregistered in the RIPE database. For a given list of
Xallocations the tool prints various information concerning
Xthe allocations and the assignments they contain.
X
XWWW: http://www.ripe.net/tools/
X
X-- Babak Farrokhi
Xbabak at farrokhi.net
END-of-asused/pkg-descr
echo x - asused/Makefile
sed 's/^X//' >asused/Makefile << 'END-of-asused/Makefile'
X# New ports collection makefile for: asused
X# Date created: 2006-07-19
X# Whom: Babak Farrokhi <babak at farrokhi.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= asused
XPORTVERSION= 3.72
XCATEGORIES= net-mgmt
XMASTER_SITES= ftp://ftp.ripe.net/tools/ \
X http://ftp.belnet.be/pub/mirror/ftp.ripe.net/ripe/tools/
XDISTNAME= ${PORTNAME}-${PORTVERSION}_whois_new_query_fix
X
XMAINTAINER= babak at farrokhi.net
XCOMMENT= Summarize address space used from RIPE DB
X
XSUB_FILES= pkg-message
XSUB_LIST= PREFIX=${PREFIX}
X
XPERL_CONFIGURE= YES
XCONFIGURE_ARGS= PREFIX=${PREFIX} CC="${CC}" CCFLAGS="${CFLAGS}"
X
XMAN1= asused.1
XMAN3= ArinWhois.3 \
X NCC::CountryCode.3 \
X NCC::RipeDelegations.3 \
X Net::RIPEWhois::in.3 \
X Reg::Asused.3 \
X RipeWhois.3 \
X Whois.3 \
X asused.3
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|asused\.conf|${PREFIX}/etc/asused\.conf|g' ${WRKSRC}/asused.PL
X
Xpost-install:
X @${INSTALL_DATA} ${WRKSRC}/asused.conf ${PREFIX}/etc/asused.conf-dist
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-asused/Makefile
echo x - asused/pkg-plist
sed 's/^X//' >asused/pkg-plist << 'END-of-asused/pkg-plist'
Xbin/asused
Xbin/cwhois
Xetc/asused.conf-dist
X%%SITE_PERL%%/ArinWhois.pm
X%%SITE_PERL%%/NCC/CountryCode.pm
X%%SITE_PERL%%/NCC/RipeDelegations.pm
X%%SITE_PERL%%/Net/RIPEWhois/in.pm
X%%SITE_PERL%%/Reg/Asused.pm
X%%SITE_PERL%%/RipeWhois.pm
X%%SITE_PERL%%/RipeWhois/FormatMode.pm
X%%SITE_PERL%%/Whois.pm
X%%SITE_PERL%%/asused.pod
X%%SITE_PERL%%/ipv4pack.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/asused/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/asused
X at dirrm %%SITE_PERL%%/RipeWhois
X at dirrm %%SITE_PERL%%/Reg
X at dirrm %%SITE_PERL%%/Net/RIPEWhois
X at dirrmtry %%SITE_PERL%%/Net
X at dirrm %%SITE_PERL%%/NCC
END-of-asused/pkg-plist
echo x - asused/distinfo
sed 's/^X//' >asused/distinfo << 'END-of-asused/distinfo'
XMD5 (asused-3.72_whois_new_query_fix.tar.gz) = 133dba98ecc836897c8a53846d9d2463
XSHA256 (asused-3.72_whois_new_query_fix.tar.gz) = 2407a12ba44a75abed0fad335a85b92de4bebcd5c48dedac81926357843c7375
XSIZE (asused-3.72_whois_new_query_fix.tar.gz) = 104421
END-of-asused/distinfo
echo c - asused/files
mkdir -p asused/files > /dev/null 2>&1
echo x - asused/files/pkg-message.in
sed 's/^X//' >asused/files/pkg-message.in << 'END-of-asused/files/pkg-message.in'
X
X------------------------------------------------------------
X
XPlease copy "%%PREFIX%%/etc/asused.conf-dist" to "asused.conf"
Xand update it with your LIR information.
X
X------------------------------------------------------------
X
END-of-asused/files/pkg-message.in
exit
--- asused.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list