summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorD. Can Celasun2020-07-19 16:47:16 +0100
committerD. Can Celasun2020-07-19 16:47:16 +0100
commit74dbd4d40804543fad4a7a9ea90560f3d8fe8eb2 (patch)
tree5bd3a51ac754223050e1280a9b3b4fe1ef06a3c1
parentf1b15a728a0f61f976c34535e41c37e58bc3f363 (diff)
downloadaur-ssmtp.tar.gz
[ssmtp] Fix binary permissions
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a22af8ffbfa..1ce5272253e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ssmtp
pkgdesc = Extremely simple MTA to get mail off the system to a mailhub (with Fedora patches)
pkgver = 2.64
- pkgrel = 13
+ pkgrel = 14
url = https://packages.debian.org/stable/mail/ssmtp
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 01107f527db..5fbbc4b7a5e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=ssmtp
pkgver=2.64
-pkgrel=13
+pkgrel=14
pkgdesc="Extremely simple MTA to get mail off the system to a mailhub (with Fedora patches)"
arch=('i686' 'x86_64' 'armv7')
license=('GPL')
@@ -71,4 +71,7 @@ package() {
# usrmove
cd "$pkgdir"
mv usr/sbin usr/bin
+
+ chown root.mail "${pkgdir}/usr/bin/ssmtp"
+ chmod 2755 "${pkgdir}/usr/bin/ssmtp"
}