32 lines
969 B
Plaintext
32 lines
969 B
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
_svcname=opendkim
|
|
|
|
. ../APKBUILD-config.common
|
|
|
|
_dkim_date="2021.03.28"
|
|
pkgver=2021.03.28
|
|
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:/etc/opendkim/redxen/$_selector.private" > key_table
|
|
}
|
|
|
|
package() {
|
|
_files="$source signing_table key_table"
|
|
for i in $_files; do
|
|
install -Dm444 "$i" "$pkgdir"/etc/opendkim/redxen/"$i"
|
|
done
|
|
}
|
|
|
|
sha512sums="6f23dfc823517db661cbe50b3f1f494a1b67e0c9928893f27a3fc5a8b74f0d1304933c79d1a8584be0f61ed0a40aa470fd524561a6b578ae0644bd9f05339952 trusted_hosts
|
|
08be7b116306a86fac7cacd4771fa900a6e67ff2b8e33cf839ceecd24c8781763ee3b7b73b5a85da8758c17c62af3615cd0e570b161167c6a0fb13d83a1a90bc opendkim.conf"
|