Sat Jan 7 18:54:31 2012 UTC ()
only deal with X11R7 now.


(christos)
diff -r1.17 -r1.18 src/distrib/utils/sysinst/aout2elf.c
diff -r1.57 -r1.58 src/distrib/utils/sysinst/msg.mi.de
diff -r1.165 -r1.166 src/distrib/utils/sysinst/msg.mi.en
diff -r1.35 -r1.36 src/distrib/utils/sysinst/msg.mi.es
diff -r1.115 -r1.116 src/distrib/utils/sysinst/msg.mi.fr
diff -r1.74 -r1.75 src/distrib/utils/sysinst/msg.mi.pl
diff -r1.51 -r1.52 src/distrib/utils/sysinst/upgrade.c

cvs diff -r1.17 -r1.18 src/distrib/utils/sysinst/Attic/aout2elf.c (expand / switch to unified diff)

--- src/distrib/utils/sysinst/Attic/aout2elf.c 2011/09/16 15:42:28 1.17
+++ src/distrib/utils/sysinst/Attic/aout2elf.c 2012/01/07 18:54:30 1.18
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: aout2elf.c,v 1.17 2011/09/16 15:42:28 joerg Exp $ 1/* $NetBSD: aout2elf.c,v 1.18 2012/01/07 18:54:30 christos Exp $
2 * 2 *
3 * Copyright 1997 Piermont Information Systems Inc. 3 * Copyright 1997 Piermont Information Systems Inc.
4 * All rights reserved. 4 * All rights reserved.
5 * 5 *
6 * Written by Philip A. Nelson for Piermont Information Systems Inc. 6 * Written by Philip A. Nelson for Piermont Information Systems Inc.
7 * 7 *
8 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
10 * are met: 10 * are met:
11 * 1. Redistributions of source code must retain the above copyright 11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright 13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the 14 * notice, this list of conditions and the following disclaimer in the
@@ -277,31 +277,31 @@ domove: @@ -277,31 +277,31 @@ domove:
277 abort_libupdate(); 277 abort_libupdate();
278 if (run_program(0, "mkdir -p %s ", concat_paths(prefix, "etc"))) 278 if (run_program(0, "mkdir -p %s ", concat_paths(prefix, "etc")))
279 abort_libupdate(); 279 abort_libupdate();
280 280
281 strlcpy(src, target_expand("/etc/ld.so.conf"), sizeof(src)); 281 strlcpy(src, target_expand("/etc/ld.so.conf"), sizeof(src));
282 if (run_program(0, "mv -f %s %s", 282 if (run_program(0, "mv -f %s %s",
283 src, concat_paths(prefix, "etc/ld.so.conf"))) 283 src, concat_paths(prefix, "etc/ld.so.conf")))
284 abort_libupdate(); 284 abort_libupdate();
285 285
286 strlcpy(src, target_expand("/usr/lib"), sizeof(src)); 286 strlcpy(src, target_expand("/usr/lib"), sizeof(src));
287 n = handle_aout_libs(src, LIB_MOVE, concat_paths(prefix, "usr/lib")); 287 n = handle_aout_libs(src, LIB_MOVE, concat_paths(prefix, "usr/lib"));
288 288
289 if (run_program(0, "mkdir -p %s ", 289 if (run_program(0, "mkdir -p %s ",
290 concat_paths(prefix, "usr/X11R6/lib"))) 290 concat_paths(prefix, "usr/X11R7/lib")))
291 abort_libupdate(); 291 abort_libupdate();
292 292
293 strlcpy(src, target_expand("/usr/X11R6/lib"), sizeof(src)); 293 strlcpy(src, target_expand("/usr/X11R7/lib"), sizeof(src));
294 handle_aout_x_libs(src, concat_paths(prefix, "usr/X11R6/lib")); 294 handle_aout_x_libs(src, concat_paths(prefix, "usr/X11R7/lib"));
295 295
296 if (backedup) { 296 if (backedup) {
297 msg_display(MSG_emulbackup); 297 msg_display(MSG_emulbackup);
298 process_menu(MENU_ok, NULL); 298 process_menu(MENU_ok, NULL);
299 } 299 }
300 300
301 return n; 301 return n;
302} 302}
303 303
304/* 304/*
305 * XXXX had to include this to deal with symlinks in some places. 305 * XXXX had to include this to deal with symlinks in some places.
306 * When the target * disk is mounted under /targetroot, absolute symlinks 306 * When the target * disk is mounted under /targetroot, absolute symlinks
307 * on it don't work right. 307 * on it don't work right.

cvs diff -r1.57 -r1.58 src/distrib/utils/sysinst/Attic/msg.mi.de (expand / switch to unified diff)

--- src/distrib/utils/sysinst/Attic/msg.mi.de 2011/04/17 12:33:42 1.57
+++ src/distrib/utils/sysinst/Attic/msg.mi.de 2012/01/07 18:54:30 1.58
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: msg.mi.de,v 1.57 2011/04/17 12:33:42 martin Exp $ */ 1/* $NetBSD: msg.mi.de,v 1.58 2012/01/07 18:54:30 christos Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Piermont Information Systems Inc. 4 * Copyright 1997 Piermont Information Systems Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Written by Philip A. Nelson for Piermont Information Systems Inc. 7 * Written by Philip A. Nelson for Piermont Information Systems Inc.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
11 * are met: 11 * are met:
12 * 1. Redistributions of source code must retain the above copyright 12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright 14 * 2. Redistributions in binary form must reproduce the above copyright
@@ -667,37 +667,37 @@ werden. Der Vorgang wird abgebrochen. @@ -667,37 +667,37 @@ werden. Der Vorgang wird abgebrochen.
667 667
668 668
669message noetcfstab 669message noetcfstab
670{Hilfe! Die Datei /etc/fstab konnte im Ziellaufwerk %s nicht gefunden 670{Hilfe! Die Datei /etc/fstab konnte im Ziellaufwerk %s nicht gefunden
671werden. Die Aktualisierung wird abgebrochen. 671werden. Die Aktualisierung wird abgebrochen.
672} 672}
673 673
674message badetcfstab 674message badetcfstab
675{Hilfe! Es besteht eine fehlerhafte /etc/fstab im Ziellaufwerk %s. Die 675{Hilfe! Es besteht eine fehlerhafte /etc/fstab im Ziellaufwerk %s. Die
676Aktualisierung wird abgebrochen. 676Aktualisierung wird abgebrochen.
677} 677}
678 678
679message X_oldexists 679message X_oldexists
680{Der alte X Server /usr/X11R6/bin/X kann nicht als /usr/X11R6/bin/X.old 680{Der alte X Server /usr/X11R7/bin/X kann nicht als /usr/X11R7/bin/X.old
681gesichert werden, da eine Datei mit diesem Namen bereits existiert. 681gesichert werden, da eine Datei mit diesem Namen bereits existiert.
682Bitte korrigieren Sie dies, bevor Sie fortfahren. 682Bitte korrigieren Sie dies, bevor Sie fortfahren.
683 683
684Eine Möglichkeit ist es, im Extras-Menü eine Shell zu starten, 684Eine Möglichkeit ist es, im Extras-Menü eine Shell zu starten,
685wodurch Sie /usr/X11R6/bin/X.old überprüfen können. Gehört diese Datei zu 685wodurch Sie /usr/X11R7/bin/X.old überprüfen können. Gehört diese Datei zu
686einer früheren Aktualisierung, so können Sie diese mit rm -f 686einer früheren Aktualisierung, so können Sie diese mit rm -f
687/usr/X11R6/bin/x.old löschen und danach die Aktualisierung neu starten. 687/usr/X11R7/bin/x.old löschen und danach die Aktualisierung neu starten.
688Gehört die Datei /usr/X11R6/bin/X.old aber zu einer aktuellen, 688Gehört die Datei /usr/X11R7/bin/X.old aber zu einer aktuellen,
689abgebrochenen Aktualisierung, so können Sie die Datei /usr/X11R6/bin/X mit 689abgebrochenen Aktualisierung, so können Sie die Datei /usr/X11R7/bin/X mit
690mv /usr/X11R6/bin/X.old /usr/X11R6/bin/X wieder herstellen und die 690mv /usr/X11R7/bin/X.old /usr/X11R7/bin/X wieder herstellen und die
691unvollständige Aktualisierung fortsetzen. 691unvollständige Aktualisierung fortsetzen.
692 692
693Aktualisierung wird abgebrochen.} 693Aktualisierung wird abgebrochen.}
694 694
695message netnotup 695message netnotup
696{Beim Testen des Netzwerks ist ein Problem aufgetreten. Entweder Ihr 696{Beim Testen des Netzwerks ist ein Problem aufgetreten. Entweder Ihr
697Gateway oder Ihr Nameserver hat nicht auf "ping" reagiert. Wollen Sie Ihre 697Gateway oder Ihr Nameserver hat nicht auf "ping" reagiert. Wollen Sie Ihre
698Netzwerkkonfiguration überarbeiten? 698Netzwerkkonfiguration überarbeiten?
699 699
700("Nein" ermöglicht Ihnen die Fortsetzung oder den Abbruch der Installation.) 700("Nein" ermöglicht Ihnen die Fortsetzung oder den Abbruch der Installation.)
701} 701}
702 702
703message netnotup_continueanyway 703message netnotup_continueanyway

cvs diff -r1.165 -r1.166 src/distrib/utils/sysinst/Attic/msg.mi.en (expand / switch to unified diff)

--- src/distrib/utils/sysinst/Attic/msg.mi.en 2011/04/17 12:33:42 1.165
+++ src/distrib/utils/sysinst/Attic/msg.mi.en 2012/01/07 18:54:30 1.166
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: msg.mi.en,v 1.165 2011/04/17 12:33:42 martin Exp $ */ 1/* $NetBSD: msg.mi.en,v 1.166 2012/01/07 18:54:30 christos Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Piermont Information Systems Inc. 4 * Copyright 1997 Piermont Information Systems Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Written by Philip A. Nelson for Piermont Information Systems Inc. 7 * Written by Philip A. Nelson for Piermont Information Systems Inc.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
11 * are met: 11 * are met:
12 * 1. Redistributions of source code must retain the above copyright 12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright 14 * 2. Redistributions in binary form must reproduce the above copyright
@@ -639,36 +639,36 @@ message createfstab @@ -639,36 +639,36 @@ message createfstab
639{There is a big problem! Can not create /mnt/etc/fstab. Bailing out! 639{There is a big problem! Can not create /mnt/etc/fstab. Bailing out!
640} 640}
641 641
642 642
643message noetcfstab 643message noetcfstab
644{Help! No /etc/fstab in target disk %s. Aborting upgrade. 644{Help! No /etc/fstab in target disk %s. Aborting upgrade.
645} 645}
646 646
647message badetcfstab 647message badetcfstab
648{Help! Can't parse /etc/fstab in target disk %s. Aborting upgrade. 648{Help! Can't parse /etc/fstab in target disk %s. Aborting upgrade.
649} 649}
650 650
651message X_oldexists 651message X_oldexists
652{I cannot save /usr/X11R6/bin/X as /usr/X11R6/bin/X.old, because the 652{I cannot save /usr/X11R7/bin/X as /usr/X11R7/bin/X.old, because the
653target disk already has an /usr/X11R6/bin/X.old. Please fix this before 653target disk already has an /usr/X11R7/bin/X.old. Please fix this before
654continuing. 654continuing.
655 655
656One way is to start a shell from the Utilities menu, examine the 656One way is to start a shell from the Utilities menu, examine the
657target /usr/X11R6/bin/X and /usr/X11R6/bin/X.old. If 657target /usr/X11R7/bin/X and /usr/X11R7/bin/X.old. If
658/usr/X11R6/bin/X.old is from a completed upgrade, you can rm -f 658/usr/X11R7/bin/X.old is from a completed upgrade, you can rm -f
659/usr/X11R6/bin/X.old and restart. Or if /usr/X11R6/bin/X.old is from 659/usr/X11R7/bin/X.old and restart. Or if /usr/X11R7/bin/X.old is from
660a recent, incomplete upgrade, you can rm -f /usr/X11R6/bin/X and mv 660a recent, incomplete upgrade, you can rm -f /usr/X11R7/bin/X and mv
661/usr/X11R6/bin/X.old to /usr/X11R6/bin/X. 661/usr/X11R7/bin/X.old to /usr/X11R7/bin/X.
662 662
663Aborting upgrade.} 663Aborting upgrade.}
664 664
665message netnotup 665message netnotup
666{There was a problem in setting up the network. Either your gateway 666{There was a problem in setting up the network. Either your gateway
667or your nameserver was not reachable by a ping. Do you want to 667or your nameserver was not reachable by a ping. Do you want to
668configure your network again? (No allows you to continue anyway 668configure your network again? (No allows you to continue anyway
669or abort the install process.) 669or abort the install process.)
670} 670}
671 671
672message netnotup_continueanyway 672message netnotup_continueanyway
673{Would you like to continue the install process anyway, and assume 673{Would you like to continue the install process anyway, and assume
674that the network is working? (No aborts the install process.) 674that the network is working? (No aborts the install process.)

cvs diff -r1.35 -r1.36 src/distrib/utils/sysinst/Attic/msg.mi.es (expand / switch to unified diff)

--- src/distrib/utils/sysinst/Attic/msg.mi.es 2011/04/17 12:33:42 1.35
+++ src/distrib/utils/sysinst/Attic/msg.mi.es 2012/01/07 18:54:30 1.36
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: msg.mi.es,v 1.35 2011/04/17 12:33:42 martin Exp $ */ 1/* $NetBSD: msg.mi.es,v 1.36 2012/01/07 18:54:30 christos Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Piermont Information Systems Inc. 4 * Copyright 1997 Piermont Information Systems Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Written by Philip A. Nelson for Piermont Information Systems Inc. 7 * Written by Philip A. Nelson for Piermont Information Systems Inc.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
11 * are met: 11 * are met:
12 * 1. Redistributions of source code must retain the above copyright 12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright 14 * 2. Redistributions in binary form must reproduce the above copyright
@@ -659,36 +659,36 @@ message createfstab @@ -659,36 +659,36 @@ message createfstab
659 659
660 660
661message noetcfstab 661message noetcfstab
662{¡Ayuda! No hay /etc/fstab del disco objetivo %s. 662{¡Ayuda! No hay /etc/fstab del disco objetivo %s.
663Interrumpiendo la actualización. 663Interrumpiendo la actualización.
664} 664}
665 665
666message badetcfstab 666message badetcfstab
667{¡Ayuda! No se puede analizar /etc/fstab en el disco objetivo %s. 667{¡Ayuda! No se puede analizar /etc/fstab en el disco objetivo %s.
668Interrumpiendo la actualización. 668Interrumpiendo la actualización.
669} 669}
670 670
671message X_oldexists 671message X_oldexists
672{No se puede guardar /usr/X11R6/bin/X como /usr/X11R6/bin/X.old, porque el 672{No se puede guardar /usr/X11R7/bin/X como /usr/X11R7/bin/X.old, porque el
673disco objetivo ya tiene un /usr/X11R6/bin/X.old. Por favor, arregle esto 673disco objetivo ya tiene un /usr/X11R7/bin/X.old. Por favor, arregle esto
674antes de continuar. 674antes de continuar.
675 675
676Una manera es iniciando una shell desde el menú Utilidades, y examinar 676Una manera es iniciando una shell desde el menú Utilidades, y examinar
677el objetivo /usr/X11R6/bin/X y /usr/X11R6/bin/X.old. Si 677el objetivo /usr/X11R7/bin/X y /usr/X11R7/bin/X.old. Si
678/usr/X11R6/bin/X.old es de una actualización completada, puede rm -f 678/usr/X11R7/bin/X.old es de una actualización completada, puede rm -f
679/usr/X11R6/bin/X.old y reiniciar. O si /usr/X11R6/bin/X.old es de 679/usr/X11R7/bin/X.old y reiniciar. O si /usr/X11R7/bin/X.old es de
680una actualizacion reciente e incompleta, puede rm -f /usr/X11R6/bin/X 680una actualizacion reciente e incompleta, puede rm -f /usr/X11R7/bin/X
681y mv /usr/X11R6/bin/X.old a /usr/X11R6/bin/X. 681y mv /usr/X11R7/bin/X.old a /usr/X11R7/bin/X.
682 682
683Interrumpiendo la actualización.} 683Interrumpiendo la actualización.}
684 684
685message netnotup 685message netnotup
686{Ha habido un problema configurando la red. O su pasarela o su servidor 686{Ha habido un problema configurando la red. O su pasarela o su servidor
687de nombres no son alcanzables por un ping. ¿Quiere configurar la red 687de nombres no son alcanzables por un ping. ¿Quiere configurar la red
688de nuevo? («No» le permite continuar de todos modos o interrumpir el 688de nuevo? («No» le permite continuar de todos modos o interrumpir el
689proceso de instalación.) 689proceso de instalación.)
690} 690}
691 691
692message netnotup_continueanyway 692message netnotup_continueanyway
693{¿Le gustaría continuar el proceso de instalación de todos modos, y 693{¿Le gustaría continuar el proceso de instalación de todos modos, y
694suponer que la red está funcionando? («No» interrumpe el proceso de 694suponer que la red está funcionando? («No» interrumpe el proceso de

cvs diff -r1.115 -r1.116 src/distrib/utils/sysinst/Attic/msg.mi.fr (expand / switch to unified diff)

--- src/distrib/utils/sysinst/Attic/msg.mi.fr 2011/04/17 12:33:42 1.115
+++ src/distrib/utils/sysinst/Attic/msg.mi.fr 2012/01/07 18:54:31 1.116
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: msg.mi.fr,v 1.115 2011/04/17 12:33:42 martin Exp $ */ 1/* $NetBSD: msg.mi.fr,v 1.116 2012/01/07 18:54:31 christos Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Piermont Information Systems Inc. 4 * Copyright 1997 Piermont Information Systems Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Written by Philip A. Nelson for Piermont Information Systems Inc. 7 * Written by Philip A. Nelson for Piermont Information Systems Inc.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
11 * are met: 11 * are met:
12 * 1. Redistributions of source code must retain the above copyright 12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright 14 * 2. Redistributions in binary form must reproduce the above copyright
@@ -693,36 +693,36 @@ Ceci est une erreur majeure : nous ne po @@ -693,36 +693,36 @@ Ceci est une erreur majeure : nous ne po
693Échec de l'installation. 693Échec de l'installation.
694} 694}
695 695
696message badetcfstab 696message badetcfstab
697{ 697{
698Impossible de lire le contenu du fichier /etc/fstab présent sur 698Impossible de lire le contenu du fichier /etc/fstab présent sur
699le disque cible %s 699le disque cible %s
700Ceci est une erreur majeure : nous ne pouvons continuer. 700Ceci est une erreur majeure : nous ne pouvons continuer.
701Échec de l'installation. 701Échec de l'installation.
702} 702}
703 703
704message X_oldexists 704message X_oldexists
705{ 705{
706Impossible de sauvegarder /usr/X11R6/bin/X : le disque contient déjà 706Impossible de sauvegarder /usr/X11R7/bin/X : le disque contient déjà
707un fichier /usr/X11R6/bin/X.old et nous devons renommer l'actuel fichier 707un fichier /usr/X11R7/bin/X.old et nous devons renommer l'actuel fichier
708avec ce nom. Veuillez supprimer ou renommer le fichier X.old avant de 708avec ce nom. Veuillez supprimer ou renommer le fichier X.old avant de
709recommencer. 709recommencer.
710Vous pouvez démarrer un shell depuis le menu "Utilitaires" afin 710Vous pouvez démarrer un shell depuis le menu "Utilitaires" afin
711de faire cette modification. 711de faire cette modification.
712Ce fichier provient probablement d'une ancienne mise à jour et 712Ce fichier provient probablement d'une ancienne mise à jour et
713il est possible de le supprimer. S'il provient d'une mise à jour 713il est possible de le supprimer. S'il provient d'une mise à jour
714incomplète, vous pouvez effacer /usr/X11R6/bin/X et renommer 714incomplète, vous pouvez effacer /usr/X11R7/bin/X et renommer
715/usr/X11R6/bin/X.old en /usr/X11R6/bin/X. 715/usr/X11R7/bin/X.old en /usr/X11R7/bin/X.
716 716
717Arrêt de la mise à jour. 717Arrêt de la mise à jour.
718} 718}
719 719
720 720
721message netnotup 721message netnotup
722{ 722{
723Un problème est survenu lors de la configuration de votre interface 723Un problème est survenu lors de la configuration de votre interface
724réseau. Votre serveur de noms ou bien votre passerelle ne semblent pas 724réseau. Votre serveur de noms ou bien votre passerelle ne semblent pas
725répondre aux pings. 725répondre aux pings.
726Souhaitez-vous configurer à nouveau les paramètres de votre 726Souhaitez-vous configurer à nouveau les paramètres de votre
727connexion réseau ? 727connexion réseau ?
728(un refus provoquera l'arrêt de la procédure d'installation) 728(un refus provoquera l'arrêt de la procédure d'installation)

cvs diff -r1.74 -r1.75 src/distrib/utils/sysinst/Attic/msg.mi.pl (expand / switch to unified diff)

--- src/distrib/utils/sysinst/Attic/msg.mi.pl 2011/04/17 12:33:42 1.74
+++ src/distrib/utils/sysinst/Attic/msg.mi.pl 2012/01/07 18:54:31 1.75
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: msg.mi.pl,v 1.74 2011/04/17 12:33:42 martin Exp $ */ 1/* $NetBSD: msg.mi.pl,v 1.75 2012/01/07 18:54:31 christos Exp $ */
2/* Based on english version: */ 2/* Based on english version: */
3/* NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp */ 3/* NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp */
4 4
5/* 5/*
6 * Copyright 1997 Piermont Information Systems Inc. 6 * Copyright 1997 Piermont Information Systems Inc.
7 * All rights reserved. 7 * All rights reserved.
8 * 8 *
9 * Written by Philip A. Nelson for Piermont Information Systems Inc. 9 * Written by Philip A. Nelson for Piermont Information Systems Inc.
10 * 10 *
11 * Redistribution and use in source and binary forms, with or without 11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions 12 * modification, are permitted provided that the following conditions
13 * are met: 13 * are met:
14 * 1. Redistributions of source code must retain the above copyright 14 * 1. Redistributions of source code must retain the above copyright
@@ -638,35 +638,35 @@ message createfstab @@ -638,35 +638,35 @@ message createfstab
638{Pojawil sie powazny problem! Nie mozna utworzyc /mnt/etc/fstab. Spadamy! 638{Pojawil sie powazny problem! Nie mozna utworzyc /mnt/etc/fstab. Spadamy!
639} 639}
640 640
641 641
642message noetcfstab 642message noetcfstab
643{Pomocy! Na dysku docelowym %s nie ma /etc/fstab. Przerywamy aktualizacje. 643{Pomocy! Na dysku docelowym %s nie ma /etc/fstab. Przerywamy aktualizacje.
644} 644}
645 645
646message badetcfstab 646message badetcfstab
647{Pomocy! Nie moge przeczytac /etc/fstab na dysku %s. Przerywamy aktualizacje. 647{Pomocy! Nie moge przeczytac /etc/fstab na dysku %s. Przerywamy aktualizacje.
648} 648}
649 649
650message X_oldexists 650message X_oldexists
651{Nie moge zapisac /usr/X11R6/bin/X jako /usr/X11R6/bin/X.old, poniewaz 651{Nie moge zapisac /usr/X11R7/bin/X jako /usr/X11R7/bin/X.old, poniewaz
652na docelowym dysku jest juz /usr/X11R6/bin/X.old. Napraw to przed kontynuacja. 652na docelowym dysku jest juz /usr/X11R7/bin/X.old. Napraw to przed kontynuacja.
653 653
654Jedyny sposob to uruchomic powloke z menu Narzedziowego i sprawdzic 654Jedyny sposob to uruchomic powloke z menu Narzedziowego i sprawdzic
655docelowe /usr/X11R6/bin/X oraz /usr/X11R6/bin/X.old. Jesli 655docelowe /usr/X11R7/bin/X oraz /usr/X11R7/bin/X.old. Jesli
656/usr/X11R6/bin/X.old pochodzi z zakonczonej aktualizacji, mozesz usunac 656/usr/X11R7/bin/X.old pochodzi z zakonczonej aktualizacji, mozesz usunac
657/usr/X11R6/bin/X.old i zrobic restart. Albo jesli /usr/X11R6/bin/X.old 657/usr/X11R7/bin/X.old i zrobic restart. Albo jesli /usr/X11R7/bin/X.old
658pochodzi z aktualnej niekompletnej aktualizacji, mozesz usunac 658pochodzi z aktualnej niekompletnej aktualizacji, mozesz usunac
659/usr/X11R6/bin/X i przeniesc /usr/X11R6/bin/X.old na /usr/X11R6/bin/X. 659/usr/X11R7/bin/X i przeniesc /usr/X11R7/bin/X.old na /usr/X11R7/bin/X.
660 660
661Przerywamy aktualizacje.} 661Przerywamy aktualizacje.}
662 662
663message netnotup 663message netnotup
664{Pojawil sie problem z konfiguracja twojej sieci. Albo twoja bramka 664{Pojawil sie problem z konfiguracja twojej sieci. Albo twoja bramka
665albo serwer nazw nie byl osiagalny przez ping. Czy chcesz skonfigurowac 665albo serwer nazw nie byl osiagalny przez ping. Czy chcesz skonfigurowac
666siec jeszcze raz? (Nie pozwala ci kontynuowac lub przerwac instalacje.) 666siec jeszcze raz? (Nie pozwala ci kontynuowac lub przerwac instalacje.)
667} 667}
668 668
669message netnotup_continueanyway 669message netnotup_continueanyway
670{Czy chcesz kontynuowac proces instalacji i zalozyc, ze twoja siec dziala? 670{Czy chcesz kontynuowac proces instalacji i zalozyc, ze twoja siec dziala?
671(Nie przerywa procesu instalacji.) 671(Nie przerywa procesu instalacji.)
672} 672}

cvs diff -r1.51 -r1.52 src/distrib/utils/sysinst/Attic/upgrade.c (expand / switch to unified diff)

--- src/distrib/utils/sysinst/Attic/upgrade.c 2011/04/04 08:30:14 1.51
+++ src/distrib/utils/sysinst/Attic/upgrade.c 2012/01/07 18:54:31 1.52
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: upgrade.c,v 1.51 2011/04/04 08:30:14 mbalmer Exp $ */ 1/* $NetBSD: upgrade.c,v 1.52 2012/01/07 18:54:31 christos Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Piermont Information Systems Inc. 4 * Copyright 1997 Piermont Information Systems Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Written by Philip A. Nelson for Piermont Information Systems Inc. 7 * Written by Philip A. Nelson for Piermont Information Systems Inc.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
11 * are met: 11 * are met:
12 * 1. Redistributions of source code must retain the above copyright 12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer.
14 * 2. Redistributions in binary form must reproduce the above copyright 14 * 2. Redistributions in binary form must reproduce the above copyright
@@ -102,57 +102,57 @@ do_upgrade(void) @@ -102,57 +102,57 @@ do_upgrade(void)
102 102
103 merge_X(); 103 merge_X();
104 104
105 sanity_check(); 105 sanity_check();
106} 106}
107 107
108/* 108/*
109 * Save X symlink to X.old so it can be recovered later 109 * Save X symlink to X.old so it can be recovered later
110 */ 110 */
111static int 111static int
112save_X(void) 112save_X(void)
113{ 113{
114 /* Only care for X if it's a symlink */ 114 /* Only care for X if it's a symlink */
115 if (target_symlink_exists_p("/usr/X11R6/bin/X")) { 115 if (target_symlink_exists_p("/usr/X11R7/bin/X")) {
116 if (target_symlink_exists_p("/usr/X11R6/bin/X.old")) { 116 if (target_symlink_exists_p("/usr/X11R7/bin/X.old")) {
117 msg_display(MSG_X_oldexists); 117 msg_display(MSG_X_oldexists);
118 process_menu(MENU_ok, NULL); 118 process_menu(MENU_ok, NULL);
119 return EEXIST; 119 return EEXIST;
120 } 120 }
121 121
122#ifdef DEBUG 122#ifdef DEBUG
123 printf("saving /usr/X11R6/bin/X as .../X.old ..."); 123 printf("saving /usr/X11R7/bin/X as .../X.old ...");
124#endif 124#endif
125 125
126 /* Move target .../X to .../X.old. Abort on error. */ 126 /* Move target .../X to .../X.old. Abort on error. */
127 mv_within_target_or_die("/usr/X11R6/bin/X", 127 mv_within_target_or_die("/usr/X11R7/bin/X",
128 "/usr/X11R6/bin/X.old"); 128 "/usr/X11R7/bin/X.old");
129 } 129 }
130 130
131 return 0; 131 return 0;
132} 132}
133 133
134/* 134/*
135 * Merge back saved target X files after unpacking the new 135 * Merge back saved target X files after unpacking the new
136 * sets has completed. 136 * sets has completed.
137 */ 137 */
138static int 138static int
139merge_X(void) 139merge_X(void)
140{ 140{
141 if (target_symlink_exists_p("/usr/X11R6/bin/X.old")) { 141 if (target_symlink_exists_p("/usr/X11R7/bin/X.old")) {
142 /* Only move back X if it's a symlink - we don't want 142 /* Only move back X if it's a symlink - we don't want
143 * to restore old binaries */ 143 * to restore old binaries */
144 mv_within_target_or_die("/usr/X11R6/bin/X.old", 144 mv_within_target_or_die("/usr/X11R7/bin/X.old",
145 "/usr/X11R6/bin/X"); 145 "/usr/X11R7/bin/X");
146 } 146 }
147 147
148 return 0; 148 return 0;
149} 149}
150 150
151/* 151/*
152 * Unpacks sets, clobbering existing contents. 152 * Unpacks sets, clobbering existing contents.
153 */ 153 */
154void 154void
155do_reinstall_sets(void) 155do_reinstall_sets(void)
156{ 156{
157 157
158 unwind_mounts(); 158 unwind_mounts();