denis a262672a06 asdig is a simple tool for retrieving ASN (autonomous system number)
match from IPv4/IPv6 published by services like Rezopole GoASMap or
Cymru.

For a given IPv4 or IPv6 it would display current BGP anouncements
received at the BGP-infrastructure of the queried IP-to-AS reference
server, or Internet Exchange Point (IXP) subnets from PeeringDB, or
reserved subnets from Internet Assigned Numbers Authority (IANA).  For a
given AS number it would display a digest of the registered informations
from Regional Internet Registries (RIR).

https://github.com/Rezopole/asdig

Thanks to kn@ and sthen@ for their input & help.

OK kn@
2020-05-18 11:00:41 +00:00

32 lines
627 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2020/05/18 11:00:41 denis Exp $
COMMENT = retrieve routing informations efficiently via dns queries
GH_ACCOUNT = rezopole
GH_PROJECT = asdig
GH_TAGNAME = v0.97
CATEGORIES = net
MAINTAINER = Denis Fondras <denis@openbsd.org>
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} c lib/libbind/bind m
LIB_DEPENDS = net/libbind
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = autoreconf
CONFIGURE_ARGS = prefix=${PREFIX} \
mandir=${PREFIX}/man
AUTOCONF_VERSION = 2.69
AUTOMAKE_VERSION = 1.16
# network access
TEST_IS_INTERACTIVE = Yes
TEST_TARGET = vimtest
.include <bsd.port.mk>