diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2006-07-29 01:03:09 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2006-07-29 01:03:09 +0800 |
commit | 26be3bb13c6c6fff99fca169166c81a8529d3787 (patch) | |
tree | 9f2ac877feb3546f3a841333c9c3c0afb7ccf712 /net-mgmt/asused | |
parent | a5a6bb6a37842fa31ce620a3ee9e2e3942b03d7a (diff) | |
download | freebsd-ports-gnome-26be3bb13c6c6fff99fca169166c81a8529d3787.tar.gz freebsd-ports-gnome-26be3bb13c6c6fff99fca169166c81a8529d3787.tar.zst freebsd-ports-gnome-26be3bb13c6c6fff99fca169166c81a8529d3787.zip |
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>
Diffstat (limited to 'net-mgmt/asused')
-rw-r--r-- | net-mgmt/asused/Makefile | 41 | ||||
-rw-r--r-- | net-mgmt/asused/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/asused/pkg-descr | 5 | ||||
-rw-r--r-- | net-mgmt/asused/pkg-plist | 22 |
4 files changed, 71 insertions, 0 deletions
diff --git a/net-mgmt/asused/Makefile b/net-mgmt/asused/Makefile new file mode 100644 index 000000000000..fb5fce165b24 --- /dev/null +++ b/net-mgmt/asused/Makefile @@ -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> diff --git a/net-mgmt/asused/distinfo b/net-mgmt/asused/distinfo new file mode 100644 index 000000000000..1e4f6e69be31 --- /dev/null +++ b/net-mgmt/asused/distinfo @@ -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 diff --git a/net-mgmt/asused/pkg-descr b/net-mgmt/asused/pkg-descr new file mode 100644 index 000000000000..a0e884561604 --- /dev/null +++ b/net-mgmt/asused/pkg-descr @@ -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/ diff --git a/net-mgmt/asused/pkg-plist b/net-mgmt/asused/pkg-plist new file mode 100644 index 000000000000..1f2f42043ffc --- /dev/null +++ b/net-mgmt/asused/pkg-plist @@ -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 |