From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/libarchive/, app-arch/libarchive/files/
Date: Thu, 19 Apr 2018 15:24:49 +0000 (UTC) [thread overview]
Message-ID: <1524151481.79fe43f8318e385f889bc12bb18f38c69ef5f201.bman@gentoo> (raw)
commit: 79fe43f8318e385f889bc12bb18f38c69ef5f201
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 19 15:24:25 2018 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Apr 19 15:24:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79fe43f8
app-arch/libarchive: compatibility patch for LibreSSL
This patch is slightly modified from app-arch/libarchive-3.3.1 due to
minor upstream modifications.
Package-Manager: Portage-2.3.31, Repoman-2.3.9
.../files/libarchive-3.3.2-libressl.patch | 25 ++++++++++++++++++++++
app-arch/libarchive/libarchive-3.3.2.ebuild | 4 ++++
2 files changed, 29 insertions(+)
diff --git a/app-arch/libarchive/files/libarchive-3.3.2-libressl.patch b/app-arch/libarchive/files/libarchive-3.3.2-libressl.patch
new file mode 100644
index 00000000000..e053a539fae
--- /dev/null
+++ b/app-arch/libarchive/files/libarchive-3.3.2-libressl.patch
@@ -0,0 +1,25 @@
+--- a/libarchive/archive_openssl_evp_private.h 2017-01-29 05:06:27.000000000 +0000
++++ b/libarchive/archive_openssl_evp_private.h 2018-04-19 04:00:14.061922747 +0000
+@@ -28,7 +28,8 @@
+ #include <openssl/evp.h>
+ #include <openssl/opensslv.h>
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
++(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
+ #include <stdlib.h> /* malloc, free */
+ #include <string.h> /* memset */
+ static inline EVP_MD_CTX *EVP_MD_CTX_new(void)
+
+--- a/libarchive/archive_openssl_hmac_private.h 2017-01-29 05:06:27.000000000 +0000
++++ b/libarchive/archive_openssl_hmac_private.h 2018-04-19 04:02:18.309167446 +0000
+@@ -28,7 +28,8 @@
+ #include <openssl/hmac.h>
+ #include <openssl/opensslv.h>
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
++(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
+ #include <stdlib.h> /* malloc, free */
+ #include <string.h> /* memset */
+ static inline HMAC_CTX *HMAC_CTX_new(void)
diff --git a/app-arch/libarchive/libarchive-3.3.2.ebuild b/app-arch/libarchive/libarchive-3.3.2.ebuild
index f68b736c946..d82a2179cc3 100644
--- a/app-arch/libarchive/libarchive-3.3.2.ebuild
+++ b/app-arch/libarchive/libarchive-3.3.2.ebuild
@@ -35,6 +35,10 @@ DEPEND="${RDEPEND}
e2fsprogs? ( sys-fs/e2fsprogs )
)"
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.3.2-libressl.patch
+)
+
# Various test problems, starting with the fact that sandbox
# explodes on long paths. https://bugs.gentoo.org/598806
RESTRICT="test"
next reply other threads:[~2018-04-19 15:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-19 15:24 Aaron Bauman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-29 20:00 [gentoo-commits] repo/gentoo:master commit in: app-arch/libarchive/, app-arch/libarchive/files/ Fabian Groffen
2024-03-31 15:36 Michał Górny
2024-02-16 13:53 Michał Górny
2023-04-08 18:45 Michał Górny
2022-02-11 13:36 Michał Górny
2021-04-30 23:27 Sam James
2020-12-18 18:16 Fabian Groffen
2019-09-02 7:07 Lars Wendler
2018-01-02 13:12 Michał Górny
2017-06-29 23:39 Patrick McLean
2016-07-26 17:56 NP Hardass
2016-05-11 4:02 NP Hardass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1524151481.79fe43f8318e385f889bc12bb18f38c69ef5f201.bman@gentoo \
--to=bman@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox