Merge #23583: inetutils: fix whois for canadian domains

This commit is contained in:
Vladimír Čunát 2017-03-07 21:31:13 +01:00
commit 09c7601c20
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 31 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, ncurses }:
{ stdenv, fetchurl, ncurses, perl }:
stdenv.mkDerivation rec {
name = "inetutils-1.9.4";
@ -8,7 +8,9 @@ stdenv.mkDerivation rec {
sha256 = "05n65k4ixl85dc6rxc51b1b732gnmm8xnqi424dy9f1nz7ppb3xy";
};
buildInputs = [ ncurses /* for `talk' */ ];
patches = [ ./whois-Update-Canadian-TLD-server.patch ];
buildInputs = [ ncurses /* for `talk' */ perl /* for `whois' */ ];
configureFlags = "--with-ncurses-include-dir=${ncurses.dev}/include";

View File

@ -0,0 +1,27 @@
From 73e2811a0512556fd5359acc4387f46c79a9884a Mon Sep 17 00:00:00 2001
From: Mats Erik Andersson <gnu@gisladisker.se>
Date: Thu, 2 Mar 2017 15:38:38 +0100
Subject: [PATCH] whois: Update Canadian TLD server.
Content-Type: text/plain; charset=utf-8
---
ChangeLog | 8 ++++++++ (OMITTED)
whois/tld_serv_list | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/whois/tld_serv_list b/whois/tld_serv_list
index 056efcf..91697b8 100644
--- a/whois/tld_serv_list
+++ b/whois/tld_serv_list
@@ -81,7 +81,7 @@
#.bw # NIC? www.botsnet.bw
#.by NONE # NIC? http://unibel.by www.open.by
.bz NONE # http://www.psg.com/dns/bz/
-.ca whois.cdnnet.ca
+.ca whois.cira.ca
.cc whois.nic.cc
.cd WEB http://www.nic.cd/database/cd/
#.cf NONE # NIC? http://www.socatel.intnet.cf
--
2.10.0