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