aports/config/rspamd/APKBUILD

71 lines
3.5 KiB
Plaintext
Raw Normal View History

2021-01-10 03:44:49 +00:00
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
2021-02-07 21:36:32 +00:00
_svcname=rspamd
_configpath="/etc/rspamd/redxen"
. ../APKBUILD-config.common
pkgver=2021.03.09
pkgrel=0
2021-02-07 21:36:32 +00:00
_baseconf="
2021-01-10 03:44:49 +00:00
rspamd.conf
composites.conf
groups.conf
logging.conf
statistic.conf
workers.conf
"
2021-02-07 21:36:32 +00:00
source="$_baseconf"
depends="rspamd-fuzzy"
2021-01-10 03:44:49 +00:00
_modules="
chartable
dkim
dmarc
fuzzy_check
2021-01-10 03:44:49 +00:00
greylist
maillist
milter_headers
2021-02-11 10:19:23 +00:00
mx_check
2021-01-10 03:44:49 +00:00
phishing
2021-02-11 10:19:23 +00:00
ratelimit
2021-01-10 03:44:49 +00:00
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() {
2021-02-07 21:36:32 +00:00
package_copy_configs "$_baseconf"
2021-01-10 03:44:49 +00:00
}
_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
2021-02-11 10:19:23 +00:00
a753d136a21206cdc28a1554a38f51ad55e2eec842a31dbe1d151198bb8d9bb090e0f49b6b50cbc44e5011efb2ebeb2d2657a54df2f1a0c89ce3134fbd55220c ratelimit.conf
2021-01-10 03:44:49 +00:00
6ca83b91e70e43eff6de380065fc5591c6669a27497a47d74e5e096df68afea6269cfad41be982bb144f2dfb92fd5765a600cf9c4067c4612bd1aa1bf5e6ebfd phishing.conf
2021-02-11 10:19:23 +00:00
47907ec7d9d9d2775d7feeef448d53940e3e21b0e5cc17e40663e2cbac42e4e8a29eb53a956ffbca3f425c3b4673192354b3be2e575a0b8e8014efdd5b957e6d mx_check.conf
985c0796cd3adaf5ddd8cb8854e06deff7527730efd60e91bb8ef9ca1504601ba2677b2265fa4acc86dec1f8a2732c32d0f2d790611c52e50b361bd852a68ce2 milter_headers.conf
2021-01-10 03:44:49 +00:00
08966d0a3c077a12a1113f774e11d51d3c7d04bb45914e295324e8aa51c3d75b55395c256a905c6d9ae1e98a004a9e6b3b37d36fce810a426dd5d90408331c0a maillist.conf
8660fd01589476bbc01bbe75bed392faa55f55fa9b6fea77be79f339cefb43ddbacdbe193ad136c42da91d4ef7f1e1ec40fc5f8f4f398d04bcebf51d5a59ad1f greylist.conf
17fec11d41106909dfb7bd790ff12b4f546d2b1e6c06205ea48ecf2b82ce028710fd6ca636f414c0fe35dda99257c20eaed4d4ff90cdcc0a86d552f98cb26d15 fuzzy_check.conf
2021-01-10 03:44:49 +00:00
e14c3683b48dde5584cbcd0bd5811f6111a201635dd7400d7703003b4c98255d10be9b64ee81784c1fe1df50159e12d6777086c5a18ee9b14be852d233cf6dc5 dmarc.conf
ad3fa5e3c4c3d7b882c9e85bdde3b1949a32f2f2c9dd43e38977d828e7b6740d31002c502f24a0ea2e27105d5a6b1af7b7140c5d8e306f90c3f7d28c1e4607d5 dkim.conf
dcec5c53bd29c345ed5c47727af9a8d11328cc8f69ae61064ba3b053ee306baa79b747067097b2354a1fecd6e6527d56d14c79be22c94531f2a5ddc41ce3ca7e chartable.conf
813d2d707af4eb5d26e7749919b4d54e3b33c2d17bd6232270d4121d259f0c1f7849b8426628510b2770931f4b2bc8982c660f7f625cf7d304fc30be885fa822 rspamd.conf
2021-01-10 03:44:49 +00:00
667ec0331c811730e096e27f5e8659062239f46e3ccd148411984bb4d83b8770cc0d7d3c74dd5a2da71781e9b99d4bcb5a700cbd5f56ae8e17f7c4e50519ffb2 composites.conf
5f193596d1d9827b194a2ea4a9b06b729450ca7e77e8049ad9c53be99b5e28fc95fd69a2c4b639691bacd6aef099f8c69ee364f1ecd902f256f64c25ad9d3374 groups.conf
2021-01-10 03:44:49 +00:00
78df39cbc6e09cdc5e01d27e123d82aa677a70a6f5d59ba0be8d0ce6af012c5311e4a2527e4fbc586f9cdd8da033e9f05e2371970fa23db60eaa8c16c8e85f05 logging.conf
da374e2af4c413e911ab4dbcaa516c491dd8d0785435736c6f577a0900e3dd83e8a28f8ef3f16230808ab64c0d6dea883e737352a556ecc91daaf5ab3ac5901e statistic.conf
d2b081a91d14eab3bb60544a802e4778c4f977ee2db3b9cd0e475f74d7d7860960e17fdaea0ceb962a8bb84785e73b47db36b490a8f8400fa6cff287d4a0b588 workers.conf"