Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/heimdal/lib handle OpenSSL-3 deprecations



details:   https://anonhg.NetBSD.org/src/rev/614cceae1c60
branches:  trunk
changeset: 374636:614cceae1c60
user:      christos <christos%NetBSD.org@localhost>
date:      Mon May 08 22:17:36 2023 +0000

description:
handle OpenSSL-3 deprecations

diffstat:

 crypto/external/bsd/heimdal/lib/libgssapi/Makefile   |  10 +++++++++-
 crypto/external/bsd/heimdal/lib/libheimntlm/Makefile |   4 +++-
 crypto/external/bsd/heimdal/lib/libhx509/Makefile    |   7 ++++++-
 crypto/external/bsd/heimdal/lib/libkafs/Makefile     |   4 +++-
 crypto/external/bsd/heimdal/lib/libkdc/Makefile      |   6 +++++-
 crypto/external/bsd/heimdal/lib/libkrb5/Makefile     |  10 +++++++++-
 6 files changed, 35 insertions(+), 6 deletions(-)

diffs (121 lines):

diff -r 7e4eb0a1b79d -r 614cceae1c60 crypto/external/bsd/heimdal/lib/libgssapi/Makefile
--- a/crypto/external/bsd/heimdal/lib/libgssapi/Makefile        Mon May 08 21:20:29 2023 +0000
+++ b/crypto/external/bsd/heimdal/lib/libgssapi/Makefile        Mon May 08 22:17:36 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2018/07/10 13:17:36 martin Exp $
+# $NetBSD: Makefile,v 1.6 2023/05/08 22:17:36 christos Exp $
 
 USE_FORT?= yes        # network protocol library
 
@@ -276,5 +276,13 @@ CPPFLAGS+=                 \
        -I${HEIMDIST}/lib/krb5  \
        -I${HEIMDIST}/lib/asn1  \
 
+COPTS.krb5__get_mic.c+= -Wno-error=deprecated-declarations
+COPTS.krb5__wrap.c+= -Wno-error=deprecated-declarations
+COPTS.krb5__unwrap.c+= -Wno-error=deprecated-declarations
+COPTS.krb5__verify_mic.c+= -Wno-error=deprecated-declarations
+COPTS.ntlm__accept_sec_context.c+= -Wno-error=deprecated-declarations
+COPTS.ntlm__crypto.c+= -Wno-error=deprecated-declarations
+COPTS.ntlm__init_sec_context.c+= -Wno-error=deprecated-declarations
+
 .include <${HEIMBASE}/Makefile.rules.inc>
 .include <bsd.lib.mk>
diff -r 7e4eb0a1b79d -r 614cceae1c60 crypto/external/bsd/heimdal/lib/libheimntlm/Makefile
--- a/crypto/external/bsd/heimdal/lib/libheimntlm/Makefile      Mon May 08 21:20:29 2023 +0000
+++ b/crypto/external/bsd/heimdal/lib/libheimntlm/Makefile      Mon May 08 22:17:36 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/07/06 08:31:43 martin Exp $
+# $NetBSD: Makefile,v 1.4 2023/05/08 22:17:36 christos Exp $
 
 USE_FORT?= yes # cryptographic software
 
@@ -24,5 +24,7 @@ INCS=         heimntlm.h heimntlm-protos.h ${CO
 
 INCSDIR=       /usr/include/krb5
 
+COPTS.ntlm.c+= -Wno-error=deprecated-declarations
+
 .include <${HEIMBASE}/Makefile.rules.inc>
 .include <bsd.lib.mk>
diff -r 7e4eb0a1b79d -r 614cceae1c60 crypto/external/bsd/heimdal/lib/libhx509/Makefile
--- a/crypto/external/bsd/heimdal/lib/libhx509/Makefile Mon May 08 21:20:29 2023 +0000
+++ b/crypto/external/bsd/heimdal/lib/libhx509/Makefile Mon May 08 22:17:36 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2021/06/20 10:38:54 christos Exp $
+# $NetBSD: Makefile,v 1.8 2023/05/08 22:17:36 christos Exp $
 
 NOLINT=                # defined
 
@@ -85,5 +85,10 @@ ASN1_FILES.ocsp.asn1 =                       \
        asn1_id_pkix_ocsp_basic.x       \
        asn1_id_pkix_ocsp_nonce.x
 
+COPTS.cert.c += -Wno-error=deprecated-declarations
+COPTS.crypto-ec.c += -Wno-error=deprecated-declarations
+COPTS.crypto.c += -Wno-error=deprecated-declarations
+COPTS.ks_p11.c += -Wno-error=deprecated-declarations
+
 .include <${HEIMBASE}/Makefile.rules.inc>
 .include <bsd.lib.mk>
diff -r 7e4eb0a1b79d -r 614cceae1c60 crypto/external/bsd/heimdal/lib/libkafs/Makefile
--- a/crypto/external/bsd/heimdal/lib/libkafs/Makefile  Mon May 08 21:20:29 2023 +0000
+++ b/crypto/external/bsd/heimdal/lib/libkafs/Makefile  Mon May 08 22:17:36 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2017/01/28 21:31:52 christos Exp $
+# $NetBSD: Makefile,v 1.4 2023/05/08 22:17:37 christos Exp $
 
 USE_FORT?= yes # network protocol library
 
@@ -21,5 +21,7 @@ INCS=         kafs.h
 INCSDIR=       /usr/include/krb5
 MAN=           kafs.3
 
+COPTS.rxkad_kdf.c+= -Wno-error=deprecated-declarations
+
 .include <${HEIMBASE}/Makefile.rules.inc>
 .include <bsd.lib.mk>
diff -r 7e4eb0a1b79d -r 614cceae1c60 crypto/external/bsd/heimdal/lib/libkdc/Makefile
--- a/crypto/external/bsd/heimdal/lib/libkdc/Makefile   Mon May 08 21:20:29 2023 +0000
+++ b/crypto/external/bsd/heimdal/lib/libkdc/Makefile   Mon May 08 22:17:36 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/07/06 08:54:30 martin Exp $
+# $NetBSD: Makefile,v 1.5 2023/05/08 22:17:37 christos Exp $
 
 .include <bsd.own.mk>
 .include <${.CURDIR}/../../Makefile.inc>
@@ -38,6 +38,10 @@ INCS= kdc-protos.h kdc.h
 
 CPPFLAGS+= -I${HEIMDIST}/lib/krb5
 
+COPTS.kx509.c+= -Wno-error=deprecated-declarations
+COPTS.pkinit-ec.c+= -Wno-error=deprecated-declarations
+COPTS.pkinit.c+= -Wno-error=deprecated-declarations
+
 # Prevent collision with old MIT Kerberos includes -- require manual
 # intervention of the operator.
 .BEGIN:
diff -r 7e4eb0a1b79d -r 614cceae1c60 crypto/external/bsd/heimdal/lib/libkrb5/Makefile
--- a/crypto/external/bsd/heimdal/lib/libkrb5/Makefile  Mon May 08 21:20:29 2023 +0000
+++ b/crypto/external/bsd/heimdal/lib/libkrb5/Makefile  Mon May 08 22:17:36 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2017/01/29 15:42:58 christos Exp $
+# $NetBSD: Makefile,v 1.12 2023/05/08 22:17:37 christos Exp $
 
 USE_FORT?= yes # network protocol library
 
@@ -550,6 +550,14 @@ vars.texi: vars.tin
 
 CLEANFILES+=   vars.texi
 
+COPTS.crypto-des.c+= -Wno-error=deprecated-declarations
+COPTS.crypto-des3.c+= -Wno-error=deprecated-declarations
+COPTS.pkinit.c+= -Wno-error=deprecated-declarations
+COPTS.pkinit-ec.c+= -Wno-error=deprecated-declarations
+COPTS.salt-des.c+= -Wno-error=deprecated-declarations
+COPTS.salt-des3.c+= -Wno-error=deprecated-declarations
+COPTS.sp800-108-kdf.c+= -Wno-error=deprecated-declarations
+
 .include <${HEIMBASE}/Makefile.rules.inc>
 .include <bsd.lib.mk>
 .include <bsd.info.mk>



Home | Main Index | Thread Index | Old Index