Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2024 12:53:09 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c23d466197be - main - net-mgmt/ipv6calc: Update to 4.2.0
Message-ID:  <202404181253.43ICr9Zc069897@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c23d466197bee414e5abc4579f55f6df116fb0b8

commit c23d466197bee414e5abc4579f55f6df116fb0b8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-18 12:48:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-18 12:48:09 +0000

    net-mgmt/ipv6calc: Update to 4.2.0
    
    Changes:        https://github.com/pbiering/ipv6calc/releases
                    https://github.com/pbiering/ipv6calc/blob/master/ChangeLog
---
 net-mgmt/ipv6calc/Makefile                      |  7 ++++---
 net-mgmt/ipv6calc/distinfo                      |  6 +++---
 net-mgmt/ipv6calc/files/patch-clang15           | 11 -----------
 net-mgmt/ipv6calc/files/patch-tools-Makefile.in | 10 ++++++++++
 net-mgmt/ipv6calc/pkg-plist                     |  1 +
 5 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/net-mgmt/ipv6calc/Makefile b/net-mgmt/ipv6calc/Makefile
index 1385e49ec53e..fc296e56cf4a 100644
--- a/net-mgmt/ipv6calc/Makefile
+++ b/net-mgmt/ipv6calc/Makefile
@@ -1,8 +1,6 @@
 PORTNAME=	ipv6calc
-PORTVERSION=	4.1.0
+PORTVERSION=	4.2.0
 CATEGORIES=	net-mgmt
-MASTER_SITES=	https://www.bieringer.de/ftp/pub/linux/IPv6/ipv6calc/ \
-		https://www.deepspace6.net/ftp/pub/ds6/sources/ipv6calc/
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Convert, change, and calculate with IPv6 addresses
@@ -18,6 +16,9 @@ USES=		gmake perl5 shebangfix ssl
 
 GNU_CONFIGURE=	yes
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	pbiering
+
 SHEBANG_FILES=	tools/*
 
 post-install:
diff --git a/net-mgmt/ipv6calc/distinfo b/net-mgmt/ipv6calc/distinfo
index 0027a6382b87..d3bb3f760c2e 100644
--- a/net-mgmt/ipv6calc/distinfo
+++ b/net-mgmt/ipv6calc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688166080
-SHA256 (ipv6calc-4.1.0.tar.gz) = 9c42edd9998f13465d275a3124cfdf72c93fd793d38f6d732124ac3f4b84e36e
-SIZE (ipv6calc-4.1.0.tar.gz) = 1801451
+TIMESTAMP = 1713033314
+SHA256 (pbiering-ipv6calc-4.2.0_GH0.tar.gz) = 767dbd3d21d04e21aa9764275e2aae726f04daf66bca21fc65f0a652bdc8b50e
+SIZE (pbiering-ipv6calc-4.2.0_GH0.tar.gz) = 1854458
diff --git a/net-mgmt/ipv6calc/files/patch-clang15 b/net-mgmt/ipv6calc/files/patch-clang15
deleted file mode 100644
index 561ba8c5dd68..000000000000
--- a/net-mgmt/ipv6calc/files/patch-clang15
+++ /dev/null
@@ -1,11 +0,0 @@
---- databases/lib/libipv6calc_db_wrapper.c.orig	2023-06-12 07:11:54 UTC
-+++ databases/lib/libipv6calc_db_wrapper.c
-@@ -2778,7 +2778,7 @@ long int libipv6calc_db_wrapper_get_entry_generic(
- 	const uint32_t	lookup_key_00_31,	// lookup key MSB
- 	const uint32_t	lookup_key_32_63,	// lookup key LSB
- 	void            *data_ptr,		// pointer to DB data in case of IPV6CALC_DB_LOOKUP_DATA_PTR_TYPE_BDB, otherwise NULL
--	int  (*get_array_row)()			// function to get array row
-+	int  (*get_array_row)(int, uint32_t*, uint32_t*, uint32_t*, uint32_t*)		// function to get array row
- 	) {
- 
- 	int retval = -1;
diff --git a/net-mgmt/ipv6calc/files/patch-tools-Makefile.in b/net-mgmt/ipv6calc/files/patch-tools-Makefile.in
new file mode 100644
index 000000000000..20f988a2f4da
--- /dev/null
+++ b/net-mgmt/ipv6calc/files/patch-tools-Makefile.in
@@ -0,0 +1,10 @@
+--- tools/Makefile.in.orig	2024-02-15 11:55:16 UTC
++++ tools/Makefile.in
+@@ -6,6 +6,7 @@
+ #  Makefile for various tools
+ #
+ 
++prefix          = @prefix@
+ datadir         = @datadir@
+ 
+ all:
diff --git a/net-mgmt/ipv6calc/pkg-plist b/net-mgmt/ipv6calc/pkg-plist
index 589616ba92ec..fbbee1ef9473 100644
--- a/net-mgmt/ipv6calc/pkg-plist
+++ b/net-mgmt/ipv6calc/pkg-plist
@@ -8,6 +8,7 @@ bin/ipv6logstats
 %%DATADIR%%/tools/ipv6calc-create-registry-list-ipv4.pl
 %%DATADIR%%/tools/ipv6calc-create-registry-list-ipv6.pl
 %%DATADIR%%/tools/ipv6calc-create-update-ipset.sh
+%%DATADIR%%/tools/ipv6calc-db-update-support.sh
 %%DATADIR%%/tools/ipv6calc-db-update.sh
 %%DATADIR%%/tools/ipv6calc-registries-check-run-create.sh
 %%DATADIR%%/tools/ipv6calc-update-registries.sh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404181253.43ICr9Zc069897>