aports/secret/opendkim/APKBUILD

24 lines
416 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-secret.template
pkgver="$pkgver.01"
pkgrel=0
makedepends="opendkim-utils"
subpackages="$pkgname-dns"
build() {
msg "Generating OpenDKIM signing key"
opendkim-genkey -b 2048 -s "$pkgver-mail" -d redxen.eu
}
package() {
rx_install "$pkgver-mail".private
}
dns() {
rx_install "$pkgver-mail".txt dns-record
}