diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-07 11:18:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-07 11:18:59 +0100 |
commit | a2810985afabcc31d3eace5e61d8ea25b852ba17 (patch) | |
tree | d254e77a7aeadd875db2dc73532da78094238ffd /net-libs/neon | |
parent | eab5731cdf11d4ae8cdf111461d46fd96c5bdd37 (diff) |
gentoo resync : 07.05.2019
Diffstat (limited to 'net-libs/neon')
-rw-r--r-- | net-libs/neon/Manifest | 2 | ||||
-rw-r--r-- | net-libs/neon/neon-0.30.2.ebuild | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/net-libs/neon/Manifest b/net-libs/neon/Manifest index 67601741230f..b317c38f0340 100644 --- a/net-libs/neon/Manifest +++ b/net-libs/neon/Manifest @@ -1,3 +1,3 @@ DIST neon-0.30.2.tar.gz 932779 BLAKE2B 0536e4f1c8634ede9a1806180c315772a65b9cb1ead0ae3674d58aba855905b6a7c7684ef930ca1998c1163c662d642a687cc704922981dbc4a89efaa83f4cd9 SHA512 634caf87522e0bd2695c6fba39cae2465e403f9fbd8007eb10e4e035c765d24cb8da932c67bfa35c34aa51b90c7bc7037ebebaa1ec43259366d5d07233efc631 -EBUILD neon-0.30.2.ebuild 3288 BLAKE2B 90cf1c93e501d479224642e5e57a516f89a8fb8b37647750a956d612bc2a7a68e78d6186a257609bfdb6c1761fa5782fd2dcea324e679383ce9703427bd98863 SHA512 f94545777ac4e1770807e350b18ad041a18f675ca7223e631580dbe191b92f1d90a1b0824dc2b8cf3f722610455f2884e34b97ed572a0c9307eccc7b8482c5c0 +EBUILD neon-0.30.2.ebuild 3460 BLAKE2B 6feb0f5a737dc507edba5df832ced68e1e1af5f919e241ca6a0e60c750afec22efe89f81ec1ee76ad4d682d2567862d05f20aac8b57c1656b67bde2fe11dd7aa SHA512 65e56674e25b854efa8c4a6374addc3ec802a6e42adbf4bfa2153e24c24a122b3f71423cf6f62d29cab84c02d300f7c950da058850c933a992d8cde8bc633f81 MISC metadata.xml 1316 BLAKE2B 8d191f415e3ec7d76acac052656386617625842ffb7ca4c0ecf6e0e5c971f142d8f644bcad394671fac98fc6f046674fe5a5f94a460a5fa4328079e1ce2515a0 SHA512 6d15131eef6b6e61c0d7289d00c8dad289c5f48ffdca65b57b1ce73afe65a705f89e710874ca9f5a199dc6b1eb818f3650b8d60a65717d3ae49f9102113ca3f4 diff --git a/net-libs/neon/neon-0.30.2.ebuild b/net-libs/neon/neon-0.30.2.ebuild index cad03d94e6d9..cead548a3b2e 100644 --- a/net-libs/neon/neon-0.30.2.ebuild +++ b/net-libs/neon/neon-0.30.2.ebuild @@ -45,10 +45,10 @@ src_prepare() { # Fix compatibility with OpenSSL >=1.1. sed -e "s/RSA_F_RSA_PRIVATE_ENCRYPT/RSA_F_RSA_OSSL_PRIVATE_ENCRYPT/" -i src/ne_pkcs11.c || die "sed failed" - # Use OpenSSL <1.1 compatibility code with LibreSSL. - # Functions EVP_PKEY_up_ref(), EVP_PKEY_get0_RSA(), RSA_meth_get0_app_data(), RSA_meth_new(), RSA_meth_free(), - # RSA_meth_set_priv_enc(), RSA_meth_set0_app_data() are not implemented in LibreSSL 2.5.1. - sed -e "s/#if OPENSSL_VERSION_NUMBER < 0x10100000L/& || defined(LIBRESSL_VERSION_NUMBER)/" -i src/ne_openssl.c src/ne_pkcs11.c || die "sed failed" + # Support LibreSSL. + # Functions RSA_meth_get0_app_data() and RSA_meth_set0_app_data() are not implemented in LibreSSL 2.9.1. + sed -e "1202s/#if OPENSSL_VERSION_NUMBER < 0x10100000L/& || defined(LIBRESSL_VERSION_NUMBER)/" -i src/ne_openssl.c || die "sed failed" + sed -e "97a #if defined(LIBRESSL_VERSION_NUMBER)\nstatic void *RSA_meth_get0_app_data(const RSA_METHOD *meth)\n{\n return meth->app_data;\n}\nstatic int RSA_meth_set0_app_data(RSA_METHOD *meth, void *app_data)\n{\n meth->app_data = app_data;\n return 1;\n}\n#endif" -i src/ne_pkcs11.c || die "sed failed" eapply_user |