Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst Change the IPv6 DNS selection to use DNS se...



details:   https://anonhg.NetBSD.org/src/rev/257c2d84de7e
branches:  trunk
changeset: 332468:257c2d84de7e
user:      roy <roy%NetBSD.org@localhost>
date:      Mon Sep 22 19:01:02 2014 +0000

description:
Change the IPv6 DNS selection to use DNS selection and add the
Google Public V4 DNS servers to the list.
The other field can take an IPv4 or IPv6 name server of choice.
Fixes PR install/49231.

diffstat:

 usr.sbin/sysinst/menus.mi  |  28 ++++++++++++++++++++++++----
 usr.sbin/sysinst/msg.mi.de |   4 ++--
 usr.sbin/sysinst/msg.mi.en |   4 ++--
 usr.sbin/sysinst/msg.mi.es |   4 ++--
 usr.sbin/sysinst/msg.mi.fr |   4 ++--
 usr.sbin/sysinst/msg.mi.pl |   4 ++--
 6 files changed, 34 insertions(+), 14 deletions(-)

diffs (139 lines):

diff -r 50e8458b9c24 -r 257c2d84de7e usr.sbin/sysinst/menus.mi
--- a/usr.sbin/sysinst/menus.mi Mon Sep 22 18:47:41 2014 +0000
+++ b/usr.sbin/sysinst/menus.mi Mon Sep 22 19:01:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.mi,v 1.5 2014/09/13 00:38:36 roy Exp $   */
+/*     $NetBSD: menus.mi,v 1.6 2014/09/22 19:01:02 roy Exp $   */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -476,8 +476,28 @@
                action { src_prompt(MSG_Set_dir_src, set_dir_src, 60); };
        option MSG_exit_menu_generic, exit, action { yesno = SET_RETRY; };
 
-menu namesrv6, title MSG_Select_IPv6_DNS_server;
-       option "google-public-dns-a.google.com", exit, action
+menu namesrv6, title MSG_Select_DNS_server;
+       option "google-public-dns-a.google.com (IPv4)", exit, action
+               {
+#ifdef INET6
+                 strlcpy(net_namesvr, "8.8.8.8",
+                     sizeof(net_namesvr));
+                 yesno = 1;
+#else
+                 yesno = 0;
+#endif
+               }; 
+       option "google-public-dns-b.google.com (IPv4)", exit, action
+               {
+#ifdef INET6
+                 strlcpy(net_namesvr, "8.8.4.4",
+                     sizeof(net_namesvr));
+                 yesno = 1;
+#else
+                 yesno = 0;
+#endif
+               }; 
+       option "google-public-dns-a.google.com (IPv6)", exit, action
                {
 #ifdef INET6
                  strlcpy(net_namesvr, "2001:4860:4860::8888",
@@ -487,7 +507,7 @@
                  yesno = 0;
 #endif
                }; 
-       option "google-public-dns-b.google.com", exit, action
+       option "google-public-dns-b.google.com (IPv6)", exit, action
                {
 #ifdef INET6
                  strlcpy(net_namesvr, "2001:4860:4860::8844",
diff -r 50e8458b9c24 -r 257c2d84de7e usr.sbin/sysinst/msg.mi.de
--- a/usr.sbin/sysinst/msg.mi.de        Mon Sep 22 18:47:41 2014 +0000
+++ b/usr.sbin/sysinst/msg.mi.de        Mon Sep 22 19:01:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.mi.de,v 1.4 2014/09/13 01:11:58 roy Exp $  */
+/*     $NetBSD: msg.mi.de,v 1.5 2014/09/22 19:01:02 roy Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1002,7 +1002,7 @@
 message Abort_fetch {Holen abbrechen}
 message Device {Gerät}
 message File_system {Dateisystem}
-message Select_IPv6_DNS_server {  Auswählen eines IPv6 DNS Servers}
+message Select_DNS_server {  Auswählen eines DNS Servers}
 message other {andere }
 message Perform_autoconfiguration {Führen Sie die automatische Konfiguration?}
 message Root_shell {Root-Shell}
diff -r 50e8458b9c24 -r 257c2d84de7e usr.sbin/sysinst/msg.mi.en
--- a/usr.sbin/sysinst/msg.mi.en        Mon Sep 22 18:47:41 2014 +0000
+++ b/usr.sbin/sysinst/msg.mi.en        Mon Sep 22 19:01:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.mi.en,v 1.4 2014/09/13 01:11:58 roy Exp $  */
+/*     $NetBSD: msg.mi.en,v 1.5 2014/09/22 19:01:02 roy Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -943,7 +943,7 @@
 message Abort_fetch {Abort fetch}
 message Device {Device}
 message File_system {File system}
-message Select_IPv6_DNS_server {  Select IPv6 DNS server}
+message Select_DNS_server {  Select DNS server}
 message other {other }
 message Perform_autoconfiguration {Perform autoconfiguration?}
 message Root_shell {Root shell}
diff -r 50e8458b9c24 -r 257c2d84de7e usr.sbin/sysinst/msg.mi.es
--- a/usr.sbin/sysinst/msg.mi.es        Mon Sep 22 18:47:41 2014 +0000
+++ b/usr.sbin/sysinst/msg.mi.es        Mon Sep 22 19:01:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.mi.es,v 1.4 2014/09/13 01:11:58 roy Exp $  */
+/*     $NetBSD: msg.mi.es,v 1.5 2014/09/22 19:01:02 roy Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -968,7 +968,7 @@
 message Abort_fetch {Abortar lectura}
 message Device {Dispositivo}
 message File_system {Sistema de archivos}
-message Select_IPv6_DNS_server {  Seleccione servidor DNS de IPv6}
+message Select_DNS_server {  Seleccione servidor DNS}
 message other {otro }
 message Perform_autoconfiguration {¿Realizar autoconfiguración ?}
 message Root_shell {Shell de root}
diff -r 50e8458b9c24 -r 257c2d84de7e usr.sbin/sysinst/msg.mi.fr
--- a/usr.sbin/sysinst/msg.mi.fr        Mon Sep 22 18:47:41 2014 +0000
+++ b/usr.sbin/sysinst/msg.mi.fr        Mon Sep 22 19:01:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.mi.fr,v 1.4 2014/09/13 01:11:58 roy Exp $  */
+/*     $NetBSD: msg.mi.fr,v 1.5 2014/09/22 19:01:02 roy Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1040,7 +1040,7 @@
 message Abort_fetch {Annuler la récupération}
 message Device {Périphérique}
 message File_system {Système de fichiers}
-message Select_IPv6_DNS_server {  Choisissez un serveur de noms IPv6 :}
+message Select_DNS_server {  Choisissez un serveur de noms :}
 message other {autre }
 message Perform_autoconfiguration {Configurer automatiquement ?}
 message Root_shell {Shell du compte "root"}
diff -r 50e8458b9c24 -r 257c2d84de7e usr.sbin/sysinst/msg.mi.pl
--- a/usr.sbin/sysinst/msg.mi.pl        Mon Sep 22 18:47:41 2014 +0000
+++ b/usr.sbin/sysinst/msg.mi.pl        Mon Sep 22 19:01:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.mi.pl,v 1.4 2014/09/13 01:11:58 roy Exp $  */
+/*     $NetBSD: msg.mi.pl,v 1.5 2014/09/22 19:01:02 roy Exp $  */
 /*     Based on english version: */
 /*     NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp       */
 
@@ -940,7 +940,7 @@
 message Abort_fetch {Przerwij pobieranie}
 message Device {Urzadzenie}
 message File_system {SystemPlikow}
-message Select_IPv6_DNS_server {  Wybierz serwer nazw IPv6}
+message Select_DNS_server {  Wybierz serwer nazw}
 message other {inny  }
 message Perform_autoconfiguration {Wykonac autkonfiguracje?}
 message Root_shell {Powloka root'a}



Home | Main Index | Thread Index | Old Index