Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   riastradh
Date:           Sun Oct 19 01:00:00 UTC 2025

Modified Files:
        src/crypto/external/apache2/openssl/bin: Makefile
        src/crypto/external/apache2/openssl/dist/crypto/thread: api.c
        src/crypto/external/apache2/openssl/lib/libcrypto: Makefile thread.inc
        src/crypto/external/apache2/openssl/lib/libssl: thread.inc
        src/crypto/external/bsd/heimdal: Makefile.inc
        src/crypto/external/bsd/heimdal/bin/hxtool: Makefile
        src/crypto/external/bsd/netpgp/bin: Makefile.inc
        src/crypto/external/bsd/openssh/bin: Makefile.inc
        src/external/bsd/libfido2/bin: Makefile.inc
        src/external/bsd/nsd: Makefile.inc
        src/external/bsd/ntp: Makefile.inc
        src/external/bsd/pam-u2f/bin/pamu2fcfg: Makefile
        src/external/bsd/ppp/usr.sbin/pppd: Makefile
        src/external/bsd/tcpdump/bin: Makefile
        src/external/bsd/wpa/bin/hostapd: Makefile
        src/external/bsd/wpa/bin/wpa_passphrase: Makefile
        src/external/bsd/wpa/bin/wpa_supplicant: Makefile
        src/games/factor: Makefile
        src/libexec/httpd: Makefile
        src/share/mk: bsd.prog.mk
        src/tests/crypto/libcrypto: Makefile Makefile.inc
        src/tests/crypto/libcrypto/dh: Makefile
        src/tests/lib/libc/hash: Makefile
        src/usr.bin/dc: Makefile
        src/usr.bin/ftp: Makefile
        src/usr.bin/moduli: Makefile.inc
        src/usr.bin/nbsvtool: Makefile
        src/usr.sbin/plainrsa-gen: Makefile
        src/usr.sbin/syslogd: Makefile

Log Message:
openssl: Stop dragging libpthread into every libcrypto user.

With the new _NETBSD_PTHREAD_CREATE_WEAK, libcrypto can have a call
to pthread_create without linking against libpthread, so it is not
necessary to link all libcrypto users against libpthread too.

Applications that link against libcrypto but not libpthread can't use
threaded OpenSSL functionality, of course -- OSSL_set_max_threads
will always fail in such applications.

This reverts all the makefile churn that I found for unnecessary
libpthread linkage since the openssl 3.5 import.

PR lib/59685: libcrypto should not depend on libpthread


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/crypto/external/apache2/openssl/bin/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/crypto/external/apache2/openssl/dist/crypto/thread/api.c
cvs rdiff -u -r1.2 -r1.3 \
    src/crypto/external/apache2/openssl/lib/libcrypto/Makefile
cvs rdiff -u -r1.1 -r1.2 \
    src/crypto/external/apache2/openssl/lib/libcrypto/thread.inc
cvs rdiff -u -r1.1 -r1.2 \
    src/crypto/external/apache2/openssl/lib/libssl/thread.inc
cvs rdiff -u -r1.13 -r1.14 src/crypto/external/bsd/heimdal/Makefile.inc
cvs rdiff -u -r1.7 -r1.8 src/crypto/external/bsd/heimdal/bin/hxtool/Makefile
cvs rdiff -u -r1.1 -r1.2 src/crypto/external/bsd/netpgp/bin/Makefile.inc
cvs rdiff -u -r1.7 -r1.8 src/crypto/external/bsd/openssh/bin/Makefile.inc
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/libfido2/bin/Makefile.inc
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/nsd/Makefile.inc
cvs rdiff -u -r1.25 -r1.26 src/external/bsd/ntp/Makefile.inc
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/pam-u2f/bin/pamu2fcfg/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/ppp/usr.sbin/pppd/Makefile
cvs rdiff -u -r1.28 -r1.29 src/external/bsd/tcpdump/bin/Makefile
cvs rdiff -u -r1.20 -r1.21 src/external/bsd/wpa/bin/hostapd/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/wpa/bin/wpa_passphrase/Makefile
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/wpa/bin/wpa_supplicant/Makefile
cvs rdiff -u -r1.16 -r1.17 src/games/factor/Makefile
cvs rdiff -u -r1.36 -r1.37 src/libexec/httpd/Makefile
cvs rdiff -u -r1.356 -r1.357 src/share/mk/bsd.prog.mk
cvs rdiff -u -r1.17 -r1.18 src/tests/crypto/libcrypto/Makefile
cvs rdiff -u -r1.13 -r1.14 src/tests/crypto/libcrypto/Makefile.inc
cvs rdiff -u -r1.3 -r1.4 src/tests/crypto/libcrypto/dh/Makefile
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libc/hash/Makefile
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/dc/Makefile
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/ftp/Makefile
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/moduli/Makefile.inc
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/nbsvtool/Makefile
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/plainrsa-gen/Makefile
cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/syslogd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index