diff options
author | D. Can Celasun | 2020-07-18 08:10:17 +0100 |
---|---|---|
committer | D. Can Celasun | 2020-07-18 08:10:17 +0100 |
commit | f1b15a728a0f61f976c34535e41c37e58bc3f363 (patch) | |
tree | 9be830ba9ce7a4a671880e7e64d024a287d2027c | |
parent | c8306a4ac858684132bcc2aac8e345910c1993dc (diff) | |
download | aur-f1b15a728a0f61f976c34535e41c37e58bc3f363.tar.gz |
[ssmtp] Fix directory permissions
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -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 = 12 + pkgrel = 13 url = https://packages.debian.org/stable/mail/ssmtp arch = i686 arch = x86_64 @@ -1,6 +1,6 @@ pkgname=ssmtp pkgver=2.64 -pkgrel=12 +pkgrel=13 pkgdesc="Extremely simple MTA to get mail off the system to a mailhub (with Fedora patches)" arch=('i686' 'x86_64' 'armv7') license=('GPL') @@ -60,7 +60,10 @@ package() { yes | make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man/man8" etcdir="${pkgdir}/etc" install install -D -m644 ssmtp.conf.5 "${pkgdir}/usr/share/man/man5/ssmtp.conf.5" - install -m644 ssmtp.conf "${pkgdir}/etc/ssmtp.conf" + install -m644 ssmtp.conf "${pkgdir}/etc/ssmtp/ssmtp.conf" + + chown -R root.mail "${pkgdir}/etc/ssmtp" + chmod 770 "${pkgdir}/etc/ssmtp" ln -s ssmtp "${pkgdir}/usr/sbin/sendmail" ln -s ssmtp "${pkgdir}/usr/sbin/newaliases" |