git: f640451481dd - main - security/openssl-devel: merge upstream patch to enable assembly routines on powerpc*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Dec 2021 04:05:11 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=f640451481dd75d93c80ecc585e568f8ff5fc8d4 commit f640451481dd75d93c80ecc585e568f8ff5fc8d4 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-12-11 03:47:47 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-12-11 03:47:47 +0000 security/openssl-devel: merge upstream patch to enable assembly routines on powerpc* Since the architecture is misdetected as powerpc, manually set up target. --- security/openssl-devel/Makefile | 15 ++++++++++++++- security/openssl-devel/distinfo | 4 +++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/security/openssl-devel/Makefile b/security/openssl-devel/Makefile index a4fa55c20589..ae584240bf6a 100644 --- a/security/openssl-devel/Makefile +++ b/security/openssl-devel/Makefile @@ -8,6 +8,9 @@ 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 + MAINTAINER= brnrd@FreeBSD.org COMMENT= TLSv1.3 capable SSL and crypto library @@ -132,13 +135,23 @@ ZLIB_CONFIGURE_ON= zlib-dynamic SHLIBS= lib/engines-${OPENSSL_SHLIBVER}/loader_attic.so +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +CONFIGURE_ARGS+= BSD-ppc +.elif ${ARCH} == powerpc64 +CONFIGURE_ARGS+= BSD-ppc64 +.elif ${ARCH} == powerpc64le +CONFIGURE_ARGS+= BSD-ppc64le +.endif + .include <bsd.port.pre.mk> .if ${PREFIX} == /usr IGNORE= the OpenSSL port can not be installed over the base version .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 && !${PORT_OPTIONS:MCRYPTODEV} -CONFIGURE_ARGS+= no-devcryptoeng +CONFIGURE_ARGS+= no-devcryptoeng .endif OPENSSLDIR?= ${PREFIX}/openssl diff --git a/security/openssl-devel/distinfo b/security/openssl-devel/distinfo index 720cf35b412d..aab30a994f2e 100644 --- a/security/openssl-devel/distinfo +++ b/security/openssl-devel/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1631100659 +TIMESTAMP = 1639193665 SHA256 (openssl-3.0.0.tar.gz) = 59eedfcb46c25214c9bd37ed6078297b4df01d012267fe9e9eee31f61bc70536 SIZE (openssl-3.0.0.tar.gz) = 14978663 +SHA256 (f5485b97b6c9977c0d39c7669b9f97a879312447.patch) = 6d5b13e052924664dbdcafa71e5c2d46510813846339df4646a9291441d69ca3 +SIZE (f5485b97b6c9977c0d39c7669b9f97a879312447.patch) = 4521