2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 14:02:27 +00:00
repo/extra/opendoas/build
Dylan Araps 409439279a
opendoas: remove bison patch
No longer needed as of 3.8.1.
2021-09-11 18:04:59 +03:00

18 lines
263 B
Bash
Executable File

#!/bin/sh -e
BINOWN="$(id -u)" \
BINGRP="$(id -g)" \
./configure \
--prefix=/usr \
--enable-static \
--with-shadow \
--with-timestamp \
--without-pam
make
make install
mkdir -p "$1/etc"
cp -f doas.conf "$1/etc"
chmod 600 "$1/etc/doas.conf"