Add ip6_int-1.0, convert an IPv4/IPv6 address to an in-addr.arpa/ip6.int PTR

value

PR:		32178
Submitted by:	Jean-Yves Lefort <jylefort@twist.frontis.net>
This commit is contained in:
Pete Fritchman 2001-11-25 09:09:33 +00:00
parent d9634a5ac8
commit f072ef3d87
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50519
6 changed files with 43 additions and 0 deletions

View File

@ -161,6 +161,7 @@
SUBDIR += icqnix
SUBDIR += icukrell
SUBDIR += ip-tun
SUBDIR += ip6_int
SUBDIR += ipcad
SUBDIR += ipcalc
SUBDIR += ipcheck

31
net/ip6_int/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: ip6_int
# Date created: 22 November 2001
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#
PORTNAME= ip6_int
PORTVERSION= 1.0
CATEGORIES= net ipv6
MASTER_SITES= http://www.bieringer.de/linux/IPv6/tools/
DISTNAME= ip6_int
EXTRACT_SUFX= # empty
EXTRACT_ONLY= # empty
MAINTAINER= jylefort@brutele.be
NO_BUILD= yes
USE_PERL5= yes
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
post-patch:
@${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/ip6_int
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ip6_int ${PREFIX}/bin
.include <bsd.port.mk>

1
net/ip6_int/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ip6_int) = dfa6aa3f4a85051510c682dbe9b20a79

1
net/ip6_int/pkg-comment Normal file
View File

@ -0,0 +1 @@
Convert an IPv4/IPv6 address to an in-addr.arpa/ip6.int PTR value

8
net/ip6_int/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
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.
- Jean-Yves Lefort
jylefort@brutele.be

1
net/ip6_int/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/ip6_int