aboutsummaryrefslogtreecommitdiff
path: root/extra/opendoas
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-04-07 23:22:10 +0300
committerCem Keylan <cem@ckyln.com>2020-04-07 23:22:10 +0300
commitaaab81bffffb0847c1fe8e31ba7bfc8c0e8526cf (patch)
tree8cd545b362ac7cb2d76672bdc103adc156d60e35 /extra/opendoas
parent002d667c72578f1a6cfd4914910b24117171b070 (diff)
downloadrepository-aaab81bffffb0847c1fe8e31ba7bfc8c0e8526cf.tar.gz
opendoas: update configuration
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