From f0dd1981a9ddd0c0a1c77e0a1e4b16ae26a22e9a Mon Sep 17 00:00:00 2001 From: Lorenzo Beretta Date: Thu, 9 Dec 2021 21:46:24 +0100 Subject: [PATCH] dma: fix /etc/dma/*.conf permissions Fixes https://github.com/void-linux/void-packages/issues/34431; solution due to thenktor --- srcpkgs/dma/INSTALL | 1 + srcpkgs/dma/template | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/dma/INSTALL b/srcpkgs/dma/INSTALL index 88bfc22cca11..e35876f94cf6 100644 --- a/srcpkgs/dma/INSTALL +++ b/srcpkgs/dma/INSTALL @@ -2,6 +2,7 @@ case ${ACTION} in post) # fix permissions and owners chown root:mail usr/bin/dma + chown root:mail etc/dma/auth.conf etc/dma/dma.conf chmod 2755 usr/bin/dma chown root:mail usr/lib/dma-mbox-create chmod 4754 usr/lib/dma-mbox-create diff --git a/srcpkgs/dma/template b/srcpkgs/dma/template index 71892496013f..78c71595ec15 100644 --- a/srcpkgs/dma/template +++ b/srcpkgs/dma/template @@ -1,7 +1,7 @@ # Template file for 'dma' pkgname=dma version=0.13 -revision=3 +revision=4 conf_files="/etc/dma/*.conf" make_dirs="/var/spool/dma 2775 root mail" hostmakedepends="flex"