|
|
|
@ -1,18 +1,18 @@
|
|
|
|
|
dest:={{ domain_environment_link_name }}
|
|
|
|
|
|
|
|
|
|
db_files:=$(wildcard *.db)
|
|
|
|
|
db_file:=${dest}/{{ database_file_name }}
|
|
|
|
|
signed_file:=${dest}/{{ database_signed_file_name }}
|
|
|
|
|
db_file:={{ database_file_name }}
|
|
|
|
|
signed_file:={{ database_signed_file_name }}
|
|
|
|
|
|
|
|
|
|
all:: ${signed_file}
|
|
|
|
|
all:: ${dest}/${signed_file}
|
|
|
|
|
|
|
|
|
|
${db_file}.unchecked: ${db_files}
|
|
|
|
|
${dest}/${db_file}.unchecked: ${db_files}
|
|
|
|
|
cat $^ > "$@";
|
|
|
|
|
|
|
|
|
|
${db_file}: ${db_file}.unchecked
|
|
|
|
|
${dest}/${db_file}: ${dest}/${db_file}.unchecked
|
|
|
|
|
named-compilezone -o "$@" {{ domain | quote }} "$<";
|
|
|
|
|
|
|
|
|
|
${signed_file}: ${db_file}
|
|
|
|
|
${dest}/${signed_file}: ${dest}/${db_file}
|
|
|
|
|
dnssec-signzone \
|
|
|
|
|
-3 $$(head -c 1000 /dev/urandom | sha1sum | cut -b 1-16) \
|
|
|
|
|
-a \
|
|
|
|
|