<feed xmlns='http://www.w3.org/2005/Atom'>
<title>portable/apps/nc, branch v3.7.3</title>
<subtitle>A mirror of https://github.com/libressl/portable.git
</subtitle>
<id>https://git.lua4.win/portable/atom?h=v3.7.3</id>
<link rel='self' href='https://git.lua4.win/portable/atom?h=v3.7.3'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/'/>
<updated>2022-04-16T06:59:33+00:00</updated>
<entry>
<title>Fix unreachable nc portability shim</title>
<updated>2022-04-16T06:59:33+00:00</updated>
<author>
<name>Sebastian Blunt</name>
<email>git@sebastianblunt.com</email>
</author>
<published>2022-04-16T06:48:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=fe903fb7c59600f7679b2afb0d33f4a0c3f93ae2'/>
<id>urn:sha1:fe903fb7c59600f7679b2afb0d33f4a0c3f93ae2</id>
<content type='text'>
This fixes nc failing to run on darwin due to it incorrectly setting the
linux-specific SOCK_NONBLOCK flag on connect.

nc already had a portability shim in apps/nc/compat/sys/socket.h, which
kicks in if SOCK_NONBLOCK is undefined. But that header includes
include/compat/sys/socket.h, which also has a portability shim that
defines a default value for SOCK_NONBLOCK if it's undefined. Thus the
first portability shim was unreachable.

Fixes this by moving the NEED_SOCKET_FLAGS flag into the outer shim, and
having the inner shim activate if NEED_SOCKET_FLAGS is defined.

This closes https://github.com/libressl-portable/portable/issues/631
</content>
</entry>
<entry>
<title>Add strtonum to compat library and export it</title>
<updated>2021-12-26T07:00:25+00:00</updated>
<author>
<name>kinichiro</name>
<email>kinichiro.inoguchi@gmail.com</email>
</author>
<published>2021-12-26T06:42:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=adde656bb7a859fb4cc334cb89a00840a7023c2e'/>
<id>urn:sha1:adde656bb7a859fb4cc334cb89a00840a7023c2e</id>
<content type='text'>
crypto library requires strtonum now, and add it to compat library.
remove it from applications compat/ directories.
</content>
</entry>
<entry>
<title>Remove unneeded target_include_directories with cmake</title>
<updated>2021-12-04T05:36:39+00:00</updated>
<author>
<name>kinichiro</name>
<email>kinichiro.inoguchi@gmail.com</email>
</author>
<published>2021-12-04T01:49:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=c211d97ecb351254a1020f2a9eecd47e65ad5484'/>
<id>urn:sha1:c211d97ecb351254a1020f2a9eecd47e65ad5484</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Force cmake to link strtonum shim with Darwin less than 20</title>
<updated>2021-05-22T04:31:04+00:00</updated>
<author>
<name>kinichiro</name>
<email>kinichiro.inoguchi@gmail.com</email>
</author>
<published>2021-05-22T01:58:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=39c7fa8ad6c737806cc76f0dd8a79105454308d2'/>
<id>urn:sha1:39c7fa8ad6c737806cc76f0dd8a79105454308d2</id>
<content type='text'>
check_function_exists misinterprets as if strtonum exists on macos 10.15.
</content>
</entry>
<entry>
<title>Statically link libcrypto/ssl into libtls with cmake</title>
<updated>2021-05-07T11:31:22+00:00</updated>
<author>
<name>kinichiro</name>
<email>kinichiro.inoguchi@gmail.com</email>
</author>
<published>2021-05-02T06:50:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=4c56df46de18da692785ed337910ab852c34e0ce'/>
<id>urn:sha1:4c56df46de18da692785ed337910ab852c34e0ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>modify nc build to link libcompat objects directly</title>
<updated>2020-10-20T08:50:23+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2020-10-19T03:14:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=9abd36e3af5876f67c633f27496ad5660ab7fe24'/>
<id>urn:sha1:9abd36e3af5876f67c633f27496ad5660ab7fe24</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Link crypto and ssl object files directly instead of static library</title>
<updated>2020-10-04T08:50:18+00:00</updated>
<author>
<name>kinichiro</name>
<email>kinichiro.inoguchi@gmail.com</email>
</author>
<published>2020-09-20T04:37:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=5a29b0472d5d0d1aa9936e430a87299fdb0f17ba'/>
<id>urn:sha1:5a29b0472d5d0d1aa9936e430a87299fdb0f17ba</id>
<content type='text'>
- 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.
</content>
</entry>
<entry>
<title>Configure libtls and nc(1) to statically link to libcrypto/ssl</title>
<updated>2020-10-04T08:50:18+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2020-08-20T14:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=fe42a8011b25797afa48cf0359c7e2753b2ece5f'/>
<id>urn:sha1:fe42a8011b25797afa48cf0359c7e2753b2ece5f</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>add private includes for apps and tests</title>
<updated>2018-06-14T10:59:20+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2018-06-14T10:59:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=bf368e58e7d7737957438fac99016f4e05a094f1'/>
<id>urn:sha1:bf368e58e7d7737957438fac99016f4e05a094f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scope private/public headers when embedding into other projects</title>
<updated>2018-05-29T10:46:54+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2018-05-29T10:44:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=4fcfc82d83de32098530abfa3aff5d6fc5532433'/>
<id>urn:sha1:4fcfc82d83de32098530abfa3aff5d6fc5532433</id>
<content type='text'>
thanks to Cameron Palmer
</content>
</entry>
</feed>
