# Contributor: Alex Denes # Maintainer: Alex Denes . ../APKBUILD-secret.template pkgver="$pkgver.01" pkgrel=0 makedepends="bind-dnssec-tools" _dom=" redxen.eu " build() { for dom in $_dom; do mkdir "$dom" msg "Generating KSK" dnssec-keygen -K "$dom" -f KSK -a ECDSAP256SHA256 -n ZONE "$dom" msg "Generating ZSK" dnssec-keygen -K "$dom" -a ECDSAP256SHA256 -n ZONE "$dom" done } package() { mkdir -p "$(rx_cpkgdir)/$_rx_installdir" for dom in $_dom; do for i in $dom/*.private $dom/*.key; do _rx_installdir="$_rx_installdir/$dom" rx_install "$i" done done }