git: c1fa6bdea423 - main - security/openssl-devel: add BSD-riscv64 target support

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 27 Dec 2021 21:22:02 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c1fa6bdea4235c5b729ae4d5ab6a1fed921569de

commit c1fa6bdea4235c5b729ae4d5ab6a1fed921569de
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-12-27 21:19:32 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-12-27 21:19:32 +0000

    security/openssl-devel: add BSD-riscv64 target support
    
    While here, remove checking for powerpc, it's detected automatically.
---
 security/openssl-devel/Makefile | 10 ++++++----
 security/openssl-devel/distinfo |  4 +++-
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/security/openssl-devel/Makefile b/security/openssl-devel/Makefile
index 63d6cc97ccdf..1bff35bc34a6 100644
--- a/security/openssl-devel/Makefile
+++ b/security/openssl-devel/Makefile
@@ -2,13 +2,15 @@
 
 PORTNAME=	openssl
 DISTVERSION=	3.0.1
+PORTREVISIO=	1
 CATEGORIES=	security devel
 MASTER_SITES=	https://www.openssl.org/source/ \
 		ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/
 PKGNAMESUFFIX=	-devel
 
 PATCH_SITES=	https://github.com/openssl/openssl/commit/
-PATCHFILES=	f5485b97b6c9977c0d39c7669b9f97a879312447.patch:-p1
+PATCHFILES=	f5485b97b6c9977c0d39c7669b9f97a879312447.patch:-p1 \
+		c2d1ad0e048dd3bfa60e6aa0b5ee343cc6d97a15.patch:-p1
 
 MAINTAINER=	brnrd@FreeBSD.org
 COMMENT=	TLSv1.3 capable SSL and crypto library
@@ -136,12 +138,12 @@ SHLIBS=			lib/engines-${OPENSSL_SHLIBVER}/loader_attic.so
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == powerpc
-CONFIGURE_ARGS+=	BSD-ppc
-.elif ${ARCH} == powerpc64
+.if ${ARCH} == powerpc64
 CONFIGURE_ARGS+=	BSD-ppc64
 .elif ${ARCH} == powerpc64le
 CONFIGURE_ARGS+=	BSD-ppc64le
+.elif ${ARCH} == riscv64
+CONFIGURE_ARGS+=	BSD-riscv64
 .endif
 
 .include <bsd.port.pre.mk>
diff --git a/security/openssl-devel/distinfo b/security/openssl-devel/distinfo
index 3ef9840c5e92..dafedfed9074 100644
--- a/security/openssl-devel/distinfo
+++ b/security/openssl-devel/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1639508597
+TIMESTAMP = 1640634089
 SHA256 (openssl-3.0.1.tar.gz) = c311ad853353bce796edad01a862c50a8a587f62e7e2100ef465ab53ec9b06d1
 SIZE (openssl-3.0.1.tar.gz) = 15011207
 SHA256 (f5485b97b6c9977c0d39c7669b9f97a879312447.patch) = 6d5b13e052924664dbdcafa71e5c2d46510813846339df4646a9291441d69ca3
 SIZE (f5485b97b6c9977c0d39c7669b9f97a879312447.patch) = 4521
+SHA256 (c2d1ad0e048dd3bfa60e6aa0b5ee343cc6d97a15.patch) = a034fb981806eecec69f5609300166669903ac0d11d3eace8e79af0bff02f51e
+SIZE (c2d1ad0e048dd3bfa60e6aa0b5ee343cc6d97a15.patch) = 1743