Hello,
Please find attached a patch that updates the net/i2p port to version
2.12.0.
The upstream release notes and full list of changes are available at:
https://i2p.net/en/blog/2026/02/09/i2p-2.11.0-release/
https://i2p.net/en/blog/2026/04/20/i2p-2.12.0-release/
I also updated the HOMEPAGE to the new canonical project site:
https://i2p.net/
In short, the changes since 2.10.0 include the switch to Java 17+, Jetty
12, broader post-quantum crypto support, and SAMv3 improvements. The
2.12.0 release then continues the post-quantum work and fixes a SAMv3
lookup issue.
In addition to the version bump, I have preserved the existing
OpenBSD-specific adjustments for the port, including the local wrapper
and runtime configuration changes.
I also updated the package list for the new upstream files, including
the additional reseed and router certificates shipped in this release.
The package list now uses /var/empty as the _i2p account home so
installation does not warn about a missing home directory.
I used the GitHub release archive as the source tarball because the
previous upstream download location could not be resolved from my build
environment, while the GitHub archive was available and matched the
2.12.0 release tag.
Thank you for your time and consideration.
Best regards,
David
Index: net/i2p/Makefile
===================================================================
RCS file: /cvs/ports/net/i2p/Makefile,v
diff -u -p -u -p -r1.28 Makefile
--- net/i2p/Makefile 23 Mar 2026 19:02:40 -0000 1.28
+++ net/i2p/Makefile 26 May 2026 22:15:38 -0000
@@ -1,13 +1,12 @@
COMMENT= i2p routing protocol
-V = 2.10.0
-DISTNAME = i2psource_${V}
+V = 2.12.0
+DISTNAME = i2p-${V}
PKGNAME = i2p-${V}
-REVISION = 0
CATEGORIES= net
-HOMEPAGE= https://geti2p.net/en/
+HOMEPAGE= https://i2p.net/
MAINTAINER= Pascal Stumpf <[email protected]>
@@ -15,11 +14,11 @@ MAINTAINER= Pascal Stumpf <pascal@stumpf
# EPLv1.0 GPLv2 GPLv3 LGPLv2.1 LGPLv3 MIT public-domain WTFPLv2
PERMIT_PACKAGE= Yes
-EXTRACT_SUFX = .tar.bz2
+EXTRACT_SUFX = .tar.gz
WANTLIB += gmp
-SITES = https://files.i2p-projekt.de/${V}/
+SITES = https://github.com/i2p/i2p.i2p/archive/refs/tags/
MODULES= java
MODJAVA_VER= 17
@@ -52,7 +51,7 @@ MAKE_ENV= CC=${CC} BITS=${BITS} MACHINE_
# test requires addition dependencies (atleast: junit, hamcrest, jmockfit)
NO_TEST= Yes
-WRKDIST= ${WRKDIR}/i2p-${V}
+WRKDIST= ${WRKDIR}/i2p.i2p-i2p-${V}
post-patch:
${SUBST_CMD} ${WRKSRC}/installer/resources/wrapper.config
Index: net/i2p/distinfo
===================================================================
RCS file: /cvs/ports/net/i2p/distinfo,v
diff -u -p -u -p -r1.15 distinfo
--- net/i2p/distinfo 6 Nov 2025 20:43:36 -0000 1.15
+++ net/i2p/distinfo 26 May 2026 22:15:38 -0000
@@ -1,2 +1,2 @@
-SHA256 (i2psource_2.10.0.tar.bz2) = O2Ubdh2lMCQvbbZTY5H7eBvI4HEpVArn6WiCvLe/I3U=
-SIZE (i2psource_2.10.0.tar.bz2) = 33770261
+SHA256 (i2p-2.12.0.tar.gz) = WsUrv8fmfynu4tYIAHDSoB8ZaW9zMBVt+vmoY8MpRGI=
+SIZE (i2p-2.12.0.tar.gz) = 44506702
Index: net/i2p/pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/i2p/pkg/PLIST,v
diff -u -p -u -p -r1.15 PLIST
--- net/i2p/pkg/PLIST 6 Nov 2025 20:43:36 -0000 1.15
+++ net/i2p/pkg/PLIST 26 May 2026 22:15:38 -0000
@@ -1,5 +1,5 @@
@newgroup _i2p:861
-@newuser _i2p:861:861::i2p account:${DB_DIR}:/sbin/nologin
+@newuser _i2p:861:861::i2p account:/var/empty:/sbin/nologin
@rcscript ${RCDIR}/i2p
bin/eepget
bin/i2prouter
@@ -38,6 +38,7 @@ share/i2p/certificates/reseed/
share/i2p/certificates/reseed/admin_at_stormycloud.org.crt
share/i2p/certificates/reseed/arnavbhatt288_at_mail.i2p.crt
share/i2p/certificates/reseed/creativecowpat_at_mail.i2p.crt
+share/i2p/certificates/reseed/diyarciftci_at_protonmail.com.crt
share/i2p/certificates/reseed/echelon3_at_mail.i2p.crt
share/i2p/certificates/reseed/hankhill19580_at_gmail.com.crt
share/i2p/certificates/reseed/hottuna_at_mail.i2p.crt
@@ -47,8 +48,10 @@ share/i2p/certificates/reseed/lazygravy_
share/i2p/certificates/reseed/r4sas-reseed_at_mail.i2p.crt
share/i2p/certificates/reseed/rambler_at_mail.i2p.crt
share/i2p/certificates/reseed/reseed_at_diva.exchange.crt
+share/i2p/certificates/reseed/sahil_at_mail.i2p.crt
share/i2p/certificates/reseed/unixeno_at_cubicchaos.net.crt
share/i2p/certificates/router/
+share/i2p/certificates/router/admin_at_stormycloud.org.crt
share/i2p/certificates/router/echelon_at_mail.i2p.crt
share/i2p/certificates/router/hankhill19580_at_gmail.com.crt
share/i2p/certificates/router/zzz_at_mail.i2p.crt
@@ -307,8 +310,15 @@ share/i2p/eepsite/
share/i2p/eepsite/cgi-bin/
share/i2p/eepsite/contexts/
share/i2p/eepsite/contexts/base-context.xml
-share/i2p/eepsite/contexts/cgi-context.xml
+share/i2p/eepsite/contexts/cgi-context.xml.disabled
share/i2p/eepsite/docroot/
+share/i2p/eepsite/docroot/.resources/
+share/i2p/eepsite/docroot/.resources/000.html
+share/i2p/eepsite/docroot/.resources/403.html
+share/i2p/eepsite/docroot/.resources/404.html
+share/i2p/eepsite/docroot/.resources/4xx.html
+share/i2p/eepsite/docroot/.resources/5xx.html
+share/i2p/eepsite/docroot/.resources/README.txt
share/i2p/eepsite/docroot/favicon.ico
share/i2p/eepsite/docroot/help/
share/i2p/eepsite/docroot/help/index.html