mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 19:20:10 -07:00
19 lines
288 B
Bash
Executable File
19 lines
288 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
sed '/chown/d' GNUmakefile > _
|
|
mv -f _ GNUmakefile
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-static \
|
|
--with-shadow \
|
|
--with-timestamp \
|
|
--without-pam
|
|
|
|
make
|
|
make DESTDIR="$1" install
|
|
|
|
mkdir -p "$1/etc"
|
|
cp -f doas.conf "$1/etc"
|
|
chmod 600 "$1/etc/doas.conf"
|