Commit Graph

34 Commits

Author SHA1 Message Date
Michael Forney ac78d5370a openbsd: Build with -std=gnu17 to fix build with gcc 15.1.0 2025-04-29 01:13:05 -07:00
Michael Forney 95cf1ad5e0 Use our own pax 2025-04-28 14:21:54 -07:00
Michael Forney 569b21ba94 openbsd: Update to 7.1 2022-09-06 23:42:08 -07:00
Michael Forney 2a1b8ab63f openbsd: Update to 7.0 2022-02-18 02:58:00 -08:00
Michael Forney 93722c2dbe openbsd: subninja for rsync is no longer needed
rsync doesn't depend on MD4 from OpenSSL since 6d060d5c, so we don't
need the subninja.
2021-05-03 16:40:07 -07:00
Michael Forney a5c305dc39 openbsd: Use reallocarray from musl 2021-05-02 23:00:11 -07:00
Michael Forney 1f2e769865 openbsd: Explicitly list the libc headers that are required
Previously, we just added the openbsd header directories to the
search path with -idirafter to prevent openbsd headers from being
used where we already have musl headers.

However, if the system had its own version of the headers (such as
sys/tree.h), those would get preferred over the openbsd versions,
which may result in build failures due to slight incompatibilities.

To fix this, just isolate the few headers we do need into their own
directory, and include it normally (with -I/-isystem).
2020-10-01 13:36:42 -07:00
Michael Forney 2f32b84cb2 openbsd: Fix a few warnings 2020-06-05 03:01:44 -07:00
Michael Forney d4297a13c8 Use -isystem to include library headers
This way, warnings from headers that come from another package (in
particular linux-headers) won't show up when they get included.

To make sure we still track dependencies, use -MD instead of -MMD.
2020-06-05 03:01:44 -07:00
Michael Forney 6d060d5cc1 rsync: Add implementation of MD4 to drop libressl dependency 2020-04-15 22:17:35 -07:00
Michael Forney ed4cf4f990 openbsd: Build nc against libtls-bearssl 2019-12-04 01:11:35 -08:00
Michael Forney 001f7af9b5 Build nc from openbsd sources instead of libressl 2019-12-04 01:11:35 -08:00
Michael Forney 0d1023ae1f acme-client: Build in a separate package directory 2019-12-04 00:52:51 -08:00
Michael Forney 4154ce4dd0 openbsd: Remove yacc in favor of byacc 2019-10-26 21:48:17 -07:00
Michael Forney 2cc03eb01e openbsd: Update to 6.6 2019-10-17 21:49:17 -07:00
Michael Forney fe0aae18e5 Use no-op static assert for defining away macros
Empty top-level declarations aren't allowed in ISO C.
2019-06-27 14:33:51 -07:00
Michael Forney cb743d8979 openbsd: Build rsync 2019-06-14 13:22:20 -07:00
Michael Forney b629feda21 openbsd: Update to 6.5 2019-04-28 00:35:35 -07:00
Michael Forney 02b6145e19 Use acme-client from openbsd
The portable version is no longer maintained.
2019-03-19 00:52:21 -07:00
Michael Forney 8077071627 Build nc from libressl
This way we don't have to maintain the nc linux port patch ourselves.
It also avoids a circular dependency between the libressl and openbsd
packages.
2018-11-07 14:04:38 -08:00
Michael Forney 4d7e1d2f23 openbsd: Use explicit_bzero from musl 1.1.20 2018-11-06 00:00:25 -08:00
Michael Forney d19e6b823b Use musl 1.1.20 getentropy 2018-11-06 00:00:25 -08:00
Michael Forney f724d54482 libressl: Update to 2.8.2 2018-11-06 00:00:25 -08:00
Michael Forney 3838ad3380 openbsd: Update to 6.4 2018-11-03 01:16:52 -07:00
Michael Forney fe49c4a3fa openbsd: Install libbsd.a
This is needed to link with libraries like libcrypto.a, which is
used in the kernel build process in some configurations.
2018-08-26 23:01:58 -07:00
Michael Forney 6da2d16976 openbsd: Add missing dependency 2018-05-10 13:19:53 -07:00
Michael Forney faf1dddcc4 openbsd: Generate doas parser in doas directory 2018-05-10 12:17:02 -07:00
Michael Forney 90b230abfa openbsd: Remove redundant libressl include 2018-05-10 12:17:02 -07:00
Michael Forney 6e3e79ebdc openbsd: Build m4 2018-05-10 12:17:02 -07:00
Michael Forney 741d252822 Port build scripts to POSIX shell
Since we are now using Lua to generate ninja files, use of rc in build scripts
seems unnecessary and adds an additional bootstrap dependency. None of them are
too fancy, so just port to POSIX sh instead.
2018-02-16 02:52:34 -08:00
Michael Forney b016650a30 loksh: Update to 6.2 2017-12-14 21:21:54 -08:00
Michael Forney 6415dc98e7 openbsd: Update to 6.2 2017-10-10 03:22:25 -07:00
Michael Forney 8bfb60a368 fetch-curl: Allow overriding substitutions 2017-10-10 03:22:25 -07:00
Michael Forney ba94a8513d Rewrite ninja generation scripts in Lua 2017-09-25 19:23:06 -07:00