Alex Denes
8df9fdc4ab
- More templating and inheritance - New commands + rx_replace + rx_install + rx_cpkgdir - More transparency with secrets being sourced as variables and replaced - Modularization of configs + telegraf + nginx (partial) + fastd + wireguard + unbound - Split of unbound configurations and bind zones - Bumping of key versions (rolling keys) + ZSK/KSK + OpenDKIM - Relaxed permission defaults and other smaller tweaks...
24 lines
416 B
Plaintext
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
|
|
}
|
|
|