Subject: [PATCH] main/doas: set doas.conf to mode 600

From: Drew DeVault <[email-masked]>
Date: Fri, 2 Jul 2021 19:14:15 -0400

The previous patch was incorrect. The desired mode is rw-------, not
r-x-------.
---
 main/doas/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/doas/APKBUILD b/main/doas/APKBUILD
index 120a15e19f..aee6c31792 100644
--- a/main/doas/APKBUILD
+++ b/main/doas/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Drew DeVault <[email-masked]>
 pkgname=doas
 pkgver=6.8.1
-pkgrel=2
+pkgrel=3
 pkgdesc="OpenBSD's temporary privilege escalation tool"
 url="https://github.com/Duncaen/OpenDoas"
 arch="all"
@@ -38,7 +38,7 @@ package() {
 	# Uncomment to allow group "wheel" to become root
 	# permit persist :wheel
 	EOF
-	chmod 500 "$pkgdir"/etc/doas.conf
+	chmod 600 "$pkgdir"/etc/doas.conf
 }
 
 sha512sums="d96fe1cdd70e9211de9996ad05bcf7a127facd02af48f7ab2561869d9d16708f1b61722c6e6b9fe15a62e9ef501e09b1ba444b7b43a066f1895e543ebc9402e7  doas-6.8.1.tar.gz"
-- 
2.32.0