Date: Sat, 16 Jan 2021 12:30:18 +0000 (UTC) From: "Danilo G. Baio" <dbaio@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561722 - in head/net-mgmt/ipv6calc: . files Message-ID: <202101161230.10GCUIO2028723@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dbaio Date: Sat Jan 16 12:30:17 2021 New Revision: 561722 URL: https://svnweb.freebsd.org/changeset/ports/561722 Log: net-mgmt/ipv6calc: Update to 3.0.1 Changelog: https://raw.githubusercontent.com/pbiering/ipv6calc/3.0.1/ChangeLog Added: head/net-mgmt/ipv6calc/files/patch-databases_lib_libipv6calc__db__wrapper.c (contents, props changed) Modified: head/net-mgmt/ipv6calc/Makefile head/net-mgmt/ipv6calc/distinfo Modified: head/net-mgmt/ipv6calc/Makefile ============================================================================== --- head/net-mgmt/ipv6calc/Makefile Sat Jan 16 12:18:31 2021 (r561721) +++ head/net-mgmt/ipv6calc/Makefile Sat Jan 16 12:30:17 2021 (r561722) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ipv6calc -PORTVERSION= 3.0.0 +PORTVERSION= 3.0.1 CATEGORIES= net-mgmt MASTER_SITES= ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/ Modified: head/net-mgmt/ipv6calc/distinfo ============================================================================== --- head/net-mgmt/ipv6calc/distinfo Sat Jan 16 12:18:31 2021 (r561721) +++ head/net-mgmt/ipv6calc/distinfo Sat Jan 16 12:30:17 2021 (r561722) @@ -1,3 +1,3 @@ -TIMESTAMP = 1605459466 -SHA256 (ipv6calc-3.0.0.tar.gz) = 8728a823709bc39c7aecd29ee19508816accbaa27dfd15933fe1fa2e2cf1fcd7 -SIZE (ipv6calc-3.0.0.tar.gz) = 1591530 +TIMESTAMP = 1610734327 +SHA256 (ipv6calc-3.0.1.tar.gz) = 28b8e724a984af853877fa672e7622faba6888d4f1006940b4a0f8fef5e2dad0 +SIZE (ipv6calc-3.0.1.tar.gz) = 1607162 Added: head/net-mgmt/ipv6calc/files/patch-databases_lib_libipv6calc__db__wrapper.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/ipv6calc/files/patch-databases_lib_libipv6calc__db__wrapper.c Sat Jan 16 12:30:17 2021 (r561722) @@ -0,0 +1,21 @@ +# https://github.com/pbiering/ipv6calc/commit/6c89a416d5c8979058d9ae4a8b80c7732982c396 +--- databases/lib/libipv6calc_db_wrapper.c.orig 2021-01-13 06:59:44 UTC ++++ databases/lib/libipv6calc_db_wrapper.c +@@ -2327,10 +2327,17 @@ int libipv6calc_db_wrapper_registry_num_by_ipv6addr(co + DEBUGPRINT_WA(DEBUG_libipv6calc_db_wrapper, "Called: addr=%08x%08x%08x%08x", ipv6addr_getdword(ipv6addrp, 0), ipv6addr_getdword(ipv6addrp, 1), ipv6addr_getdword(ipv6addrp, 2), ipv6addr_getdword(ipv6addrp, 3)); + + if ((cache_lu_ipv6addr_valid == 1) ++#ifdef __KAME__ // FreeBSD misses s6_addr8/16/32 in non-kernel include, also union has different name in glibc (__in6_u vs. __u6_addr) :-( ++ && (&cache_lu_ipv6addr.in6_addr.__u6_addr.__u6_addr32[0] == &ipv6addrp->in6_addr.__u6_addr.__u6_addr32[0]) ++ && (&cache_lu_ipv6addr.in6_addr.__u6_addr.__u6_addr32[1] == &ipv6addrp->in6_addr.__u6_addr.__u6_addr32[1]) ++ && (&cache_lu_ipv6addr.in6_addr.__u6_addr.__u6_addr32[2] == &ipv6addrp->in6_addr.__u6_addr.__u6_addr32[2]) ++ && (&cache_lu_ipv6addr.in6_addr.__u6_addr.__u6_addr32[3] == &ipv6addrp->in6_addr.__u6_addr.__u6_addr32[3]) ++#else + && (&cache_lu_ipv6addr.in6_addr.s6_addr32[0] == &ipv6addrp->in6_addr.s6_addr32[0]) + && (&cache_lu_ipv6addr.in6_addr.s6_addr32[1] == &ipv6addrp->in6_addr.s6_addr32[1]) + && (&cache_lu_ipv6addr.in6_addr.s6_addr32[2] == &ipv6addrp->in6_addr.s6_addr32[2]) + && (&cache_lu_ipv6addr.in6_addr.s6_addr32[3] == &ipv6addrp->in6_addr.s6_addr32[3]) ++#endif + ) { + retval= cache_lu_ipv6addr_registry_num; + cache_hit = 1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101161230.10GCUIO2028723>