File: rules

package info (click to toggle)
dns-root-data 2025080400
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 108 kB
  • sloc: perl: 104; sh: 27; xml: 26; makefile: 9
file content (23 lines) | stat: -rwxr-xr-x 554 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	# Verify root-anchors.xml using OpenSSL
	openssl smime -verify -CAfile icannbundle.pem -inform DER -in root-anchors.p7s -content root-anchors.xml -out /dev/null

	# Verify root.hints
	gpgv --keyring `pwd`/registry-admin.key root.hints.sig root.hints

	# Create the DNS and DNSKEY records from the validated root-anchors.xml
	./parse-root-anchors

get_orig_source:
	./update-root-hints.sh
	./update-root-anchors.sh