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

Maxime Gauduin alucryd at gemini.archlinux.org
Wed Jan 19 10:57:43 UTC 2022


    Date: Wednesday, January 19, 2022 @ 10:57:43
  Author: alucryd
Revision: 1110466

FS#71911: rspamd 3.1-3

Added:
  rspamd/trunk/rspamd-dmarc-report.service
  rspamd/trunk/rspamd-dmarc-report.timer
Modified:
  rspamd/trunk/PKGBUILD

-----------------------------+
 PKGBUILD                    |   15 +++++++++------
 rspamd-dmarc-report.service |    8 ++++++++
 rspamd-dmarc-report.timer   |   10 ++++++++++
 3 files changed, 27 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-19 10:42:30 UTC (rev 1110465)
+++ PKGBUILD	2022-01-19 10:57:43 UTC (rev 1110466)
@@ -5,7 +5,7 @@
 
 pkgname=rspamd
 pkgver=3.1
-pkgrel=2
+pkgrel=3
 epoch=
 pkgdesc='Fast, free and open-source spam filtering system'
 arch=(x86_64)
@@ -124,21 +124,23 @@
   rspamd.tmpfiles
   rspamd.sysusers
   rspamd.logrotate
+  rspamd-dmarc-report.service
+  rspamd-dmarc-report.timer
 )
 b2sums=('SKIP'
         '6b1b4220444d382d01fe981acf51580c397363a873507fdb508fd5109adae2609c03e629ecdd6e48c13f068d0c3530be4d0fb55b3084c33522619dd29f70a40c'
         '5b4db27d87158609519bb0e59700ac627d447e4627b70600a70638f81a39361ad416c4784dafc392e9f9bc7b69211587ae64cbab7bec98668e75df5c4fba46ea'
-        '25c2253c7ecd9fba215cb6a1df93d76fab98e98ffeec380f828d7a612a78e0c4822dacc838ca37c2ceec452e54e7fc06c4c4df3290c8a6e8ee5ae869bbbb449e')
+        '25c2253c7ecd9fba215cb6a1df93d76fab98e98ffeec380f828d7a612a78e0c4822dacc838ca37c2ceec452e54e7fc06c4c4df3290c8a6e8ee5ae869bbbb449e'
+        'e22421badb8d8b69ec5b5e2cc42edcae3b83725a783455bfef7c9f4fe3b1797981a793d09f281b22b1423376a2f09dce368a354941aaf7f2d3c3a2e56e14392b'
+        '153df613fc1b24e845b3a86026215f8f7e031cc52f47278a1e0f389d6225d017c53e806316c8eb7d7e755985451f09cc9fb366cd776f3786e04ac4c59eacf606')
 
 pkgver() {
   cd rspamd
-
   git describe --tags
 }
 
 prepare() {
   cd rspamd
-
   sed 's/_rspamd/rspamd/g' -i rspamd.service
 }
 
@@ -159,12 +161,13 @@
 }
 
 package() {
-  DESTDIR="${pkgdir}" cmake --build build --target install
-
+  DESTDIR="${pkgdir}" cmake --install build
   install -Dm 644 rspamd/LICENSE.md -t "${pkgdir}"/usr/share/licenses/rspamd
   install -Dm 644 rspamd.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/rspamd.conf
   install -Dm 644 rspamd.sysusers "${pkgdir}"/usr/lib/sysusers.d/rspamd.conf
   install -Dm 644 rspamd.logrotate "${pkgdir}"/etc/logrotate.d/rspamd
+  install -Dm 644 rspamd-dmarc-report.service -t "${pkgdir}"/usr/lib/systemd/system/
+  install -Dm 644 rspamd-dmarc-report.timer -t "${pkgdir}"/usr/lib/systemd/system/
 }
 
 # vim: ts=2 sw=2 et:

Added: rspamd-dmarc-report.service
===================================================================
--- rspamd-dmarc-report.service	                        (rev 0)
+++ rspamd-dmarc-report.service	2022-01-19 10:57:43 UTC (rev 1110466)
@@ -0,0 +1,8 @@
+[Unit]
+Description=rapid spam DMARC report
+
+[Service]
+Type=oneshot
+User=rspamd
+ExecStart=/usr/bin/rspamadm dmarc_report
+

Added: rspamd-dmarc-report.timer
===================================================================
--- rspamd-dmarc-report.timer	                        (rev 0)
+++ rspamd-dmarc-report.timer	2022-01-19 10:57:43 UTC (rev 1110466)
@@ -0,0 +1,10 @@
+[Unit]
+Description=rapid spam DMARC daily report
+
+[Timer]
+OnCalendar=daily
+Persistent=true
+
+[Install]
+WantedBy=timers.target
+



More information about the arch-commits mailing list