diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-02-04 16:42:16 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-02-04 16:42:16 +0000 |
commit | 7d6863ac7356f55c00faad1c015db82d958fdae9 (patch) | |
tree | bdebec546af0713ac3ae46662d6c8e4ddc97b034 /lib/libssl | |
parent | 7ed3fe90d5f6e4ffd13fe6a756438284fb7f59f7 (diff) |
Bump libressl's version in pkgconfig to 2.0.0
LibreSSL's pc files effectively hardcode the version to 1.0.0 since
LibreSSL exists. That probably never made much sense. This causes
some pain for ports that "need 'openssl' ['>= +1.1.0'] found '1.0.0'"
or similar while they would build perfectly fine with LibreSSL.
This only affects OpenBSD. We do not put the actual LibreSSL version
in there since it may cause trouble
Discussed with sthen, millert, inoguchi, beck over the past year.
Diff from/ok sthen
Diffstat (limited to 'lib/libssl')
-rw-r--r-- | lib/libssl/generate_pkgconfig.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libssl/generate_pkgconfig.sh b/lib/libssl/generate_pkgconfig.sh index 4bc22c3267f..e1e663f399d 100644 --- a/lib/libssl/generate_pkgconfig.sh +++ b/lib/libssl/generate_pkgconfig.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: generate_pkgconfig.sh,v 1.10 2021/06/08 11:19:39 inoguchi Exp $ +# $OpenBSD: generate_pkgconfig.sh,v 1.11 2022/02/04 16:42:15 tb Exp $ # # Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org> # @@ -52,7 +52,8 @@ fi version_re="s/^#define[[:blank:]]+SHLIB_VERSION_NUMBER[[:blank:]]+\"(.*)\".*/\1/p" version_file=${curdir}/../libcrypto/opensslv.h -lib_version=$(sed -nE ${version_re} ${version_file}) +#lib_version=$(sed -nE ${version_re} ${version_file}) +lib_version=2.0.0 # Put -I${includedir} into Cflags so configure script tests like # test -n "`pkg-config --cflags openssl`" |