mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Add asused, a command-line tool to run a check on the usage
of the RIPE Whois DB. PR: 100707 Submitted by: Babak Farrokhi <babak at farrokhi.net>
This commit is contained in:
parent
3b690d6f57
commit
08021bd518
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168971
@ -21,6 +21,7 @@
|
||||
SUBDIR += arpwatch-devel
|
||||
SUBDIR += arts++
|
||||
SUBDIR += aspathtree
|
||||
SUBDIR += asused
|
||||
SUBDIR += bandwidthd
|
||||
SUBDIR += bgpq
|
||||
SUBDIR += bigsister
|
||||
|
41
net-mgmt/asused/Makefile
Normal file
41
net-mgmt/asused/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# New ports collection makefile for: asused
|
||||
# Date created: 2006-07-19
|
||||
# Whom: Babak Farrokhi <babak@farrokhi.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= asused
|
||||
PORTVERSION= 3.72
|
||||
CATEGORIES= net-mgmt perl5
|
||||
MASTER_SITES= ftp://ftp.ripe.net/tools/ \
|
||||
http://ftp.belnet.be/pub/mirror/ftp.ripe.net/ripe/tools/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}_whois_new_query_fix
|
||||
|
||||
MAINTAINER= babak@farrokhi.net
|
||||
COMMENT= Command-line tool to run a check on the usage of the RIPE Whois DB
|
||||
|
||||
USE_PERL5= yes
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN1= asused.1
|
||||
MAN3= ArinWhois.3 NCC::CountryCode.3 NCC::RipeDelegations.3 \
|
||||
Net::RIPEWhois::in.3 Reg::Asused.3 RipeWhois.3 Whois.3 asused.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|asused\.conf|${PREFIX}/etc/asused\.conf|g' \
|
||||
${WRKSRC}/asused.PL
|
||||
|
||||
post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/asused.conf ${PREFIX}/etc/asused.conf.dist
|
||||
.if !exists(${PREFIX}/etc/asused.conf)
|
||||
@${INSTALL_DATA} ${WRKSRC}/asused.conf ${PREFIX}/etc/asused.conf
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
net-mgmt/asused/distinfo
Normal file
3
net-mgmt/asused/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (asused-3.72_whois_new_query_fix.tar.gz) = 133dba98ecc836897c8a53846d9d2463
|
||||
SHA256 (asused-3.72_whois_new_query_fix.tar.gz) = 2407a12ba44a75abed0fad335a85b92de4bebcd5c48dedac81926357843c7375
|
||||
SIZE (asused-3.72_whois_new_query_fix.tar.gz) = 104421
|
5
net-mgmt/asused/pkg-descr
Normal file
5
net-mgmt/asused/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
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.
|
||||
|
||||
WWW: http://www.ripe.net/tools/
|
22
net-mgmt/asused/pkg-plist
Normal file
22
net-mgmt/asused/pkg-plist
Normal file
@ -0,0 +1,22 @@
|
||||
bin/asused
|
||||
bin/cwhois
|
||||
@unexec if cmp -s %D/etc/asused.conf %D/etc/asused.conf.dist; then rm -f %D/etc/asused.conf; fi
|
||||
etc/asused.conf.dist
|
||||
@exec [ -f %B/asused.conf ] || cp %B/%f %B/asused.conf
|
||||
%%SITE_PERL%%/ArinWhois.pm
|
||||
%%SITE_PERL%%/NCC/CountryCode.pm
|
||||
%%SITE_PERL%%/NCC/RipeDelegations.pm
|
||||
%%SITE_PERL%%/Net/RIPEWhois/in.pm
|
||||
%%SITE_PERL%%/Reg/Asused.pm
|
||||
%%SITE_PERL%%/RipeWhois.pm
|
||||
%%SITE_PERL%%/RipeWhois/FormatMode.pm
|
||||
%%SITE_PERL%%/Whois.pm
|
||||
%%SITE_PERL%%/asused.pod
|
||||
%%SITE_PERL%%/ipv4pack.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/asused/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/asused
|
||||
@dirrm %%SITE_PERL%%/RipeWhois
|
||||
@dirrm %%SITE_PERL%%/Reg
|
||||
@dirrm %%SITE_PERL%%/Net/RIPEWhois
|
||||
@dirrmtry %%SITE_PERL%%/Net
|
||||
@dirrm %%SITE_PERL%%/NCC
|
Loading…
Reference in New Issue
Block a user