74 lines
3.6 KiB
Plaintext
74 lines
3.6 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
pkgname=redxen-config-rspamd
|
|
pkgver=2021.01.13
|
|
pkgrel=4
|
|
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
|
|
fuzzy_check
|
|
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
|
|
932c0dc5ae47ecc470c0a5eb684c5d24f95a75dec09e4ee3e191b0cfa274a4a9e343ed012afeb83d405df802792f9c5a3ad11c73bb933d40210c9e149314c12b milter_headers.conf
|
|
08966d0a3c077a12a1113f774e11d51d3c7d04bb45914e295324e8aa51c3d75b55395c256a905c6d9ae1e98a004a9e6b3b37d36fce810a426dd5d90408331c0a maillist.conf
|
|
8660fd01589476bbc01bbe75bed392faa55f55fa9b6fea77be79f339cefb43ddbacdbe193ad136c42da91d4ef7f1e1ec40fc5f8f4f398d04bcebf51d5a59ad1f greylist.conf
|
|
227f215b4e65bff86428502425f1295b21e0f6e8c4b990e4f19aa8e1bb3f1cee18d1b8644e1223edb606292c786e814acc68d276562c8fb4f23fdce6b538689a fuzzy_check.conf
|
|
e14c3683b48dde5584cbcd0bd5811f6111a201635dd7400d7703003b4c98255d10be9b64ee81784c1fe1df50159e12d6777086c5a18ee9b14be852d233cf6dc5 dmarc.conf
|
|
ad3fa5e3c4c3d7b882c9e85bdde3b1949a32f2f2c9dd43e38977d828e7b6740d31002c502f24a0ea2e27105d5a6b1af7b7140c5d8e306f90c3f7d28c1e4607d5 dkim.conf
|
|
dcec5c53bd29c345ed5c47727af9a8d11328cc8f69ae61064ba3b053ee306baa79b747067097b2354a1fecd6e6527d56d14c79be22c94531f2a5ddc41ce3ca7e chartable.conf
|
|
8d7978390a97ab7c3a07d38e6a8e9834f073051a7779b29f79cbcafe73ff2084d3260f75ae11ce20b7c8fa5bb9f888f37dfccd67d244f194ed9cc08fc329c704 rspamd.conf
|
|
667ec0331c811730e096e27f5e8659062239f46e3ccd148411984bb4d83b8770cc0d7d3c74dd5a2da71781e9b99d4bcb5a700cbd5f56ae8e17f7c4e50519ffb2 composites.conf
|
|
4ea651877607573126a731619801458798c1e8e4de3522462af4c71adc38141d09a0c75c2c83a33698e3c51095d0b7d364e1ceb3aa534a4157106370a7800e4a groups.conf
|
|
78df39cbc6e09cdc5e01d27e123d82aa677a70a6f5d59ba0be8d0ce6af012c5311e4a2527e4fbc586f9cdd8da033e9f05e2371970fa23db60eaa8c16c8e85f05 logging.conf
|
|
2d27d5ac1800ee28948f8fcc276cc5c62c97a19d01dde2263eadf3ec4f8eb3bbb8417f4271324c5cfbf1ebd60759aa9047849ea803da96c8632c21966b794e6c statistic.conf
|
|
6d8cec7d31b7eeae5f62697f300c6dd2c85dd882240d11aa8db70e1870130607388b6823d3bfbebcfa2b8fc4c2f29650d9f53d3313b4a369f862576215ccb4cb workers.conf"
|