On 2022/09/14 10:52, Theo Buehler wrote: > On Wed, Sep 14, 2022 at 02:03:40AM +0200, al...@tutanota.com wrote: > > Good evening, > > > > This message is to inquiry about the version of cmake packaged in the > > repository of > > OpenBSD 7.1 and its FindOpenSSL.cmake module. FindOpenSSL seems to be > > unable to > > locate LibreSSL on my system. I don't know if it's by design (since > > LibreSSL and > > OpenSSL are not the same, after all) or by mistake, but I think it would > > make sense > > for FindOpenSSL to find LibreSSL on OpenBSD. > > > > More information about the problem can be found in this thread on GitHub (in > > particular, starting from the highlighted comment): > > https://github.com/PurpleI2P/i2pd/issues/1775#issuecomment-1245891759 > > I cannot reproduce this. i2pd builds fine here with the steps you > indicated in your issue (tested amd64 on -current and 7.1-stable) and > links. > > Here's a quick patch to update the i2pd port to 2.43. It builds and > packages on amd64 -current and -stable. There's something off with the > patch for the tests (which is a mess), but that will have to be sorted > out by someone who uses this software.
Small tweak, the new certs need @sample. I don't use this either. Index: Makefile =================================================================== RCS file: /cvs/ports/net/i2pd/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile 11 Mar 2022 19:46:04 -0000 1.10 +++ Makefile 14 Sep 2022 18:14:30 -0000 @@ -2,7 +2,7 @@ COMMENT = client for the I2P anonymous n GH_ACCOUNT = PurpleI2P GH_PROJECT = i2pd -GH_TAGNAME = 2.41.0 +GH_TAGNAME = 2.43.0 CATEGORIES = net HOMEPAGE = https://i2pd.website Index: distinfo =================================================================== RCS file: /cvs/ports/net/i2pd/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- distinfo 28 Feb 2022 10:49:54 -0000 1.7 +++ distinfo 14 Sep 2022 18:14:30 -0000 @@ -1,2 +1,2 @@ -SHA256 (i2pd-2.41.0.tar.gz) = ezM80mZwkD7wZyz4eqn4lYFM4rvvLlh+adZq2UJ2ZOY= -SIZE (i2pd-2.41.0.tar.gz) = 594453 +SHA256 (i2pd-2.43.0.tar.gz) = 2xZ5ZTSRpBHdFvoylIjYQClsj2gOBpH5/g0OeW5de8o= +SIZE (i2pd-2.43.0.tar.gz) = 638031 Index: patches/patch-libi2pd_Crypto_h =================================================================== RCS file: patches/patch-libi2pd_Crypto_h diff -N patches/patch-libi2pd_Crypto_h --- patches/patch-libi2pd_Crypto_h 11 Mar 2022 19:46:04 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -Fix build with opaque structs in LibreSSL 3.5 - -Index: libi2pd/Crypto.h ---- libi2pd/Crypto.h.orig -+++ libi2pd/Crypto.h -@@ -29,7 +29,9 @@ - #include "CPU.h" - - // recognize openssl version and features --#if ((OPENSSL_VERSION_NUMBER < 0x010100000) || defined(LIBRESSL_VERSION_NUMBER)) // 1.0.2 and below or LibreSSL -+#if defined(LIBRESSL_VERSION_NUMBER) -+# define LEGACY_OPENSSL 0 -+#elif (OPENSSL_VERSION_NUMBER < 0x010100000) // 1.0.2 and below - # define LEGACY_OPENSSL 1 - # define X509_getm_notBefore X509_get_notBefore - # define X509_getm_notAfter X509_get_notAfter Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/net/i2pd/pkg/PLIST,v retrieving revision 1.6 diff -u -p -r1.6 PLIST --- pkg/PLIST 11 Mar 2022 19:46:04 -0000 1.6 +++ pkg/PLIST 14 Sep 2022 18:14:30 -0000 @@ -48,6 +48,7 @@ include/i2pd/SAM.h include/i2pd/SOCKS.h include/i2pd/SSU.h include/i2pd/SSU2.h +include/i2pd/SSU2Session.h include/i2pd/SSUData.h include/i2pd/SSUSession.h include/i2pd/Signature.h @@ -108,6 +109,12 @@ share/examples/i2pd/certificates/family/ @sample ${LOCALSTATEDIR}/lib/i2pd/certificates/family/mca2-i2p.crt @owner @group +share/examples/i2pd/certificates/family/stormycloud.crt +@owner _i2pd +@group _i2pd +@sample ${LOCALSTATEDIR}/lib/i2pd/certificates/family/stormycloud.crt +@owner +@group share/examples/i2pd/certificates/family/volatile.crt @owner _i2pd @group _i2pd @@ -154,6 +161,12 @@ share/examples/i2pd/certificates/reseed/ @owner _i2pd @group _i2pd @sample ${LOCALSTATEDIR}/lib/i2pd/certificates/reseed/hottuna_at_mail.i2p.crt +@owner +@group +share/examples/i2pd/certificates/reseed/i2p-reseed_at_mk16.de.crt +@owner _i2pd +@group _i2pd +@sample ${LOCALSTATEDIR}/lib/i2pd/certificates/reseed/i2p-reseed_at_mk16.de.crt @owner @group share/examples/i2pd/certificates/reseed/igor_at_novg.net.crt