summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-08-10 16:33:44 +0200
committerDavid Seifert <soap@gentoo.org>2023-08-10 16:33:44 +0200
commit7ecfdd498575da6be434947ccbb81637d6920305 (patch)
tree662719d4e289e763166b65e0fddba475af2ef4e8 /dev-libs
parentRename dev-python/{libcloud → apache-libcloud} (diff)
downloadgentoo-7ecfdd498575da6be434947ccbb81637d6920305.tar.gz
gentoo-7ecfdd498575da6be434947ccbb81637d6920305.tar.bz2
gentoo-7ecfdd498575da6be434947ccbb81637d6920305.zip
dev-libs/openpace: drop 1.1.2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/openpace/Manifest1
-rw-r--r--dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-1.patch25
-rw-r--r--dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-2.patch76
-rw-r--r--dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-3.patch23
-rw-r--r--dev-libs/openpace/openpace-1.1.2.ebuild52
5 files changed, 0 insertions, 177 deletions
diff --git a/dev-libs/openpace/Manifest b/dev-libs/openpace/Manifest
index b0d5d962c0df..42119cdbeff5 100644
--- a/dev-libs/openpace/Manifest
+++ b/dev-libs/openpace/Manifest
@@ -1,2 +1 @@
-DIST openpace-1.1.2.tar.gz 3040254 BLAKE2B 4320b0ec01e80379f8c6b1812af6e7b09a8305a448caf432735554d05380b2f29133e92bffab62ad31077c410eceb5d0c68d65343394ebc24aa92dbefe321549 SHA512 812852300cee2ba021809b6c1caa686ecb7fe3eb23bcc7f4c0ce34258460f685bd70027f62f046643710bc549c0037af80d26d7089dd71341818ec7ec1db8d94
DIST openpace-1.1.3.tar.gz 3472674 BLAKE2B 1b3785935d51c987f2cdc27126de632296690601d7cd5bce6cbc157e7161d0eff0885081d5da81df5a0cfb0616050bda01b7895d9069f4c2a61871f261b1fd4f SHA512 ae6cde02e49f13070cff83393972a3433303f1372acfde295f86e7049d9e8da9e8e9b74a85374ff99d0c15d9c68d3670fd8badc963232712c5cc27c863eb385f
diff --git a/dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-1.patch b/dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-1.patch
deleted file mode 100644
index 8802c2528f18..000000000000
--- a/dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-1.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 8b2c8a76873da4862dbf4240c901f3e6d4bc040a Mon Sep 17 00:00:00 2001
-From: Frank Morgner <frankmorgner@gmail.com>
-Date: Sat, 18 Dec 2021 00:15:39 +0100
-Subject: [PATCH] fixed outdated API usage of BN_zero
-
-returns void since 0.9.8
----
- src/eac.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/src/eac.c b/src/eac.c
-index ea84253..9dccd79 100644
---- a/src/eac.c
-+++ b/src/eac.c
-@@ -105,7 +105,9 @@ int EAC_reset_ssc(const EAC_CTX *ctx)
- if (!ctx)
- return 0;
-
-- return BN_zero(ctx->ssc);
-+ BN_zero(ctx->ssc);
-+
-+ return 1;
- }
-
- int EAC_set_ssc(const EAC_CTX *ctx, unsigned long ssc)
diff --git a/dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-2.patch b/dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-2.patch
deleted file mode 100644
index d2ac244a1a7d..000000000000
--- a/dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-2.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-From 2d94a152dd36543d2a713f1abe20717fdaafae0a Mon Sep 17 00:00:00 2001
-From: Frank Morgner <frankmorgner@gmail.com>
-Date: Sat, 18 Dec 2021 00:15:04 +0100
-Subject: [PATCH] added basic compatibility with OpenSSL 3.0
-
-deprecated warnings are not handled for now
-
-fixes https://github.com/frankmorgner/openpace/issues/53
----
- src/eac/cv_cert.h | 6 +++++-
- src/eac_util.c | 14 ++++++++++++++
- 2 files changed, 19 insertions(+), 1 deletion(-)
-
-diff --git a/src/eac/cv_cert.h b/src/eac/cv_cert.h
-index f8c6565..595eb9c 100644
---- a/src/eac/cv_cert.h
-+++ b/src/eac/cv_cert.h
-@@ -341,7 +341,11 @@ CVC_CERT *CVC_d2i_CVC_CERT(CVC_CERT **cert, const unsigned char **in, long len);
- * @return Number of bytes successfully encoded or a negative value if an
- * error occured.
- */
--int i2d_CVC_CERT(CVC_CERT *a, unsigned char **out);
-+int i2d_CVC_CERT(
-+#if OPENSSL_VERSION_NUMBER >= 0x30000000L
-+ const
-+#endif
-+ CVC_CERT *a, unsigned char **out);
-
- /**
- * @brief Duplicate a CV certificate
-diff --git a/src/eac_util.c b/src/eac_util.c
-index e87293c..6e518e0 100644
---- a/src/eac_util.c
-+++ b/src/eac_util.c
-@@ -321,6 +321,8 @@ randb(int numbytes)
- return NULL;
- }
-
-+#include <openssl/provider.h>
-+
- BUF_MEM *
- retail_mac_des(const BUF_MEM * key, const BUF_MEM * in)
- {
-@@ -331,6 +333,11 @@ retail_mac_des(const BUF_MEM * key, const BUF_MEM * in)
-
- check(key, "Invalid arguments");
-
-+#if OPENSSL_VERSION_NUMBER >= 0x30000000L
-+ OSSL_PROVIDER *legacy;
-+ legacy = OSSL_PROVIDER_load(NULL, "legacy");
-+#endif
-+
- len = EVP_CIPHER_block_size(EVP_des_cbc());
- check(key->length >= 2*len, "Key too short");
-
-@@ -369,6 +376,9 @@ retail_mac_des(const BUF_MEM * key, const BUF_MEM * in)
- BUF_MEM_free(c_tmp);
- BUF_MEM_free(d_tmp);
- EVP_CIPHER_CTX_free(ctx);
-+#if OPENSSL_VERSION_NUMBER >= 0x30000000L
-+ OSSL_PROVIDER_unload(legacy);
-+#endif
-
- return mac;
-
-@@ -381,6 +391,10 @@ retail_mac_des(const BUF_MEM * key, const BUF_MEM * in)
- BUF_MEM_free(d_tmp);
- if (ctx)
- EVP_CIPHER_CTX_free(ctx);
-+#if OPENSSL_VERSION_NUMBER >= 0x30000000L
-+ if (legacy)
-+ OSSL_PROVIDER_unload(legacy);
-+#endif
-
- return NULL;
- }
diff --git a/dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-3.patch b/dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-3.patch
deleted file mode 100644
index 9ae0221adb7b..000000000000
--- a/dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-3.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 4c22789d264bd249cfff1c3e69466991e58a76cf Mon Sep 17 00:00:00 2001
-From: Frank Morgner <frankmorgner@gmail.com>
-Date: Mon, 20 Dec 2021 02:32:58 +0100
-Subject: [PATCH] fixed openssl 3 include
-
----
- src/eac_util.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/eac_util.c b/src/eac_util.c
-index 6e518e0..c9196fd 100644
---- a/src/eac_util.c
-+++ b/src/eac_util.c
-@@ -321,7 +321,9 @@ randb(int numbytes)
- return NULL;
- }
-
-+#if OPENSSL_VERSION_NUMBER >= 0x30000000L
- #include <openssl/provider.h>
-+#endif
-
- BUF_MEM *
- retail_mac_des(const BUF_MEM * key, const BUF_MEM * in)
diff --git a/dev-libs/openpace/openpace-1.1.2.ebuild b/dev-libs/openpace/openpace-1.1.2.ebuild
deleted file mode 100644
index 566a4b1c635d..000000000000
--- a/dev-libs/openpace/openpace-1.1.2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Cryptographic library for EAC version 2"
-HOMEPAGE="https://frankmorgner.github.io/openpace"
-SRC_URI="https://github.com/frankmorgner/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0/3"
-KEYWORDS="amd64 ppc64 x86"
-
-BDEPEND="
- dev-util/gengetopt
- sys-apps/help2man
- virtual/pkgconfig"
-DEPEND="dev-libs/openssl:="
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-openssl-3.0-1.patch
- "${FILESDIR}"/${P}-openssl-3.0-2.patch
- "${FILESDIR}"/${P}-openssl-3.0-3.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-openssl-install \
- --disable-go \
- --disable-java \
- --disable-python \
- --disable-ruby
-}
-
-src_compile() {
- # not running just 1 job causes a race condition that causes a linking error
- emake -j1
-}
-
-src_install() {
- default
-
- find "${ED}" -type f -name '*.la' -delete || die
-}