Source-Changes-HG archive

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

[src/trunk]: src/etc/mtree openssl: Nix build goo for dynamically loaded engi...



details:   https://anonhg.NetBSD.org/src/rev/8e4f9c22f4df
branches:  trunk
changeset: 376015:8e4f9c22f4df
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri May 26 13:21:51 2023 +0000

description:
openssl: Nix build goo for dynamically loaded engines.

- Engines are deprecated in openssl 3.

- We never actually had the .so engines wired up to be built in
  openssl 1.1, and judging by the lack of obsolete entries in the set
  lists, I don't think we ever had them wired up to be built at all.

diffstat:

 crypto/external/bsd/openssl/lib/engines/Makefile                      |   8 --
 crypto/external/bsd/openssl/lib/engines/capi/Makefile                 |   6 -
 crypto/external/bsd/openssl/lib/engines/capi/capi.map                 |   6 -
 crypto/external/bsd/openssl/lib/engines/dasync/Makefile               |   6 -
 crypto/external/bsd/openssl/lib/engines/dasync/dasync.map             |   6 -
 crypto/external/bsd/openssl/lib/engines/devcrypto/Makefile            |   6 -
 crypto/external/bsd/openssl/lib/engines/devcrypto/devcrypto.map       |   6 -
 crypto/external/bsd/openssl/lib/engines/engines.mk                    |  34 ----------
 crypto/external/bsd/openssl/lib/engines/loader_attic/Makefile         |   6 -
 crypto/external/bsd/openssl/lib/engines/loader_attic/loader_attic.map |   6 -
 crypto/external/bsd/openssl/lib/engines/ossltest/Makefile             |   6 -
 crypto/external/bsd/openssl/lib/engines/ossltest/ossltest.map         |   6 -
 crypto/external/bsd/openssl/lib/engines/padlock/Makefile              |   6 -
 crypto/external/bsd/openssl/lib/engines/padlock/padlock.map           |   6 -
 distrib/sets/lists/base/ad.mips                                       |   5 +-
 distrib/sets/lists/base/ad.powerpc                                    |   3 +-
 distrib/sets/lists/base/ad.riscv                                      |   3 +-
 distrib/sets/lists/base/md.amd64                                      |   3 +-
 distrib/sets/lists/base/md.sparc64                                    |   3 +-
 distrib/sets/lists/base/mi                                            |   3 +-
 etc/mtree/NetBSD.dist.base                                            |   3 +-
 etc/mtree/NetBSD.dist.compat.in                                       |   3 +-
 22 files changed, 8 insertions(+), 132 deletions(-)

diffs (truncated from 311 to 300 lines):

diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/Makefile
--- a/crypto/external/bsd/openssl/lib/engines/Makefile  Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-#      $NetBSD: Makefile,v 1.2 2023/05/07 16:21:19 christos Exp $
-
-.include "bsd.own.mk"
-
-# OpenSSL engines.
-SUBDIR= capi dasync devcrypto loader_attic ossltest padlock
-
-.include <bsd.subdir.mk>
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/capi/Makefile
--- a/crypto/external/bsd/openssl/lib/engines/capi/Makefile     Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-#      $NetBSD: Makefile,v 1.1 2018/12/08 23:24:01 christos Exp $
-
-LIB=   capi
-SRCS=  e_capi.c e_capi_err.c
-
-.include "../engines.mk"
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/capi/capi.map
--- a/crypto/external/bsd/openssl/lib/engines/capi/capi.map     Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
-    global:
-        bind_engine;
-        v_check;
-    local: *;
-};
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/dasync/Makefile
--- a/crypto/external/bsd/openssl/lib/engines/dasync/Makefile   Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-#      $NetBSD: Makefile,v 1.1 2018/12/08 23:24:01 christos Exp $
-
-LIB=   dasync
-SRCS=  e_dasync.c e_dasync_err.c
-
-.include "../engines.mk"
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/dasync/dasync.map
--- a/crypto/external/bsd/openssl/lib/engines/dasync/dasync.map Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
-    global:
-        bind_engine;
-        v_check;
-    local: *;
-};
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/devcrypto/Makefile
--- a/crypto/external/bsd/openssl/lib/engines/devcrypto/Makefile        Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-#      $NetBSD: Makefile,v 1.1 2023/05/07 16:21:19 christos Exp $
-
-LIB=   devcrypto
-SRCS=  e_devcrypto.c
-
-.include "../engines.mk"
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/devcrypto/devcrypto.map
--- a/crypto/external/bsd/openssl/lib/engines/devcrypto/devcrypto.map   Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
-    global:
-        bind_engine;
-        v_check;
-    local: *;
-};
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/engines.mk
--- a/crypto/external/bsd/openssl/lib/engines/engines.mk        Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-#      $NetBSD: engines.mk,v 1.3 2023/05/25 15:52:28 riastradh Exp $
-
-NOLINT=                # don't build a lint library
-NOPROFILE=     # don't build a profile library
-NOPICINSTALL=  # don't install _pic.a library
-
-.include <bsd.own.mk>
-
-SHLIB_MAJOR=0
-SHLIB_MINOR=0
-
-CRYPTODIST=     ${NETBSDSRCDIR}/crypto
-.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
-.PATH: ${OPENSSLSRC}/engines
-
-CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/../include
-
-LIBDIR=${OSSL_ENGINESDIR}
-
-.if ${MKPIC} != "no"
-.PRECIOUS: ${DESTDIR}${LIBDIR}/${LIB}.so
-libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so
-.else
-libinstall::
-.endif
-
-LDFLAGS+=-Wl,--version-script=${.CURDIR}/${LIB}.map
-
-.include <bsd.lib.mk>
-
-${DESTDIR}${LIBDIR}/${LIB}.so: lib${LIB}.so.${SHLIB_FULLVERSION}
-       ${_MKTARGET_INSTALL}
-       ${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
-           ${.ALLSRC} ${.TARGET}
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/loader_attic/Makefile
--- a/crypto/external/bsd/openssl/lib/engines/loader_attic/Makefile     Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-#      $NetBSD: Makefile,v 1.1 2023/05/07 16:21:19 christos Exp $
-
-LIB=   loader_attic
-SRCS=  e_loader_attic.c
-
-.include "../engines.mk"
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/loader_attic/loader_attic.map
--- a/crypto/external/bsd/openssl/lib/engines/loader_attic/loader_attic.map     Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
-    global:
-        bind_engine;
-        v_check;
-    local: *;
-};
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/ossltest/Makefile
--- a/crypto/external/bsd/openssl/lib/engines/ossltest/Makefile Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-#      $NetBSD: Makefile,v 1.1 2018/12/08 23:24:02 christos Exp $
-
-LIB=   ossltest
-SRCS=  e_ossltest.c e_ossltest_err.c
-
-.include "../engines.mk"
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/ossltest/ossltest.map
--- a/crypto/external/bsd/openssl/lib/engines/ossltest/ossltest.map     Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
-    global:
-        bind_engine;
-        v_check;
-    local: *;
-};
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/padlock/Makefile
--- a/crypto/external/bsd/openssl/lib/engines/padlock/Makefile  Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-#      $NetBSD: Makefile,v 1.1 2018/12/08 23:24:02 christos Exp $
-
-LIB=   padlock
-SRCS=  e_padlock.c
-
-.include "../engines.mk"
diff -r 67714f6c5981 -r 8e4f9c22f4df crypto/external/bsd/openssl/lib/engines/padlock/padlock.map
--- a/crypto/external/bsd/openssl/lib/engines/padlock/padlock.map       Fri May 26 12:10:13 2023 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-{
-    global:
-        bind_engine;
-        v_check;
-    local: *;
-};
diff -r 67714f6c5981 -r 8e4f9c22f4df distrib/sets/lists/base/ad.mips
--- a/distrib/sets/lists/base/ad.mips   Fri May 26 12:10:13 2023 +0000
+++ b/distrib/sets/lists/base/ad.mips   Fri May 26 13:21:51 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ad.mips,v 1.84 2023/05/17 15:01:17 christos Exp $
+# $NetBSD: ad.mips,v 1.85 2023/05/26 13:21:52 riastradh Exp $
 ./lib/libc_fp.so                               base-sys-shlib          dynamicroot,softfloat,arch64
 ./lib/libc_fp.so.0                             base-sys-shlib          dynamicroot,softfloat,arch64
 ./lib/libc_fp.so.0.0                           base-sys-shlib          dynamicroot,softfloat,arch64
@@ -9,7 +9,6 @@
 ./usr/lib/64/libc_fp.so.0                      base-compat-shlib       compat,pic,arch64,!machine_arch=mipsn64el,!machine_arch=mipsn64eb
 ./usr/lib/64/libc_fp.so.0.0                    base-compat-shlib       compat,pic,arch64,!machine_arch=mipsn64el,!machine_arch=mipsn64eb
 ./usr/lib/64/openssl                           base-compat-shlib       compat,pic,arch64,!machine_arch=mipsn64el,!machine_arch=mipsn64eb
-./usr/lib/64/openssl/engines                   base-compat-shlib       compat,pic,arch64,!machine_arch=mipsn64el,!machine_arch=mipsn64eb
 ./usr/lib/64/openssl/modules                   base-compat-shlib       compat,pic,arch64,!machine_arch=mipsn64el,!machine_arch=mipsn64eb
 ./usr/lib/64/openssl/modules/legacy.so         base-compat-shlib       compat,pic,arch64,!machine_arch=mipsn64el,!machine_arch=mipsn64eb
 ./usr/lib/libc_fp.so                           base-sys-shlib          softfloat,arch64
@@ -23,14 +22,12 @@
 ./usr/lib/o32/libgomp.so.2.0                   base-compat-shlib       compat,pic,arch64,gcc=10,obsolete
 ./usr/lib/o32/libgomp.so.2.1                   base-compat-shlib       compat,pic,arch64,gcc=10
 ./usr/lib/o32/openssl                          base-crypto-usr         compat,pic,arch64
-./usr/lib/o32/openssl/engines                  base-crypto-usr         compat,pic,arch64
 ./usr/lib/o32/openssl/modules                  base-crypto-usr         compat,pic,arch64
 ./usr/lib/o32/openssl/modules/legacy.so                base-crypto-usr         compat,pic,arch64
 ./usr/lib/n32/libc_fp.so                       base-compat-shlib       compat,pic,arch64,!machine_arch=mips64el,!machine_arch=mips64eb
 ./usr/lib/n32/libc_fp.so.0                     base-compat-shlib       compat,pic,arch64,!machine_arch=mips64el,!machine_arch=mips64eb
 ./usr/lib/n32/libc_fp.so.0.0                   base-compat-shlib       compat,pic,arch64,!machine_arch=mips64el,!machine_arch=mips64eb
 ./usr/lib/n32/openssl                          base-crypto-usr         compat,pic,arch64,!machine_arch=mips64el,!machine_arch=mips64eb
-./usr/lib/n32/openssl/engines                  base-crypto-usr         compat,pic,arch64,!machine_arch=mips64el,!machine_arch=mips64eb
 ./usr/lib/n32/openssl/modules                  base-crypto-usr         compat,pic,arch64,!machine_arch=mips64el,!machine_arch=mips64eb
 ./usr/lib/n32/openssl/modules/legacy.so                base-crypto-usr         compat,pic,arch64,!machine_arch=mips64el,!machine_arch=mips64eb
 ./usr/libexec/ld.elf_so-64                     base-compat-shlib       compat,pic,arch64,!machine_arch=mipsn64el,!machine_arch=mipsn64eb
diff -r 67714f6c5981 -r 8e4f9c22f4df distrib/sets/lists/base/ad.powerpc
--- a/distrib/sets/lists/base/ad.powerpc        Fri May 26 12:10:13 2023 +0000
+++ b/distrib/sets/lists/base/ad.powerpc        Fri May 26 13:21:51 2023 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: ad.powerpc,v 1.42 2023/05/18 00:24:22 christos Exp $
+# $NetBSD: ad.powerpc,v 1.43 2023/05/26 13:21:52 riastradh Exp $
 ./libexec/ld.elf_so-powerpc                    base-sysutil-bin        compat,pic
 ./usr/bin/fdformat                             base-util-bin
 ./usr/libexec/ld.elf_so-powerpc                        base-sysutil-bin        compat,pic
 ./usr/lib/powerpc/openssl                      base-crypto-usr         compat
-./usr/lib/powerpc/openssl/engines              base-crypto-usr         compat
 ./usr/lib/powerpc/openssl/modules              base-crypto-usr         compat
 ./usr/lib/powerpc/openssl/modules/legacy.so    base-crypto-usr         compat,pic,openssl=30
diff -r 67714f6c5981 -r 8e4f9c22f4df distrib/sets/lists/base/ad.riscv
--- a/distrib/sets/lists/base/ad.riscv  Fri May 26 12:10:13 2023 +0000
+++ b/distrib/sets/lists/base/ad.riscv  Fri May 26 13:21:51 2023 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: ad.riscv,v 1.25 2023/05/19 11:43:20 christos Exp $
+# $NetBSD: ad.riscv,v 1.26 2023/05/26 13:21:52 riastradh Exp $
 ./libexec/ld.elf_so-rv32                       base-compat-shlib       compat,pic,arch64
 ./usr/libexec/ld.elf_so-rv32                   base-compat-shlib       compat,pic,arch64
 ./usr/lib/rv32/openssl                         base-crypto-usr         compat
-./usr/lib/rv32/openssl/engines                 base-crypto-usr         compat
 ./usr/lib/rv32/openssl/modules                 base-crypto-usr         compat
 ./usr/lib/rv32/openssl/modules/legacy.so       base-crypto-usr         compat,pic,openssl=30
 ./usr/mdec/bootriscv64.efi                     base-sysutil-bin        uefi,arch64
diff -r 67714f6c5981 -r 8e4f9c22f4df distrib/sets/lists/base/md.amd64
--- a/distrib/sets/lists/base/md.amd64  Fri May 26 12:10:13 2023 +0000
+++ b/distrib/sets/lists/base/md.amd64  Fri May 26 13:21:51 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.288 2023/05/10 15:52:07 christos Exp $
+# $NetBSD: md.amd64,v 1.289 2023/05/26 13:21:52 riastradh Exp $
 ./dev/lms0                                     base-obsolete           obsolete
 ./dev/mms0                                     base-obsolete           obsolete
 ./libexec/ld.elf_so-i386                       base-sys-shlib          compat,pic
@@ -12,7 +12,6 @@
 ./usr/lib/i386/librtld_db.so.0                 base-compat-shlib       compat,pic,dtrace
 ./usr/lib/i386/librtld_db.so.0.0               base-compat-shlib       compat,pic,dtrace
 ./usr/lib/i386/openssl                         base-crypto-usr
-./usr/lib/i386/openssl/engines                 base-crypto-usr
 ./usr/lib/i386/openssl/modules                 base-crypto-usr
 ./usr/lib/i386/openssl/modules/legacy.so       base-crypto-usr         compat,pic,openssl=30
 ./usr/lib/libtsan.so                           base-sys-shlib          cxx,gcc=9
diff -r 67714f6c5981 -r 8e4f9c22f4df distrib/sets/lists/base/md.sparc64
--- a/distrib/sets/lists/base/md.sparc64        Fri May 26 12:10:13 2023 +0000
+++ b/distrib/sets/lists/base/md.sparc64        Fri May 26 13:21:51 2023 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: md.sparc64,v 1.258 2023/05/11 17:57:14 christos Exp $
+# $NetBSD: md.sparc64,v 1.259 2023/05/26 13:21:52 riastradh Exp $
 ./libexec/ld.elf_so-sparc                      base-sysutil-bin        compat,pic
 ./sbin/edlabel                                 base-obsolete   obsolete
 ./usr/bin/fdformat                             base-util-bin
 ./usr/libexec/ld.elf_so-sparc                  base-sysutil-bin        compat,pic
 ./usr/lib/sparc/openssl                                base-crypto-usr
-./usr/lib/sparc/openssl/engines                        base-crypto-usr
 ./usr/lib/sparc/openssl/modules                        base-crypto-usr
 ./usr/lib/sparc/openssl/modules/legacy.so      base-crypto-usr         compat,pic,openssl=30
 ./usr/lkm/compat_netbsd32.o                    base-obsolete           obsolete
diff -r 67714f6c5981 -r 8e4f9c22f4df distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Fri May 26 12:10:13 2023 +0000
+++ b/distrib/sets/lists/base/mi        Fri May 26 13:21:51 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1319 2023/05/14 11:04:56 riastradh Exp $
+# $NetBSD: mi,v 1.1320 2023/05/26 13:21:52 riastradh Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -1211,7 +1211,6 @@
 ./usr/lib/named                                        base-sys-usr
 ./usr/lib/npf                                  base-obsolete           obsolete
 ./usr/lib/openssl                              base-crypto-usr
-./usr/lib/openssl/engines                      base-crypto-usr
 ./usr/lib/openssl/modules                      base-crypto-usr
 ./usr/lib/openssl/modules/legacy.so            base-crypto-usr         pic,openssl=30
 ./usr/lib/postfix                              base-postfix-usr
diff -r 67714f6c5981 -r 8e4f9c22f4df etc/mtree/NetBSD.dist.base
--- a/etc/mtree/NetBSD.dist.base        Fri May 26 12:10:13 2023 +0000
+++ b/etc/mtree/NetBSD.dist.base        Fri May 26 13:21:51 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: NetBSD.dist.base,v 1.248 2023/05/10 15:52:50 christos Exp $
+#      $NetBSD: NetBSD.dist.base,v 1.249 2023/05/26 13:21:52 riastradh Exp $
 #      @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
 
 # Do not customize this file as it may be overwritten on upgrades.
@@ -356,7 +356,6 @@
 ./usr/lib/lua/5.4
 ./usr/lib/named
 ./usr/lib/openssl
-./usr/lib/openssl/engines
 ./usr/lib/openssl/modules
 ./usr/lib/pkgconfig
 ./usr/lib/postfix
diff -r 67714f6c5981 -r 8e4f9c22f4df etc/mtree/NetBSD.dist.compat.in
--- a/etc/mtree/NetBSD.dist.compat.in   Fri May 26 12:10:13 2023 +0000
+++ b/etc/mtree/NetBSD.dist.compat.in   Fri May 26 13:21:51 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: NetBSD.dist.compat.in,v 1.4 2023/05/16 18:57:49 christos Exp $
+#      $NetBSD: NetBSD.dist.compat.in,v 1.5 2023/05/26 13:21:52 riastradh Exp $



Home | Main Index | Thread Index | Old Index