aboutsummaryrefslogtreecommitdiff
path: root/apps/nc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* modify nc build to link libcompat objects directlyBrent Cook2020-10-201-2/+6
| | | | Rather than assuming the static version of libcrypto exists for pulling in the compatibility functions, link the compat objects directly. This modifies the object file generation script a bit to handle the empty-case properly as well.
* Link crypto and ssl object files directly instead of static librarykinichiro2020-10-171-1/+1
| | | | | | - 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.
* Configure libtls and nc(1) to statically link to libcrypto/sslBrent Cook2020-10-171-3/+3
| | | | | | | | | | | | | | | 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
* add private includes for apps and testsBrent Cook2018-06-141-1/+1
|
* scope private/public headers when embedding into other projectsBrent Cook2018-05-291-7/+1
| | | | thanks to Cameron Palmer
* Merge branch 'master' of https://github.com/libressl-portable/portable into ↵d3x0r2017-07-061-2/+2
|\ | | | | | | | | | | SkipInstall Fix merge conflicts from GNUInstallDirs merge to master.
| * use GNUInstallDirs from cmake to specify install paths.d3x0r2017-07-061-2/+2
| | | | | | | | Primarily this is to select whether 'lib64' or 'lib' is used on linux type systems.
* | Add option LIBRESSL_SKIP_INSTALLd3x0r2017-07-061-2/+4
|/ | | | | | | | 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.
* add nc(1) manpage to install if enabledBrent Cook2017-04-121-0/+1
|
* Copy libc compat files rather than adding into the repositorykinichiro2017-01-282-380/+0
| | | | | - remove the CP_LIBC files from repo - move tests/memmem.c to tests/compat/
* fix static mingw builds, platform LDADD needs to come at the endBrent Cook2017-01-091-2/+2
|
* remove DEFAULT_CA_FILE patch, since libtls handles this by defaultBrent Cook2016-08-131-5/+0
|
* Revert "remove DEFAULT_CA_FILE patch, since libtls handles this by default"Brent Cook2016-07-091-0/+5
| | | | This reverts commit 30adf9c06e8d3d7ac9e89f4b2b290567bcafa75c.
* remove DEFAULT_CA_FILE patch, since libtls handles this by defaultBrent Cook2016-07-071-5/+0
|
* Land #192, fix fix ld warning "attempted multiple inclusion of file" on SolarisBrent Cook2016-05-021-3/+3
|\
| * fix ld warning "attempted multiple inclusion of file" on Solariskinichiro2016-04-211-3/+3
| | | | | | | | - To avoid ld warning on Solaris, use abs_top_builddir in Makefile.am
* | add cmake build optionskinichiro2016-04-141-0/+6
|/ | | | | | | | | | | | | - 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"
* modify cmake to build nckinichiro2016-04-092-0/+55
| | | | | | | | | | | - modify structure of CMakeLists.txt under apps/ * move apps/CMakeLists.txt to apps/openssl/ since this is for openssl build * create new apps/nc/CMakeLists.txt for nc build * modify apps/CMakeLists.txt just add_subdirectory() - add checking and compile of arc4random_uniform() - add installing man files, openssl.1 and nc.1
* allow optionally installing nc(1) with '--enable-nc'Brent Cook2015-12-071-0/+4
|
* fixup cert.pem path override for libtls, add for nc(1)Brent Cook2015-12-071-0/+5
| | | | this also fixes the formatting of help for nc(1)
* ensure we don't pass a negative int to ctypes functionsBrent Cook2015-11-231-3/+3
| | | | | Some implementations, e.g. cygwin, use a table lookup that can cast a char to a negative array offset.
* nc: Use AM_CPPFLAGS, not CPPFLAGS in Makefile.amJeremy Huddleston Sequoia2015-10-141-1/+1
| | | | | | CPPFLAGS should just be set by the user at configure time Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* add b64_ntop checking and fallback for nc(1)Brent Cook2015-10-012-0/+319
|
* fix a library paths, nc patchBrent Cook2015-09-131-2/+2
|
* a few more linux nc build tweaksBrent Cook2015-09-131-0/+2
|
* allow nc to build on linux and os xBrent Cook2015-09-136-5/+361
|
* readd openssl.1, distribute nc.1Brent Cook2015-09-131-0/+2
|
* restrict nc to openbsd builds for nowBrent Cook2015-09-121-0/+4
|
* correct nc compat pathBrent Cook2015-09-121-1/+1
|
* add some backcompat in nc, don't install itBrent Cook2015-09-121-1/+9
|
* add 'nc' to the distribution as an example of libtls client and serverBrent Cook2015-09-121-0/+11