summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2019-05-10 21:16:02 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2019-05-10 21:16:02 -0500
commitde753f1e9e24f33fb2a7aa3bba8641231619b2d9 (patch)
tree6b608ddf06de72dae07b40e9e74d172f4d2c0c57
parente590e48e94501828920793e5f89e9634ae15d8e9 (diff)
downloadabslibre-de753f1e9e24f33fb2a7aa3bba8641231619b2d9.tar.gz
abslibre-de753f1e9e24f33fb2a7aa3bba8641231619b2d9.tar.bz2
abslibre-de753f1e9e24f33fb2a7aa3bba8641231619b2d9.zip
Removing rspamd: This package is in [community] repo
-rw-r--r--pcr/rspamd/PKGBUILD131
-rw-r--r--pcr/rspamd/fixes-1.6.5.diff0
-rw-r--r--pcr/rspamd/rspamd.install13
-rw-r--r--pcr/rspamd/rspamd.sysuser1
-rw-r--r--pcr/rspamd/rspamd.tmpfile2
5 files changed, 0 insertions, 147 deletions
diff --git a/pcr/rspamd/PKGBUILD b/pcr/rspamd/PKGBUILD
deleted file mode 100644
index 06f15675b..000000000
--- a/pcr/rspamd/PKGBUILD
+++ /dev/null
@@ -1,131 +0,0 @@
-# Maintainer: Oleksandr Natalenko <oleksandr@natalenko.name>
-# Former maintainer: Andrew Lewis <nerf@judo.za.org>
-# Maintainer (Parabola): fauno <fauno@parabola.nu>
-pkgname=rspamd
-pkgver=1.6.5
-pkgrel=1
-epoch=
-pkgdesc="Fast and free spam filtering system."
-arch=('x86_64' 'i686')
-url="https://rspamd.com"
-license=('Apache')
-depends=('file' 'glib2' 'icu' 'libevent' 'libfann' 'luajit' 'sqlite'
- 'jemalloc' 'hiredis' 'pcre2')
-makedepends=('cmake' 'pkg-config' 'ragel')
-
-backup=('etc/rspamd/2tld.inc'
- 'etc/rspamd/common.conf'
- 'etc/rspamd/composites.conf'
- 'etc/rspamd/dmarc_whitelist.inc'
- '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/emails.conf'
- 'etc/rspamd/modules.d/fann_redis.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/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/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/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=("${pkgname}-${pkgver}.tar.gz::https://github.com/vstakhov/${pkgname}/archive/${pkgver}.tar.gz"
- "${pkgname}.tmpfile"
- "${pkgname}.sysuser"
- "fixes-${pkgver}.diff"
- )
-
-sha256sums=('6007aba3a908c02ef71f95a92c9c1c2fe46d3f3c39186a68f6c1997c88decc7a'
- 'f89edae5436a3c14e58210fb5c1d5bdd2f8a6f98c03dbc150ea9ff1a3fcfe441'
- '59646874a5036f3f26cac2898a2f60713fe6147b3c60ee964494f07b6acc313f'
- 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- sed -re 's,<jemalloc.h>,<jemalloc/jemalloc.h>,' -i config.h.in
- patch -Np1 <../fixes-${pkgver}.diff
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- cmake \
- -DNO_SHARED=ON \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCONFDIR=/etc/rspamd \
- -DRUNDIR=/run/rspamd \
- -DLOGDIR=/var/log/rspamd \
- -DRSPAMD_USER='_rspamd' \
- -DDBDIR=/var/lib/rspamd \
- -DWANT_SYSTEMD_UNITS=ON \
- -DENABLE_HIREDIS=ON \
- -DENABLE_SYSTEM_HIREDIS=ON \
- -DENABLE_PCRE2=ON \
- -DENABLE_JEMALLOC=ON \
- -DINSTALL_WEBUI=ON \
- .
-
- cmake --build .
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}/" install
-
- install -Dm0644 "LICENSE" "${pkgdir}/usr/share/${pkgname}/LICENSE"
- install -Dm0644 "../${pkgname}.tmpfile" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
- install -Dm0644 "../${pkgname}.sysuser" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
-}
-
-# vim: set tabstop=4:softtabstop=4:shiftwidth=4:noexpandtab
diff --git a/pcr/rspamd/fixes-1.6.5.diff b/pcr/rspamd/fixes-1.6.5.diff
deleted file mode 100644
index e69de29bb..000000000
--- a/pcr/rspamd/fixes-1.6.5.diff
+++ /dev/null
diff --git a/pcr/rspamd/rspamd.install b/pcr/rspamd/rspamd.install
deleted file mode 100644
index 9cc8edd48..000000000
--- a/pcr/rspamd/rspamd.install
+++ /dev/null
@@ -1,13 +0,0 @@
-## arg 1: the new package version
-post_install() {
- systemd-sysusers rspamd.conf
- systemd-tmpfiles --create rspamd.conf
- install --directory --mode=0750 --owner=_rspamd --group=_rspamd /var/lib/rspamd
-}
-
-## arg 1: the old package version
-post_remove() {
- true
-}
-
-# vim: set tabstop=4:softtabstop=4:shiftwidth=4:noexpandtab
diff --git a/pcr/rspamd/rspamd.sysuser b/pcr/rspamd/rspamd.sysuser
deleted file mode 100644
index 0beda9439..000000000
--- a/pcr/rspamd/rspamd.sysuser
+++ /dev/null
@@ -1 +0,0 @@
-u _rspamd /var/lib/rspamd "rspam daemon" /var/lib/rspamd
diff --git a/pcr/rspamd/rspamd.tmpfile b/pcr/rspamd/rspamd.tmpfile
deleted file mode 100644
index 3fe6e9ad0..000000000
--- a/pcr/rspamd/rspamd.tmpfile
+++ /dev/null
@@ -1,2 +0,0 @@
-d /run/rspamd 0755 _rspamd _rspamd -
-d /var/log/rspamd 0755 _rspamd _rspamd -