|
86a6826f
|
2023-08-15T11:08:06
|
|
Move `LibreSSL/` to `LIBRESSL_INSTALL_CMAKEDIR`.
This allows users to install the CMake configs without forcing a
`LibreSSL` directory after `LIBRESSL_INSTALL_CMAKEDIR`.
|
|
a89cd659
|
2023-08-06T15:07:31
|
|
CMake: Export and install library targets.
The configs can be consumed by setting LibreSSL_DIR to the build
directory, or after installation using CMAKE_PREFIX_PATH/LibreSSL_DIR.
For compatibility, the EXPORT_NAME of targets and the LIBRESSL_*
variables are set to match the names used in FindLibreSSL.
|
|
081cee62
|
2023-07-07T15:02:16
|
|
fixes #681, allow override of library POSTFIX for nested builds
|
|
642ead35
|
2023-07-05T14:27:23
|
|
only link libtls statically to libssl/libcrypto when building standalone
|
|
71ce0b8c
|
2023-07-04T10:37:24
|
|
generate opensslconf.h in build dir for cmake
|
|
f8ced390
|
2022-12-18T21:39:58
|
|
fix dangling whitespace when building object list
breaks latest macOS linker to have a directory in the object list
|
|
b38f5a89
|
2022-12-18T21:39:58
|
|
fix dangling whitespace when building object list
breaks latest macOS linker to have a directory in the object list
|
|
80eb1454
|
2022-12-13T05:44:07
|
|
add direct source dependency to each library
Fix library generation with some CMake generators by including a direct
source file dependency for each library.
|
|
4f0f6ebd
|
2022-12-13T04:34:25
|
|
Build a static test library with all symbols
Build and link a special test library rather than assuming that the
build has static libraries available.
|
|
3412032b
|
2022-01-26T21:24:18
|
|
Add tls/tls_signer.c
|
|
c211d97e
|
2021-12-04T10:49:59
|
|
Remove unneeded target_include_directories with cmake
This could remove recurring of the same statement for include directories.
Instead of this removals, apps/* and tests should have include path that
had been provided by INTERFACE_INCLUDE_DIRECTORIES of target libs and
internal static libs.
|
|
870a1ebb
|
2021-11-27T20:57:14
|
|
Build static library for regression tests when shared build with CMake
|
|
4c56df46
|
2021-05-02T15:50:37
|
|
Statically link libcrypto/ssl into libtls with cmake
|
|
9971b082
|
2020-11-23T13:19:49
|
|
Use object library for CMake
|
|
5a29b047
|
2020-09-20T13:37:52
|
|
Link crypto and ssl object files directly instead of static library
- Output object files list variable for libcrypto and libssl to .mk file.
- Include object files list variable .mk from tls/Makefile
- Link .lo files directly instead of static library for libtls.
|
|
fe42a801
|
2020-08-20T09:30:21
|
|
Configure libtls and nc(1) to statically link to libcrypto/ssl
An issue that Reyk Floeter noted while building a Debian package for
LibreSSL is that installing libtls along with OpenSSL causes linker
issues since it will often pick up the wrong libcrypto/libssl. This
change makes libtls statically link the object files it needs rather
than relying on the shared libraries, effectively making libtls
self-contained and able to be packaged independently.
This should make it possible for other projects that also use libtls to
be able to package support without requiring the target OS to ship
libcrypto / libssl from LibreSSL.
https://salsa.debian.org/reyk-guest/libressl/-/commit/678278df55ce866f2f363998ca690442fa786c66
|
|
b10a3363
|
2020-03-02T11:44:04
|
|
TLS target properties when building static libs
|
|
0ab2955f
|
2019-11-16T20:17:37
|
|
Override the default path of cert.pem in libtls
|
|
5269dbb2
|
2019-01-31T10:00:48
|
|
update cmake
|
|
a6d7ea95
|
2019-01-31T09:45:56
|
|
update autoconf for latest compat functions
|
|
0b8343ac
|
2018-10-05T22:59:44
|
|
Fix cmake to generate proper Libs.private in .pc files
|
|
f819a2bc
|
2018-10-03T20:35:36
|
|
Fix cmake linking libraries
|
|
64b69515
|
2018-06-14T04:48:23
|
|
make headers under include/compat private again
|
|
4fcfc82d
|
2018-05-29T05:44:34
|
|
scope private/public headers when embedding into other projects
thanks to Cameron Palmer
|
|
26bebfc5
|
2018-03-19T19:42:55
|
|
Use BUILD_SHARED_LIBS to specify library type
|
|
1b84f79f
|
2018-03-18T09:53:37
|
|
Land #402, Remove CMAKE_HOST_ references
|
|
c9c8e32f
|
2018-03-18T09:52:27
|
|
Land #400, Use groups in CMake install command for libraries
|
|
1fb8c9c6
|
2018-03-18T00:38:14
|
|
Fix using right functions for file descriptor with MS Visual Studio
|
|
09590953
|
2018-03-16T14:59:53
|
|
Remove CMAKE_HOST_ references
CMAKE_HOST_ describes the host system not the target. For cross compilation to work the actual target system should be used for making decisions in CMake.
|
|
5fb488de
|
2018-03-16T13:59:26
|
|
Use groups in CMake install command for libraries
On Windows shared libraries should be installed into the bin directory. Using grouping within CMake based on the target type fixes this issue.
|
|
3681d022
|
2018-02-25T01:59:39
|
|
Add compat bits for libtls on Windows
|
|
57ea69ec
|
2018-02-11T21:28:09
|
|
Add tls/tls_keypair.c
|
|
1dd6a52f
|
2017-07-24T15:24:29
|
|
ssl/tls cmake: fix shared library dependencies
Ensure that the 'ssl' depends on 'crypto' and that 'tls' depends on
'ssl' and 'crypto' for all platforms. Prior to this commit, the
dependency was only specified for the 'WIN32' CMake build.
|
|
a4d80ca5
|
2017-07-06T23:11:11
|
|
Merge branch 'master' of https://github.com/libressl-portable/portable into SkipInstall
Fix merge conflicts from GNUInstallDirs merge to master.
|
|
2557dd74
|
2017-07-06T02:09:44
|
|
Add option LIBRESSL_SKIP_INSTALL
Internally LIBRESSL_SKIP_INSTALL, if not set becomes ENABLE_LIBRESSL_INSTALL so this by default is enabled. defining LIBRESSL_SKIP_INSTALL before hand will disable all install() rules.
This is useful if another project includes and links to this statically.
I chose to add a prefix to avoid potential name collision because the options are cached globally.
If the installation is skipped, maybe it should also disable building apps? I didn't do that.
|
|
a2bd5eba
|
2017-07-06T01:49:43
|
|
use GNUInstallDirs from cmake to specify install paths.
Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
|
|
91a8bd79
|
2017-01-25T19:37:29
|
|
Move strsep.c to crypto/compat/ and add ocspcheck build to CMake
|
|
484feaae
|
2017-01-18T20:37:44
|
|
Stop generating .def files by update.sh
|
|
3b8cf473
|
2017-01-17T21:27:41
|
|
Add export symbol support to CMake
|
|
63add73d
|
2017-01-12T13:41:40
|
|
Define CMake library object lists globally
OBJECT collections in CMake don't generate any artifacts so these
are safe to hoist out and define globally.
library OBJECT targets are just a list of filenames. It can be useful for
other projects to include lists of sources directly regardless of build mode
(shared, static, or library).
|
|
77a2a9f3
|
2016-11-05T08:47:54
|
|
remove check-in .def and ignore .sym files
|
|
7770e4f2
|
2016-11-05T08:44:35
|
|
implement support for hiding symbols in libtls / libssl
|
|
d3abaf5f
|
2016-11-04T22:43:34
|
|
Add tls_ocsp.c to Makefile.am and CMakeLists.txt
|
|
62f2a730
|
2016-09-06T23:25:28
|
|
export DLLs functions for MSVC with CMake
- Add 3 DEF files to export functions from Windows DLLs
- Add gettimeofday to crypto/crypto.def (*1)
- Remove gai_strerrorA from tls/tls.def (*1)
- Fix CMakeLists.txt to use DEF files as PRIVATE
- Change DLL import library file name since it duplicates with static library
- Ignore compiler warning C4267, and Edit CMAKE_C_FLAGS not to overwrite it (*1)
- Add USE_SHARED option to build openssl.exe with shared libraries (*1)
(*1) recommended by @mcnameej
|
|
5532f007
|
2016-09-04T08:58:30
|
|
Land #203, add libtls callback API
|
|
829b2158
|
2016-08-25T18:17:27
|
|
build Windows DLL on CMake
like below.
* libcrypto-38.dll
* libssl-39.dll
* libtls-11.dll
|
|
97189276
|
2016-08-25T18:17:12
|
|
build MinGW on CMake
|
|
a7f754a6
|
2016-07-31T17:11:19
|
|
set link library dependencies with MSVC, fixes #221
|
|
a69063be
|
2016-06-28T03:29:54
|
|
Portable code part for callbacks in accept/connect
see https://github.com/libressl-portable/openbsd/pull/64
|
|
552817b7
|
2016-05-02T02:03:03
|
|
Land #192, fix fix ld warning "attempted multiple inclusion of file" on Solaris
|
|
02e1cc4d
|
2016-04-21T14:49:39
|
|
fix ld warning "attempted multiple inclusion of file" on Solaris
- To avoid ld warning on Solaris, use abs_top_builddir in Makefile.am
|
|
bda62f7f
|
2016-04-11T12:59:23
|
|
add cmake build options
- add cmake build options as configure provides
* -DENABLE_ASM (default ON)
* -DENABLE_EXTRATESTS (default OFF)
* -DENABLE_NC (default OFF)
* -DOPENSSLDIR (default ${CMAKE_INSTALL_PREFIX}/etc/ssl)
- add biotest and pidwraptest if ENABLE_EXTRATESTS is ON
- add compiler flag `-fno-common` if CMAKE_SYSTEM_NAME is Darwin
to prevent link error Undefined symbols "_OPENSSL_ia32cap_P"
|
|
3207606f
|
2016-04-04T11:28:46
|
|
fix cmake on HP-UX
- CMakeLists.txt
* add OS specific compiler flags and library
* add checking size of time_t
* add checking memmem()
- tests/CMakeLists.txt
* add if(HAVE_MEMMEM) for explicit_bzero
* add checking SMALL_TIME_T for rfc5280time
- crypto/CMakeLists.txt
* add getentropy_hpux.c
- tls/CMakeLists.txt
* fix checking strsep
|
|
1988b8f6
|
2015-12-07T07:55:05
|
|
fixup cert.pem path override for libtls, add for nc(1)
this also fixes the formatting of help for nc(1)
|
|
5b49c30c
|
2015-12-06T20:21:16
|
|
override _PATH_SSL_CA_FILE with OPENSSLDIR at build time
fix #160
|
|
82e96d35
|
2015-09-13T03:48:46
|
|
include new tls headers
|
|
854f4f69
|
2015-09-12T07:48:06
|
|
add 'nc' to the distribution as an example of libtls client and server
|
|
adfb2bf7
|
2015-09-09T05:15:06
|
|
Do not build lib-objects targets if we are just building static libs.
This confuses some cmake targets.
|
|
ca56c332
|
2015-09-07T01:05:33
|
|
disable shared CMake builds for OS X / Windows for now
|
|
5461dea7
|
2015-08-18T13:20:19
|
|
Add install targets and shared libraries to CMake
|
|
5d8a1cf7
|
2014-07-10T22:06:10
|
|
add initial CMake and Visual Studio build support
This moves the compatibility include files from include to
include/compat so we can use the awful MS C compiler
<../include/> trick to emulate the GNU #include_next extension.
This also removes a few old compat files we do not need anymore.
|
|
189cdf71
|
2015-05-02T08:34:39
|
|
revert changes to libtls-standalone Makefile.am that ended up in tls
|
|
28353c1d
|
2015-04-30T04:44:35
|
|
stub in initial libtls standalone tree
|
|
ad2a38ab
|
2015-03-22T06:18:18
|
|
rework CFLAGS/CPPFLAGS settings during configuration
Move define adjustments to CPPFLAGS.
Adjust user CFLAGS directly, do not override during configuration.
USER_CFLAGS is not necessary to build libcompat_noopt correctly.
|
|
dd646a33
|
2015-03-18T19:12:42
|
|
enable libtls by default
The API/ABI for the LibreSSL 2.1.x series is now fixed, so we can safely
enable libtls it by default. This is useful for new OpenNTPD and
OpenSMTPD releases as well.
ok deraadt@ beck@ sthen@
|
|
ad7ac48d
|
2015-02-14T20:03:39
|
|
add strsep fallback for libtls
|
|
c2dccc14
|
2014-12-14T20:38:02
|
|
add all LIBADD dependencies for tls
The libtool transitive dependency magic does not seem to work for
cross-compilation, so explicitly specify them here.
|
|
d2342f36
|
2014-12-14T16:42:47
|
|
allow Windows DLLs to be built
based on a patch from Jan Engelhardt
|
|
09e5a841
|
2014-12-14T16:12:28
|
|
add LIBADD library dependencies to libssl/libtls
From Jan Engelhardt
|
|
976f64d9
|
2014-12-06T18:59:25
|
|
read all library versions directly from files
This makes building and testing easier because the library Makefile.am
files are use directly rather than as templates. Thanks to Wouter Clarie
for the idea.
|
|
33ff088a
|
2014-12-06T10:21:23
|
|
simplify packaging for libtls.
Derive the file list from the Makefile.am template itself (DRY), ensure
manpage is packaged with the final tarball.
|
|
b3270494
|
2014-12-04T22:37:22
|
|
add support for building libtls
Use './configure --enable-libtls' to build the library and install the
associated manpages. Note that the API and ABI of this library may
change still, though feedback is welcome.
ok deraadt@ jsing@ tedu@
|