2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00
repo/extra/opendoas/build
2021-07-01 16:32:29 +00:00

18 lines
267 B
Bash
Executable File

#!/bin/sh -e
sed -i '/chown/d' GNUmakefile
./configure \
--prefix=/usr \
--enable-static \
--with-shadow \
--with-timestamp \
--without-pam
make
make DESTDIR="$1" install
mkdir -p "$1/etc"
cp -f doas.conf "$1/etc"
chmod 600 "$1/etc/doas.conf"