From 95adac9eadb49def117225d79e3a6c126958540f Mon Sep 17 00:00:00 2001 From: Klara Modin Date: Wed, 1 Feb 2023 00:26:08 +0100 Subject: [PATCH] mit-krb5: update to 1.20.1 - a rebuild triggerd by update to openldap-2.6.3 had some errors in the test suite - remove patch for libressl - follow distfiles convention. --- srcpkgs/mit-krb5/patches/libressl.patch | 38 ------------------------- srcpkgs/mit-krb5/template | 8 +++--- 2 files changed, 4 insertions(+), 42 deletions(-) delete mode 100644 srcpkgs/mit-krb5/patches/libressl.patch diff --git a/srcpkgs/mit-krb5/patches/libressl.patch b/srcpkgs/mit-krb5/patches/libressl.patch deleted file mode 100644 index 6eb0dbfcaf3d..000000000000 --- a/srcpkgs/mit-krb5/patches/libressl.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c 2019-01-08 17:02:37.000000000 +0100 -+++ b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c 2019-05-11 16:29:37.001458084 +0200 -@@ -189,7 +189,7 @@ - (*_x509_pp) = PKCS7_cert_from_signer_info(_p7,_si) - #endif - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - - /* 1.1 standardizes constructor and destructor names, renaming - * EVP_MD_CTX_{create,destroy} and deprecating ASN1_STRING_data. */ -@@ -3053,7 +3053,7 @@ - return retval; - } - --#if OPENSSL_VERSION_NUMBER >= 0x10100000L -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - - /* - * We need to decode DomainParameters from RFC 3279 section 2.3.3. We would -@@ -3079,7 +3079,7 @@ - ASN1_SEQUENCE(DHvparams) = { - ASN1_SIMPLE(int_dhvparams, seed, ASN1_BIT_STRING), - ASN1_SIMPLE(int_dhvparams, counter, BIGNUM) --} static_ASN1_SEQUENCE_END_name(int_dhvparams, DHvparams) -+} ASN1_SEQUENCE_END_name(int_dhvparams, DHvparams) - - ASN1_SEQUENCE(DHxparams) = { - ASN1_SIMPLE(int_dhx942_dh, p, BIGNUM), -@@ -3087,7 +3087,7 @@ - ASN1_OPT(int_dhx942_dh, q, BIGNUM), - ASN1_OPT(int_dhx942_dh, j, BIGNUM), - ASN1_OPT(int_dhx942_dh, vparams, DHvparams), --} static_ASN1_SEQUENCE_END_name(int_dhx942_dh, DHxparams) -+} ASN1_SEQUENCE_END_name(int_dhx942_dh, DHxparams) - - static DH * - decode_dh_params(const uint8_t *p, unsigned int len) diff --git a/srcpkgs/mit-krb5/template b/srcpkgs/mit-krb5/template index a67bae19764a..36a7de46e099 100644 --- a/srcpkgs/mit-krb5/template +++ b/srcpkgs/mit-krb5/template @@ -2,8 +2,8 @@ # if there is a bump in .so version, # also update srcpkgs/libgssglue/files/gssapi_mech.conf pkgname=mit-krb5 -version=1.18.3 -revision=2 +version=1.20.1 +revision=1 build_style=gnu-configure hostmakedepends="e2fsprogs-devel flex perl pkg-config" makedepends="e2fsprogs-devel libldap-devel" @@ -11,8 +11,8 @@ short_desc="MIT Kerberos 5 implementation" maintainer="Orphaned " license="MIT" homepage="http://web.mit.edu/kerberos" -distfiles="${homepage}/dist/krb5/${version%.*}/krb5-${version}.tar.gz" -checksum=e61783c292b5efd9afb45c555a80dd267ac67eebabca42185362bee6c4fbd719 +distfiles="http://web.mit.edu/kerberos/dist/krb5/${version%.*}/krb5-${version}.tar.gz" +checksum=704aed49b19eb5a7178b34b2873620ec299db08752d6a8574f95d41879ab8851 post_patch() { vsed -e "/LDFLAGS=/d" -i src/build-tools/krb5-config.in