[arch-commits] Commit in rspamd/repos/community-x86_64 (10 files)

Maxime Gauduin alucryd at archlinux.org
Wed May 15 11:36:26 UTC 2019


    Date: Wednesday, May 15, 2019 @ 11:36:25
  Author: alucryd
Revision: 467351

archrelease: copy trunk to community-x86_64

Added:
  rspamd/repos/community-x86_64/PKGBUILD
    (from rev 467350, rspamd/trunk/PKGBUILD)
  rspamd/repos/community-x86_64/rspamd.install
    (from rev 467350, rspamd/trunk/rspamd.install)
  rspamd/repos/community-x86_64/rspamd.logrotate
    (from rev 467350, rspamd/trunk/rspamd.logrotate)
  rspamd/repos/community-x86_64/rspamd.sysusers
    (from rev 467350, rspamd/trunk/rspamd.sysusers)
  rspamd/repos/community-x86_64/rspamd.tmpfiles
    (from rev 467350, rspamd/trunk/rspamd.tmpfiles)
Deleted:
  rspamd/repos/community-x86_64/PKGBUILD
  rspamd/repos/community-x86_64/rspamd.install
  rspamd/repos/community-x86_64/rspamd.logrotate
  rspamd/repos/community-x86_64/rspamd.sysusers
  rspamd/repos/community-x86_64/rspamd.tmpfiles

------------------+
 PKGBUILD         |  333 ++++++++++++++++++++++++++---------------------------
 rspamd.install   |   12 -
 rspamd.logrotate |   14 +-
 rspamd.sysusers  |    2 
 rspamd.tmpfiles  |   10 -
 5 files changed, 187 insertions(+), 184 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-15 11:36:16 UTC (rev 467350)
+++ PKGBUILD	2019-05-15 11:36:25 UTC (rev 467351)
@@ -1,165 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Oleksandr Natalenko <oleksandr at natalenko.name>
-# Contributor: Andrew Lewis <nerf at judo.za.org>
-# Contributor: mezcal
-
-pkgname=rspamd
-pkgver=1.9.3
-pkgrel=1
-epoch=
-pkgdesc='Fast, free and open-source spam filtering system'
-arch=(x86_64)
-url=https://rspamd.com
-license=(BSD)
-depends=(
-  file
-  glib2
-  icu
-  libevent
-  luajit
-  openblas
-  openssl
-  pcre
-  sqlite
-  zlib
-)
-makedepends=(
-  cmake
-  git
-  ninja
-  ragel
-)
-backup=(
-  etc/logrotate.d/rspamd
-  etc/rspamd/2tld.inc
-  etc/rspamd/actions.conf
-  etc/rspamd/cgp.inc
-  etc/rspamd/common.conf
-  etc/rspamd/composites.conf
-  etc/rspamd/dmarc_whitelist.inc
-  etc/rspamd/groups.conf
-  etc/rspamd/logging.inc
-  etc/rspamd/maillist.inc
-  etc/rspamd/metrics.conf
-  etc/rspamd/mid.inc
-  etc/rspamd/mime_types.inc
-  etc/rspamd/modules.conf
-  etc/rspamd/modules.d/antivirus.conf
-  etc/rspamd/modules.d/arc.conf
-  etc/rspamd/modules.d/asn.conf
-  etc/rspamd/modules.d/chartable.conf
-  etc/rspamd/modules.d/clickhouse.conf
-  etc/rspamd/modules.d/dcc.conf
-  etc/rspamd/modules.d/dkim.conf
-  etc/rspamd/modules.d/dkim_signing.conf
-  etc/rspamd/modules.d/dmarc.conf
-  etc/rspamd/modules.d/elastic.conf
-  etc/rspamd/modules.d/emails.conf
-  etc/rspamd/modules.d/external_services.conf
-  etc/rspamd/modules.d/force_actions.conf
-  etc/rspamd/modules.d/forged_recipients.conf
-  etc/rspamd/modules.d/fuzzy_check.conf
-  etc/rspamd/modules.d/greylist.conf
-  etc/rspamd/modules.d/hfilter.conf
-  etc/rspamd/modules.d/history_redis.conf
-  etc/rspamd/modules.d/ip_score.conf
-  etc/rspamd/modules.d/maillist.conf
-  etc/rspamd/modules.d/metadata_exporter.conf
-  etc/rspamd/modules.d/metric_exporter.conf
-  etc/rspamd/modules.d/mid.conf
-  etc/rspamd/modules.d/milter_headers.conf
-  etc/rspamd/modules.d/mime_types.conf
-  etc/rspamd/modules.d/multimap.conf
-  etc/rspamd/modules.d/mx_check.conf
-  etc/rspamd/modules.d/neural.conf
-  etc/rspamd/modules.d/once_received.conf
-  etc/rspamd/modules.d/phishing.conf
-  etc/rspamd/modules.d/ratelimit.conf
-  etc/rspamd/modules.d/rbl.conf
-  etc/rspamd/modules.d/redis.conf
-  etc/rspamd/modules.d/regexp.conf
-  etc/rspamd/modules.d/replies.conf
-  etc/rspamd/modules.d/reputation.conf
-  etc/rspamd/modules.d/rspamd_update.conf
-  etc/rspamd/modules.d/spamassassin.conf
-  etc/rspamd/modules.d/spamtrap.conf
-  etc/rspamd/modules.d/spf.conf
-  etc/rspamd/modules.d/surbl.conf
-  etc/rspamd/modules.d/trie.conf
-  etc/rspamd/modules.d/url_redirector.conf
-  etc/rspamd/modules.d/url_reputation.conf
-  etc/rspamd/modules.d/url_tags.conf
-  etc/rspamd/modules.d/whitelist.conf
-  etc/rspamd/options.inc
-  etc/rspamd/redirectors.inc
-  etc/rspamd/rspamd.conf
-  etc/rspamd/scores.d/fuzzy_group.conf
-  etc/rspamd/scores.d/headers_group.conf
-  etc/rspamd/scores.d/hfilter_group.conf
-  etc/rspamd/scores.d/mime_types_group.conf
-  etc/rspamd/scores.d/mua_group.conf
-  etc/rspamd/scores.d/phishing_group.conf
-  etc/rspamd/scores.d/policies_group.conf
-  etc/rspamd/scores.d/rbl_group.conf
-  etc/rspamd/scores.d/statistics_group.conf
-  etc/rspamd/scores.d/subject_group.conf
-  etc/rspamd/scores.d/surbl_group.conf
-  etc/rspamd/scores.d/whitelist_group.conf
-  etc/rspamd/settings.conf
-  etc/rspamd/spf_dkim_whitelist.inc
-  etc/rspamd/statistic.conf
-  etc/rspamd/surbl-whitelist.inc
-  etc/rspamd/worker-controller.inc
-  etc/rspamd/worker-fuzzy.inc
-  etc/rspamd/worker-normal.inc
-  etc/rspamd/worker-proxy.inc
-)
-install=rspamd.install
-source=(
-  git+https://github.com/rspamd/rspamd.git#tag=${pkgver}
-  rspamd.tmpfiles
-  rspamd.sysusers
-  rspamd.logrotate
-)
-sha256sums=('SKIP'
-            '4ee186f046d9ca22168a7e31dcf02cc7cd09ea60fb82ae60144b78fdd846a9a5'
-            'cd76079124ad65419d9339165ac517af6834fb507e67b45720c66246159c402b'
-            '91edb06d8413f5c1237a6072c576a2701e64a4d4ac30f7a2c043f639d37a532b')
-
-prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
-
-  sed 's/_rspamd/rspamd/g' -i rspamd/rspamd.service
-}
-
-build() {
-  cd build
-
-  cmake ../rspamd \
-    -G Ninja \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCONFDIR=/etc/rspamd \
-    -DDBDIR=/var/lib/rspamd \
-    -DLOGDIR=/var/log/rspamd \
-    -DRUNDIR=/run/rspamd \
-    -DRSPAMD_USER=rspamd \
-    -DNO_SHARED=ON \
-    -DWANT_SYSTEMD_UNITS=ON
-  cmake --build .
-}
-
-package() {
-    cd build
-
-    DESTDIR="${pkgdir}" cmake --build . --target install
-
-    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
-}
-
-# vim: set ts=2 sw=2 et:

Copied: rspamd/repos/community-x86_64/PKGBUILD (from rev 467350, rspamd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-15 11:36:25 UTC (rev 467351)
@@ -0,0 +1,168 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Oleksandr Natalenko <oleksandr at natalenko.name>
+# Contributor: Andrew Lewis <nerf at judo.za.org>
+# Contributor: mezcal
+
+pkgname=rspamd
+pkgver=1.9.3
+pkgrel=2
+epoch=
+pkgdesc='Fast, free and open-source spam filtering system'
+arch=(x86_64)
+url=https://rspamd.com
+license=(BSD)
+depends=(
+  file
+  glib2
+  icu
+  libevent
+  luajit
+  openblas
+  openssl
+  pcre
+  sqlite
+  zlib
+)
+makedepends=(
+  cmake
+  git
+  ninja
+  ragel
+)
+backup=(
+  etc/logrotate.d/rspamd
+  etc/rspamd/2tld.inc
+  etc/rspamd/actions.conf
+  etc/rspamd/cgp.inc
+  etc/rspamd/common.conf
+  etc/rspamd/composites.conf
+  etc/rspamd/dmarc_whitelist.inc
+  etc/rspamd/groups.conf
+  etc/rspamd/logging.inc
+  etc/rspamd/maillist.inc
+  etc/rspamd/metrics.conf
+  etc/rspamd/mid.inc
+  etc/rspamd/mime_types.inc
+  etc/rspamd/modules.conf
+  etc/rspamd/modules.d/antivirus.conf
+  etc/rspamd/modules.d/arc.conf
+  etc/rspamd/modules.d/asn.conf
+  etc/rspamd/modules.d/chartable.conf
+  etc/rspamd/modules.d/clickhouse.conf
+  etc/rspamd/modules.d/dcc.conf
+  etc/rspamd/modules.d/dkim.conf
+  etc/rspamd/modules.d/dkim_signing.conf
+  etc/rspamd/modules.d/dmarc.conf
+  etc/rspamd/modules.d/elastic.conf
+  etc/rspamd/modules.d/emails.conf
+  etc/rspamd/modules.d/external_services.conf
+  etc/rspamd/modules.d/force_actions.conf
+  etc/rspamd/modules.d/forged_recipients.conf
+  etc/rspamd/modules.d/fuzzy_check.conf
+  etc/rspamd/modules.d/greylist.conf
+  etc/rspamd/modules.d/hfilter.conf
+  etc/rspamd/modules.d/history_redis.conf
+  etc/rspamd/modules.d/ip_score.conf
+  etc/rspamd/modules.d/maillist.conf
+  etc/rspamd/modules.d/metadata_exporter.conf
+  etc/rspamd/modules.d/metric_exporter.conf
+  etc/rspamd/modules.d/mid.conf
+  etc/rspamd/modules.d/milter_headers.conf
+  etc/rspamd/modules.d/mime_types.conf
+  etc/rspamd/modules.d/multimap.conf
+  etc/rspamd/modules.d/mx_check.conf
+  etc/rspamd/modules.d/neural.conf
+  etc/rspamd/modules.d/once_received.conf
+  etc/rspamd/modules.d/phishing.conf
+  etc/rspamd/modules.d/ratelimit.conf
+  etc/rspamd/modules.d/rbl.conf
+  etc/rspamd/modules.d/redis.conf
+  etc/rspamd/modules.d/regexp.conf
+  etc/rspamd/modules.d/replies.conf
+  etc/rspamd/modules.d/reputation.conf
+  etc/rspamd/modules.d/rspamd_update.conf
+  etc/rspamd/modules.d/spamassassin.conf
+  etc/rspamd/modules.d/spamtrap.conf
+  etc/rspamd/modules.d/spf.conf
+  etc/rspamd/modules.d/surbl.conf
+  etc/rspamd/modules.d/trie.conf
+  etc/rspamd/modules.d/url_redirector.conf
+  etc/rspamd/modules.d/url_reputation.conf
+  etc/rspamd/modules.d/url_tags.conf
+  etc/rspamd/modules.d/whitelist.conf
+  etc/rspamd/options.inc
+  etc/rspamd/redirectors.inc
+  etc/rspamd/rspamd.conf
+  etc/rspamd/scores.d/fuzzy_group.conf
+  etc/rspamd/scores.d/headers_group.conf
+  etc/rspamd/scores.d/hfilter_group.conf
+  etc/rspamd/scores.d/mime_types_group.conf
+  etc/rspamd/scores.d/mua_group.conf
+  etc/rspamd/scores.d/phishing_group.conf
+  etc/rspamd/scores.d/policies_group.conf
+  etc/rspamd/scores.d/rbl_group.conf
+  etc/rspamd/scores.d/statistics_group.conf
+  etc/rspamd/scores.d/subject_group.conf
+  etc/rspamd/scores.d/surbl_group.conf
+  etc/rspamd/scores.d/whitelist_group.conf
+  etc/rspamd/settings.conf
+  etc/rspamd/spf_dkim_whitelist.inc
+  etc/rspamd/statistic.conf
+  etc/rspamd/surbl-whitelist.inc
+  etc/rspamd/worker-controller.inc
+  etc/rspamd/worker-fuzzy.inc
+  etc/rspamd/worker-normal.inc
+  etc/rspamd/worker-proxy.inc
+)
+install=rspamd.install
+source=(
+  git+https://github.com/rspamd/rspamd.git#tag=${pkgver}
+  rspamd.tmpfiles
+  rspamd.sysusers
+  rspamd.logrotate
+)
+sha256sums=('SKIP'
+            '4ee186f046d9ca22168a7e31dcf02cc7cd09ea60fb82ae60144b78fdd846a9a5'
+            'cd76079124ad65419d9339165ac517af6834fb507e67b45720c66246159c402b'
+            '91edb06d8413f5c1237a6072c576a2701e64a4d4ac30f7a2c043f639d37a532b')
+
+prepare() {
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+
+  cd rspamd
+
+  git cherry-pick -n f24be0299381702d7fa5ad4695f1c5debfad78a9
+  sed 's/_rspamd/rspamd/g' -i rspamd.service
+}
+
+build() {
+  cd build
+
+  cmake ../rspamd \
+    -G Ninja \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCONFDIR=/etc/rspamd \
+    -DDBDIR=/var/lib/rspamd \
+    -DLOGDIR=/var/log/rspamd \
+    -DRUNDIR=/run/rspamd \
+    -DRSPAMD_USER=rspamd \
+    -DNO_SHARED=ON \
+    -DWANT_SYSTEMD_UNITS=ON
+  cmake --build .
+}
+
+package() {
+    cd build
+
+    DESTDIR="${pkgdir}" cmake --build . --target install
+
+    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
+}
+
+# vim: set ts=2 sw=2 et:

Deleted: rspamd.install
===================================================================
--- rspamd.install	2019-05-15 11:36:16 UTC (rev 467350)
+++ rspamd.install	2019-05-15 11:36:25 UTC (rev 467351)
@@ -1,6 +0,0 @@
-post_install() {
-  echo "The rspamd user has been renamed from _rspamd to rspamd."
-  echo "Please make sure to remove the former manually."
-}
-
-# vim: ts=2 sw=2 et:

Copied: rspamd/repos/community-x86_64/rspamd.install (from rev 467350, rspamd/trunk/rspamd.install)
===================================================================
--- rspamd.install	                        (rev 0)
+++ rspamd.install	2019-05-15 11:36:25 UTC (rev 467351)
@@ -0,0 +1,6 @@
+post_install() {
+  echo "The rspamd user has been renamed from _rspamd to rspamd."
+  echo "Please make sure to remove the former manually."
+}
+
+# vim: ts=2 sw=2 et:

Deleted: rspamd.logrotate
===================================================================
--- rspamd.logrotate	2019-05-15 11:36:16 UTC (rev 467350)
+++ rspamd.logrotate	2019-05-15 11:36:25 UTC (rev 467351)
@@ -1,7 +0,0 @@
-/var/log/rspamd/*.log {
-  missingok
-  sharedscripts
-  postrotate
-    /usr/bin/systemctl --signal USR1 kill rspamd.service || true
-  endscript
-}

Copied: rspamd/repos/community-x86_64/rspamd.logrotate (from rev 467350, rspamd/trunk/rspamd.logrotate)
===================================================================
--- rspamd.logrotate	                        (rev 0)
+++ rspamd.logrotate	2019-05-15 11:36:25 UTC (rev 467351)
@@ -0,0 +1,7 @@
+/var/log/rspamd/*.log {
+  missingok
+  sharedscripts
+  postrotate
+    /usr/bin/systemctl --signal USR1 kill rspamd.service || true
+  endscript
+}

Deleted: rspamd.sysusers
===================================================================
--- rspamd.sysusers	2019-05-15 11:36:16 UTC (rev 467350)
+++ rspamd.sysusers	2019-05-15 11:36:25 UTC (rev 467351)
@@ -1 +0,0 @@
-u rspamd - "rspam daemon" /var/lib/rspamd

Copied: rspamd/repos/community-x86_64/rspamd.sysusers (from rev 467350, rspamd/trunk/rspamd.sysusers)
===================================================================
--- rspamd.sysusers	                        (rev 0)
+++ rspamd.sysusers	2019-05-15 11:36:25 UTC (rev 467351)
@@ -0,0 +1 @@
+u rspamd - "rspam daemon" /var/lib/rspamd

Deleted: rspamd.tmpfiles
===================================================================
--- rspamd.tmpfiles	2019-05-15 11:36:16 UTC (rev 467350)
+++ rspamd.tmpfiles	2019-05-15 11:36:25 UTC (rev 467351)
@@ -1,5 +0,0 @@
-d /run/rspamd 0755 rspamd rspamd -
-d /var/lib/rspamd 0755 rspamd rspamd -
-Z /var/lib/rspamd - rspamd rspamd -
-d /var/log/rspamd 0755 rspamd rspamd -
-Z /var/log/rspamd - rspamd rspamd -

Copied: rspamd/repos/community-x86_64/rspamd.tmpfiles (from rev 467350, rspamd/trunk/rspamd.tmpfiles)
===================================================================
--- rspamd.tmpfiles	                        (rev 0)
+++ rspamd.tmpfiles	2019-05-15 11:36:25 UTC (rev 467351)
@@ -0,0 +1,5 @@
+d /run/rspamd 0755 rspamd rspamd -
+d /var/lib/rspamd 0755 rspamd rspamd -
+Z /var/lib/rspamd - rspamd rspamd -
+d /var/log/rspamd 0755 rspamd rspamd -
+Z /var/log/rspamd - rspamd rspamd -


More information about the arch-commits mailing list