From 2669771c7e5cbdc41d9996c42e38c5a689e38957 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Thu, 11 Dec 2014 07:51:38 -0600 Subject: Use the individual library versions in LibreSSL pc files Previously, they were all using the portable package version, rather than the individual library versions. openssl(1)'s pc file represents the LibreSSL-portable release however. $ pkg-config --modversion libtls 1:0:0 $ pkg-config --modversion openssl 2.1.2 $ pkg-config --modversion libssl 30:0:0 $ pkg-config --modversion libcrypto 30:3:0 ok beck@ deraadt@ --- libcrypto.pc.in | 2 +- libssl.pc.in | 2 +- libtls.pc.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libcrypto.pc.in b/libcrypto.pc.in index 4e886b9..f44e3aa 100644 --- a/libcrypto.pc.in +++ b/libcrypto.pc.in @@ -7,7 +7,7 @@ includedir=@includedir@ Name: LibreSSL-libssl Description: Secure Sockets Layer and cryptography libraries -Version: @VERSION@ +Version: @LIBCRYPTO_VERSION@ Requires: Conflicts: Libs: -L${libdir} -lcrypto diff --git a/libssl.pc.in b/libssl.pc.in index 43b8bb7..1800264 100644 --- a/libssl.pc.in +++ b/libssl.pc.in @@ -7,7 +7,7 @@ includedir=@includedir@ Name: LibreSSL-libssl Description: Secure Sockets Layer and cryptography libraries -Version: @VERSION@ +Version: @LIBSSL_VERSION@ Requires: Requires.private: libcrypto Conflicts: diff --git a/libtls.pc.in b/libtls.pc.in index 19e6b32..64d7457 100644 --- a/libtls.pc.in +++ b/libtls.pc.in @@ -7,7 +7,7 @@ includedir=@includedir@ Name: LibreSSL-libtls Description: Secure communications using the TLS socket protocol. -Version: @VERSION@ +Version: @LIBTLS_VERSION@ Requires: Requires.private: libcrypto libssl Conflicts: -- cgit v1.2.3-55-g6feb