Subject: [alpine-aports] [PATCH] testing/rspamd: fix socket path in contrib, made logrotate more quiet

From: Valery Kartel <[email-masked]>
Date: Thu, 21 Jan 2016 20:15:09 +0200

---
 testing/rspamd/APKBUILD          | 3 ++-
 testing/rspamd/rspamd.logrotated | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/testing/rspamd/APKBUILD b/testing/rspamd/APKBUILD
index c04f33b..ace7418 100644
--- a/testing/rspamd/APKBUILD
+++ b/testing/rspamd/APKBUILD
@@ -2,7 +2,7 @@
 # Contributor: Valery Kartel <[email-masked]>
 pkgname=rspamd
 pkgver=1.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Rapid spam filtering system"
 url="https://rspamd.com"
 arch="all"
@@ -89,6 +89,7 @@ contrib() {
 	mkdir -p "$subpkgdir"/usr/share/$pkgname/contrib
 	# Exim specific stuff
 	cp -r "$_builddir"/contrib/exim "$subpkgdir"/usr/share/$pkgname/contrib/
+	sed -i 's~var/run~run/rspamd~' "$subpkgdir"/usr/share/$pkgname/contrib/exim/local_scan.c
 }
 
 md5sums="c14cc28bc346a3f12623e472ba508f43  rspamd-1.1.0.tar.xz
diff --git a/testing/rspamd/rspamd.logrotated b/testing/rspamd/rspamd.logrotated
index 8a30971..d8c5a3e 100644
--- a/testing/rspamd/rspamd.logrotated
+++ b/testing/rspamd/rspamd.logrotated
@@ -6,6 +6,6 @@
     compress
     sharedscripts
     postrotate
-        /etc/init.d/rspamd --ifstarted reload
+        /etc/init.d/rspamd --quiet --ifstarted reload
     endscript
 }
-- 
2.7.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---