pkgsrc/net/ipv6calc/Makefile

22 lines
618 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2003/10/14 23:46:46 hubertf Exp $
Add ipv6calc-0.10: ipv6calc is a small utility in C to manipulate IPv6 addresses. The intentions were to convert a given IPv6 address into compressed format, convert a given IPv6 address into the same format like shown in Linux' /proc/net/if_inet6 and (because it was not difficulty) migrate ip6_int into. Now only one utiltity is needed to do a lot (perhaps the features grow on demand in the future). This utility will be used in the future to extend features on network-functions-ipv6. Examples: ipv6calc --addr2ip6_int ipv6addr[/prefixlength] Converts given IPv6 address to a dot separated reverse nibble format for use with DNS e.g. 3ffe:400:100:f101::1 -> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.f.0.0.1.0.0.0.4.0.e.f.f.3.ip6.int e.g. 3ffe:400:100:f101::1/64 -> 1.0.1.f.0.0.1.0.0.0.4.0.e.f.f.3.ip6.int ipv6calc --addr2compaddr ipv6addr[/prefixlength] Converts given IPv6 address to a compressed one e.g. 3ffe:0400:0100:f101:0000:0000:0000:0001 -> 3ffe:400:100:f101::1 ipv6calc --addr2uncompaddr ipv6addr[/prefixlength] Converts given IPv6 address to an uncompressed one e.g. 3ffe:400:100:f101::1 -> 3ffe:400:100:f101:0:0:0:1 ipv6calc --addr2fulluncompaddr ipv6addr[/prefixlength] Converts given IPv6 address to a full uncompressed one e.g. 3ffe:400:100:f101::1 -> 3ffe:0400:0100:f101:0000:0000:0000:0001 ipv6calc --addr2if_inet6 ipv6addr[/prefixlength] Converts given IPv6 address to similar format shown in /proc/net/if_inet6: addr scope [prefixlength] e.g. 3ffe:400:100:f101::1 -> 3ffe04000100f1010000000000000001 00 e.g. 3ffe:400:100:f101::1/64 -> 3ffe04000100f1010000000000000001 00 40 ipv6calc --if_inet62addr 32hexcharsIPv6addr [2hexcharsPrefixlength] Converts given if_inet6 formatted IPv6 address to normal one e.g. 3ffe04000100f1010000000000000001 -> 3ffe:400:100::1 e.g. 3ffe04000100f1010000000000000001 40 -> 3ffe:400:100::1/64
2001-03-04 16:59:22 +01:00
DISTNAME= ipv6calc-0.46
Add ipv6calc-0.10: ipv6calc is a small utility in C to manipulate IPv6 addresses. The intentions were to convert a given IPv6 address into compressed format, convert a given IPv6 address into the same format like shown in Linux' /proc/net/if_inet6 and (because it was not difficulty) migrate ip6_int into. Now only one utiltity is needed to do a lot (perhaps the features grow on demand in the future). This utility will be used in the future to extend features on network-functions-ipv6. Examples: ipv6calc --addr2ip6_int ipv6addr[/prefixlength] Converts given IPv6 address to a dot separated reverse nibble format for use with DNS e.g. 3ffe:400:100:f101::1 -> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.f.0.0.1.0.0.0.4.0.e.f.f.3.ip6.int e.g. 3ffe:400:100:f101::1/64 -> 1.0.1.f.0.0.1.0.0.0.4.0.e.f.f.3.ip6.int ipv6calc --addr2compaddr ipv6addr[/prefixlength] Converts given IPv6 address to a compressed one e.g. 3ffe:0400:0100:f101:0000:0000:0000:0001 -> 3ffe:400:100:f101::1 ipv6calc --addr2uncompaddr ipv6addr[/prefixlength] Converts given IPv6 address to an uncompressed one e.g. 3ffe:400:100:f101::1 -> 3ffe:400:100:f101:0:0:0:1 ipv6calc --addr2fulluncompaddr ipv6addr[/prefixlength] Converts given IPv6 address to a full uncompressed one e.g. 3ffe:400:100:f101::1 -> 3ffe:0400:0100:f101:0000:0000:0000:0001 ipv6calc --addr2if_inet6 ipv6addr[/prefixlength] Converts given IPv6 address to similar format shown in /proc/net/if_inet6: addr scope [prefixlength] e.g. 3ffe:400:100:f101::1 -> 3ffe04000100f1010000000000000001 00 e.g. 3ffe:400:100:f101::1/64 -> 3ffe04000100f1010000000000000001 00 40 ipv6calc --if_inet62addr 32hexcharsIPv6addr [2hexcharsPrefixlength] Converts given if_inet6 formatted IPv6 address to normal one e.g. 3ffe04000100f1010000000000000001 -> 3ffe:400:100::1 e.g. 3ffe04000100f1010000000000000001 40 -> 3ffe:400:100::1/64
2001-03-04 16:59:22 +01:00
CATEGORIES= net
MASTER_SITES= ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/
2003-07-18 00:50:55 +02:00
MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://www.bieringer.de/linux/IPv6/ipv6calc/
Add ipv6calc-0.10: ipv6calc is a small utility in C to manipulate IPv6 addresses. The intentions were to convert a given IPv6 address into compressed format, convert a given IPv6 address into the same format like shown in Linux' /proc/net/if_inet6 and (because it was not difficulty) migrate ip6_int into. Now only one utiltity is needed to do a lot (perhaps the features grow on demand in the future). This utility will be used in the future to extend features on network-functions-ipv6. Examples: ipv6calc --addr2ip6_int ipv6addr[/prefixlength] Converts given IPv6 address to a dot separated reverse nibble format for use with DNS e.g. 3ffe:400:100:f101::1 -> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.f.0.0.1.0.0.0.4.0.e.f.f.3.ip6.int e.g. 3ffe:400:100:f101::1/64 -> 1.0.1.f.0.0.1.0.0.0.4.0.e.f.f.3.ip6.int ipv6calc --addr2compaddr ipv6addr[/prefixlength] Converts given IPv6 address to a compressed one e.g. 3ffe:0400:0100:f101:0000:0000:0000:0001 -> 3ffe:400:100:f101::1 ipv6calc --addr2uncompaddr ipv6addr[/prefixlength] Converts given IPv6 address to an uncompressed one e.g. 3ffe:400:100:f101::1 -> 3ffe:400:100:f101:0:0:0:1 ipv6calc --addr2fulluncompaddr ipv6addr[/prefixlength] Converts given IPv6 address to a full uncompressed one e.g. 3ffe:400:100:f101::1 -> 3ffe:0400:0100:f101:0000:0000:0000:0001 ipv6calc --addr2if_inet6 ipv6addr[/prefixlength] Converts given IPv6 address to similar format shown in /proc/net/if_inet6: addr scope [prefixlength] e.g. 3ffe:400:100:f101::1 -> 3ffe04000100f1010000000000000001 00 e.g. 3ffe:400:100:f101::1/64 -> 3ffe04000100f1010000000000000001 00 40 ipv6calc --if_inet62addr 32hexcharsIPv6addr [2hexcharsPrefixlength] Converts given if_inet6 formatted IPv6 address to normal one e.g. 3ffe04000100f1010000000000000001 -> 3ffe:400:100::1 e.g. 3ffe04000100f1010000000000000001 40 -> 3ffe:400:100::1/64
2001-03-04 16:59:22 +01:00
COMMENT= Manipulates IPv6 adresses
# 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!
GNU_CONFIGURE= yes
USE_BUILDLINK= yes
USE_GMAKE= yes
MAKE_ENV+= root=${PREFIX}
INSTALL_TARGET= installonly
Add ipv6calc-0.10: ipv6calc is a small utility in C to manipulate IPv6 addresses. The intentions were to convert a given IPv6 address into compressed format, convert a given IPv6 address into the same format like shown in Linux' /proc/net/if_inet6 and (because it was not difficulty) migrate ip6_int into. Now only one utiltity is needed to do a lot (perhaps the features grow on demand in the future). This utility will be used in the future to extend features on network-functions-ipv6. Examples: ipv6calc --addr2ip6_int ipv6addr[/prefixlength] Converts given IPv6 address to a dot separated reverse nibble format for use with DNS e.g. 3ffe:400:100:f101::1 -> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.f.0.0.1.0.0.0.4.0.e.f.f.3.ip6.int e.g. 3ffe:400:100:f101::1/64 -> 1.0.1.f.0.0.1.0.0.0.4.0.e.f.f.3.ip6.int ipv6calc --addr2compaddr ipv6addr[/prefixlength] Converts given IPv6 address to a compressed one e.g. 3ffe:0400:0100:f101:0000:0000:0000:0001 -> 3ffe:400:100:f101::1 ipv6calc --addr2uncompaddr ipv6addr[/prefixlength] Converts given IPv6 address to an uncompressed one e.g. 3ffe:400:100:f101::1 -> 3ffe:400:100:f101:0:0:0:1 ipv6calc --addr2fulluncompaddr ipv6addr[/prefixlength] Converts given IPv6 address to a full uncompressed one e.g. 3ffe:400:100:f101::1 -> 3ffe:0400:0100:f101:0000:0000:0000:0001 ipv6calc --addr2if_inet6 ipv6addr[/prefixlength] Converts given IPv6 address to similar format shown in /proc/net/if_inet6: addr scope [prefixlength] e.g. 3ffe:400:100:f101::1 -> 3ffe04000100f1010000000000000001 00 e.g. 3ffe:400:100:f101::1/64 -> 3ffe04000100f1010000000000000001 00 40 ipv6calc --if_inet62addr 32hexcharsIPv6addr [2hexcharsPrefixlength] Converts given if_inet6 formatted IPv6 address to normal one e.g. 3ffe04000100f1010000000000000001 -> 3ffe:400:100::1 e.g. 3ffe04000100f1010000000000000001 40 -> 3ffe:400:100::1/64
2001-03-04 16:59:22 +01:00
.include "../../security/openssl/buildlink2.mk"
Add ipv6calc-0.10: ipv6calc is a small utility in C to manipulate IPv6 addresses. The intentions were to convert a given IPv6 address into compressed format, convert a given IPv6 address into the same format like shown in Linux' /proc/net/if_inet6 and (because it was not difficulty) migrate ip6_int into. Now only one utiltity is needed to do a lot (perhaps the features grow on demand in the future). This utility will be used in the future to extend features on network-functions-ipv6. Examples: ipv6calc --addr2ip6_int ipv6addr[/prefixlength] Converts given IPv6 address to a dot separated reverse nibble format for use with DNS e.g. 3ffe:400:100:f101::1 -> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.1.f.0.0.1.0.0.0.4.0.e.f.f.3.ip6.int e.g. 3ffe:400:100:f101::1/64 -> 1.0.1.f.0.0.1.0.0.0.4.0.e.f.f.3.ip6.int ipv6calc --addr2compaddr ipv6addr[/prefixlength] Converts given IPv6 address to a compressed one e.g. 3ffe:0400:0100:f101:0000:0000:0000:0001 -> 3ffe:400:100:f101::1 ipv6calc --addr2uncompaddr ipv6addr[/prefixlength] Converts given IPv6 address to an uncompressed one e.g. 3ffe:400:100:f101::1 -> 3ffe:400:100:f101:0:0:0:1 ipv6calc --addr2fulluncompaddr ipv6addr[/prefixlength] Converts given IPv6 address to a full uncompressed one e.g. 3ffe:400:100:f101::1 -> 3ffe:0400:0100:f101:0000:0000:0000:0001 ipv6calc --addr2if_inet6 ipv6addr[/prefixlength] Converts given IPv6 address to similar format shown in /proc/net/if_inet6: addr scope [prefixlength] e.g. 3ffe:400:100:f101::1 -> 3ffe04000100f1010000000000000001 00 e.g. 3ffe:400:100:f101::1/64 -> 3ffe04000100f1010000000000000001 00 40 ipv6calc --if_inet62addr 32hexcharsIPv6addr [2hexcharsPrefixlength] Converts given if_inet6 formatted IPv6 address to normal one e.g. 3ffe04000100f1010000000000000001 -> 3ffe:400:100::1 e.g. 3ffe04000100f1010000000000000001 40 -> 3ffe:400:100::1/64
2001-03-04 16:59:22 +01:00
.include "../../mk/bsd.pkg.mk"