repo/extra/opendoas/build

19 lines
288 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
make DESTDIR="$1" install
2021-07-01 10:32:29 -06:00
mkdir -p "$1/etc"
cp -f doas.conf "$1/etc"
chmod 600 "$1/etc/doas.conf"