2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 07:40:11 -07:00
repo/extra/opendoas/build

18 lines
263 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
2021-07-17 20:55:04 -06:00
make 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"