aboutsummaryrefslogtreecommitdiff
path: root/extra/opendoas
diff options
context:
space:
mode:
Diffstat (limited to 'extra/opendoas')
-rw-r--r--extra/opendoas/checksums2
-rw-r--r--extra/opendoas/files/doas.conf17
2 files changed, 11 insertions, 8 deletions
diff --git a/extra/opendoas/checksums b/extra/opendoas/checksums
index faf20cde..0c295ccc 100644
--- a/extra/opendoas/checksums
+++ b/extra/opendoas/checksums
@@ -1,2 +1,2 @@
baf5a2c73116781519cf03b5b9147eee8db69e8b052eaa81caf093107226b4fe v6.6.1.tar.gz
-7ebf857644207debd1a626dcdbf5cd057e0121bca649dac07b4ff86c4790fdf0 doas.conf
+6a0d938e6df092d755bcb0843c688bd2c9c245ede8727a589fa7556a6d31e5b9 doas.conf
diff --git a/extra/opendoas/files/doas.conf b/extra/opendoas/files/doas.conf
index 674ed193..32aeff17 100644
--- a/extra/opendoas/files/doas.conf
+++ b/extra/opendoas/files/doas.conf
@@ -1,12 +1,15 @@
-# Set rules here.
-# Priority increases with linenumber.
+# /etc/doas.conf
# See doas.conf(5) for details.
+# KEEP THIS AT THE BOTTOM.
-# KEEP THIS AT THE BOTTOM
+# This is required if you want to use kiss with 'doas'
+# permit keepenv setenv { HOME } :wheel cmd kiss
+# permit :wheel cmd git args fetch
+# permit :wheel cmd git args merge
-# 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
+# Same without asking password
+# permit nopass keepenv setenv { HOME } :wheel cmd kiss
+# permit nopass :wheel cmd git args fetch
+# permit nopass :wheel cmd git args merge