crypto/openssl: make vendor imports easier/less error prone
This change adds a custom BSD makefile containing multiple high-level PHONY targets, similar to targets provided by the ports framework. The Makefile does the following: - Reruns Configure with a deterministic set of arguments to ensure that all appropriate features have been enabled/disabled in OpenSSL. - Preens the pkgconfig files to remove duplicate paths in their `CFLAGS` and `includedir` variables. - Rebuilds all ASM files to ensure that the content contained is fresh. - Rebuilds all manpages to ensure that the content contained in the manpages is fresh. Some additional work needs to be done to make the manpage regeneration "operation" reproducible (the date the manpages were generated is embedded in the files). All dynamic configuration previously captured in `include/openssl/configuration.h` and `include/crypto/bn_conf.h` has been moved to `freebsd/include/dynamic_freebsd_configuration.h` and `freebsd/include/crypto/bn_conf.h`, respectively. This helps ensure that future updates don't wipe out FreeBSD customizations to these files, which tune behavior on a per-target architecture basis, e.g., ARM vs x86, 32-bit vs 64-bit, etc. MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D51663
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
# This BSD makefile helps provide a deterministic means of doing a "clean"
|
||||
# vendor import of OpenSSL.
|
||||
#
|
||||
# Recommended use:
|
||||
#
|
||||
# % make clean
|
||||
# % make all
|
||||
|
||||
NO_OBJ=
|
||||
|
||||
LCRYPTO_SRC= ${SRCTOP}/crypto/openssl
|
||||
LCRYPTO_DOC= ${LCRYPTO_SRC}/doc
|
||||
|
||||
CAT?= /bin/cat
|
||||
MV?= /bin/mv
|
||||
PERL?= perl
|
||||
|
||||
BN_CONF_H= include/crypto/bn_conf.h
|
||||
BN_CONF_H_ORIG= ${BN_CONF_H}.orig
|
||||
CONFIGURATION_H= include/openssl/configuration.h
|
||||
CONFIGURATION_H_ORIG= ${CONFIGURATION_H}.orig
|
||||
|
||||
.PHONY: configure patch all
|
||||
.ORDER: configure patch all
|
||||
|
||||
configure:
|
||||
@cd ${.CURDIR} && \
|
||||
${PERL} ./Configure \
|
||||
disable-aria \
|
||||
disable-egd \
|
||||
disable-idea \
|
||||
disable-mdc2 \
|
||||
disable-sm2 \
|
||||
disable-sm3 \
|
||||
disable-sm4 \
|
||||
enable-ec_nistp_64_gcc_128 \
|
||||
enable-ktls \
|
||||
enable-sctp \
|
||||
--openssldir=etc \
|
||||
--prefix=/usr
|
||||
@cd ${.CURDIR} && gmake configdata.pm
|
||||
@cd ${LCRYPTO_SRC} && ${PERL} \
|
||||
${LCRYPTO_SRC}/freebsd/dump_version_from_configdata.pl > \
|
||||
${SRCTOP}/secure/lib/libcrypto/Makefile.version
|
||||
|
||||
all: patch
|
||||
# Passing `-j ${.MAKE.JOBS}` doesn't work here for some reason.
|
||||
@cd ${.CURDIR} && gmake build_all_generated
|
||||
|
||||
# Clean the pkgconfig files:
|
||||
# 1. Fix --prefix (not sure why configure --prefix isn't honored properly).
|
||||
# 2. Remove duplicate path in CFLAGS.
|
||||
# 3. Remove duplicate path in includedir(s).
|
||||
@find . -name \*.pc -print -exec sed -i '' -E \
|
||||
-e 's,^prefix=.+,prefix=/usr,' \
|
||||
-e 's,[[:space:]]+(\-I)?\$\{prefix\}/\./include[[:space:]]*,,g' \
|
||||
{} +
|
||||
|
||||
@cd ${SRCTOP}/secure/lib/libcrypto && \
|
||||
${MAKE} cleanasm && \
|
||||
${MAKE} buildasm
|
||||
|
||||
@rsync -a --delete \
|
||||
--exclude 'Makefile*' --exclude '*.1' \
|
||||
${LCRYPTO_DOC}/man/ \
|
||||
${SRCTOP}/secure/lib/libcrypto/man
|
||||
|
||||
@rsync -a --delete \
|
||||
--exclude 'Makefile*' --exclude '*.[357]' \
|
||||
${LCRYPTO_DOC}/man/man1/ \
|
||||
${SRCTOP}/secure/usr.bin/openssl/man
|
||||
|
||||
|
||||
# This doesn't use standard patching since the generated files can vary
|
||||
# depending on the host architecture.
|
||||
patch: configure
|
||||
# Spam arch-specific overrides to config files.
|
||||
|
||||
@cd ${.CURDIR} && gmake ${BN_CONF_H} && \
|
||||
${MV} ${BN_CONF_H} ${BN_CONF_H_ORIG} && \
|
||||
${CAT} ${BN_CONF_H}.orig \
|
||||
${LCRYPTO_SRC}/freebsd/${BN_CONF_H} >> \
|
||||
${BN_CONF_H}
|
||||
|
||||
@cd ${.CURDIR} && \
|
||||
${MV} ${CONFIGURATION_H} ${CONFIGURATION_H_ORIG} && \
|
||||
${CAT} ${CONFIGURATION_H_ORIG} \
|
||||
${LCRYPTO_SRC}/freebsd/${CONFIGURATION_H} >> \
|
||||
${CONFIGURATION_H}
|
||||
|
||||
|
||||
clean: .PHONY
|
||||
@cd ${.CURDIR} && rm -f ${BN_CONF_H_ORIG} ${CONFIGURATION_H_ORIG}
|
||||
|
||||
@cd ${SRCTOP}/secure/lib/libcrypto && ${MAKE} cleanasm
|
||||
|
||||
-@cd ${.CURDIR} && gmake ${.TARGET}
|
||||
|
||||
.include <sys.mk>
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
# Copyright 2000-2025 The OpenSSL Project Authors. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* WARNING: do not edit!
|
||||
* Generated by apps/progs.pl
|
||||
*
|
||||
* Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2025 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@@ -89,6 +89,7 @@ FUNCTION functions[] = {
|
||||
{FT_general, "s_time", s_time_main, s_time_options, NULL, NULL},
|
||||
#endif
|
||||
{FT_general, "sess_id", sess_id_main, sess_id_options, NULL, NULL},
|
||||
{FT_general, "skeyutl", skeyutl_main, skeyutl_options, NULL, NULL},
|
||||
{FT_general, "smime", smime_main, smime_options, NULL, NULL},
|
||||
{FT_general, "speed", speed_main, speed_options, NULL, NULL},
|
||||
{FT_general, "spkac", spkac_main, spkac_options, NULL, NULL},
|
||||
@@ -225,9 +226,15 @@ FUNCTION functions[] = {
|
||||
{FT_cipher, "camellia-256-ecb", enc_main, enc_options, NULL},
|
||||
#endif
|
||||
{FT_cipher, "base64", enc_main, enc_options, NULL},
|
||||
#ifdef ZLIB
|
||||
#ifndef OPENSSL_NO_ZLIB
|
||||
{FT_cipher, "zlib", enc_main, enc_options, NULL},
|
||||
#endif
|
||||
#ifndef OPENSSL_NO_BROTLI
|
||||
{FT_cipher, "brotli", enc_main, enc_options, NULL},
|
||||
#endif
|
||||
#ifndef OPENSSL_NO_ZSTD
|
||||
{FT_cipher, "zstd", enc_main, enc_options, NULL},
|
||||
#endif
|
||||
#ifndef OPENSSL_NO_DES
|
||||
{FT_cipher, "des", enc_main, enc_options, NULL},
|
||||
#endif
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* WARNING: do not edit!
|
||||
* Generated by apps/progs.pl
|
||||
*
|
||||
* Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2025 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@@ -56,6 +56,7 @@ extern int s_client_main(int argc, char *argv[]);
|
||||
extern int s_server_main(int argc, char *argv[]);
|
||||
extern int s_time_main(int argc, char *argv[]);
|
||||
extern int sess_id_main(int argc, char *argv[]);
|
||||
extern int skeyutl_main(int argc, char *argv[]);
|
||||
extern int smime_main(int argc, char *argv[]);
|
||||
extern int speed_main(int argc, char *argv[]);
|
||||
extern int spkac_main(int argc, char *argv[]);
|
||||
@@ -110,6 +111,7 @@ extern const OPTIONS s_client_options[];
|
||||
extern const OPTIONS s_server_options[];
|
||||
extern const OPTIONS s_time_options[];
|
||||
extern const OPTIONS sess_id_options[];
|
||||
extern const OPTIONS skeyutl_options[];
|
||||
extern const OPTIONS smime_options[];
|
||||
extern const OPTIONS speed_options[];
|
||||
extern const OPTIONS spkac_options[];
|
||||
|
||||
+366
-1929
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
enginesdir=${libdir}/engines-3
|
||||
modulesdir=${libdir}/ossl-modules
|
||||
|
||||
Name: OpenSSL-libcrypto
|
||||
Description: OpenSSL cryptography library
|
||||
Version: 3.5.1
|
||||
Libs: -L${libdir} -lcrypto
|
||||
Libs.private: -pthread
|
||||
Cflags: -I${includedir}
|
||||
@@ -0,0 +1,11 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: OpenSSL-libssl
|
||||
Description: Secure Sockets Layer and cryptography libraries
|
||||
Version: 3.5.1
|
||||
Requires.private: libcrypto
|
||||
Libs: -L${libdir} -lssl
|
||||
Cflags: -I${includedir}
|
||||
@@ -0,0 +1,9 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: OpenSSL
|
||||
Description: Secure Sockets Layer and cryptography libraries and tools
|
||||
Version: 3.5.1
|
||||
Requires: libssl libcrypto
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env perl
|
||||
#
|
||||
# This dumps out the values needed to generate manpages and other artifacts
|
||||
# which include the release version/date.
|
||||
#
|
||||
# See also: `secure/lib/libcrypto/Makefile.version`.
|
||||
|
||||
use Cwd qw(realpath);
|
||||
use File::Basename qw(dirname);
|
||||
use Time::Piece;
|
||||
|
||||
use lib dirname(dirname(realpath($0)));
|
||||
|
||||
use configdata qw(%config);
|
||||
|
||||
$OPENSSL_DATE = Time::Piece->strptime($config{"release_date"}, "%d %b %Y")->strftime("%Y-%m-%d");
|
||||
|
||||
$OPENSSL_VER = "$config{'major'}.$config{'minor'}.$config{'patch'}";
|
||||
|
||||
print("OPENSSL_VER=\t${OPENSSL_VER}\n");
|
||||
print("OPENSSL_DATE=\t${OPENSSL_DATE}\n");
|
||||
@@ -0,0 +1,27 @@
|
||||
|
||||
/**
|
||||
* OpenSSL's Configure script generates these values automatically for the host
|
||||
* architecture, but FreeBSD provides values which are universal for all
|
||||
* supported target architectures.
|
||||
*/
|
||||
|
||||
#ifndef __FREEBSD_BN_CONF_H__
|
||||
#define __FREEBSD_BN_CONF_H__
|
||||
|
||||
# undef SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# undef THIRTY_TWO_BIT
|
||||
|
||||
# if __SIZEOF_LONG__ == 8
|
||||
# define SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# undef THIRTY_TWO_BIT
|
||||
# elif __SIZEOF_LONG__ == 4
|
||||
# undef SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# define THIRTY_TWO_BIT
|
||||
# else
|
||||
# error Unsupported size of long
|
||||
# endif
|
||||
|
||||
#endif /* __FREEBSD_BN_CONF_H__ */
|
||||
@@ -0,0 +1,38 @@
|
||||
|
||||
/**
|
||||
* OpenSSL's Configure script generates these values automatically for the host
|
||||
* architecture, but FreeBSD provides values which are universal for all
|
||||
* supported target architectures.
|
||||
*/
|
||||
|
||||
#ifndef __FREEBSD_CONFIGURATION_H__
|
||||
#define __FREEBSD_CONFIGURATION_H__
|
||||
|
||||
# undef OPENSSL_NO_EC_NISTP_64_GCC_128
|
||||
# if __SIZEOF_LONG__ == 4 || __BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__
|
||||
# ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
|
||||
# define OPENSSL_NO_EC_NISTP_64_GCC_128
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# undef BN_LLONG
|
||||
# undef SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# undef THIRTY_TWO_BIT
|
||||
# if !defined(OPENSSL_SYS_UEFI)
|
||||
# if __SIZEOF_LONG__ == 8
|
||||
# undef BN_LLONG
|
||||
# define SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# undef THIRTY_TWO_BIT
|
||||
# elif __SIZEOF_LONG__ == 4
|
||||
# define BN_LLONG
|
||||
# undef SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# define THIRTY_TWO_BIT
|
||||
# else
|
||||
# error Unsupported size of long
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#endif /* __FREEBSD_CONFIGURATION_H__ */
|
||||
@@ -27,3 +27,30 @@
|
||||
#undef THIRTY_TWO_BIT
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* OpenSSL's Configure script generates these values automatically for the host
|
||||
* architecture, but FreeBSD provides values which are universal for all
|
||||
* supported target architectures.
|
||||
*/
|
||||
|
||||
#ifndef __FREEBSD_BN_CONF_H__
|
||||
#define __FREEBSD_BN_CONF_H__
|
||||
|
||||
# undef SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# undef THIRTY_TWO_BIT
|
||||
|
||||
# if __SIZEOF_LONG__ == 8
|
||||
# define SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# undef THIRTY_TWO_BIT
|
||||
# elif __SIZEOF_LONG__ == 4
|
||||
# undef SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# define THIRTY_TWO_BIT
|
||||
# else
|
||||
# error Unsupported size of long
|
||||
# endif
|
||||
|
||||
#endif /* __FREEBSD_BN_CONF_H__ */
|
||||
|
||||
@@ -34,6 +34,9 @@ extern "C" {
|
||||
# ifndef OPENSSL_THREADS
|
||||
# define OPENSSL_THREADS
|
||||
# endif
|
||||
# ifndef OPENSSL_NO_ACVP_TESTS
|
||||
# define OPENSSL_NO_ACVP_TESTS
|
||||
# endif
|
||||
# ifndef OPENSSL_NO_AFALGENG
|
||||
# define OPENSSL_NO_AFALGENG
|
||||
# endif
|
||||
@@ -67,6 +70,12 @@ extern "C" {
|
||||
# ifndef OPENSSL_NO_FIPS_JITTER
|
||||
# define OPENSSL_NO_FIPS_JITTER
|
||||
# endif
|
||||
# ifndef OPENSSL_NO_FIPS_POST
|
||||
# define OPENSSL_NO_FIPS_POST
|
||||
# endif
|
||||
# ifndef OPENSSL_NO_FIPS_SECURITYCHECKS
|
||||
# define OPENSSL_NO_FIPS_SECURITYCHECKS
|
||||
# endif
|
||||
# ifndef OPENSSL_NO_FUZZ_AFL
|
||||
# define OPENSSL_NO_FUZZ_AFL
|
||||
# endif
|
||||
@@ -85,9 +94,6 @@ extern "C" {
|
||||
# ifndef OPENSSL_NO_JITTER
|
||||
# define OPENSSL_NO_JITTER
|
||||
# endif
|
||||
# ifndef OPENSSL_NO_KTLS
|
||||
# define OPENSSL_NO_KTLS
|
||||
# endif
|
||||
# ifndef OPENSSL_NO_MD2
|
||||
# define OPENSSL_NO_MD2
|
||||
# endif
|
||||
@@ -124,9 +130,6 @@ extern "C" {
|
||||
# ifndef OPENSSL_NO_TFO
|
||||
# define OPENSSL_NO_TFO
|
||||
# endif
|
||||
# ifndef OPENSSL_NO_TLS_DEPRECATED_EC
|
||||
# define OPENSSL_NO_TLS_DEPRECATED_EC
|
||||
# endif
|
||||
# ifndef OPENSSL_NO_TRACE
|
||||
# define OPENSSL_NO_TRACE
|
||||
# endif
|
||||
@@ -189,3 +192,41 @@ extern "C" {
|
||||
# endif
|
||||
|
||||
#endif /* OPENSSL_CONFIGURATION_H */
|
||||
|
||||
/**
|
||||
* OpenSSL's Configure script generates these values automatically for the host
|
||||
* architecture, but FreeBSD provides values which are universal for all
|
||||
* supported target architectures.
|
||||
*/
|
||||
|
||||
#ifndef __FREEBSD_CONFIGURATION_H__
|
||||
#define __FREEBSD_CONFIGURATION_H__
|
||||
|
||||
# undef OPENSSL_NO_EC_NISTP_64_GCC_128
|
||||
# if __SIZEOF_LONG__ == 4 || __BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__
|
||||
# ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
|
||||
# define OPENSSL_NO_EC_NISTP_64_GCC_128
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# undef BN_LLONG
|
||||
# undef SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# undef THIRTY_TWO_BIT
|
||||
# if !defined(OPENSSL_SYS_UEFI)
|
||||
# if __SIZEOF_LONG__ == 8
|
||||
# undef BN_LLONG
|
||||
# define SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# undef THIRTY_TWO_BIT
|
||||
# elif __SIZEOF_LONG__ == 4
|
||||
# define BN_LLONG
|
||||
# undef SIXTY_FOUR_BIT_LONG
|
||||
# undef SIXTY_FOUR_BIT
|
||||
# define THIRTY_TWO_BIT
|
||||
# else
|
||||
# error Unsupported size of long
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#endif /* __FREEBSD_CONFIGURATION_H__ */
|
||||
|
||||
@@ -32,7 +32,7 @@ extern "C" {
|
||||
/*
|
||||
* The FIPS provider vendor name, as a string.
|
||||
*/
|
||||
#define FIPS_VENDOR "OpenSSL FIPS Provider"
|
||||
#define FIPS_VENDOR "OpenSSL non-compliant FIPS Provider"
|
||||
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ extern "C" {
|
||||
* be related to the API version expressed with the macros above.
|
||||
* This is defined in free form.
|
||||
*/
|
||||
# define OPENSSL_SHLIB_VERSION 17
|
||||
# define OPENSSL_SHLIB_VERSION 3
|
||||
|
||||
/*
|
||||
* SECTION 2: USEFUL MACROS
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}
|
||||
includedir=${prefix}/include ${prefix}/./include
|
||||
enginesdir=${libdir}/engines
|
||||
modulesdir=${libdir}/providers
|
||||
|
||||
Name: OpenSSL-libcrypto
|
||||
Description: OpenSSL cryptography library
|
||||
Version: 3.5.1
|
||||
Libs: -L${libdir} -lcrypto
|
||||
Libs.private: -pthread
|
||||
Cflags: -I${prefix}/include -I${prefix}/./include
|
||||
@@ -0,0 +1,11 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}
|
||||
includedir=${prefix}/include ${prefix}/./include
|
||||
|
||||
Name: OpenSSL-libssl
|
||||
Description: Secure Sockets Layer and cryptography libraries
|
||||
Version: 3.5.1
|
||||
Requires.private: libcrypto
|
||||
Libs: -L${libdir} -lssl
|
||||
Cflags: -I${prefix}/include -I${prefix}/./include
|
||||
@@ -0,0 +1,9 @@
|
||||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}
|
||||
includedir=${prefix}/include ${prefix}/./include
|
||||
|
||||
Name: OpenSSL
|
||||
Description: Secure Sockets Layer and cryptography libraries and tools
|
||||
Version: 3.5.1
|
||||
Requires: libssl libcrypto
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/local/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
# WARNING: do not edit!
|
||||
# Generated by Makefile from tools/c_rehash.in
|
||||
@@ -12,8 +12,8 @@
|
||||
# Perl c_rehash script, scan all files in a directory
|
||||
# and add symbolic links to their hash values.
|
||||
|
||||
my $dir = "/usr/local/openssl";
|
||||
my $prefix = "/usr/local";
|
||||
my $dir = "etc";
|
||||
my $prefix = "/usr";
|
||||
|
||||
my $errorcount = 0;
|
||||
my $openssl = $ENV{OPENSSL} || "openssl";
|
||||
|
||||
@@ -25,8 +25,8 @@ fi
|
||||
THERE="`echo $0 | sed -e 's|[^/]*$||' 2>/dev/null`.."
|
||||
[ -d "${THERE}" ] || exec "$@" # should never happen...
|
||||
|
||||
LIBCRYPTOSO="${THERE}/libcrypto.so.17"
|
||||
LIBSSLSO="${THERE}/libssl.so.17"
|
||||
LIBCRYPTOSO="${THERE}/libcrypto.so.3"
|
||||
LIBSSLSO="${THERE}/libssl.so.3"
|
||||
|
||||
SYSNAME=`(uname -s) 2>/dev/null`;
|
||||
case "$SYSNAME" in
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#! /usr/local/bin/perl
|
||||
#! /usr/bin/env perl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
@@ -9,7 +9,7 @@ use File::Spec::Functions;
|
||||
BEGIN {
|
||||
# This method corresponds exactly to 'use OpenSSL::Util',
|
||||
# but allows us to use a platform specific file spec.
|
||||
require '/home/khorben/Projects/FreeBSD/ports/security/openssl35/work/openssl-3.5.1/util/perl/OpenSSL/Util.pm';
|
||||
require '/usr/home/ngie/git/freebsd-src/crypto/openssl/util/perl/OpenSSL/Util.pm';
|
||||
OpenSSL::Util->import();
|
||||
}
|
||||
|
||||
@@ -53,14 +53,14 @@ my $unix_shlib_wrap = catfile($there, 'util/shlib_wrap.sh');
|
||||
my $std_openssl_conf_include;
|
||||
|
||||
if ($ARGV[0] eq '-fips') {
|
||||
$std_openssl_conf = '/home/khorben/Projects/FreeBSD/ports/security/openssl35/work/openssl-3.5.1/test/fips-and-base.cnf';
|
||||
$std_openssl_conf = '/usr/home/ngie/git/freebsd-src/crypto/openssl/test/fips-and-base.cnf';
|
||||
shift;
|
||||
|
||||
$std_openssl_conf_include = catdir($there, 'providers');
|
||||
}
|
||||
|
||||
if ($ARGV[0] eq '-jitter') {
|
||||
$std_openssl_conf = '/home/khorben/Projects/FreeBSD/ports/security/openssl35/work/openssl-3.5.1/test/default-and-jitter.cnf';
|
||||
$std_openssl_conf = '/usr/home/ngie/git/freebsd-src/crypto/openssl/test/default-and-jitter.cnf';
|
||||
shift;
|
||||
|
||||
$std_openssl_conf_include = catdir($there, 'providers');
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
.include <bsd.own.mk>
|
||||
|
||||
# OpenSSL version used for manual page generation
|
||||
OPENSSL_VER= 3.5.0
|
||||
OPENSSL_DATE= 2025-07-01
|
||||
.include "Makefile.version"
|
||||
|
||||
LCRYPTO_SRC= ${SRCTOP}/crypto/openssl
|
||||
LCRYPTO_DOC= ${LCRYPTO_SRC}/doc
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
OPENSSL_VER= 3.5.1
|
||||
OPENSSL_DATE= 2025-07-01
|
||||
Reference in New Issue
Block a user