[arch-commits] Commit in amavisd-new/trunk (PKGBUILD)

Thore Bödecker foxxx0 at archlinux.org
Sun Nov 26 14:59:50 UTC 2017


    Date: Sunday, November 26, 2017 @ 14:59:49
  Author: foxxx0
Revision: 268915

upgpkg: amavisd-new 2.11.0-7

fix socket path in amavisd-release script

Modified:
  amavisd-new/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-26 14:08:53 UTC (rev 268914)
+++ PKGBUILD	2017-11-26 14:59:49 UTC (rev 268915)
@@ -3,7 +3,7 @@
 
 pkgname=amavisd-new
 pkgver=2.11.0
-pkgrel=6
+pkgrel=7
 pkgdesc="High-performance interface between mailer (MTA) and content checkers"
 arch=('any')
 url="https://www.ijs.si/software/amavisd/"
@@ -59,6 +59,10 @@
         -e "sX\\\$unix_socketname = \"\\\$MYHOME/amavisd.sock\"X\\\$unix_socketname = \"/run/amavis/sock\"Xg" \
         "${srcdir}/${pkgname}-${pkgver}/amavisd.conf"
 
+    sed -i \
+        -e "sX\\\$socketname = '/var/amavis/amavisd.sock'X\\\$socketname = '/var/spool/amavis/amavisd.sock'Xg" \
+        "${srcdir}/${pkgname}-${pkgver}/amavisd-release"
+
     # fix ORIGINATING detection for DKIM signing
     # see: https://bugzilla.redhat.com/show_bug.cgi?id=1364730#c1
     # and: https://lists.amavis.org/pipermail/amavis-users/2016-July/004428.html


More information about the arch-commits mailing list