diff options
author | zuntum <zuntum> | 2001-11-25 18:47:02 +0000 |
---|---|---|
committer | zuntum <zuntum> | 2001-11-25 18:47:02 +0000 |
commit | 7493202d20d32c4e068ac978fee55f6962aa47ed (patch) | |
tree | 37eb4f48d10285eeba379aee8199675e15de5cec | |
parent | fb6b7cddedef9ba5d921df7e11f3242c394c8e05 (diff) | |
download | pkgsrc-7493202d20d32c4e068ac978fee55f6962aa47ed.tar.gz |
Initial import of ip6_int
Convert valid IPv6 addresses to ip6.int PTR values. Convert valid
IPv4 addresses to in-addr.arpa PTR values. Anything not valid is
simply printed as is. Handles :: notation and embedded IPv4
addresses. If the address is followed by /n, the PTR is truncated
to n bits.
-rw-r--r-- | net/ip6_int/DESCR | 5 | ||||
-rw-r--r-- | net/ip6_int/Makefile | 23 | ||||
-rw-r--r-- | net/ip6_int/PLIST | 2 | ||||
-rw-r--r-- | net/ip6_int/distinfo | 4 |
4 files changed, 34 insertions, 0 deletions
diff --git a/net/ip6_int/DESCR b/net/ip6_int/DESCR new file mode 100644 index 00000000000..b3964c31017 --- /dev/null +++ b/net/ip6_int/DESCR @@ -0,0 +1,5 @@ +Convert valid IPv6 addresses to ip6.int PTR values. Convert valid +IPv4 addresses to in-addr.arpa PTR values. Anything not valid is +simply printed as is. Handles :: notation and embedded IPv4 +addresses. If the address is followed by /n, the PTR is truncated +to n bits. diff --git a/net/ip6_int/Makefile b/net/ip6_int/Makefile new file mode 100644 index 00000000000..ce2f13ae131 --- /dev/null +++ b/net/ip6_int/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/11/25 18:47:02 zuntum Exp $ +# + +DISTNAME= ip6_int +PKGNAME= ${DISTNAME}-1.0 +CATEGORIES= net +MASTER_SITES= http://www.bieringer.de/linux/IPv6/tools/ +EXTRACT_SUFX= # + +MAINTAINER= packages@netbsd.org +COMMENT= Convert an IPv4/IPv6 address to an in-addr.arpa/ip6.int PTR value + +EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC} +WRKSRC= ${WRKDIR} + +USE_PERL5= yes +REPLACE_PERL= ${WRKSRC}/ip6_int +NO_BUILD= yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/ip6_int ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/net/ip6_int/PLIST b/net/ip6_int/PLIST new file mode 100644 index 00000000000..f24b1ee2d1d --- /dev/null +++ b/net/ip6_int/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/25 18:47:02 zuntum Exp $ +bin/ip6_int diff --git a/net/ip6_int/distinfo b/net/ip6_int/distinfo new file mode 100644 index 00000000000..90bd90ba9f1 --- /dev/null +++ b/net/ip6_int/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/11/25 18:47:02 zuntum Exp $ + +SHA1 (ip6_int) = 9070b04f6059785dd6550c18f334ed687949d359 +Size (ip6_int) = 3479 bytes |