Po-Chuan Hsieh 2024-04-18 20:48:09 +08:00
parent 1adfa10821
commit c23d466197
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 18 additions and 17 deletions

View File

@ -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:

View File

@ -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

View File

@ -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;

View File

@ -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:

View File

@ -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