Michael Forney
ee01b2f12b
openbsd: Fix type of fts_compar
2026-04-03 04:03:42 -07:00
Michael Forney
c2e8e4109f
openbsd: Various portability fixes
2026-04-03 03:49:44 -07:00
Michael Forney
ff1d7cf0fd
openbsd: Update to 7.8
2026-03-04 15:54:45 -08:00
Michael Forney
06624ed786
openbsd: Update to 7.7
2025-04-29 18:08:11 -07:00
Michael Forney
0bb6cefb50
acme-client: Support certificate signatures with SHA384 and SHA512
...
It seems letsencrypt is now using SHA384.
Also, ignore expired certificates when extracting SAN entries. We
want to trigger renewal in this case rather than exiting with
failure.
2024-10-10 23:15:48 -07:00
Michael Forney
0ae82dcc8b
openbsd: Update to 7.3
2023-08-25 13:09:09 -07:00
Michael Forney
ca8c261bcf
openbsd: Add notime option to nc
2022-09-08 11:38:11 -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
32023c3ff5
acme-client: Include PEM null terminator in buffer allocation
2021-05-14 23:25:50 -07:00
Michael Forney
7457008fe4
x509cert: Update to 0.2
2021-05-10 23:34:19 -07:00
Michael Forney
638ca3b1f4
acme-client: Port to BearSSL and x509cert
2021-05-06 02:23:45 -07:00
Michael Forney
dce7387ae2
openbsd: Update to 6.9
2021-05-01 01:48:08 -07:00
Michael Forney
1a213cc952
openbsd: doas: Use == -1 for error checking for consistency
2021-04-05 20:09:05 -07:00
Michael Forney
7286f7e8e7
openbsd: doas: Use PATH=/bin when cmd is not specified
...
This behavior matches what is documented doas(1) and was originally
changed in OpenBSD 6.6.
Take the opportunity to simplify handling of PATH a bit.
2021-04-05 20:07:42 -07:00
Michael Forney
d6c984d896
openbsd: Update to 6.8
2020-10-19 14:59:25 -07:00
Michael Forney
2f32b84cb2
openbsd: Fix a few warnings
2020-06-05 03:01:44 -07:00
Michael Forney
bb8087edd2
openbsd: Update to 6.7
2020-05-19 14:09:57 -07:00
Michael Forney
6d060d5cc1
rsync: Add implementation of MD4 to drop libressl dependency
2020-04-15 22:17:35 -07:00
Michael Forney
7a6fd386c2
acme-client: Fix build with old bison versions
2020-04-15 20:27:02 -07:00
Michael Forney
5891d59419
openbsd: Fix tar patch to default to stdin
...
This can cause a segfault.
2020-01-17 01:03:11 -08:00
Michael Forney
7a114f9909
openbsd: Fix pax -p flag with symlinks
2020-01-10 21:40:44 -08:00
Michael Forney
001f7af9b5
Build nc from openbsd sources instead of libressl
2019-12-04 01:11:35 -08:00
Michael Forney
2cc03eb01e
openbsd: Update to 6.6
2019-10-17 21:49:17 -07:00
Michael Forney
af514c16aa
openbsd: Include sys/sysmacros.h if necessary
2019-08-06 11:53:03 -07:00
Michael Forney
9a9f25b61b
openbsd: Fix a few portability issues
2019-06-15 20:30:36 -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
d19e6b823b
Use musl 1.1.20 getentropy
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
5d21bc118a
openbsd: Minor tweaks to doas port
...
Remove now unused login_caps.h include.
Fix persist path formatting to support any size uid_t and dev_t
(instead of assuming int).
2018-08-21 12:18:42 -07:00
Michael Forney
6e3e79ebdc
openbsd: Build m4
2018-05-10 12:17:02 -07:00
Michael Forney
d3ad1e285c
openbsd: Update to 6.3
2018-04-10 12:08:33 -07:00
Michael Forney
6415dc98e7
openbsd: Update to 6.2
2017-10-10 03:22:25 -07:00
Michael Forney
892d26c839
Check for negative snprintf return value
2017-10-07 13:27:36 -07:00
Michael Forney
c6e40d94f2
openbsd: Build nc
2017-06-19 23:25:40 -07:00
Michael Forney
4c2436940b
openbsd: Allow using BearSSL for SHA512
2017-05-27 19:51:08 -07:00
Michael Forney
73c0a90073
openbsd: Use provided recallocarray instead of patching with explicit_bzero
...
When I originally looked at this, I only saw the malloc-internal
implementation, but it looks like they have left the original standalone
recallocarray.c implementation.
2017-05-02 23:22:02 -07:00
Michael Forney
42568142cd
openbsd: Update to 6.1
2017-04-14 12:23:06 -07:00
Michael Forney
c01252ab1f
openbsd/doas: Call openlog to set syslog identity
2017-03-26 21:02:07 -07:00
Michael Forney
f2cb609387
openbsd/doas: Use CLOCK_BOOTTIME for timestamp files
...
This way, we take in to account time while the system is suspended.
2017-03-09 08:27:45 -08:00
Michael Forney
5d3147c14f
openbsd/doas: Implement persist feature
...
Pull some patches from openbsd-current, implementing persist using
timestamp files in /run/doas.
2017-02-28 22:53:38 -08:00
Michael Forney
6dfea0c1af
openbsd: Build doas
...
Use a simple sp_pwd comparison for now. Later, I might consider
implementing something similar to BSD auth for oasis.
2017-02-26 17:20:57 -08:00
Michael Forney
293f5a93b7
Move to flat package hierarchy
...
Note to self: never try to move submodules again
To migrate your existing submodules (more or less):
set -x
set -e
mkdir .git/modules/pkg
for old in */*/src ; do
new="pkg/${old#*/}"
if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
continue
fi
git -C ".git/modules/$old" config core.worktree "../../../../../$new"
rmdir "$new"
mv "$old" "$new"
sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp"
mv "$new/.git.tmp" "$new/.git"
mkdir ".git/modules/${new%/src}"
mv ".git/modules/$old" ".git/modules/$new"
rm "${old%/src}"/*.ninja
mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
rmdir "${old%/src}" || true
done
sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp
mv .git/config.tmp .git/config
2016-12-13 23:10:30 -08:00