Update i2pd to 2.36.0 Changelog:https://github.com/PurpleI2P/i2pd/releases
The very first section of the diff removes a trailing white space. The AVX patch has been accepted upstream and a blank patch was left in the last update idk why, so I've removed both now. Build & Run tested on amd64. Index: Makefile =================================================================== RCS file: /cvs/ports/net/i2pd/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile 27 Jan 2021 18:38:29 -0000 1.3 +++ Makefile 18 Feb 2021 07:23:38 -0000 @@ -4,7 +4,7 @@ COMMENT = client for the I2P anonymous n GH_ACCOUNT = PurpleI2P GH_PROJECT = i2pd -GH_TAGNAME = 2.35.0 +GH_TAGNAME = 2.36.0 CATEGORIES = net HOMEPAGE = https://i2pd.website @@ -43,6 +43,6 @@ post-install: do-test: cd ${WRKDIST}/tests && ${MAKE_PROGRAM} CXX="${CXX}" \ - INCFLAGS="-L${LOCALBASE}/lib -I${LOCALBASE}/include ${CFLAGS}" + INCFLAGS="-L${LOCALBASE}/lib -I${LOCALBASE}/include ${CFLAGS}" .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/net/i2pd/distinfo,v retrieving revision 1.3 diff -u -p -r1.3 distinfo --- distinfo 27 Jan 2021 18:38:29 -0000 1.3 +++ distinfo 18 Feb 2021 07:23:38 -0000 @@ -1,2 +1,2 @@ -SHA256 (i2pd-2.35.0.tar.gz) = 0EH9TnqIrBaOdvZv2rQBdK0JPNwTRRzb0N0SFuVYH4o= -SIZE (i2pd-2.35.0.tar.gz) = 1105837 +SHA256 (i2pd-2.36.0.tar.gz) = F7cwnL7kG5kc+UgDNElcWgSfcJvrGzH7/LR94ZyEYqM= +SIZE (i2pd-2.36.0.tar.gz) = 550451 Index: patches/patch-build_CMakeLists_txt =================================================================== RCS file: patches/patch-build_CMakeLists_txt diff -N patches/patch-build_CMakeLists_txt Index: patches/patch-libi2pd_Crypto_cpp =================================================================== RCS file: patches/patch-libi2pd_Crypto_cpp diff -N patches/patch-libi2pd_Crypto_cpp --- patches/patch-libi2pd_Crypto_cpp 27 Jan 2021 18:38:29 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,23 +0,0 @@ -$OpenBSD: patch-libi2pd_Crypto_cpp,v 1.1 2021/01/27 18:38:29 solene Exp $ ---- libi2pd/Crypto.cpp -+++ libi2pd/Crypto.cpp -@@ -638,7 +638,7 @@ namespace crypto - { - uint64_t buf[256]; - uint64_t hash[12]; // 96 bytes --#if defined(__x86_64__) || defined(__i386__) -+#if (defined(__x86_64__) || defined(__i386__)) && defined(__AVX__) // not all X86 targets supports AVX (like old Pentium, see #1600) - if(i2p::cpu::avx) - { - __asm__ ---- libi2pd/Identity.cpp -+++ libi2pd/Identity.cpp -@@ -828,7 +828,7 @@ namespace data - XORMetric operator^(const IdentHash& key1, const IdentHash& key2) - { - XORMetric m; --#if defined(__x86_64__) || defined(__i386__) -+#if (defined(__x86_64__) || defined(__i386__)) && defined(__AVX__) // not all X86 targets supports AVX (like old Pentium, see #1600) - if(i2p::cpu::avx) - { - __asm__ Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/net/i2pd/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 27 Jan 2021 18:38:29 -0000 1.3 +++ pkg/PLIST 18 Feb 2021 07:23:38 -0000 @@ -119,6 +119,12 @@ share/examples/i2pd/certificates/reseed/ @sample ${LOCALSTATEDIR}/lib/ @owner @group +share/examples/i2pd/certificates/reseed/acetone_at_mail.i2p.crt +@owner _i2pd +@group _i2pd +@sample ${LOCALSTATEDIR}/lib/i2pd/certificates/reseed/acetone_at_mail.i2p.crt +@owner +@group share/examples/i2pd/certificates/reseed/creativecowpat_at_mail.i2p.crt @owner _i2pd @group _i2pd
