aports/config/opendkim/APKBUILD

33 lines
915 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-config.template
_dkim_date=2021.05.31.01
pkgver=2021.06.01.03
pkgrel=0
depends="redxen-secret-opendkim~$_dkim_date"
makedepends="opendkim-utils"
source="
trusted_hosts
opendkim.conf
"
build() {
_selector="$_dkim_date-mail"
echo "*@redxen.eu $_selector._domainkey.redxen.eu" > signing_table
echo "$_selector._domainkey.redxen.eu redxen.eu:$_selector:$_rx_installdir/$_selector.private" > key_table
}
package() {
_files="$source signing_table key_table"
for i in $_files; do
rx_install "$i"
done
}
sha512sums="
6f23dfc823517db661cbe50b3f1f494a1b67e0c9928893f27a3fc5a8b74f0d1304933c79d1a8584be0f61ed0a40aa470fd524561a6b578ae0644bd9f05339952 trusted_hosts
6cf9bbd8957f7ccd65ac2af63f68fc22578f23cc25e3c4279be1b76ba0f0b28d03b785726a9e1702fc4e467b87caf6273ca366b437646934d86f3c165fade0c4 opendkim.conf
"