Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (1fd5dbbcb83ba7d7b1c3ae72173ac841e9804607)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (1fd5dbbcb83ba7d7b1c3ae72173ac841e9804607)
  • Date: Tue, 15 Mar 2022 01:24:04 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemaage.org>:

net/i2pd/HISTORY | 3 +++
net/i2pd/PRE_BUILD | 4 ++++
net/i2pd/patches/libressl-3.5.patch | 26 ++++++++++++++++++++++++++
3 files changed, 33 insertions(+)

New commits:
commit 1fd5dbbcb83ba7d7b1c3ae72173ac841e9804607
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>

net/I2pd: added LibreSSL 3.5 fix

diff --git a/net/i2pd/HISTORY b/net/i2pd/HISTORY
index 7dfb8e0..6ae85cc 100644
--- a/net/i2pd/HISTORY
+++ b/net/i2pd/HISTORY
@@ -1,3 +1,6 @@
+2022-03-14 Pavel Vinogradov <public AT sourcemage.org>
+ * PRE_BUILD, patches/libressl-3.5.patch: added patch to build with
LibreSSL 3.5.x
+
2022-02-24 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 2.41.0

diff --git a/net/i2pd/PRE_BUILD b/net/i2pd/PRE_BUILD
new file mode 100755
index 0000000..f80ee7d
--- /dev/null
+++ b/net/i2pd/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+apply_patch_dir patches
diff --git a/net/i2pd/patches/libressl-3.5.patch
b/net/i2pd/patches/libressl-3.5.patch
new file mode 100644
index 0000000..fb8c6b1
--- /dev/null
+++ b/net/i2pd/patches/libressl-3.5.patch
@@ -0,0 +1,26 @@
+diff --git a/libi2pd/Crypto.h b/libi2pd/Crypto.h
+--- a/libi2pd/Crypto.h
++++ b/libi2pd/Crypto.h
+@@ -29,12 +29,13 @@
+ #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 ((OPENSSL_VERSION_NUMBER < 0x010100000) || (LIBRESSL_VERSION_NUMBER <
0x3050000fL)) // 1.0.2 and below or LibreSSL < 3.5.0
+ # define LEGACY_OPENSSL 1
+ # define X509_getm_notBefore X509_get_notBefore
+ # define X509_getm_notAfter X509_get_notAfter
+ #else
+ # define LEGACY_OPENSSL 0
++# if !defined LIBRESSL_VERSION_NUMBER
+ # if (OPENSSL_VERSION_NUMBER >= 0x010101000) // 1.1.1
+ # define OPENSSL_HKDF 1
+ # define OPENSSL_EDDSA 1
+@@ -46,6 +47,7 @@
+ # if !defined OPENSSL_NO_CHACHA && !defined OPENSSL_NO_POLY1305 // some
builds might not include them
+ # define OPENSSL_AEAD_CHACHA20_POLY1305 1
+ # endif
++# endif
+ #endif
+
+ namespace i2p



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (1fd5dbbcb83ba7d7b1c3ae72173ac841e9804607), Pavel Vinogradov, 03/14/2022

Archive powered by MHonArc 2.6.24.

Top of Page