Handle OpenSSL-3.x

This commit is contained in:
christos 2023-05-09 20:02:59 +00:00
parent 2a6095b06a
commit 8499346dc4
4 changed files with 15 additions and 7 deletions

View File

@ -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}

View File

@ -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>

View File

@ -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.y
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>

View File

@ -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>