summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-03 00:59:55 +0000
committerdavidovski <david@davidovski.xyz>2022-03-03 00:59:55 +0000
commitded92b5b9bba6969e54c043848aee4520461d89a (patch)
treee29d308a445c3cc04983f5b1b47742919e3193b4
parent9d445ae89285ea58f99a78b8eed76abcbdba0ffd (diff)
added necessary patch to krb5
-rw-r--r--repo/system/krb5.xibuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/repo/system/krb5.xibuild b/repo/system/krb5.xibuild
index c28f7c2..4ed4ef7 100644
--- a/repo/system/krb5.xibuild
+++ b/repo/system/krb5.xibuild
@@ -4,7 +4,11 @@ MAKEDEPS="make "
DEPS="musl e2fsprogs libldap keyutils gdbm"
PKG_VER=1.19.2
-SOURCE=http://web.mit.edu/kerberos/dist/krb5/${PKG_VER%.*}/krb5-${PKG_VER}.tar.gz
+SOURCE=http://kerberos.org/dist/krb5/${PKG_VER%.*}/krb5-${PKG_VER}.tar.gz
+
+ADDITIONAL="
+ https://www.linuxfromscratch.org/patches/blfs/svn/mitkrb-${PKG_VER}-openssl3_fixes-1.patch
+"
DESC="The Kerberos network authentication system"
@@ -22,6 +26,8 @@ prepare () {
#these were needed for libressl
#patch -Np0 -i ../patch-plugins_preauth_pkinit_pkinit__crypto__openssl.c
#patch -Np0 -i ../patch-plugins_preauth_pkinit_pkinit__crypto__openssl.h
+ patch -Np2 -i ../mitkrb-$PKG_VER-openssl3_fixes-1.patch
+
sed -e "/LDFLAGS=/d" -i build-tools/krb5-config.in
sed -i -e 's@\^u}@^u cols 300}@' tests/dejagnu/config/default.exp || true