# Contributor: Alex Denes # Maintainer: Alex Denes . ../APKBUILD-config.template pkgver=2021.07.03.01 pkgrel=0 _baseconf=" rspamd.conf composites.conf groups.conf logging.conf statistic.conf workers.conf spamtrap.map " source="$_baseconf" depends="rspamd-fuzzy" _modules=" arc chartable dkim dmarc fuzzy_check greylist hfilter maillist milter_headers mx_check phishing ratelimit rbl redis spamtrap 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() { for i in $_baseconf; do rx_install "$i" done } _module() { local module=${subpkgname##$pkgname-} depends="" _rx_installdir="$_rx_installdir/modules" rx_install "$module".conf } sha512sums=" 99985993e5d7c525280020e7dc30106b3efbaa8ae2830a5069ad4270a8336d33efca74ed26103e1d2f5f341a0cffc4e0f77a2757fdeab27e3b492aa99ae7f977 spf.conf 43e7dc129e221b9b9e667268c7680b994b71bd17a9d1a5e51426b7ab49fc8d9547f6369b289878706b2129241cbf04513f3f4d52be72012ef7099b97c7c3aa70 spamtrap.conf 82554e0d5c955bf658f5093ed038eb66824eea0e6d0477a8e17600016a95da15bc9360b651c97c1345202a2164b0b6728323e64ea165d79a3acd6776d8d79d5b redis.conf 914c9800ae6195726fdbb8fe7fc403fdd346f082f77a0f6663e112518f2b19ab276371089d968e36340e50f8a52317606c598985fdf9318b2384e8e887005150 rbl.conf a753d136a21206cdc28a1554a38f51ad55e2eec842a31dbe1d151198bb8d9bb090e0f49b6b50cbc44e5011efb2ebeb2d2657a54df2f1a0c89ce3134fbd55220c ratelimit.conf 6ca83b91e70e43eff6de380065fc5591c6669a27497a47d74e5e096df68afea6269cfad41be982bb144f2dfb92fd5765a600cf9c4067c4612bd1aa1bf5e6ebfd phishing.conf 47907ec7d9d9d2775d7feeef448d53940e3e21b0e5cc17e40663e2cbac42e4e8a29eb53a956ffbca3f425c3b4673192354b3be2e575a0b8e8014efdd5b957e6d mx_check.conf 985c0796cd3adaf5ddd8cb8854e06deff7527730efd60e91bb8ef9ca1504601ba2677b2265fa4acc86dec1f8a2732c32d0f2d790611c52e50b361bd852a68ce2 milter_headers.conf 08966d0a3c077a12a1113f774e11d51d3c7d04bb45914e295324e8aa51c3d75b55395c256a905c6d9ae1e98a004a9e6b3b37d36fce810a426dd5d90408331c0a maillist.conf 8dc0e553cdb92517b22767cbef085afb35d67389d5225bec791b0239452b69f9adbc12edfa6319670099de82ba09d9a4b1d54d90c5534e28f1008b391e1bdb12 hfilter.conf 8660fd01589476bbc01bbe75bed392faa55f55fa9b6fea77be79f339cefb43ddbacdbe193ad136c42da91d4ef7f1e1ec40fc5f8f4f398d04bcebf51d5a59ad1f greylist.conf 17fec11d41106909dfb7bd790ff12b4f546d2b1e6c06205ea48ecf2b82ce028710fd6ca636f414c0fe35dda99257c20eaed4d4ff90cdcc0a86d552f98cb26d15 fuzzy_check.conf e14c3683b48dde5584cbcd0bd5811f6111a201635dd7400d7703003b4c98255d10be9b64ee81784c1fe1df50159e12d6777086c5a18ee9b14be852d233cf6dc5 dmarc.conf ad3fa5e3c4c3d7b882c9e85bdde3b1949a32f2f2c9dd43e38977d828e7b6740d31002c502f24a0ea2e27105d5a6b1af7b7140c5d8e306f90c3f7d28c1e4607d5 dkim.conf dcec5c53bd29c345ed5c47727af9a8d11328cc8f69ae61064ba3b053ee306baa79b747067097b2354a1fecd6e6527d56d14c79be22c94531f2a5ddc41ce3ca7e chartable.conf eacbbe96fdfea9112b633bdf5471fcf8b2c297513685397759d588ad47905cf225dae3e4262dacb14477a2f52e6d3bf93b57abaf205719481f11a9ec8552fe07 arc.conf 224ccd8d8e22a5ee5dd6c21601e6789a8f793f9eccc4dcd787e0de5e53ab9f6e9fbd758eb96e18ed989ea1965037d01b17eb6dc0a774e4c12755bc2f2e75be65 rspamd.conf 5dc7a2976b71d09739aec02081b77d80e442ff5d5ad4781a456028a0d5076865b8d7768a2ff3e301b6d1ed99772339db385fe11dcc7be88086e25f11ed11e3a7 composites.conf 6f25c81b7d8155bb92dd461b65fe3a89cc26ea2caed729c24dc539378ddd578e565a0943bed763cd4238fd49bcb1209dc7002333d0d91eebb9633c6d0fe47442 groups.conf 99d6b2b173ac5b62977562bb3f2d04cf29d3d94329a4b2abc120e6cca6da79d5ac2a35a16832f62b8e1fed331b6724f21b5e1aab076bd3c57b28b2261302238a logging.conf d5b99a03a86f35cb5b25cf0a1cf8be25a5a9158bc7f3a6362b35d6dc8e799613d03ade65b2673378fb1e2b5de67d48eb5e64a956551be9ef39c5d5d2ab2a3b36 statistic.conf 301315c98f2816a9542a410352bf3eb7f025a57f8ccc37666f51a3371580cba06344197c2f2a4049d402472ba7c9a542a21e6938ac022030e95a472e8bba33b6 workers.conf 2adbbed7442b2efad0c78aa735e562da68c992114b8b1b12258d39234cda66d198dddeaa5246f0b897b6174fc7b52430fada1bd1cd5870142b72d935c4f6e12f spamtrap.map "