From 5d9663f99a01c7985d7601100a3867fef38d341a Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 2 Feb 2017 11:16:41 -0800 Subject: [PATCH] [v9_9] Remove obsolete Id lines that showed old date on generated bind.keys.h --- bin/named/bind.keys.h | 4 ---- bin/named/bindkeys.pl | 15 --------------- bind.keys | 1 - 3 files changed, 20 deletions(-) diff --git a/bin/named/bind.keys.h b/bin/named/bind.keys.h index 9d1ea20b25..be40f1cffb 100644 --- a/bin/named/bind.keys.h +++ b/bin/named/bind.keys.h @@ -1,7 +1,3 @@ -/* - * Generated by bindkeys.pl 1.7 2011/01/04 23:47:13 tbox Exp - * From bind.keys 1.7 2011/01/03 23:45:07 each Exp - */ #define TRUSTED_KEYS "\ # The bind.keys file is used to override the built-in DNSSEC trust anchors\n\ # which are included as part of BIND 9. As of the current release, the only\n\ diff --git a/bin/named/bindkeys.pl b/bin/named/bindkeys.pl index 937d78b9fc..a8251a702d 100755 --- a/bin/named/bindkeys.pl +++ b/bin/named/bindkeys.pl @@ -19,18 +19,10 @@ use strict; use warnings; -my $rev = '$Id: bindkeys.pl,v 1.7 2011/01/04 23:47:13 tbox Exp $'; -$rev =~ s/\$//g; -$rev =~ s/,v//g; -$rev =~ s/Id: //; - -my $keys = ""; - my $lines; while (<>) { chomp; if (/\/\* .Id:.* \*\//) { - $keys = $_; next; } s/\"/\\\"/g; @@ -38,13 +30,6 @@ while (<>) { $lines .= $_ . "\n"; } -$keys =~ s/\$//g; -$keys =~ s/\/\* Id: //; -$keys =~ s/\*\/.*//; -$keys =~ s/,v//; - -print "/*\n * Generated by $rev \n * From $keys\n */\n"; - my $mkey = '#define MANAGED_KEYS "\\' . "\n" . $lines . "\"\n"; $lines =~ s/managed-keys/trusted-keys/; diff --git a/bind.keys b/bind.keys index 80523ad782..7ed690e4d3 100644 --- a/bind.keys +++ b/bind.keys @@ -1,4 +1,3 @@ -/* $Id: bind.keys,v 1.7 2011/01/03 23:45:07 each Exp $ */ # The bind.keys file is used to override the built-in DNSSEC trust anchors # which are included as part of BIND 9. As of the current release, the only # trust anchors it contains are those for the DNS root zone ("."), and for