diff options
Diffstat (limited to 'extra/opendoas')
-rwxr-xr-x | extra/opendoas/build | 13 | ||||
-rw-r--r-- | extra/opendoas/checksums | 2 | ||||
-rw-r--r-- | extra/opendoas/depends | 1 | ||||
-rw-r--r-- | extra/opendoas/files/doas.conf | 12 | ||||
-rw-r--r-- | extra/opendoas/sources | 2 | ||||
-rw-r--r-- | extra/opendoas/version | 1 |
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 |