aboutsummaryrefslogtreecommitdiff
path: root/extra/opendoas/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-02-04 09:55:46 +0300
committerCem Keylan <cem@ckyln.com>2020-02-04 09:55:46 +0300
commit5d154adcdd7f13e62530bd453241d994e0be0772 (patch)
tree39d559ed74b558bfe0f7daa5d1d42bcb7dd8adc6 /extra/opendoas/build
parentbae87e07893bd0339530bad698b6fd84831feef2 (diff)
downloadrepository-5d154adcdd7f13e62530bd453241d994e0be0772.tar.gz
opendoas: add new package at 6.6.1 to extra
Diffstat (limited to 'extra/opendoas/build')
-rwxr-xr-xextra/opendoas/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/opendoas/build b/extra/opendoas/build
new file mode 100755
index 00000000..d660c7e3
--- /dev/null
+++ b/extra/opendoas/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+# shellcheck disable=SC2016
+sed -i '/chown ${BINOWN}:${BINGRP}/d' bsd.prog.mk
+
+./configure \
+ --enable-static \
+ --without-pam
+
+make
+make DESTDIR="$1" install
+
+install -D doas.conf "$1/etc/doas.conf"