2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 11:10:08 -07:00
repo/extra/opendoas/build

20 lines
292 B
Plaintext
Raw Normal View History

2020-01-30 06:49:33 -07:00
#!/bin/sh -e
patch -p1 < bison-3.8.patch
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"