From 33aa6579046eecb05756fc7b62bcc1b3aa2bbb50 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Fri, 23 Jul 2021 09:49:11 +0300 Subject: otools: install doas.conf file --- core/otools/build | 2 ++ core/otools/checksums | 1 + core/otools/files/doas.conf | 15 +++++++++++++++ core/otools/sources | 1 + core/otools/version | 2 +- 5 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 core/otools/files/doas.conf (limited to 'core/otools') 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 -- cgit v1.2.3