> Date: Sat, 14 Jan 2023 00:24:19 +0100
> From: Theo Buehler <[email protected]>
>
> On Fri, Jan 13, 2023 at 11:36:00PM +0100, Mark Kettenis wrote:
> > This fixes the arm64 perl assembly scripts to no longer emit data into
> > .text segments. I removed the -Wl,--no-execute-only flags and ran
> > "make test" which still reports that all tests passed.
>
> Yes, confirmed, this passes tests. Do you plan on backporting this to
> openssl/1.1 or should I take a shot at that?
If you have time to take a look, I can move on to riscv64.
> Although it's unlikely that the lang/node build will break, I'd like to
> make sure that it does build before you commit. I have started the build
> but I will likely sleep before it finishes.
>
> Please apply the patch below that disables -Wl,--no-execute-only for
> aarch64 and bumps revision for openssl/3.0 and mail/postfix (the latter
> need it due to static linking) on top of yours.
>
> Unless I tell you node broke tomorrow morning, this is ok tb. If you
> don't want to commit to postfix, sthen or I can take care of that.
Thanks, I'll take care of it.
> Index: security/openssl/3.0/Makefile
> ===================================================================
> RCS file: /cvs/ports/security/openssl/3.0/Makefile,v
> retrieving revision 1.21
> diff -u -p -r1.21 Makefile
> --- security/openssl/3.0/Makefile 9 Jan 2023 17:27:50 -0000 1.21
> +++ security/openssl/3.0/Makefile 13 Jan 2023 22:56:18 -0000
> @@ -5,7 +5,7 @@ V= 3.0.7
> PKGNAME= openssl-${V}
> PKGSPEC= openssl->=3v0,<3.1v0
> EPOCH= 0
> -REVISION= 2
> +REVISION= 3
>
> SHLIBVER= 12.2
> SHARED_LIBS= crypto ${SHLIBVER} \
> @@ -38,7 +38,9 @@ MAN_PREFIX= @man lib/eopenssl30/man
> INSTALL_TARGET+= install_man_docs
> .endif
>
> +.if ${MACHINE_ARCH} != aarch64
> USE_NOEXECONLY = Yes
> +.endif
>
> # install to unusual directory name - this port is *not* intended to be
> # picked up by configure scripts without explicitly CPPFLAGS/LDFLAGS.
> Index: mail/postfix/Makefile.inc
> ===================================================================
> RCS file: /cvs/ports/mail/postfix/Makefile.inc,v
> retrieving revision 1.104
> diff -u -p -r1.104 Makefile.inc
> --- mail/postfix/Makefile.inc 11 Jan 2023 16:33:57 -0000 1.104
> +++ mail/postfix/Makefile.inc 13 Jan 2023 23:11:01 -0000
> @@ -67,7 +67,9 @@ MAKE_AUXLIBS+= -L${LOCALBASE}/lib -lsasl
> .endif
>
> .if ${NEEDS_OPENSSL:L:Myes}
> +. if ${MACHINE_ARCH} != aarch64
> USE_NOEXECONLY= Yes
> +. endif
> BUILD_DEPENDS+= security/openssl/3.0
> MAKE_CCARGS+= -I${LOCALBASE}/include/eopenssl30
> MAKE_AUXLIBS+= ${LOCALBASE}/lib/eopenssl30/libssl.a \
> Index: mail/postfix/snapshot/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/postfix/snapshot/Makefile,v
> retrieving revision 1.346
> diff -u -p -r1.346 Makefile
> --- mail/postfix/snapshot/Makefile 11 Jan 2023 16:33:57 -0000 1.346
> +++ mail/postfix/snapshot/Makefile 13 Jan 2023 23:11:52 -0000
> @@ -1,5 +1,5 @@
> VERSION= 3.8-20221007
> -REVISION= 2
> +REVISION= 3
>
> PORTROACH=
> site:http://ftp.porcupine.org/mirrors/postfix-release/experimental/
> MASTER_SITES= ${MASTER_SITE_POSTFIX:=experimental/}
> Index: mail/postfix/stable/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/postfix/stable/Makefile,v
> retrieving revision 1.239
> diff -u -p -r1.239 Makefile
> --- mail/postfix/stable/Makefile 11 Jan 2023 16:33:57 -0000 1.239
> +++ mail/postfix/stable/Makefile 13 Jan 2023 23:11:40 -0000
> @@ -1,5 +1,5 @@
> VERSION= 3.7.3
> -REVISION= 2
> +REVISION= 3
>
> PORTROACH= site:http://ftp.porcupine.org/mirrors/postfix-release/official/
> MASTER_SITES= ${MASTER_SITE_POSTFIX:=official/}
>