2020-01-30 13:49:33 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2021-09-08 06:41:29 +00:00
|
|
|
patch -p1 < bison-3.8.patch
|
|
|
|
|
2021-07-27 15:14:24 +00:00
|
|
|
BINOWN="$(id -u)" \
|
|
|
|
BINGRP="$(id -g)" \
|
2020-01-30 13:49:33 +00:00
|
|
|
./configure \
|
2020-11-15 17:45:50 +00:00
|
|
|
--prefix=/usr \
|
2020-01-30 13:49:33 +00:00
|
|
|
--enable-static \
|
|
|
|
--with-shadow \
|
|
|
|
--with-timestamp \
|
|
|
|
--without-pam
|
|
|
|
|
|
|
|
make
|
2021-07-18 02:55:04 +00:00
|
|
|
make install
|
2020-01-30 13:49:33 +00:00
|
|
|
|
2021-07-01 16:32:29 +00:00
|
|
|
mkdir -p "$1/etc"
|
|
|
|
cp -f doas.conf "$1/etc"
|
|
|
|
chmod 600 "$1/etc/doas.conf"
|