pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

net/ipv6calc-4.4.0: Trying to make it working



Module Name:	pkgsrc-wip
Committed By:	Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By:	drixter
Date:		Tue Jun 9 19:19:43 2026 +0200
Changeset:	e0886cfe36740673ca390aa7a3e66bea540f48aa

Modified Files:
	Makefile
Added Files:
	ipv6calc/DESCR
	ipv6calc/Makefile
	ipv6calc/PLIST
	ipv6calc/TODO
	ipv6calc/distinfo

Log Message:
net/ipv6calc-4.4.0: Trying to make it working

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e0886cfe36740673ca390aa7a3e66bea540f48aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile          |  1 +
 ipv6calc/DESCR    |  8 ++++++++
 ipv6calc/Makefile | 30 ++++++++++++++++++++++++++++++
 ipv6calc/PLIST    | 19 +++++++++++++++++++
 ipv6calc/TODO     |  4 ++++
 ipv6calc/distinfo |  5 +++++
 6 files changed, 67 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index d0b6121972..036f3af27d 100644
--- a/Makefile
+++ b/Makefile
@@ -1816,6 +1816,7 @@ SUBDIR+=	ipax0208font-ttf
 SUBDIR+=	ipsvd
 SUBDIR+=	iptables
 SUBDIR+=	iptstate
+SUBDIR+=	ipv6calc
 SUBDIR+=	ircII-current
 SUBDIR+=	irixjoker-ai-utils
 SUBDIR+=	ironpython
diff --git a/ipv6calc/DESCR b/ipv6calc/DESCR
new file mode 100644
index 0000000000..4198485fab
--- /dev/null
+++ b/ipv6calc/DESCR
@@ -0,0 +1,8 @@
+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 utility 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.
diff --git a/ipv6calc/Makefile b/ipv6calc/Makefile
new file mode 100644
index 0000000000..9b00c9cda0
--- /dev/null
+++ b/ipv6calc/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.39 2020/01/26 17:31:50 rillig Exp $
+#
+
+DISTNAME=	ipv6calc-4.4.0
+CATEGORIES=	net
+MASTER_SITES=	ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/
+MASTER_SITES+=	ftp://sunsite.icm.edu.pl/pub/Linux/ipv6/bipv6/ipv6calc/
+
+MAINTAINER=	drixter%e-utp.net@localhost
+HOMEPAGE=	https://www.deepspace6.net/projects/ipv6calc.html
+COMMENT=	Manipulates IPv6 addresses
+LICENSE=	gnu-gpl-v2
+
+# This package does not set or evaluate IPV6_READY, but it should still
+# be listed in README-IPv6.html. Leave this comment here to make it so!
+#
+BUILD_DEFS+=	IPV6_READY
+
+GNU_CONFIGURE=	YES
+USE_TOOLS+=	gmake
+USE_TOOLS+=	perl
+
+MAKE_FLAGS+=    CFLAGS="${CFLAGS} -Wno-error=char-subscripts -Wno-char-subscripts"
+
+
+REPLACE_PERL+=  \
+    tools/ipv6calc-create-registry-list-ipv4.pl \
+    tools/ipv6calc-create-registry-list-ipv6.pl
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ipv6calc/PLIST b/ipv6calc/PLIST
new file mode 100644
index 0000000000..f10807d6a2
--- /dev/null
+++ b/ipv6calc/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD$
+bin/ipv6calc
+bin/ipv6loganon
+bin/ipv6logconv
+bin/ipv6logstats
+man/man8/ipv6calc.8
+man/man8/ipv6loganon.8
+man/man8/ipv6logconv.8
+man/man8/ipv6logstats.8
+share/ipv6calc/tools/DBIP-update.sh
+share/ipv6calc/tools/GeoIP-update.sh
+share/ipv6calc/tools/IP2Location-update.sh
+share/ipv6calc/tools/ipv6calc-create-registry-list-ipv4.pl
+share/ipv6calc/tools/ipv6calc-create-registry-list-ipv6.pl
+share/ipv6calc/tools/ipv6calc-create-update-ipset.sh
+share/ipv6calc/tools/ipv6calc-db-update-support.sh
+share/ipv6calc/tools/ipv6calc-db-update.sh
+share/ipv6calc/tools/ipv6calc-registries-check-run-create.sh
+share/ipv6calc/tools/ipv6calc-update-registries.sh
diff --git a/ipv6calc/TODO b/ipv6calc/TODO
new file mode 100644
index 0000000000..832bfc57ce
--- /dev/null
+++ b/ipv6calc/TODO
@@ -0,0 +1,4 @@
+Check that this really work
+Check options what can be used
+Polish and then submit
+
diff --git a/ipv6calc/distinfo b/ipv6calc/distinfo
new file mode 100644
index 0000000000..efc64cae5b
--- /dev/null
+++ b/ipv6calc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.19 2021/10/26 11:05:48 nia Exp $
+
+BLAKE2s (ipv6calc-4.4.0.tar.gz) = e11d7bf36230a39686c1033b4d9a5646aad25ddb18facc386a252a50673d4fcd
+SHA512 (ipv6calc-4.4.0.tar.gz) = be14b0d00e789ab065fad3de1622383967d225ca67021acd826d5baf058c1381795dc0379e86e05abf2e5fef2a6ef991f1b6e8435eaf271fc1302dfd48c34e26
+Size (ipv6calc-4.4.0.tar.gz) = 1990779 bytes


Home | Main Index | Thread Index | Old Index