repo/extra/opendoas/build

18 lines
276 B
Plaintext
Raw Normal View History

2020-01-30 06:49:33 -07:00
#!/bin/sh -e
2021-07-27 09:14:24 -06:00
BINOWN="$(id -u)" \
BINGRP="$(id -g)" \
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
2023-03-02 07:40:00 -07:00
make DESTDIR="$1" install
2020-01-30 06:49:33 -07:00
2021-07-01 10:32:29 -06:00
mkdir -p "$1/etc"
cp -f doas.conf "$1/etc"
chmod 600 "$1/etc/doas.conf"