Source-Changes-HG archive

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

[src/trunk]: src Handle OpenSSL-3.x



details:   https://anonhg.NetBSD.org/src/rev/ebfb0e58fd27
branches:  trunk
changeset: 374668:ebfb0e58fd27
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 09 20:02:59 2023 +0000

description:
Handle OpenSSL-3.x

diffstat:

 games/factor/Makefile         |  4 +++-
 usr.bin/moduli/qsafe/Makefile |  5 ++++-
 usr.sbin/racoon/Makefile      |  9 +++++----
 usr.sbin/syslogd/Makefile     |  4 +++-
 4 files changed, 15 insertions(+), 7 deletions(-)

diffs (76 lines):

diff -r cee6b7d43b66 -r ebfb0e58fd27 games/factor/Makefile
--- a/games/factor/Makefile     Tue May 09 19:43:12 2023 +0000
+++ b/games/factor/Makefile     Tue May 09 20:02:59 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2021/04/12 04:19:32 mrg Exp $
+#      $NetBSD: Makefile,v 1.15 2023/05/09 20:03:11 christos Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 .include <bsd.own.mk>
@@ -13,6 +13,8 @@ CPPFLAGS+=-DHAVE_OPENSSL
 LDADD+=        -lcrypto -lcrypt
 DPADD+=        ${LIBCRYPTO} ${LIBCRYPT}
 
+COPTS.factor.c+= -Wno-error=deprecated-declarations
+
 MAN=   factor.6
 .PATH: ${PRIMES}
 
diff -r cee6b7d43b66 -r ebfb0e58fd27 usr.bin/moduli/qsafe/Makefile
--- a/usr.bin/moduli/qsafe/Makefile     Tue May 09 19:43:12 2023 +0000
+++ b/usr.bin/moduli/qsafe/Makefile     Tue May 09 20:02:59 2023 +0000
@@ -1,10 +1,13 @@
-# $NetBSD: Makefile,v 1.1 2006/01/24 18:59:23 elad Exp $
+# $NetBSD: Makefile,v 1.2 2023/05/09 20:02:59 christos Exp $
 
 NOMAN=yes
 PROG=   qsafe
 SRCS= qsafe.c qfile.c
+
 QSIEVE=${.CURDIR}/../qsieve
 .PATH: ${QSIEVE}
 CPPFLAGS+=-I${QSIEVE}
 
+COPTS.qsafe.c+= -Wno-error=deprecated-declarations
+
 .include <bsd.prog.mk>
diff -r cee6b7d43b66 -r ebfb0e58fd27 usr.sbin/racoon/Makefile
--- a/usr.sbin/racoon/Makefile  Tue May 09 19:43:12 2023 +0000
+++ b/usr.sbin/racoon/Makefile  Tue May 09 20:02:59 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2023/05/09 02:30:21 christos Exp $
+# $NetBSD: Makefile,v 1.42 2023/05/09 20:11:54 christos Exp $
 
 WARNS?=        0       # XXX third-party program, many issues
 NOCLANGERROR=  # defined
@@ -84,9 +84,10 @@ prsa_par.c: ${DIST}/src/racoon/prsa_par.
 CWARNFLAGS.gcc+=        ${GCC_NO_ADDR_OF_PACKED_MEMBER}
 
 COPTS+=                -fcommon
-COPTS.crypto_openssl.c+=-Wno-error=deprecated-declarations
-COPTS.rsalist.c+=-Wno-error=deprecated-declarations
-COPTS.prsa_par.c+=-Wno-error=deprecated-declarations
+COPTS.crypto_openssl.c+= -Wno-error=deprecated-declarations
+COPTS.rsalist.c+= -Wno-error=deprecated-declarations
+COPTS.prsa_par.c+= -Wno-error=deprecated-declarations
+COPTS.plainrsa-gen.c+= -Wno-error=deprecated-declarations
 
 
 .include <bsd.prog.mk>
diff -r cee6b7d43b66 -r ebfb0e58fd27 usr.sbin/syslogd/Makefile
--- a/usr.sbin/syslogd/Makefile Tue May 09 19:43:12 2023 +0000
+++ b/usr.sbin/syslogd/Makefile Tue May 09 20:02:59 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.31 2021/03/07 15:09:12 christos Exp $
+#      $NetBSD: Makefile,v 1.32 2023/05/09 20:10:07 christos Exp $
 #      from: @(#)Makefile      8.1 (Berkeley) 6/6/93
 .include <bsd.own.mk>
 
@@ -32,5 +32,7 @@ LDADD+=       -lssl -lcrypto
 
 # Overflow that appears impossible
 COPTS.syslogd.c+=        ${GCC_NO_FORMAT_TRUNCATION} ${GCC_NO_STRINGOP_TRUNCATION}
+COPTS.tls.c+= -Wno-error=deprecated-declarations
+COPTS.sign.c+= -Wno-error=deprecated-declarations
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index