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

# shellcheck disable=SC2016
sed -i '/chown ${BINOWN}:${BINGRP}/d' bsd.prog.mk

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

make
make DESTDIR="$1" install

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