Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst Add a menu option to set the file extension...
details: https://anonhg.NetBSD.org/src/rev/8045688f8644
branches: trunk
changeset: 368619:8045688f8644
user: christos <christos%NetBSD.org@localhost>
date: Fri Jul 22 16:51:14 2022 +0000
description:
Add a menu option to set the file extension of the downloaded sets.
amd64 sets are .tar.xz and sysinst fails by default.
diffstat:
usr.sbin/sysinst/menus.mi | 12 +++++++++++-
usr.sbin/sysinst/msg.mi.de | 3 ++-
usr.sbin/sysinst/msg.mi.en | 3 ++-
usr.sbin/sysinst/msg.mi.es | 3 ++-
usr.sbin/sysinst/msg.mi.fr | 3 ++-
usr.sbin/sysinst/msg.mi.pl | 3 ++-
6 files changed, 21 insertions(+), 6 deletions(-)
diffs (139 lines):
diff -r 578dd47a0949 -r 8045688f8644 usr.sbin/sysinst/menus.mi
--- a/usr.sbin/sysinst/menus.mi Fri Jul 22 15:43:36 2022 +0000
+++ b/usr.sbin/sysinst/menus.mi Fri Jul 22 16:51:14 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: menus.mi,v 1.26 2022/07/10 10:52:40 martin Exp $ */
+/* $NetBSD: menus.mi,v 1.27 2022/07/22 16:51:14 christos Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -374,6 +374,8 @@
action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); };
option {src_legend(menu, MSG_Set_dir_src, set_dir_src);},
action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); };
+ option {src_legend(menu, MSG_Dist_postfix, dist_postfix);},
+ action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); };
option {src_legend(menu, MSG_User, ftp.user);},
action { src_prompt(MSG_User, ftp.user, sizeof ftp.user);
ftp.pass[0] = 0;
@@ -424,6 +426,8 @@
action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); };
option {src_legend(menu, MSG_Set_dir_src, set_dir_src);},
action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); };
+ option {src_legend(menu, MSG_Dist_postfix, dist_postfix);},
+ action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); };
option MSG_Configure_network,
action {
extern int network_up;
@@ -470,6 +474,8 @@
action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); };
option {src_legend(menu, MSG_Set_dir_src, set_dir_src);},
action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); };
+ option {src_legend(menu, MSG_Dist_postfix, dist_postfix);},
+ action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); };
option MSG_abort_install, exit, action { *((int*)arg) = SET_ABANDON; };
option MSG_source_sel_retry, exit, action { *((int*)arg) = SET_RETRY; };
@@ -486,6 +492,8 @@
action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); };
option {src_legend(menu, MSG_Set_dir_src, set_dir_src);},
action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); };
+ option {src_legend(menu, MSG_Dist_postfix, dist_postfix);},
+ action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); };
option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; };
menu localdirsource, y=-4, x=0, w=70, no box, no clear, exitstring MSG_Continue;
@@ -497,6 +505,8 @@
action { src_prompt(MSG_Set_dir_bin, set_dir_bin, 60); };
option {src_legend(menu, MSG_Set_dir_src, set_dir_src);},
action { src_prompt(MSG_Set_dir_src, set_dir_src, 60); };
+ option {src_legend(menu, MSG_Dist_postfix, dist_postfix);},
+ action { src_prompt(MSG_Dist_postfix, dist_postfix, 60); };
option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; };
menu namesrv6, title MSG_Select_DNS_server;
diff -r 578dd47a0949 -r 8045688f8644 usr.sbin/sysinst/msg.mi.de
--- a/usr.sbin/sysinst/msg.mi.de Fri Jul 22 15:43:36 2022 +0000
+++ b/usr.sbin/sysinst/msg.mi.de Fri Jul 22 16:51:14 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.mi.de,v 1.40 2022/06/11 18:30:02 martin Exp $ */
+/* $NetBSD: msg.mi.de,v 1.41 2022/07/22 16:51:14 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -1143,6 +1143,7 @@
message Base_dir {Basispfad}
message Set_dir_bin {Binärpaket-Verzeichnis}
message Set_dir_src {Quelltext-Verzeichnis}
+message Dist_postfix {Dateierweiterung}
message Xfer_dir {Zwischenspeicher}
message transfer_method {Download via}
message User {Benutzer}
diff -r 578dd47a0949 -r 8045688f8644 usr.sbin/sysinst/msg.mi.en
--- a/usr.sbin/sysinst/msg.mi.en Fri Jul 22 15:43:36 2022 +0000
+++ b/usr.sbin/sysinst/msg.mi.en Fri Jul 22 16:51:14 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.mi.en,v 1.43 2022/06/11 18:30:02 martin Exp $ */
+/* $NetBSD: msg.mi.en,v 1.44 2022/07/22 16:51:14 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -1077,6 +1077,7 @@
message Base_dir {Base directory}
message Set_dir_bin {Binary set directory}
message Set_dir_src {Source set directory}
+message Dist_postfix {File extension}
message Xfer_dir {Transfer directory}
message transfer_method {Download via}
message User {User}
diff -r 578dd47a0949 -r 8045688f8644 usr.sbin/sysinst/msg.mi.es
--- a/usr.sbin/sysinst/msg.mi.es Fri Jul 22 15:43:36 2022 +0000
+++ b/usr.sbin/sysinst/msg.mi.es Fri Jul 22 16:51:14 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.mi.es,v 1.36 2022/06/11 18:30:02 martin Exp $ */
+/* $NetBSD: msg.mi.es,v 1.37 2022/07/22 16:51:14 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -1104,6 +1104,7 @@
message Base_dir {Directorio base}
message Set_dir_src {Directorio de conjuntos binary} /* fix XLAT */
message Set_dir_bin {Directorio de conjuntos source} /* fix XLAT */
+message Dist_postfix {Extensión de archivo}
message Xfer_dir {Directorio a transferir a}
message transfer_method {Download via}
message User {Usuario}
diff -r 578dd47a0949 -r 8045688f8644 usr.sbin/sysinst/msg.mi.fr
--- a/usr.sbin/sysinst/msg.mi.fr Fri Jul 22 15:43:36 2022 +0000
+++ b/usr.sbin/sysinst/msg.mi.fr Fri Jul 22 16:51:14 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.mi.fr,v 1.41 2022/06/11 18:30:02 martin Exp $ */
+/* $NetBSD: msg.mi.fr,v 1.42 2022/07/22 16:51:14 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -1154,6 +1154,7 @@
message Base_dir {Répertoire de base}
message Set_dir_bin {Répertoire des composants binaire}
message Set_dir_src {Répertoire des composants source}
+message Dist_postfix {Extension de fichier}
message Xfer_dir {Répertoire de transfert}
message transfer_method {Download via}
message User {Utilisateur}
diff -r 578dd47a0949 -r 8045688f8644 usr.sbin/sysinst/msg.mi.pl
--- a/usr.sbin/sysinst/msg.mi.pl Fri Jul 22 15:43:36 2022 +0000
+++ b/usr.sbin/sysinst/msg.mi.pl Fri Jul 22 16:51:14 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.mi.pl,v 1.42 2022/06/11 18:30:02 martin Exp $ */
+/* $NetBSD: msg.mi.pl,v 1.43 2022/07/22 16:51:14 christos Exp $ */
/* Based on english version: */
/* NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp */
@@ -1070,6 +1070,7 @@
message Base_dir {Katalog}
message Set_dir_src {Katalog pakietow binarych}
message Set_dir_bin {Katalog pkgsrc}
+message Dist_postfix {Rozszerzenie pliku}
message Xfer_dir {Katalog z plikami pobranymi}
message transfer_method {Sposob pobierania}
message User {Uzytkownik}
Home |
Main Index |
Thread Index |
Old Index