From fcc0407b6234b51649e6bd4694474499fb111be2 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 28 Apr 2023 00:44:45 +0200 Subject: [PATCH] libucl: update to 0.8.2. --- ...1327180cff73904b28f04cfdb604fc7d0773.patch | 41 ------------------- srcpkgs/libucl/template | 8 ++-- 2 files changed, 5 insertions(+), 44 deletions(-) delete mode 100644 srcpkgs/libucl/patches/c7141327180cff73904b28f04cfdb604fc7d0773.patch diff --git a/srcpkgs/libucl/patches/c7141327180cff73904b28f04cfdb604fc7d0773.patch b/srcpkgs/libucl/patches/c7141327180cff73904b28f04cfdb604fc7d0773.patch deleted file mode 100644 index 79577821214..00000000000 --- a/srcpkgs/libucl/patches/c7141327180cff73904b28f04cfdb604fc7d0773.patch +++ /dev/null @@ -1,41 +0,0 @@ -From c7141327180cff73904b28f04cfdb604fc7d0773 Mon Sep 17 00:00:00 2001 -From: Alexandru Guzinschi -Date: Fri, 11 Sep 2020 11:41:54 +0300 -Subject: [PATCH] fix: Changed OpenSSL check inside configure.am - -In OpenSSL 1.1.0 the `EVP_MD_CTX_create()` and `EVP_MD_CTX_destroy()` -functions were renamed to `EVP_MD_CTX_new()` and `EVP_MD_CTX_free()`. -Because a check for `EVP_MD_CTX_create()` was in place inside -configure.am, building with newer OpenSSL versions could not be done. - -Checking for `EVP_MD_CTX_create` function from configure.am was -replaced with a check for `CRYPTO_new_ex_data()` function. - -Because a [compatibility layer][1] was introduced in OpenSSL 1.1.0, -no code changes are necessary. - -Fixes: #203 - -[1]: https://github.com/openssl/openssl/blob/OpenSSL_1_1_0/include/openssl/evp.h#L500-L502 ---- - configure.ac | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 8aa3d17..731b711 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -73,11 +73,11 @@ AC_ARG_ENABLE([utils], - AM_CONDITIONAL([UTILS], [test x$utils = xtrue]) - - AS_IF([test "x$enable_signatures" = "xyes"], [ -- AC_SEARCH_LIBS([EVP_MD_CTX_create], [crypto], [ -+ AC_SEARCH_LIBS([CRYPTO_new_ex_data], [crypto], [ - AC_DEFINE(HAVE_OPENSSL, 1, [Define to 1 if you have the 'crypto' library (-lcrypto).]) - LIBCRYPTO_LIB="-lcrypto" - LIBS_EXTRA="${LIBS_EXTRA} -lcrypto" -- ], [AC_MSG_ERROR([unable to find the EVP_MD_CTX_create() function])]) -+ ], [AC_MSG_ERROR([unable to find the CRYPTO_new_ex_data() function])]) - ]) - AC_SUBST(LIBCRYPTO_LIB) - AC_PATH_PROG(PANDOC, pandoc, [/non/existent]) diff --git a/srcpkgs/libucl/template b/srcpkgs/libucl/template index 04b2608684d..51964668c25 100644 --- a/srcpkgs/libucl/template +++ b/srcpkgs/libucl/template @@ -1,17 +1,19 @@ # Template file for 'libucl' pkgname=libucl -version=0.8.1 -revision=6 +version=0.8.2 +revision=1 build_style=gnu-configure configure_args="--enable-urls --enable-signatures" hostmakedepends="automake libtool pkg-config" makedepends="libcurl-devel" +checkdepends="xz" short_desc="Universal configuration library parser" maintainer="Orphaned " license="BSD-2-Clause" homepage="https://github.com/vstakhov/libucl" +changelog="https://github.com/vstakhov/libucl/raw/master/ChangeLog.md" distfiles="https://github.com/vstakhov/libucl/archive/${version}.tar.gz" -checksum=a6397e179672f0e8171a0f9a2cfc37e01432b357fd748b13f4394436689d24ef +checksum=d95a0e2151cc167a0f3e51864fea4e8977a0f4c473faa805269a347f7fb4e165 pre_configure() { NOCONFIGURE=1 ./autogen.sh