From dd58cad0f1bde8e6bd3faef589fbb83a54bb3c44 Mon Sep 17 00:00:00 2001 From: hubertf Date: Sun, 21 Apr 2002 21:06:54 +0000 Subject: Update ipv6calc to 0.40. Changes: * most code reviewed with help of splint * introduce new option handling (in/out/action) - old options are still supported, no plans to remove this support in next releases * some automagically handling relating to - input - output - action if not extra specified * add more conversions, also add more support of IPv4 addresses * the address information option (-i) now shows also - IPv4 registries (by using included current IPv4 CIDR table) - IPv6 registries - OUI (vendor) of NIC, if EUI-48/64 is a global one * an example CGI frontend called "ipv6calcweb.cgi" to display information about a REMOTE_ADDR on a webpage - See e.g. http://ipv6.aerasec.de/index2.html for what can be displayed - Currently supported languages: en, de --- net/ipv6calc/Makefile | 14 ++++++-------- net/ipv6calc/PLIST | 3 ++- net/ipv6calc/distinfo | 7 ++++--- net/ipv6calc/patches/patch-aa | 19 +++++++++++++++++++ 4 files changed, 31 insertions(+), 12 deletions(-) create mode 100644 net/ipv6calc/patches/patch-aa (limited to 'net/ipv6calc') diff --git a/net/ipv6calc/Makefile b/net/ipv6calc/Makefile index 2259890eb91..75bdd2767c1 100644 --- a/net/ipv6calc/Makefile +++ b/net/ipv6calc/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2002/03/03 04:09:35 hubertf Exp $ +# $NetBSD: Makefile,v 1.9 2002/04/21 21:06:54 hubertf Exp $ # -DISTNAME= ipv6calc-0.39 +DISTNAME= ipv6calc-0.40 CATEGORIES= net MASTER_SITES= ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/ @@ -9,15 +9,13 @@ MAINTAINER= hubertf@netbsd.org HOMEPAGE= http://www.bieringer.de/linux/IPv6/tools/index.html#ipv6calc COMMENT= Manipulates IPv6 adresses -USE_GMAKE= yes -ALL_TARGET= ipv6calc # This package does not set or evaluate USE_INET6, but it should still # be listed in README-IPv6.html. Leave this comment here to make it so! -MAKE_ENV+= CC="${CC} -D_NETINET_IN_H" - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ipv6calc ${PREFIX}/bin +GNU_CONFIGURE= yes +USE_GMAKE= yes +MAKE_ENV+= root=${PREFIX} +INSTALL_TARGET= installonly .include "../../mk/bsd.pkg.mk" diff --git a/net/ipv6calc/PLIST b/net/ipv6calc/PLIST index 379cfb58381..132bc15d668 100644 --- a/net/ipv6calc/PLIST +++ b/net/ipv6calc/PLIST @@ -1,2 +1,3 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:55:44 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/04/21 21:06:54 hubertf Exp $ bin/ipv6calc +bin/ipv6logconv diff --git a/net/ipv6calc/distinfo b/net/ipv6calc/distinfo index 050d7df0782..d0b14c3397f 100644 --- a/net/ipv6calc/distinfo +++ b/net/ipv6calc/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.4 2002/03/03 04:09:35 hubertf Exp $ +$NetBSD: distinfo,v 1.5 2002/04/21 21:06:55 hubertf Exp $ -SHA1 (ipv6calc-0.39.tar.gz) = f32d9d5d6ded7b69aaa11b1ace74b3f1df3a399b -Size (ipv6calc-0.39.tar.gz) = 102718 bytes +SHA1 (ipv6calc-0.40.tar.gz) = 0b8821383d0f2e54326bba8bc5d59a5eefebe279 +Size (ipv6calc-0.40.tar.gz) = 235893 bytes +SHA1 (patch-aa) = 6a261b549088dc737704efc69f1742a8613f0892 diff --git a/net/ipv6calc/patches/patch-aa b/net/ipv6calc/patches/patch-aa new file mode 100644 index 00000000000..380b71023b7 --- /dev/null +++ b/net/ipv6calc/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.3 2002/04/21 21:06:55 hubertf Exp $ + +--- Makefile.in.orig Sun Apr 21 22:49:50 2002 ++++ Makefile.in +@@ -53,10 +53,10 @@ + make installonly + + installonly: +- mkdir -p $(root)/bin/ +- install -m 755 -o root -g root ipv6calc/ipv6calc $(root)/bin/ +- mkdir -p $(root)/usr/bin/ +- install -m 755 -o root -g root ipv6logconv/ipv6logconv $(root)/usr/bin/ ++ mkdir -p $(root)/bin ++ ${BSD_INSTALL_PROGRAM} ipv6calc/ipv6calc $(root)/bin ++ mkdir -p $(root)/bin ++ ${BSD_INSTALL_PROGRAM} ipv6logconv/ipv6logconv $(root)/bin + + getopt-make: + cd getopt/ && make -- cgit v1.2.3