aboutsummaryrefslogtreecommitdiff
path: root/core/otools
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-23 09:49:11 +0300
committerCem Keylan <cem@ckyln.com>2021-07-23 09:49:11 +0300
commit33aa6579046eecb05756fc7b62bcc1b3aa2bbb50 (patch)
tree29ebbfab9d60cfcc2ffead2531513fa32a40e508 /core/otools
parenta248b735110b82a668ec95629d1e23db51aadf9f (diff)
downloadrepository-33aa6579046eecb05756fc7b62bcc1b3aa2bbb50.tar.gz
otools: install doas.conf file
Diffstat (limited to 'core/otools')
-rwxr-xr-xcore/otools/build2
-rw-r--r--core/otools/checksums1
-rw-r--r--core/otools/files/doas.conf15
-rw-r--r--core/otools/sources1
-rw-r--r--core/otools/version2
5 files changed, 20 insertions, 1 deletions
diff --git a/core/otools/build b/core/otools/build
index 4d7e2044..87463bca 100755
--- a/core/otools/build
+++ b/core/otools/build
@@ -8,3 +8,5 @@ export LDFLAGS="$LDFLAGS -static"
make
make DESTDIR="$1" install
+
+install -Dm644 doas.conf "$1/etc/doas.conf"
diff --git a/core/otools/checksums b/core/otools/checksums
index e1432143..4fbc172f 100644
--- a/core/otools/checksums
+++ b/core/otools/checksums
@@ -1 +1,2 @@
2edbe20c98e50f47cf989cb137c00a25e513fc7fe9453154237b4a6de6ed9f8f otools-1.4.2.tar.gz
+00d817a45f17e74d3e2b85b47780b23ef4a964258fbd6c3fbbb03f974848fcd0 doas.conf
diff --git a/core/otools/files/doas.conf b/core/otools/files/doas.conf
new file mode 100644
index 00000000..ee3871c9
--- /dev/null
+++ b/core/otools/files/doas.conf
@@ -0,0 +1,15 @@
+# /etc/doas.conf
+# See doas.conf(5) for details.
+
+
+# This is required if you want to use cpt with 'doas'
+# permit :wheel cmd env
+#
+# Same without asking password
+# permit nopass :wheel cmd env
+
+# In order to accept all commands
+# permit :wheel
+#
+# Same without asking password
+# permit nopass :wheel
diff --git a/core/otools/sources b/core/otools/sources
index 5eb07a48..7d6e84f9 100644
--- a/core/otools/sources
+++ b/core/otools/sources
@@ -1 +1,2 @@
https://git.carbslinux.org/otools/snapshot/otools-1.4.2.tar.gz
+files/doas.conf
diff --git a/core/otools/version b/core/otools/version
index 4ff136af..c87d2007 100644
--- a/core/otools/version
+++ b/core/otools/version
@@ -1 +1 @@
-1.4.2 1
+1.4.2 2