aboutsummaryrefslogtreecommitdiff
path: root/extra/opendoas/build
blob: 933dd2db6b3924e537f3d782726b80297642f608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

# shellcheck disable=SC2016
sed '/chown ${BINOWN}:${BINGRP}/d' bsd.prog.mk > _
cat _ > bsd.prog.mk; rm -f _

./configure \
    --enable-static \
    --without-pam

make
make DESTDIR="$1" install

install -Dm640 doas.conf "$1/etc/doas.conf"