[arch-commits] Commit in spamassassin/trunk (3 files)

Florian Pritz bluewind at archlinux.org
Sun Apr 28 12:30:46 UTC 2019


    Date: Sunday, April 28, 2019 @ 12:30:45
  Author: bluewind
Revision: 352207

upgpkg: spamassassin 3.4.2-2

FS#61855 - [spamassassin] Allow local socket connection instead of just TCP/IP connection

Added:
  spamassassin/trunk/spamassassin.tmpfiles.d
Modified:
  spamassassin/trunk/PKGBUILD
  spamassassin/trunk/spamassassin.service

-------------------------+
 PKGBUILD                |    8 ++++++--
 spamassassin.service    |    2 +-
 spamassassin.tmpfiles.d |    1 +
 3 files changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-28 09:40:01 UTC (rev 352206)
+++ PKGBUILD	2019-04-28 12:30:45 UTC (rev 352207)
@@ -3,7 +3,7 @@
 # Contributor: Manolis Tzanidakis
 pkgname=spamassassin
 pkgver=3.4.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A mail filter to identify spam."
 arch=('x86_64')
 license=('APACHE')
@@ -23,11 +23,13 @@
         'etc/mail/spamassassin/v330.pre')
 install="${pkgname}.install"
 source=("https://www.us.apache.org/dist/${pkgname}/source/Mail-SpamAssassin-${pkgver}.tar.gz"{,.asc}
+        'spamassassin.tmpfiles.d'
         'spamassassin.service')
 validpgpkeys=(D8099BC79E17D7E49BC21E31FDE52F40F7D39814)
 sha512sums=('85e3d78bb885ad1d0bf2066d1bc919d6ad5e9f86795069397e7c28cc1ba02870566ec014c08c81f68e7ed03b7f60d2de0b9730b3415b35d848abde2c8920a28f'
             'SKIP'
-            '7e44370e9433134816db51681de388618f8b00f27e9229b673ca7da5821b6bfc27dfc9f6f7387ef18d1d310ea03a4569f46cae3089bba91dd71692b9eee8c8e4')
+            '994ebb2b6c127521676f35879017112a33da53ad99431837d06973a9abfc4aa0434ea2c9b19073ff2cc877ebe3a5a7fe8525bc93222fd05956069ce73e5ae389'
+            '5ad6aa8d992375b0989413d36ff0485f792ac9211a47e6a2a7fa5c0b9eb353aa6efe6f55da3ff4480bdef24beb4fa456c64c5a5ce72e8ad6c93c171c969fd6ee')
 
 prepare() {
   cd "${srcdir}/Mail-SpamAssassin-${pkgver}"
@@ -64,4 +66,6 @@
 
   echo 'u spamd 182 - /var/lib/spamassassin' |
 	  install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+
+  install -Dm644 "$srcdir/spamassassin.tmpfiles.d" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
 }

Modified: spamassassin.service
===================================================================
--- spamassassin.service	2019-04-28 09:40:01 UTC (rev 352206)
+++ spamassassin.service	2019-04-28 12:30:45 UTC (rev 352207)
@@ -3,7 +3,7 @@
 After=syslog.target network.target
 
 [Service]
-ExecStart=/usr/bin/vendor_perl/spamd -x -u spamd -g spamd
+ExecStart=/usr/bin/vendor_perl/spamd -x -u spamd -g spamd --listen=/run/spamd/spamd.sock --listen=localhost
 StandardOutput=null
 StandardError=null
 Restart=always

Added: spamassassin.tmpfiles.d
===================================================================
--- spamassassin.tmpfiles.d	                        (rev 0)
+++ spamassassin.tmpfiles.d	2019-04-28 12:30:45 UTC (rev 352207)
@@ -0,0 +1 @@
+d /run/spamd 0755 spamd spamd -


More information about the arch-commits mailing list