aboutsummaryrefslogtreecommitdiff
path: root/extra/opendoas
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
parentbae87e07893bd0339530bad698b6fd84831feef2 (diff)
downloadrepository-5d154adcdd7f13e62530bd453241d994e0be0772.tar.gz
opendoas: add new package at 6.6.1 to extra
Diffstat (limited to 'extra/opendoas')
-rwxr-xr-xextra/opendoas/build13
-rw-r--r--extra/opendoas/checksums2
-rw-r--r--extra/opendoas/depends1
-rw-r--r--extra/opendoas/files/doas.conf12
-rw-r--r--extra/opendoas/sources2
-rw-r--r--extra/opendoas/version1
6 files changed, 31 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"
diff --git a/extra/opendoas/checksums b/extra/opendoas/checksums
new file mode 100644
index 00000000..faf20cde
--- /dev/null
+++ b/extra/opendoas/checksums
@@ -0,0 +1,2 @@
+baf5a2c73116781519cf03b5b9147eee8db69e8b052eaa81caf093107226b4fe v6.6.1.tar.gz
+7ebf857644207debd1a626dcdbf5cd057e0121bca649dac07b4ff86c4790fdf0 doas.conf
diff --git a/extra/opendoas/depends b/extra/opendoas/depends
new file mode 100644
index 00000000..bccf6175
--- /dev/null
+++ b/extra/opendoas/depends
@@ -0,0 +1 @@
+bison make
diff --git a/extra/opendoas/files/doas.conf b/extra/opendoas/files/doas.conf
new file mode 100644
index 00000000..674ed193
--- /dev/null
+++ b/extra/opendoas/files/doas.conf
@@ -0,0 +1,12 @@
+# Set rules here.
+# Priority increases with linenumber.
+# See doas.conf(5) for details.
+
+
+
+# KEEP THIS AT THE BOTTOM
+
+# Select one of the following. `keepenv` does not preserve HOME, which is
+# necessary for kiss to find packages built by non-root
+permit keepenv setenv { HOME } :wheel cmd kiss
+#permit nopass keepenv setenv { HOME } :wheel cmd kiss
diff --git a/extra/opendoas/sources b/extra/opendoas/sources
new file mode 100644
index 00000000..05f1a65a
--- /dev/null
+++ b/extra/opendoas/sources
@@ -0,0 +1,2 @@
+https://github.com/Duncaen/OpenDoas/archive/v6.6.1.tar.gz
+files/doas.conf
diff --git a/extra/opendoas/version b/extra/opendoas/version
new file mode 100644
index 00000000..a367d970
--- /dev/null
+++ b/extra/opendoas/version
@@ -0,0 +1 @@
+6.6 1