aboutsummaryrefslogtreecommitdiff
path: root/extra/opendoas/build
blob: 5a317865188590f488f466ea8f59f163141982aa (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 -D doas.conf "$1/etc/doas.conf"