# Contributor: Alex Denes # Maintainer: Alex Denes pkgname=redxen-config-opendkim pkgver=2021.01.13 pkgrel=0 pkgdesc="OpenDKIM configuration" url="https://git.redxen.eu/RedXen" arch="noarch" license="none" depends="opendkim" makedepends="opendkim-utils" source=" trusted_hosts signing_table key_table opendkim.conf " builddir="$srcdir" options="!check" build() { opendkim-genkey -b 2048 -s mail -d redxen.eu msg "Add this DNS TXT record" cat mail.txt } package() { install -Dm444 opendkim.conf "$pkgdir"/etc/opendkim/redxen/opendkim.conf install -Dm400 mail.private "$pkgdir"/etc/opendkim/redxen/mail.private install -Dm444 trusted_hosts "$pkgdir"/etc/opendkim/redxen/trusted_hosts install -Dm444 signing_table "$pkgdir"/etc/opendkim/redxen/signing_table install -Dm444 key_table "$pkgdir"/etc/opendkim/redxen/key_table } sha512sums="6f23dfc823517db661cbe50b3f1f494a1b67e0c9928893f27a3fc5a8b74f0d1304933c79d1a8584be0f61ed0a40aa470fd524561a6b578ae0644bd9f05339952 trusted_hosts 5664c57b1fc5a60f1bab8bffd17265bf5ca6c1b8d2f716f853044e925cff67f9f067de171c75c730d108eee807d061fc2efb4498e741e146f879c956fd90c0d9 signing_table 710e2e0e26fd8de70600e60468936c21da2900cdfab926099dba268db54e54a5a825c2bdacc4740a412cb45c57a289dc8910e795b90ecfe6e09c4ea7c7d3a9d6 key_table f866a220557210407c9fcb22fd67f59d7cf86ae39c9a0a80ae596b21c9b89a50ccbe1ea85da8dc7b33ee8ffdfc338b577c998e2ff30d7f122a9a35a363b5e2a1 opendkim.conf"