license="Custom"
arch=('i686' 'x86_64')
depends=(dnssec-root-zone-trust-anchors perl perl-timedate perl-net-dns perl-net-dns-sec)
+backup=(etc/dnssec-tools/dnsval.conf.head etc/dnssec-tools/dnsval.conf.tail)
install="${pkgname}.install"
-source=("http://www.dnssec-tools.org/download/${pkgname}-${pkgver}.tar.gz")
-md5sums=('f3dfe18ae50cf65594936e1684d469d0')
+source=("http://www.dnssec-tools.org/download/${pkgname}-${pkgver}.tar.gz" dnsval.conf)
+md5sums=('f3dfe18ae50cf65594936e1684d469d0'
+ '05656944ff9caa959591f547cfe25eba')
build() {
cd ${srcdir}/${pkgname}-${pkgver}/ || return 1
msg2 'configuration files'
cp -r validator/etc/* "${pkgdir}/etc/${pkgname}/"
rm -rf "${pkgdir}/etc/${pkgname}/${pkgname}.conf" #will be generated in post_install
+ cp -f "${srcdir}/dnsval.conf" "${pkgdir}/etc/dnssec-tools/"
+ touch "${pkgdir}"/etc/dnssec-tools/dnsval.conf.{head,tail}
msg2 'license informations'
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}/"
cp COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
--- /dev/null
+#######################################################################
+#######################################################################
+###
+### You should NOT modify this file, use the following files instead:
+### - /etc/dnssec-tools/dnsval.conf.head
+### - /etc/dnssec-tools/dnsval.conf.tail
+###
+#######################################################################
+#######################################################################
+
+##################################
+# Includes
+##################################
+
+include /etc/dnssec-tools/dnsval.conf.head
+include /usr/share/dnssec-trust-anchors/root-anchor.dnsval.conf
+# TRUSTMAN-ACTION bind-include /var/opt/named/named.conf
+
+##################################
+# Global Options
+##################################
+
+global-options
+ trust-oob-answers yes
+ edns0-size 1492
+ env-policy enable
+ app-policy disable
+ log 10:stderr
+;
+
+##################################
+# Default policies
+##################################
+
+: trust-anchor
+ dnssec-tools.org DS 54556 5 2 6B026928292D452A5CC37B3EF327F27F50A29936CB31E664EB066D71A476E282
+;
+
+: zone-security-expectation
+ dnssec-tools.org validate
+;
+
+: provably-insecure-status
+ . trusted
+;
+
+: clock-skew
+ . 0
+;
+
+##################################
+# MTA Policies
+##################################
+
+mta provably-insecure-status
+ . trusted
+;
+
+mta clock-skew
+ . -1
+;
+
+##################################
+# Web Browser Policies
+##################################
+
+browser provably-insecure-status
+ . trusted
+;
+
+browser clock-skew
+ . 0
+;
+
+
+##################################
+# Overrides
+##################################
+
+include /etc/dnssec-tools/dnsval.conf.tail
+include $HOME/.config/dnsval.conf