2021-01-10 03:44:49 +00:00
|
|
|
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
|
|
pkgname=redxen-config-rspamd
|
2021-02-05 21:11:09 +00:00
|
|
|
pkgver=2021.02.05
|
|
|
|
pkgrel=0
|
2021-01-10 03:44:49 +00:00
|
|
|
pkgdesc="RSpamD configuration"
|
|
|
|
url="https://git.redxen.eu/RedXen"
|
|
|
|
arch="noarch"
|
|
|
|
license="none"
|
|
|
|
depends="rspamd"
|
|
|
|
source="
|
|
|
|
rspamd.conf
|
|
|
|
composites.conf
|
|
|
|
groups.conf
|
|
|
|
logging.conf
|
|
|
|
statistic.conf
|
|
|
|
workers.conf
|
|
|
|
"
|
|
|
|
options="!check"
|
|
|
|
builddir="$srcdir"
|
|
|
|
_modules="
|
|
|
|
chartable
|
|
|
|
dkim
|
|
|
|
dmarc
|
|
|
|
greylist
|
|
|
|
maillist
|
|
|
|
milter_headers
|
|
|
|
phishing
|
|
|
|
rbl
|
|
|
|
redis
|
|
|
|
spf
|
|
|
|
"
|
|
|
|
|
|
|
|
for i in $_modules; do
|
|
|
|
subpackages="$pkgname-$i:_module:noarch $subpackages"
|
|
|
|
depends="$pkgname-$i=$pkgver-r$pkgrel $depends"
|
|
|
|
source="modules/$i.conf $source"
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm644 rspamd.conf "$pkgdir"/etc/rspamd/redxen/rspamd.conf
|
|
|
|
install -Dm644 composites.conf "$pkgdir"/etc/rspamd/redxen/composites.conf
|
|
|
|
install -Dm644 groups.conf "$pkgdir"/etc/rspamd/redxen/groups.conf
|
|
|
|
install -Dm644 logging.conf "$pkgdir"/etc/rspamd/redxen/logging.conf
|
|
|
|
install -Dm644 statistic.conf "$pkgdir"/etc/rspamd/redxen/statistic.conf
|
|
|
|
install -Dm644 workers.conf "$pkgdir"/etc/rspamd/redxen/workers.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
_module() {
|
|
|
|
local module=${subpkgname##$pkgname-}
|
|
|
|
depends=""
|
|
|
|
install -Dm644 "$srcdir"/"$module".conf "$subpkgdir"/etc/rspamd/redxen/modules/"$module".conf
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="99985993e5d7c525280020e7dc30106b3efbaa8ae2830a5069ad4270a8336d33efca74ed26103e1d2f5f341a0cffc4e0f77a2757fdeab27e3b492aa99ae7f977 spf.conf
|
|
|
|
d42a74d17771497960477878eedda2a00a434cbc1e994b015c21b4f631e24836cb6a7b14a24a2cb42ed15425b7758dc307a6cf602a770cfb0cc20b6f90064af9 redis.conf
|
|
|
|
a3849ae55a68c90afd913ed18f6b210803f5dbaa2beab5abf23a84b9b4bcb48e617023123724222c1f74a005bf03e1c94e3fa1ded5a6f252d9c2ac317dabc1a2 rbl.conf
|
|
|
|
6ca83b91e70e43eff6de380065fc5591c6669a27497a47d74e5e096df68afea6269cfad41be982bb144f2dfb92fd5765a600cf9c4067c4612bd1aa1bf5e6ebfd phishing.conf
|
2021-01-13 20:51:54 +00:00
|
|
|
932c0dc5ae47ecc470c0a5eb684c5d24f95a75dec09e4ee3e191b0cfa274a4a9e343ed012afeb83d405df802792f9c5a3ad11c73bb933d40210c9e149314c12b milter_headers.conf
|
2021-01-10 03:44:49 +00:00
|
|
|
08966d0a3c077a12a1113f774e11d51d3c7d04bb45914e295324e8aa51c3d75b55395c256a905c6d9ae1e98a004a9e6b3b37d36fce810a426dd5d90408331c0a maillist.conf
|
|
|
|
8660fd01589476bbc01bbe75bed392faa55f55fa9b6fea77be79f339cefb43ddbacdbe193ad136c42da91d4ef7f1e1ec40fc5f8f4f398d04bcebf51d5a59ad1f greylist.conf
|
|
|
|
e14c3683b48dde5584cbcd0bd5811f6111a201635dd7400d7703003b4c98255d10be9b64ee81784c1fe1df50159e12d6777086c5a18ee9b14be852d233cf6dc5 dmarc.conf
|
|
|
|
ad3fa5e3c4c3d7b882c9e85bdde3b1949a32f2f2c9dd43e38977d828e7b6740d31002c502f24a0ea2e27105d5a6b1af7b7140c5d8e306f90c3f7d28c1e4607d5 dkim.conf
|
|
|
|
dcec5c53bd29c345ed5c47727af9a8d11328cc8f69ae61064ba3b053ee306baa79b747067097b2354a1fecd6e6527d56d14c79be22c94531f2a5ddc41ce3ca7e chartable.conf
|
2021-02-05 21:11:09 +00:00
|
|
|
b8c31e4679846f724e183d40cfab43b1174c3370991ead1a7198a39ec80fc85dff9fb3c823f793d3535f6eb2ae6373db380c5b84370eae1e7e15142fb968d8c6 rspamd.conf
|
2021-01-10 03:44:49 +00:00
|
|
|
667ec0331c811730e096e27f5e8659062239f46e3ccd148411984bb4d83b8770cc0d7d3c74dd5a2da71781e9b99d4bcb5a700cbd5f56ae8e17f7c4e50519ffb2 composites.conf
|
|
|
|
4ea651877607573126a731619801458798c1e8e4de3522462af4c71adc38141d09a0c75c2c83a33698e3c51095d0b7d364e1ceb3aa534a4157106370a7800e4a groups.conf
|
|
|
|
78df39cbc6e09cdc5e01d27e123d82aa677a70a6f5d59ba0be8d0ce6af012c5311e4a2527e4fbc586f9cdd8da033e9f05e2371970fa23db60eaa8c16c8e85f05 logging.conf
|
|
|
|
2d27d5ac1800ee28948f8fcc276cc5c62c97a19d01dde2263eadf3ec4f8eb3bbb8417f4271324c5cfbf1ebd60759aa9047849ea803da96c8632c21966b794e6c statistic.conf
|
2021-02-05 21:11:09 +00:00
|
|
|
61a0da877f34aadb83ceece960e07aabf2312d7105c7574bec6f8bc9e7989bf28806159330e9d47850afa679a9d48b9101fd6b3ba04f0a614b0c66d95ccd6605 workers.conf"
|