2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 11:40:21 -07:00
repo/extra/opendoas/build

19 lines
275 B
Plaintext
Raw Normal View History

2020-01-30 06:49:33 -07:00
#!/bin/sh -e
2021-07-03 14:41:26 -06:00
sed '/chown/d' GNUmakefile > _
mv -f _ GNUmakefile
2020-01-30 06:49:33 -07:00
./configure \
2020-11-15 10:45:50 -07:00
--prefix=/usr \
2020-01-30 06:49:33 -07:00
--enable-static \
--with-shadow \
--with-timestamp \
--without-pam
make
2021-07-17 20:55:04 -06:00
make install
2020-01-30 06:49:33 -07:00
2021-07-01 10:32:29 -06:00
mkdir -p "$1/etc"
cp -f doas.conf "$1/etc"
chmod 600 "$1/etc/doas.conf"