| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | # Uncomment this to turn on verbose mode. |
| 5 | #export DH_VERBOSE=1 |
| 6 | |
| 7 | %: |
| 8 | dh $@ |
| 9 | |
| 10 | override_dh_auto_build: |
| 11 | # Verify root-anchors.xml using OpenSSL |
| 12 | openssl smime -verify -CAfile icannbundle.pem -inform DER -in root-anchors.p7s -content root-anchors.xml -out /dev/null |
| 13 | |
| 14 | # Verify root.hints |
| 15 | gpgv --keyring `pwd`/registry-admin.key root.hints.sig root.hints |
| 16 | |
| 17 | # Create the DNS and DNSKEY records from the validated root-anchors.xml |
| 18 | ./parse-root-anchors |
| 19 | |
| 20 | get_orig_source: |
| 21 | ./update-root-hints.sh |
| 22 | ./update-root-anchors.sh |
| 23 |