<feed xmlns='http://www.w3.org/2005/Atom'>
<title>portable, branch OPENBSD_5_9</title>
<subtitle>A mirror of https://github.com/libressl/portable.git
</subtitle>
<id>https://git.lua4.win/portable/atom?h=OPENBSD_5_9</id>
<link rel='self' href='https://git.lua4.win/portable/atom?h=OPENBSD_5_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/'/>
<updated>2017-01-09T09:31:28+00:00</updated>
<entry>
<title>update Changelog</title>
<updated>2017-01-09T09:31:28+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2017-01-09T09:31:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=38006812014aff2576b84235e9d9e75ee9094b46'/>
<id>urn:sha1:38006812014aff2576b84235e9d9e75ee9094b46</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sync getentropy() checks with use-builtin-arc4random checks</title>
<updated>2017-01-07T13:21:47+00:00</updated>
<author>
<name>Simone Basso</name>
<email>bassosimone@gmail.com</email>
</author>
<published>2016-12-10T19:58:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=730f199c9c461fe2c94318138e6d316ee59f5a9f'/>
<id>urn:sha1:730f199c9c461fe2c94318138e6d316ee59f5a9f</id>
<content type='text'>
Without this, we actually fail to build a library that includes the
bultin getentropy when compiling for 10.11 on 10.12.
</content>
</entry>
<entry>
<title>m4/check-libc.m4: improve getentropy check</title>
<updated>2017-01-07T13:21:07+00:00</updated>
<author>
<name>Simone Basso</name>
<email>bassosimone@gmail.com</email>
</author>
<published>2016-12-09T12:21:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=c4ee1a6fca8ce7c46e90fe8dcf856131e03bcb0b'/>
<id>urn:sha1:c4ee1a6fca8ce7c46e90fe8dcf856131e03bcb0b</id>
<content type='text'>
- according to man.openbsd.org getentropy() is in unistd.h

- according to macOS sierra's man it's in sys/random.h

- since sys/random.h is does not exist for iOS and for linux, do
  not attempt to include it, rather redeclare the prototype

- make sure that `./configure`:

    - uses getentropy() on macOS sierra

    - does not use getentropy() if compiling for 10.11

    - does not use getentropy() if compiling for ios armv7
</content>
</entry>
<entry>
<title>configure: fix getentropy() for sierra and ios</title>
<updated>2017-01-07T13:21:07+00:00</updated>
<author>
<name>Simone Basso</name>
<email>bassosimone@gmail.com</email>
</author>
<published>2016-12-09T11:39:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=bd53433877bd2f81362c92c6fead4c374794cceb'/>
<id>urn:sha1:bd53433877bd2f81362c92c6fead4c374794cceb</id>
<content type='text'>
This diff changes the logic by which configure detects getentropy() to
ensure that we don't use the system wide getentropy

- with macOS sierra if the deployment target is lower than sierra as
  found by tor developers here

    https://gitweb.torproject.org/tor.git/commit/?id=https://gitweb.torproject.org/tor.git/commit/?id=16fcbd21c963a9a65bf55024680c8323c8b7175d

- with iOS unconditionally because an app linking libressl compiled with
  system wide getentropy has been rejected by the App store as I have
  documented here

    https://github.com/measurement-kit/measurement-kit/pull/994

I think something similar could also affect clock_gettime judging from
tor's patch, but this diff for now doesn't address that.

I do not have macOS &lt; sierra, so I could only verify that configure was
not picking up system wide getentropy by compiling libressl using

    export CFLAGS="-mmacosx-version-min=10.11"

As regards iOS, removing the check for getentropy and recompiling (thus
using libressl builtin getentropy()) was enough to have another iteration
of the app accepted. Otherwise testing should be possible with:

    export LDFLAGS=-arch armv7 -miphoneos-version-min=7.1 -isysroot `xcrun --show-sdk-path --sdk iphoneos`
    export CPPFLAGS=-arch armv7 -isysroot `xcrun --show-sdk-path --sdk iphoneos`
    export CFLAGS=-arch armv7 -miphoneos-version-min=7.1 -isysroot `xcrun --show-sdk-path --sdk iphoneos`

Related ticket: https://github.com/libressl-portable/portable/issues/230
</content>
</entry>
<entry>
<title>Disable netcat if arpa/telnet.h is not available (iOS)</title>
<updated>2017-01-07T13:21:07+00:00</updated>
<author>
<name>jacob berkman</name>
<email>jberkman@weebly.com</email>
</author>
<published>2016-08-09T22:04:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=7442568456f59de7c6449eb0489d75f4d5cb27a4'/>
<id>urn:sha1:7442568456f59de7c6449eb0489d75f4d5cb27a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update changelog for 2.3.9</title>
<updated>2016-11-06T15:22:39+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2016-11-06T15:22:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=ebeda8bad3c27eacefd4264bf4258296a2b96b7c'/>
<id>urn:sha1:ebeda8bad3c27eacefd4264bf4258296a2b96b7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update changelog for 2.3.8</title>
<updated>2016-09-23T10:43:25+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2016-09-23T10:43:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=b67802c2db673f970b2421998e97a4755813acc9'/>
<id>urn:sha1:b67802c2db673f970b2421998e97a4755813acc9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update for 2.3.7</title>
<updated>2016-07-31T22:59:59+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2016-07-31T22:59:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=25d8a429c13a240de8789e12d26ea036b921a665'/>
<id>urn:sha1:25d8a429c13a240de8789e12d26ea036b921a665</id>
<content type='text'>
</content>
</entry>
<entry>
<title>set link library dependencies with MSVC, fixes #221</title>
<updated>2016-07-31T22:12:47+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2016-07-31T22:11:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=926aa53242e00ae363fb871ea010bf2137432697'/>
<id>urn:sha1:926aa53242e00ae363fb871ea010bf2137432697</id>
<content type='text'>
</content>
</entry>
<entry>
<title>properly enable strnlen checks for MSVC</title>
<updated>2016-07-31T22:12:47+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2016-07-31T22:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=950dcb2d07ac7bcc0964d3e8dff2cbb9441ba60e'/>
<id>urn:sha1:950dcb2d07ac7bcc0964d3e8dff2cbb9441ba60e</id>
<content type='text'>
</content>
</entry>
</feed>
