commit 94cdd86302687935b0d5c7caf476d13b77c13554
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Thu Feb 25 08:12:58 2021 +0100

    - up to 2.99; rediff patches

 SysVinit.spec                     |    6 +-
 sysvinit-autofsck.patch           |   11 +-
 sysvinit-lastlog.patch            | 1299 +++++++++++++++++++------------------
 sysvinit-paths.patch              |   19 +-
 sysvinit-quiet.patch              |   17 +-
 sysvinit-rebootconfirmation.patch |   19 +-
 6 files changed, 694 insertions(+), 677 deletions(-)
---
diff --git a/SysVinit.spec b/SysVinit.spec
index 9ecb404..c06838c 100644
--- a/SysVinit.spec
+++ b/SysVinit.spec
@@ -12,12 +12,12 @@ Summary(ru.UTF-8):  Программы, управляющие базовыми 
 Summary(tr.UTF-8):     System V başlatma programı
 Summary(uk.UTF-8):     Програми, що керують базовими системними процесами
 Name:          SysVinit
-Version:       2.98
-Release:       2
+Version:       2.99
+Release:       1
 License:       GPL v2+
 Group:         Base
 Source0:       
http://download.savannah.gnu.org/releases/sysvinit/sysvinit-%{version}.tar.xz
-# Source0-md5: e3254f7622ea5cf2322b1b386a98ba59
+# Source0-md5: 6abc0ea61b8dd4a41b4e931a43b1bb90
 Source1:       sysvinit.logrotate
 Source2:       
http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/sysvinit-non-english-man-pages.tar.bz2
 # Source2-md5: 9ae8a63a4685368fae19707f95475cca
diff --git a/sysvinit-autofsck.patch b/sysvinit-autofsck.patch
index 129b93d..8df54e8 100644
--- a/sysvinit-autofsck.patch
+++ b/sysvinit-autofsck.patch
@@ -1,10 +1,11 @@
---- sysvinit-2.86/src/shutdown.c.orig  2004-07-30 13:59:04.000000000 +0200
-+++ sysvinit-2.86/src/shutdown.c       2004-12-26 22:58:22.690343288 +0100
-@@ -324,6 +324,7 @@
+diff -urNp -x '*.orig' sysvinit-2.99.org/src/shutdown.c 
sysvinit-2.99/src/shutdown.c
+--- sysvinit-2.99.org/src/shutdown.c   2021-02-21 19:02:25.000000000 +0100
++++ sysvinit-2.99/src/shutdown.c       2021-02-25 08:11:05.983197168 +0100
+@@ -377,6 +377,7 @@ void fastdown()
        }
  #endif
  
 +      unlink("/.autofsck");
        /* script failed or not present: do it ourself. */
-       sleep(1); /* Give init the chance to collect zombies. */
- 
+       /* Give init the chance to collect zombies. */
+         /* sleep(1); */
diff --git a/sysvinit-lastlog.patch b/sysvinit-lastlog.patch
index 95c4b23..5d9e34e 100644
--- a/sysvinit-lastlog.patch
+++ b/sysvinit-lastlog.patch
@@ -1,542 +1,50 @@
---- sysvinit-2.88dsf/src/Makefile.wiget        2010-04-11 11:30:27.000000000 
+0200
-+++ sysvinit-2.88dsf/src/Makefile      2011-12-03 23:38:27.970109228 +0100
-@@ -23,13 +23,13 @@ MNTPOINT=
- 
- # For some known distributions we do not build all programs, otherwise we do.
- BIN   =
--SBIN  = init halt shutdown runlevel killall5 fstab-decode logsave
-+SBIN  = init halt shutdown runlevel killall5 fstab-decode logsave lastlog
- USRBIN        = last mesg readbootlog
- 
- MAN1  = last.1 lastb.1 mesg.1 readbootlog.1
- MAN5  = initscript.5 inittab.5 initctl.5
- MAN8  = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8
--MAN8  += shutdown.8 telinit.8 fstab-decode.8 logsave.8
-+MAN8  += shutdown.8 telinit.8 fstab-decode.8 logsave.8 lastlog.8
- 
- ifeq ($(DISTRO),)
- SBIN  += sulogin bootlogd
-@@ -115,6 +115,9 @@ halt:              halt.o ifdown.o hddown.o utmp.o
- last:         LDLIBS += $(STATIC)
- last:         last.o
- 
-+lastlog:      LDLIBS += $(STATIC)
-+lastlog:      lastlog.o
-+
- mesg:         LDLIBS += $(STATIC)
- mesg:         mesg.o
- 
---- sysvinit-2.88dsf/src/lastlog.c.wiget       2011-12-03 23:31:01.697380950 
+0100
-+++ sysvinit-2.88dsf/src/lastlog.c     2011-12-03 23:31:01.697380950 +0100
-@@ -0,0 +1,217 @@
-+/*
-+ * Copyright 1989 - 1994, Julianne Frances Haugh
-+ * All rights reserved.
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions
-+ * are met:
-+ * 1. Redistributions of source code must retain the above copyright
-+ *    notice, this list of conditions and the following disclaimer.
-+ * 2. Redistributions in binary form must reproduce the above copyright
-+ *    notice, this list of conditions and the following disclaimer in the
-+ *    documentation and/or other materials provided with the distribution.
-+ * 3. Neither the name of Julianne F. Haugh nor the names of its contributors
-+ *    may be used to endorse or promote products derived from this software
-+ *    without specific prior written permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
-+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-+ * ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
-+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-+ * SUCH DAMAGE.
-+ */
-+
-+#ident "$Id$"
-+
-+#include <getopt.h>
-+#include <lastlog.h>
-+#include <pwd.h>
-+#include <stdio.h>
-+#include <sys/stat.h>
-+#include <sys/types.h>
-+#include <time.h>
-+#include <stdlib.h>
-+/*
-+ * Needed for MkLinux DR1/2/2.1 - J.
-+ */
-+#ifndef LASTLOG_FILE
-+#define LASTLOG_FILE "/var/log/lastlog"
-+#endif
-+/*
-+ * Global variables
-+ */
-+static FILE *lastlogfile;     /* lastlog file stream */
-+static off_t user;            /* one single user, specified on command line */
-+static int days;              /* number of days to consider for print command 
*/
-+static time_t seconds;                /* that number of days in seconds */
-+static int inverse_days;      /* number of days to consider for print command 
*/
-+static time_t inverse_seconds;        /* that number of days in seconds */
-+
-+
-+static int uflg = 0;          /* set if user is a valid user id */
-+static int tflg = 0;          /* print is restricted to most recent days */
-+static int bflg = 0;          /* print excludes most recent days */
-+static struct lastlog lastlog;        /* scratch structure to play with ... */
-+static struct stat statbuf;   /* fstat buffer for file size */
-+static struct passwd *pwent;
-+
-+#define       NOW     (time ((time_t *) 0))
-+
-+static void usage (void)
-+{
-+      fprintf (stdout, "Usage: lastlog [options]\n"
-+                         "\n"
-+                         "Options:\n"
-+                         "  -b, --before DAYS print only lastlog records 
older than DAYS\n"
-+                         "  -h, --help                display this help 
message and exit\n"
-+                         "  -t, --time DAYS   print only lastlog records more 
recent than DAYS\n"
-+                         "  -u, --user LOGIN  print lastlog record for user 
with specified LOGIN\n"
-+                         "\n");
-+      exit(1);
-+}
-+
-+static void print_one (const struct passwd *pw)
-+{
-+      static int once;
-+      char *cp;
-+      struct tm *tm;
-+      time_t ll_time;
-+
-+#ifdef HAVE_STRFTIME
-+      char ptime[80];
-+#endif
-+
-+      if (!pw)
-+              return;
-+
-+      if (!once) {
-+#ifdef HAVE_LL_HOST
-+              printf ("Username         Port     From             Latest\n");
-+#else
-+              printf ("Username                Port     Latest\n");
-+#endif
-+              once++;
-+      }
-+      ll_time = lastlog.ll_time;
-+      tm = localtime (&ll_time);
-+#ifdef HAVE_STRFTIME
-+      strftime (ptime, sizeof (ptime), "%a %b %e %H:%M:%S %z %Y", tm);
-+      cp = ptime;
-+#else
-+      cp = asctime (tm);
-+      cp[24] = '\0';
-+#endif
-+
-+      if (lastlog.ll_time == (time_t) 0)
-+              cp = "**Never logged in**\0";
-+
-+#ifdef HAVE_LL_HOST
-+      printf ("%-16s %-8.8s %-16.16s %s\n", pw->pw_name,
-+              lastlog.ll_line, lastlog.ll_host, cp);
-+#else
-+      printf ("%-16s\t%-8.8s %s\n", pw->pw_name, lastlog.ll_line, cp);
-+#endif
-+}
-+
-+static void print (void)
-+{
-+      off_t offset;
-+
-+      if (uflg) {
-+              offset = user * sizeof lastlog;
-+
-+              if (fstat (fileno (lastlogfile), &statbuf)) {
-+                      perror (LASTLOG_FILE);
-+                      return;
-+              }
-+              if (offset >= statbuf.st_size)
-+                      return;
-+
-+              fseeko (lastlogfile, offset, SEEK_SET);
-+              if (fread ((char *) &lastlog, sizeof lastlog, 1,
-+                         lastlogfile) == 1)
-+                      print_one (pwent);
-+              else
-+                      perror (LASTLOG_FILE);
-+      } else {
-+              setpwent ();
-+              while ((pwent = getpwent ())) {
-+                      user = pwent->pw_uid;
-+                      offset = user * sizeof lastlog;
-+
-+                      fseeko (lastlogfile, offset, SEEK_SET);
-+                      if (fread ((char *) &lastlog, sizeof lastlog, 1,
-+                                 lastlogfile) != 1)
-+                              continue;
-+
-+                      if (tflg && NOW - lastlog.ll_time > seconds)
-+                              continue;
-+
-+                      if (bflg && NOW - lastlog.ll_time < inverse_seconds)
-+                              continue;
-+
-+                      print_one (pwent);
-+              }
-+      }
-+}
-+
-+int main (int argc, char **argv)
-+{
-+      int c;
-+      static struct option const longopts[] = {
-+              {"help", no_argument, NULL, 'h'},
-+              {"time", required_argument, NULL, 't'},
-+              {"before", required_argument, NULL, 'b'},
-+              {"user", required_argument, NULL, 'u'},
-+              {NULL, 0, NULL, '\0'}
-+      };
-+
-+      while ((c = getopt_long (argc, argv, "ht:b:u:", longopts, NULL)) != -1) 
{
-+              switch (c) {
-+              case 'h':
-+                      usage ();
-+                      break;
-+              case 't':
-+                      days = atoi (optarg);
-+                      seconds = days * (24L*3600L);
-+                      tflg++;
-+                      break;
-+              case 'b':
-+                      inverse_days = atoi (optarg);
-+                      inverse_seconds = inverse_days * (24L*3600L);
-+                      bflg++;
-+                      break;
-+              case 'u':
-+                      pwent = getpwnam (optarg);
-+                      if (!pwent) {
-+                              fprintf (stderr, "Unknown User: %s\n", optarg);
-+                              exit (1);
-+                      }
-+                      uflg++;
-+                      user = pwent->pw_uid;
-+                      break;
-+              default:
-+                      usage ();
-+                      break;
-+              }
-+      }
-+      if (argc > optind) {
-+              fprintf (stderr, "lastlog: unexpected argument: %s\n", 
argv[optind]);
-+              usage();
-+      }
-+
-+      if ((lastlogfile = fopen (LASTLOG_FILE, "r")) == (FILE *) 0) {
-+              perror (LASTLOG_FILE);
-+              exit (1);
-+      }
-+
-+      print ();
-+      fclose (lastlogfile);
-+      exit (0);
-+}
---- sysvinit-2.88dsf/man/intl/ru/man8/lastlog.8.wiget  2011-12-03 
23:31:01.697380950 +0100
-+++ sysvinit-2.88dsf/man/intl/ru/man8/lastlog.8        2011-12-03 
23:31:01.697380950 +0100
-@@ -0,0 +1,64 @@
-+.\"     Title: lastlog
-+.\"    Author: 
-+.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
-+.\"      Date: 06/24/2006
-+.\"    Manual: Команды управления системой
-+.\"    Source: Команды управления системой
-+.\"
-+.TH "lastlog" "8" "06/24/2006" "Команды управления системой" "Команды 
управления системой"
-+.\" disable hyphenation
-+.nh
-+.\" disable justification (adjust text to left margin only)
-+.ad l
-+.SH "НАЗВАНИЕ"
-+lastlog \- выводит отчёт о последней регистрации в системе всех или 
указанного пользователя
-+.SH "СИНТАКСИС"
-+.HP 8
-+\fBlastlog\fR [\fIпараметры\fR]
-+.SH "ОПИСАНИЕ"
-+.PP
-+Программа
-+\fBlastlog\fR
-+упорядочивает и выводит содержимое файла
-+\fI/var/log/lastlog\fR, который содержит даты последнего входа пользователей 
систему. Выводятся
-+\fIимя пользователя\fR,
-+\fIпорт\fR
-+и
-+\fIдата последнего входа в систему\fR. По умолчанию (вызов без параметров) 
показываются записи файла lastlog, отсортированные согласно расположению 
пользователей в файле
-+\fI/etc/passwd\fR.
-+.SH "ПАРАМЕТРЫ"
-+.PP
-+Параметры команды
-+\fBlastlog\fR:
-+.TP 3n
-+\fB\-b\fR, \fB\-\-before\fR\fIДНЕЙ\fR
-+Показать записи lastlog за последние
-+\fIДНЕЙ\fR.
-+.TP 3n
-+\fB\-h\fR, \fB\-\-help\fR
-+Показать краткую справку и закончить работу.
-+.TP 3n
-+\fB\-t\fR, \fB\-\-time\fR\fIДНЕЙ\fR
-+Показать записи lastlog новее чем
-+\fIДНЕЙ\fR.
-+.TP 3n
-+\fB\-u\fR, \fB\-\-user\fR\fIИМЯ\fR
-+Показать запись lastlog только для указанного пользователя с emphasis 
remap="I">ИМЕНЕМ
-+.TP 3n
-+Параметр \fB\-t\fR отменяет действие параметра \fB\-u\fR.
-+.PP
-+Если пользователь никогда не регистрировался в системе, то будет показано 
сообщение
-+\fI** Никогда не входил в систему**\fR
-+вместо названия порта и даты.
-+.SH "ЗАМЕЧАНИЕ"
-+.PP
-+Файл
-+\fIlastlog\fR
-+содержит информацию о последней регистрации в системе каждого пользователя. 
Вы не должны применять к нему ротацию журнальных файлов. Этот файл является 
разреженным, поэтому его размер на диске гораздо меньше, чем показывает команда 
"\fBls \-l\fR" (которая может показывать, что это очень большой файл, если 
значения идентификаторов пользователей в системе достигают больших значений). 
Чтобы увидеть реальный размер введите "\fBls \-s\fR".
-+.SH "ФАЙЛЫ"
-+.TP 3n
-+\fI/var/log/lastlog\fR
-+содержит список завершённых сеансов работы с системой
-+.SH "ПРЕДОСТЕРЕЖЕНИЯ"
-+.PP
-+Большие промежутки в значениях идентификаторов пользователей приводят к тому, 
что программа некоторое время ничего не выводит на экран (то есть, если в базе 
данных lastlog нет пользователей с идентификаторами с 170 по 800, то во время 
обработки UID с 171 по 799 программа кажется повисшей).
---- sysvinit-2.88dsf/man/intl/hu/man8/lastlog.8.wiget  2011-12-03 
23:31:01.697380950 +0100
-+++ sysvinit-2.88dsf/man/intl/hu/man8/lastlog.8        2011-12-03 
23:31:01.697380950 +0100
-@@ -0,0 +1,68 @@
-+.\" Copyright 1992, Phillip Street and Julianne Frances Haugh
-+.\" All rights reserved.
-+.\"
-+.\" Redistribution and use in source and binary forms, with or without
-+.\" modification, are permitted provided that the following conditions
-+.\" are met:
-+.\" 1. Redistributions of source code must retain the above copyright
-+.\"    notice, this list of conditions and the following disclaimer.
-+.\" 2. Redistributions in binary form must reproduce the above copyright
-+.\"    notice, this list of conditions and the following disclaimer in the
-+.\"    documentation and/or other materials provided with the distribution.
-+.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
-+.\"    may be used to endorse or promote products derived from this software
-+.\"    without specific prior written permission.
-+.\"
-+.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
-+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-+.\" ARE DISCLAIMED.  IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
-+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-+.\" SUCH DAMAGE.
-+.\"
-+.\"   @(#)lastlog.8   3.3     08:24:58        29 Sep 1993 (National Guard 
Release)
-+.\"   $Id$
-+.\"
-+.TH LASTLOG 8
-+.SH NÉV
-+lastlog \- a lastlog fájl vizsgálata
-+.SH ÁTTEKINTÉS
-+.B lastlog
-+.RB [ -u
-+.IR uid ]
-+.RB [ -t
-+.IR napok száma ]
-+.SH LEÍRÁS
-+
-+A \fBlastlog\fR formázza és olvashatóan megjeleníti a
-+\fB/var/log/lastlog\fR tartalmát. A listában szerepel a \fBlogin-név\fR, a
-+\fBterminál (port) azonosítója\fR és a felhasználó \fBlegutolsó
-+belépésének ideje\fR.  Paraméterek nélkül meghívva a
-+felhasználó-azonosítók (UID) alapján sorbarendezve jelennek meg az
-+értékek. A \fB-u \fIlogin-név\fR opció megadása esetén csak a megadott
-+felhasználó utolsó belépésének ideje jelenik meg. A \fB-t \fInapok
-+száma\fR opció megadásával csak a megadott számú napon belüli belépési
-+idők jelennek meg. A \fB-r\fR opció felülírja a \fB-u\fR opciót.
-+.PP
-+Ha a felhasználó még soha nem lépett be, akkor a terminál és az idő
-+helyett a \fB**Never logged in**\fR felirat jelenik meg.
-+.SH FÁJLOK
-+/var/log/lastlog \- a felhasználók legutóbbi belépéseit tartalmazza
-+.SH MEGJEGYZÉS
-+Ha a felhasználói azonosító számok (UID-k) között nagyobb üres tartományok
-+vannak, akkor a lastlog futásakor megtörténhet, hogy hosszabb ideig
-+nem jelenik meg semmi a képernyőn (pl ha a 170-es és a 800-as azonosítójú
-+felhasználók között nincs több azonosító, akkor a 171 és 799 közötti
-+számok kiértékelése alatt a képernyőn nem változik semmi).
-+.SH SZERZŐK
-+Julianne Frances Haugh ([email protected])
-+.br
-+Phillip Street
-+.SH MAGYAR FORDÍTÁS
-+Hermann Benedek ([email protected])
-+
---- sysvinit-2.88dsf/man/intl/pl/man8/lastlog.8.wiget  2011-12-03 
23:31:01.697380950 +0100
-+++ sysvinit-2.88dsf/man/intl/pl/man8/lastlog.8        2011-12-03 
23:31:01.697380950 +0100
-@@ -0,0 +1,69 @@
-+.\"     Title: lastlog
-+.\"    Author: 
-+.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
-+.\"      Date: 19/06/2006
-+.\"    Manual: Polecenia Zarządzania Systemem
-+.\"    Source: Polecenia Zarządzania Systemem
-+.\"
-+.TH "LASTLOG" "8" "19/06/2006" "Polecenia Zarządzania Systemem" "Polecenia 
Zarządzania Systemem"
-+.\" disable hyphenation
-+.nh
-+.\" disable justification (adjust text to left margin only)
-+.ad l
-+.SH "NAZWA"
-+lastlog \- wyświetla informacje o ostanim logowaniu dla wybranego lub 
wszystkich użytkowaników
-+.SH "SKŁADNIA"
-+.HP 8
-+\fBlastlog\fR [\fIopcje\fR]
-+.SH "OPIS"
-+.PP
-+Polecenie
-+\fBlastlog\fR
-+formatuje i wyświetla zawartość bazy ostatnich logowań zapisanych w pliku
-+\fI/var/log/lastlog\fR. Wyświetlone zostaną
-+\fInazwa użytkownika\fR,
-+\fIport\fR
-+i
-+\fIczas\fR
-+ostatniego logowania. Domyślnie (bez flag) pozycje wyświetlane są w 
kolejności w jakiej są w pliku
-+\fI/etc/passwd\fR.
-+.SH "OPCJE"
-+.PP
-+Polecenie
-+\fBlastlog\fR
-+posiada następujące opcje:
-+.TP 3n
-+\fB\-b\fR, \fB\-\-before\fR\fIDNI\fR
-+Wyświetlenie rekordów lastlog starszych niż zadana
-+\fIDNI\fR.
-+.TP 3n
-+\fB\-h\fR, \fB\-\-help\fR
-+Wyświetlenie komunikatu pomocy i zakończenie działania.
-+.TP 3n
-+\fB\-t\fR, \fB\-\-time\fR\fIDNI\fR
-+Wyświetlenie rekordów lastlog nie starszych niż zadana ilość
-+\fIDNI\fR.
-+.TP 3n
-+\fB\-u\fR, \fB\-\-user\fR\fILOGIN\fR
-+Wyświetlenie informacji o ostanim logowaniu dla użytkownika
-+\fILOGIN\fR.
-+.TP 3n
-+Opcja \fB\-t\fR przesłania użycie opcji \fB\-u\fR.
-+.PP
-+Jeżeli użytkownik nigdy się nie logował to zamiast portu i czasu logowania 
wyświetlany jest komunikat
-+\fI**Nigdy nie zalogowany**\fR
-+(użytkownik nigdy się nie logował).
-+.SH "UWAGI"
-+.PP
-+Baza danych
-+\fIlastlog\fR
-+jest plikiem zawierajacym informacje o ostanim logowaniu każdego 
użytkowanika. Pliku tego nie powinnoa się okresowo kasować i zakąłdać od nowa 
(rotacja). Plik ten jest plikiem z dziurami tak więc jego rozmiar jest zwykle 
znacznie mniejszy pokazywany przez polecenie "\fBls \-l\fR" (pokazujące że jest 
on dużych rozmiarów jeżeli masz w
-+\fIpasswd\fR
-+użytkowaników z wysokimi wartościami UID). Mozesz wyświetlić rzeczywisty 
rozmiar tego pliku używając polecenia "\fBls \-s\fR".
-+.SH "PLIKI"
-+.TP 3n
-+\fI/var/log/lastlog\fR
-+Baza danych ostatnich logowań użytkowników.
-+.SH "OSTRZEŻENIA"
-+.PP
-+Duże luki w numeracji UID powodują, że program będzie pracował dłużej, nie 
wyświetlając wyników (np. jeśli w bazie lastlog nie ma wpisów dla o UID 
pomiedzy 170, a 800, to program będzie sprawiał wrażenie zawieszonego w trakcie 
przetwarzania wpisów dla użytkowanikół o UID 171\-799).
---- sysvinit-2.88dsf/man/intl/it/man8/lastlog.8.wiget  2011-12-03 
23:31:01.697380950 +0100
-+++ sysvinit-2.88dsf/man/intl/it/man8/lastlog.8        2011-12-03 
23:31:01.697380950 +0100
-@@ -0,0 +1,76 @@
-+.\" This file was generated with po4a. Translate the source file.
-+.\" 
-+.\"$Id$
-+.\" Copyright 1992, Phillip Street and Julianne Frances Haugh
-+.\" All rights reserved.
-+.\"
-+.\" Redistribution and use in source and binary forms, with or without
-+.\" modification, are permitted provided that the following conditions
-+.\" are met:
-+.\" 1. Redistributions of source code must retain the above copyright
-+.\"    notice, this list of conditions and the following disclaimer.
-+.\" 2. Redistributions in binary form must reproduce the above copyright
-+.\"    notice, this list of conditions and the following disclaimer in the
-+.\"    documentation and/or other materials provided with the distribution.
-+.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
-+.\"    may be used to endorse or promote products derived from this software
-+.\"    without specific prior written permission.
-+.\"
-+.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
-+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-+.\" ARE DISCLAIMED.  IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
-+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-+.\" SUCH DAMAGE.
+diff -urNp -x '*.orig' sysvinit-2.99.org/man/intl/cs/man8/lastlog.8 
sysvinit-2.99/man/intl/cs/man8/lastlog.8
+--- sysvinit-2.99.org/man/intl/cs/man8/lastlog.8       1970-01-01 
01:00:00.000000000 +0100
++++ sysvinit-2.99/man/intl/cs/man8/lastlog.8   2021-02-25 08:11:23.560410930 
+0100
+@@ -0,0 +1,40 @@
 +.\"   @(#)lastlog.8   3.3     08:24:58        29 Sep 1993 (National Guard 
Release)
-+.TH LASTLOG 8   
-+.SH NOME
-+lastlog \- esamina il file degli ultimi accessi
-+.SH SINTASSI
-+.TP 8
-+\fBlastlog\fP [\fBopzioni\fP]
-+.SH DESCRIZIONE
-+.PP
-+\fBlastlog\fP mostra il log degli ultimi accessi, contenuto nel file 
-+\fI/var/log/lastlog\fP. Le informazioni mostrate sono il \fBnome utente\fP, 
la 
-+\fBporta\fP, e la \fBdata dell'ultimo accesso\fP. Il comportamento 
predefinito 
-+(nessuna opzione specificata) è di mostrare i record di ultimo accesso per 
-+tutti gli utenti, nell'ordine in cui compaiono in \fB/etc/passwd\fP.
-+.SH OPZIONI
-+.TP
-+Il comando \fBlastlog\fP accetta le seguenti opzioni:
-+.IP "\fB\-h\fP, \fB\-\-help\fP"
-+Mostra un messaggio di aiuto ed esce.
-+.IP "\fB\-t\fP, \fB\-\-time\fP \fIGIORNI\fP"
-+Mostra solo i record di ultimo accesso più recenti di un numero di 
-+\fIGIORNI\fP.
-+.IP "\fB\-u\fP, \fB\-\-user\fP \fILOGIN\fP"
-+Mostra il record di ultimo accesso per l'utente specificato da \fILOGIN\fP.
-+.TP
-+L'opzione \fB\-t\fP ha la precedenza sull'uso di \fB\-u\fP.
++.\"   $Id$
++.\"
++.TH LASTLOG 8
++.SH JMÉNO
++lastlog \- prozkoumá soubor lastlog
++.SH SYNTAXE
++.B lastlog
++.RB [ \-u
++.IR přihlašovací\-jméno ]
++.RB [ \-t
++.IR dny ]
++.SH POPIS
++\fBlastlog\fR setřídí a zobrazí obsah souboru
++\fI/var/log/lastlog\fR,
++který obsahuje záznamy o přihlašování a odhlašování uživatelů v systému.
++Zobrazí se \fBpřihlašovací jméno\fR, \fBjméno terminálu\fR a \fBčas posledního
++přihlašení\fR.
++Standardně (tj. bez dalších voleb) lastlog zobrazí záznamy setříděné
++podle čísla UID.
++Použití přepínače \fB\-u \fIpřihlašovací\-jméno\fR
++způsobí, že bude vytištěn pouze poslední záznam o přihlášení příslušného 
uživatele.
++Zadáním \fB\-t \fIdny\fR se zobrazí pouze
++ta přihlášení, které jsou dřívější než zadané \fIdny\fR.
++Parametr \fB\-t\fR překryje případný parametr \fB\-u\fR.
 +.PP
-+Se l'utente non ha mai effettuato accessi al sistema viene mostrato, al 
-+posto della porta e della data, il messaggio \fB"**Nessun accesso 
-+effettuato**"\fP.
-+.SH FILE
-+\fI/var/log/lastlog\fP        \- file di log degli ultimi accessi
-+.SH AVVISI/CAVEAT
-+Se ci sono dei grossi scarti tra i valori di UID, il programma lastlog può 
-+restare in esecuzione per un tempo prolungato senza produrre output sullo 
-+schermo (ad es. se mmdf=800 e l'ultimo UID vale 170, il programma sembrerà 
-+bloccato come se esaminasse gli UID tra 171 e 799).
-+.SH AUTORI
-+Julianne Frances Haugh ([email protected])
++Pokud se uživatel ještě nikdy nepřihlásil, zobrazí se zpráva \fB"**Never 
logged in**"\fR (Nikdy nepřihlášen)
++místo jména terminálu a času.
++.SH SOUBORY
++/var/log/lastlog \- soubor se záznamy o přihlášení a odhlášení
++.SH NÁMITKY
++Velké rozdíly v UID číslech jsou způsobeny tím, že lastlog program běžel 
dlouho bez
++výstupu na obrazovku (např. mmdf=800 a poslední uid=170, program se bude
++jevit jako s uid 171\-799).
++.SH AUTOŘI
++Julianne Frances Haugh ([email protected])
 +.br
 +Phillip Street
-+.SH TRADUZIONE
-+.nf
-+Isabella Ruocco <[email protected]>, 1999
-+Giuseppe Sacco <[email protected]>, 2005
-+Danilo Piazzalunga <[email protected]>, 2005
-+.fi
---- sysvinit-2.88dsf/man/intl/fr/man8/lastlog.8.wiget  2011-12-03 
23:31:01.697380950 +0100
-+++ sysvinit-2.88dsf/man/intl/fr/man8/lastlog.8        2011-12-03 
23:31:01.697380950 +0100
++.SH PŘELOŽIL
++Ondřej Pavlíček ([email protected]).
+diff -urNp -x '*.orig' sysvinit-2.99.org/man/intl/fr/man8/lastlog.8 
sysvinit-2.99/man/intl/fr/man8/lastlog.8
+--- sysvinit-2.99.org/man/intl/fr/man8/lastlog.8       1970-01-01 
01:00:00.000000000 +0100
++++ sysvinit-2.99/man/intl/fr/man8/lastlog.8   2021-02-25 08:11:23.560410930 
+0100
 @@ -0,0 +1,66 @@
 +.\"     Title: lastlog
 +.\"    Author: 
@@ -604,124 +112,161 @@
 +.SH "AVERTISSEMENTS"
 +.PP
 +S'il y a des trous importants dans les valeurs des UID, lastlog s'exécutera 
plus lentement, sans affichage à l'écran (par exemple, s'il n'y a pas d'entrée 
pour les utilisateurs ayant un UID compris entre 170 et 800 dans base de 
données lastlog, le programme lastlog semblera bloqué comme s'il traitait les 
entrées correspondant aux UID 171 à 799).
---- sysvinit-2.88dsf/man/intl/cs/man8/lastlog.8.wiget  2011-12-03 
23:31:01.697380950 +0100
-+++ sysvinit-2.88dsf/man/intl/cs/man8/lastlog.8        2011-12-03 
23:31:01.694047745 +0100
-@@ -0,0 +1,40 @@
+diff -urNp -x '*.orig' sysvinit-2.99.org/man/intl/hu/man8/lastlog.8 
sysvinit-2.99/man/intl/hu/man8/lastlog.8
+--- sysvinit-2.99.org/man/intl/hu/man8/lastlog.8       1970-01-01 
01:00:00.000000000 +0100
++++ sysvinit-2.99/man/intl/hu/man8/lastlog.8   2021-02-25 08:11:23.560410930 
+0100
+@@ -0,0 +1,68 @@
++.\" Copyright 1992, Phillip Street and Julianne Frances Haugh
++.\" All rights reserved.
++.\"
++.\" Redistribution and use in source and binary forms, with or without
++.\" modification, are permitted provided that the following conditions
++.\" are met:
++.\" 1. Redistributions of source code must retain the above copyright
++.\"    notice, this list of conditions and the following disclaimer.
++.\" 2. Redistributions in binary form must reproduce the above copyright
++.\"    notice, this list of conditions and the following disclaimer in the
++.\"    documentation and/or other materials provided with the distribution.
++.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
++.\"    may be used to endorse or promote products derived from this software
++.\"    without specific prior written permission.
++.\"
++.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
++.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++.\" ARE DISCLAIMED.  IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
++.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++.\" SUCH DAMAGE.
++.\"
 +.\"   @(#)lastlog.8   3.3     08:24:58        29 Sep 1993 (National Guard 
Release)
 +.\"   $Id$
 +.\"
 +.TH LASTLOG 8
-+.SH JMÉNO
-+lastlog \- prozkoumá soubor lastlog
-+.SH SYNTAXE
++.SH NÉV
++lastlog \- a lastlog fájl vizsgálata
++.SH ÁTTEKINTÉS
 +.B lastlog
-+.RB [ \-u
-+.IR přihlašovací\-jméno ]
-+.RB [ \-t
-+.IR dny ]
-+.SH POPIS
-+\fBlastlog\fR setřídí a zobrazí obsah souboru
-+\fI/var/log/lastlog\fR,
-+který obsahuje záznamy o přihlašování a odhlašování uživatelů v systému.
-+Zobrazí se \fBpřihlašovací jméno\fR, \fBjméno terminálu\fR a \fBčas posledního
-+přihlašení\fR.
-+Standardně (tj. bez dalších voleb) lastlog zobrazí záznamy setříděné
-+podle čísla UID.
-+Použití přepínače \fB\-u \fIpřihlašovací\-jméno\fR
-+způsobí, že bude vytištěn pouze poslední záznam o přihlášení příslušného 
uživatele.
-+Zadáním \fB\-t \fIdny\fR se zobrazí pouze
-+ta přihlášení, které jsou dřívější než zadané \fIdny\fR.
-+Parametr \fB\-t\fR překryje případný parametr \fB\-u\fR.
++.RB [ -u
++.IR uid ]
++.RB [ -t
++.IR napok száma ]
++.SH LEÍRÁS
++
++A \fBlastlog\fR formázza és olvashatóan megjeleníti a
++\fB/var/log/lastlog\fR tartalmát. A listában szerepel a \fBlogin-név\fR, a
++\fBterminál (port) azonosítója\fR és a felhasználó \fBlegutolsó
++belépésének ideje\fR.  Paraméterek nélkül meghívva a
++felhasználó-azonosítók (UID) alapján sorbarendezve jelennek meg az
++értékek. A \fB-u \fIlogin-név\fR opció megadása esetén csak a megadott
++felhasználó utolsó belépésének ideje jelenik meg. A \fB-t \fInapok
++száma\fR opció megadásával csak a megadott számú napon belüli belépési
++idők jelennek meg. A \fB-r\fR opció felülírja a \fB-u\fR opciót.
 +.PP
-+Pokud se uživatel ještě nikdy nepřihlásil, zobrazí se zpráva \fB"**Never 
logged in**"\fR (Nikdy nepřihlášen)
-+místo jména terminálu a času.
-+.SH SOUBORY
-+/var/log/lastlog \- soubor se záznamy o přihlášení a odhlášení
-+.SH NÁMITKY
-+Velké rozdíly v UID číslech jsou způsobeny tím, že lastlog program běžel 
dlouho bez
-+výstupu na obrazovku (např. mmdf=800 a poslední uid=170, program se bude
-+jevit jako s uid 171\-799).
-+.SH AUTOŘI
-+Julianne Frances Haugh ([email protected])
++Ha a felhasználó még soha nem lépett be, akkor a terminál és az idő
++helyett a \fB**Never logged in**\fR felirat jelenik meg.
++.SH FÁJLOK
++/var/log/lastlog \- a felhasználók legutóbbi belépéseit tartalmazza
++.SH MEGJEGYZÉS
++Ha a felhasználói azonosító számok (UID-k) között nagyobb üres tartományok
++vannak, akkor a lastlog futásakor megtörténhet, hogy hosszabb ideig
++nem jelenik meg semmi a képernyőn (pl ha a 170-es és a 800-as azonosítójú
++felhasználók között nincs több azonosító, akkor a 171 és 799 közötti
++számok kiértékelése alatt a képernyőn nem változik semmi).
++.SH SZERZŐK
++Julianne Frances Haugh ([email protected])
 +.br
 +Phillip Street
-+.SH PŘELOŽIL
-+Ondřej Pavlíček ([email protected]).
---- sysvinit-2.88dsf/man/intl/sv/man8/lastlog.8.wiget  2011-12-03 
23:31:01.697380950 +0100
-+++ sysvinit-2.88dsf/man/intl/sv/man8/lastlog.8        2011-12-03 
23:31:01.697380950 +0100
-@@ -0,0 +1,70 @@
-+.\"     Title: lastlog
-+.\"    Author: 
-+.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
-+.\"      Date: 20.07.2006
-+.\"    Manual: Systemhanteringskommandon
-+.\"    Source: Systemhanteringskommandon
-+.\"
-+.TH "LASTLOG" "8" "20\-07\-2006" "Systemhanteringskommandon" 
"Systemhanteringskommandon"
-+.\" disable hyphenation
-+.nh
-+.\" disable justification (adjust text to left margin only)
-+.ad l
-+.SH "NAMN"
-+lastlog \- reports the most recent login of all users or of a given user
-+.SH "SYNOPSIS"
-+.HP 8
-+\fBlastlog\fR [\fIflaggor\fR]
-+.SH "BESKRIVNING"
-+.PP
++.SH MAGYAR FORDÍTÁS
++Hermann Benedek ([email protected])
 +
-+\fBlastlog\fR
-+formats and prints the contents of the last login log
-+\fI/var/log/lastlog\fR
-+file. The
-+\fIlogin\-name\fR,
-+\fIport\fR, and
-+\fIlast login time\fR
-+will be printed. The default (no flags) causes lastlog entries to be printed, 
sorted by their order in
-+\fI/etc/passwd\fR.
-+.SH "FLAGGOR"
-+.PP
-+Flaggorna som gäller för kommandot
-+\fBlastlog\fR
-+är:
-+.TP 3n
-+\fB\-b\fR, \fB\-\-before\fR\fIDAGAR\fR
-+Print only lastlog records older than
-+\fIDAYS\fR.
-+.TP 3n
-+\fB\-h\fR, \fB\-\-help\fR
-+Visa hjälpmeddelande och avsluta.
-+.TP 3n
-+\fB\-t\fR, \fB\-\-time\fR\fIDAGAR\fR
-+Print the lastlog records more recent than
-+\fIDAYS\fR.
-+.TP 3n
-+\fB\-u\fR, \fB\-\-user\fR\fIINLOGGNINGSNAMN\fR
-+Print the lastlog record for user with specified
-+\fILOGIN\fR
-+only.
-+.TP 3n
-+Flaggan \fB\-t\fR åsidosätter användningen av \fB\-u\fR.
-+.PP
-+If the user has never logged in the message
-+\fI** Never logged in**\fR
-+will be displayed instead of the port and time.
-+.SH "NOTERA"
+diff -urNp -x '*.orig' sysvinit-2.99.org/man/intl/it/man8/lastlog.8 
sysvinit-2.99/man/intl/it/man8/lastlog.8
+--- sysvinit-2.99.org/man/intl/it/man8/lastlog.8       1970-01-01 
01:00:00.000000000 +0100
++++ sysvinit-2.99/man/intl/it/man8/lastlog.8   2021-02-25 08:11:23.560410930 
+0100
+@@ -0,0 +1,76 @@
++.\" This file was generated with po4a. Translate the source file.
++.\" 
++.\"$Id$
++.\" Copyright 1992, Phillip Street and Julianne Frances Haugh
++.\" All rights reserved.
++.\"
++.\" Redistribution and use in source and binary forms, with or without
++.\" modification, are permitted provided that the following conditions
++.\" are met:
++.\" 1. Redistributions of source code must retain the above copyright
++.\"    notice, this list of conditions and the following disclaimer.
++.\" 2. Redistributions in binary form must reproduce the above copyright
++.\"    notice, this list of conditions and the following disclaimer in the
++.\"    documentation and/or other materials provided with the distribution.
++.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
++.\"    may be used to endorse or promote products derived from this software
++.\"    without specific prior written permission.
++.\"
++.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
++.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++.\" ARE DISCLAIMED.  IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
++.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++.\" SUCH DAMAGE.
++.\"   @(#)lastlog.8   3.3     08:24:58        29 Sep 1993 (National Guard 
Release)
++.TH LASTLOG 8   
++.SH NOME
++lastlog \- esamina il file degli ultimi accessi
++.SH SINTASSI
++.TP 8
++\fBlastlog\fP [\fBopzioni\fP]
++.SH DESCRIZIONE
 +.PP
-+The
-+\fIlastlog\fR
-+file is a database which contains info on the last login of each user. You 
should not rotate it. It is a sparse file, so its size on the disk is usually 
much smaller than the one shown by "\fBls \-l\fR" (which can indicate a really 
big file if you have in
-+\fIpasswd\fR
-+users with a high UID). You can display its real size with "\fBls \-s\fR".
-+.SH "FILER"
-+.TP 3n
-+\fI/var/log/lastlog\fR
-+Databastider för tidigare användarinloggningar.
-+.SH "TÄNK PÅ"
++\fBlastlog\fP mostra il log degli ultimi accessi, contenuto nel file 
++\fI/var/log/lastlog\fP. Le informazioni mostrate sono il \fBnome utente\fP, 
la 
++\fBporta\fP, e la \fBdata dell'ultimo accesso\fP. Il comportamento 
predefinito 
++(nessuna opzione specificata) è di mostrare i record di ultimo accesso per 
++tutti gli utenti, nell'ordine in cui compaiono in \fB/etc/passwd\fP.
++.SH OPZIONI
++.TP
++Il comando \fBlastlog\fP accetta le seguenti opzioni:
++.IP "\fB\-h\fP, \fB\-\-help\fP"
++Mostra un messaggio di aiuto ed esce.
++.IP "\fB\-t\fP, \fB\-\-time\fP \fIGIORNI\fP"
++Mostra solo i record di ultimo accesso più recenti di un numero di 
++\fIGIORNI\fP.
++.IP "\fB\-u\fP, \fB\-\-user\fP \fILOGIN\fP"
++Mostra il record di ultimo accesso per l'utente specificato da \fILOGIN\fP.
++.TP
++L'opzione \fB\-t\fP ha la precedenza sull'uso di \fB\-u\fP.
 +.PP
-+Large gaps in UID numbers will cause the lastlog program to run longer with 
no output to the screen (i.e. if in lastlog database there is no entries for 
users with UID between 170 and 800 lastlog will appear to hang as it processes 
entries with UIDs 171\-799).
---- sysvinit-2.88dsf/man/intl/ja/man8/lastlog.8.wiget  2011-12-03 
23:31:01.697380950 +0100
-+++ sysvinit-2.88dsf/man/intl/ja/man8/lastlog.8        2011-12-03 
23:31:01.697380950 +0100
++Se l'utente non ha mai effettuato accessi al sistema viene mostrato, al 
++posto della porta e della data, il messaggio \fB"**Nessun accesso 
++effettuato**"\fP.
++.SH FILE
++\fI/var/log/lastlog\fP        \- file di log degli ultimi accessi
++.SH AVVISI/CAVEAT
++Se ci sono dei grossi scarti tra i valori di UID, il programma lastlog può 
++restare in esecuzione per un tempo prolungato senza produrre output sullo 
++schermo (ad es. se mmdf=800 e l'ultimo UID vale 170, il programma sembrerà 
++bloccato come se esaminasse gli UID tra 171 e 799).
++.SH AUTORI
++Julianne Frances Haugh ([email protected])
++.br
++Phillip Street
++.SH TRADUZIONE
++.nf
++Isabella Ruocco <[email protected]>, 1999
++Giuseppe Sacco <[email protected]>, 2005
++Danilo Piazzalunga <[email protected]>, 2005
++.fi
+diff -urNp -x '*.orig' sysvinit-2.99.org/man/intl/ja/man8/lastlog.8 
sysvinit-2.99/man/intl/ja/man8/lastlog.8
+--- sysvinit-2.99.org/man/intl/ja/man8/lastlog.8       1970-01-01 
01:00:00.000000000 +0100
++++ sysvinit-2.99/man/intl/ja/man8/lastlog.8   2021-02-25 08:11:23.560410930 
+0100
 @@ -0,0 +1,80 @@
 +.\"$Id$
 +.\" Copyright 1992, Phillip Street and Julianne Frances Haugh
@@ -803,8 +348,224 @@
 +Julianne Frances Haugh ([email protected])
 +.BR
 +Phillip Street
---- sysvinit-2.88dsf/man/lastlog.8.wiget       2011-12-03 23:31:01.697380950 
+0100
-+++ sysvinit-2.88dsf/man/lastlog.8     2011-12-03 23:31:01.697380950 +0100
+diff -urNp -x '*.orig' sysvinit-2.99.org/man/intl/pl/man8/lastlog.8 
sysvinit-2.99/man/intl/pl/man8/lastlog.8
+--- sysvinit-2.99.org/man/intl/pl/man8/lastlog.8       1970-01-01 
01:00:00.000000000 +0100
++++ sysvinit-2.99/man/intl/pl/man8/lastlog.8   2021-02-25 08:11:23.560410930 
+0100
+@@ -0,0 +1,69 @@
++.\"     Title: lastlog
++.\"    Author: 
++.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
++.\"      Date: 19/06/2006
++.\"    Manual: Polecenia Zarządzania Systemem
++.\"    Source: Polecenia Zarządzania Systemem
++.\"
++.TH "LASTLOG" "8" "19/06/2006" "Polecenia Zarządzania Systemem" "Polecenia 
Zarządzania Systemem"
++.\" disable hyphenation
++.nh
++.\" disable justification (adjust text to left margin only)
++.ad l
++.SH "NAZWA"
++lastlog \- wyświetla informacje o ostanim logowaniu dla wybranego lub 
wszystkich użytkowaników
++.SH "SKŁADNIA"
++.HP 8
++\fBlastlog\fR [\fIopcje\fR]
++.SH "OPIS"
++.PP
++Polecenie
++\fBlastlog\fR
++formatuje i wyświetla zawartość bazy ostatnich logowań zapisanych w pliku
++\fI/var/log/lastlog\fR. Wyświetlone zostaną
++\fInazwa użytkownika\fR,
++\fIport\fR
++i
++\fIczas\fR
++ostatniego logowania. Domyślnie (bez flag) pozycje wyświetlane są w 
kolejności w jakiej są w pliku
++\fI/etc/passwd\fR.
++.SH "OPCJE"
++.PP
++Polecenie
++\fBlastlog\fR
++posiada następujące opcje:
++.TP 3n
++\fB\-b\fR, \fB\-\-before\fR\fIDNI\fR
++Wyświetlenie rekordów lastlog starszych niż zadana
++\fIDNI\fR.
++.TP 3n
++\fB\-h\fR, \fB\-\-help\fR
++Wyświetlenie komunikatu pomocy i zakończenie działania.
++.TP 3n
++\fB\-t\fR, \fB\-\-time\fR\fIDNI\fR
++Wyświetlenie rekordów lastlog nie starszych niż zadana ilość
++\fIDNI\fR.
++.TP 3n
++\fB\-u\fR, \fB\-\-user\fR\fILOGIN\fR
++Wyświetlenie informacji o ostanim logowaniu dla użytkownika
++\fILOGIN\fR.
++.TP 3n
++Opcja \fB\-t\fR przesłania użycie opcji \fB\-u\fR.
++.PP
++Jeżeli użytkownik nigdy się nie logował to zamiast portu i czasu logowania 
wyświetlany jest komunikat
++\fI**Nigdy nie zalogowany**\fR
++(użytkownik nigdy się nie logował).
++.SH "UWAGI"
++.PP
++Baza danych
++\fIlastlog\fR
++jest plikiem zawierajacym informacje o ostanim logowaniu każdego 
użytkowanika. Pliku tego nie powinnoa się okresowo kasować i zakąłdać od nowa 
(rotacja). Plik ten jest plikiem z dziurami tak więc jego rozmiar jest zwykle 
znacznie mniejszy pokazywany przez polecenie "\fBls \-l\fR" (pokazujące że jest 
on dużych rozmiarów jeżeli masz w
++\fIpasswd\fR
++użytkowaników z wysokimi wartościami UID). Mozesz wyświetlić rzeczywisty 
rozmiar tego pliku używając polecenia "\fBls \-s\fR".
++.SH "PLIKI"
++.TP 3n
++\fI/var/log/lastlog\fR
++Baza danych ostatnich logowań użytkowników.
++.SH "OSTRZEŻENIA"
++.PP
++Duże luki w numeracji UID powodują, że program będzie pracował dłużej, nie 
wyświetlając wyników (np. jeśli w bazie lastlog nie ma wpisów dla o UID 
pomiedzy 170, a 800, to program będzie sprawiał wrażenie zawieszonego w trakcie 
przetwarzania wpisów dla użytkowanikół o UID 171\-799).
+diff -urNp -x '*.orig' sysvinit-2.99.org/man/intl/ru/man8/lastlog.8 
sysvinit-2.99/man/intl/ru/man8/lastlog.8
+--- sysvinit-2.99.org/man/intl/ru/man8/lastlog.8       1970-01-01 
01:00:00.000000000 +0100
++++ sysvinit-2.99/man/intl/ru/man8/lastlog.8   2021-02-25 08:11:23.560410930 
+0100
+@@ -0,0 +1,64 @@
++.\"     Title: lastlog
++.\"    Author: 
++.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
++.\"      Date: 06/24/2006
++.\"    Manual: Команды управления системой
++.\"    Source: Команды управления системой
++.\"
++.TH "lastlog" "8" "06/24/2006" "Команды управления системой" "Команды 
управления системой"
++.\" disable hyphenation
++.nh
++.\" disable justification (adjust text to left margin only)
++.ad l
++.SH "НАЗВАНИЕ"
++lastlog \- выводит отчёт о последней регистрации в системе всех или 
указанного пользователя
++.SH "СИНТАКСИС"
++.HP 8
++\fBlastlog\fR [\fIпараметры\fR]
++.SH "ОПИСАНИЕ"
++.PP
++Программа
++\fBlastlog\fR
++упорядочивает и выводит содержимое файла
++\fI/var/log/lastlog\fR, который содержит даты последнего входа пользователей 
систему. Выводятся
++\fIимя пользователя\fR,
++\fIпорт\fR
++и
++\fIдата последнего входа в систему\fR. По умолчанию (вызов без параметров) 
показываются записи файла lastlog, отсортированные согласно расположению 
пользователей в файле
++\fI/etc/passwd\fR.
++.SH "ПАРАМЕТРЫ"
++.PP
++Параметры команды
++\fBlastlog\fR:
++.TP 3n
++\fB\-b\fR, \fB\-\-before\fR\fIДНЕЙ\fR
++Показать записи lastlog за последние
++\fIДНЕЙ\fR.
++.TP 3n
++\fB\-h\fR, \fB\-\-help\fR
++Показать краткую справку и закончить работу.
++.TP 3n
++\fB\-t\fR, \fB\-\-time\fR\fIДНЕЙ\fR
++Показать записи lastlog новее чем
++\fIДНЕЙ\fR.
++.TP 3n
++\fB\-u\fR, \fB\-\-user\fR\fIИМЯ\fR
++Показать запись lastlog только для указанного пользователя с emphasis 
remap="I">ИМЕНЕМ
++.TP 3n
++Параметр \fB\-t\fR отменяет действие параметра \fB\-u\fR.
++.PP
++Если пользователь никогда не регистрировался в системе, то будет показано 
сообщение
++\fI** Никогда не входил в систему**\fR
++вместо названия порта и даты.
++.SH "ЗАМЕЧАНИЕ"
++.PP
++Файл
++\fIlastlog\fR
++содержит информацию о последней регистрации в системе каждого пользователя. 
Вы не должны применять к нему ротацию журнальных файлов. Этот файл является 
разреженным, поэтому его размер на диске гораздо меньше, чем показывает команда 
"\fBls \-l\fR" (которая может показывать, что это очень большой файл, если 
значения идентификаторов пользователей в системе достигают больших значений). 
Чтобы увидеть реальный размер введите "\fBls \-s\fR".
++.SH "ФАЙЛЫ"
++.TP 3n
++\fI/var/log/lastlog\fR
++содержит список завершённых сеансов работы с системой
++.SH "ПРЕДОСТЕРЕЖЕНИЯ"
++.PP
++Большие промежутки в значениях идентификаторов пользователей приводят к тому, 
что программа некоторое время ничего не выводит на экран (то есть, если в базе 
данных lastlog нет пользователей с идентификаторами с 170 по 800, то во время 
обработки UID с 171 по 799 программа кажется повисшей).
+diff -urNp -x '*.orig' sysvinit-2.99.org/man/intl/sv/man8/lastlog.8 
sysvinit-2.99/man/intl/sv/man8/lastlog.8
+--- sysvinit-2.99.org/man/intl/sv/man8/lastlog.8       1970-01-01 
01:00:00.000000000 +0100
++++ sysvinit-2.99/man/intl/sv/man8/lastlog.8   2021-02-25 08:11:23.560410930 
+0100
+@@ -0,0 +1,70 @@
++.\"     Title: lastlog
++.\"    Author: 
++.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
++.\"      Date: 20.07.2006
++.\"    Manual: Systemhanteringskommandon
++.\"    Source: Systemhanteringskommandon
++.\"
++.TH "LASTLOG" "8" "20\-07\-2006" "Systemhanteringskommandon" 
"Systemhanteringskommandon"
++.\" disable hyphenation
++.nh
++.\" disable justification (adjust text to left margin only)
++.ad l
++.SH "NAMN"
++lastlog \- reports the most recent login of all users or of a given user
++.SH "SYNOPSIS"
++.HP 8
++\fBlastlog\fR [\fIflaggor\fR]
++.SH "BESKRIVNING"
++.PP
++
++\fBlastlog\fR
++formats and prints the contents of the last login log
++\fI/var/log/lastlog\fR
++file. The
++\fIlogin\-name\fR,
++\fIport\fR, and
++\fIlast login time\fR
++will be printed. The default (no flags) causes lastlog entries to be printed, 
sorted by their order in
++\fI/etc/passwd\fR.
++.SH "FLAGGOR"
++.PP
++Flaggorna som gäller för kommandot
++\fBlastlog\fR
++är:
++.TP 3n
++\fB\-b\fR, \fB\-\-before\fR\fIDAGAR\fR
++Print only lastlog records older than
++\fIDAYS\fR.
++.TP 3n
++\fB\-h\fR, \fB\-\-help\fR
++Visa hjälpmeddelande och avsluta.
++.TP 3n
++\fB\-t\fR, \fB\-\-time\fR\fIDAGAR\fR
++Print the lastlog records more recent than
++\fIDAYS\fR.
++.TP 3n
++\fB\-u\fR, \fB\-\-user\fR\fIINLOGGNINGSNAMN\fR
++Print the lastlog record for user with specified
++\fILOGIN\fR
++only.
++.TP 3n
++Flaggan \fB\-t\fR åsidosätter användningen av \fB\-u\fR.
++.PP
++If the user has never logged in the message
++\fI** Never logged in**\fR
++will be displayed instead of the port and time.
++.SH "NOTERA"
++.PP
++The
++\fIlastlog\fR
++file is a database which contains info on the last login of each user. You 
should not rotate it. It is a sparse file, so its size on the disk is usually 
much smaller than the one shown by "\fBls \-l\fR" (which can indicate a really 
big file if you have in
++\fIpasswd\fR
++users with a high UID). You can display its real size with "\fBls \-s\fR".
++.SH "FILER"
++.TP 3n
++\fI/var/log/lastlog\fR
++Databastider för tidigare användarinloggningar.
++.SH "TÄNK PÅ"
++.PP
++Large gaps in UID numbers will cause the lastlog program to run longer with 
no output to the screen (i.e. if in lastlog database there is no entries for 
users with UID between 170 and 800 lastlog will appear to hang as it processes 
entries with UIDs 171\-799).
+diff -urNp -x '*.orig' sysvinit-2.99.org/man/lastlog.8 
sysvinit-2.99/man/lastlog.8
+--- sysvinit-2.99.org/man/lastlog.8    1970-01-01 01:00:00.000000000 +0100
++++ sysvinit-2.99/man/lastlog.8        2021-02-25 08:11:23.560410930 +0100
 @@ -0,0 +1,70 @@
 +.\"     Title: lastlog
 +.\"    Author: 
@@ -876,3 +637,253 @@
 +.SH "CAVEATS"
 +.PP
 +Large gaps in UID numbers will cause the lastlog program to run longer with 
no output to the screen (i.e. if in lastlog database there is no entries for 
users with UID between 170 and 800 lastlog will appear to hang as it processes 
entries with UIDs 171\-799).
+diff -urNp -x '*.orig' sysvinit-2.99.org/src/Makefile 
sysvinit-2.99/src/Makefile
+--- sysvinit-2.99.org/src/Makefile     2021-02-21 19:02:25.000000000 +0100
++++ sysvinit-2.99/src/Makefile 2021-02-25 08:11:23.560410930 +0100
+@@ -23,13 +23,13 @@ MNTPOINT=
+ 
+ # For some known distributions we do not build all programs, otherwise we do.
+ BIN   =
+-SBIN  = init halt shutdown runlevel killall5 fstab-decode logsave
++SBIN  = init halt shutdown runlevel killall5 fstab-decode logsave lastlog
+ USRBIN        = last mesg readbootlog
+ 
+ MAN1  = last.1 lastb.1 mesg.1 readbootlog.1
+ MAN5  = initscript.5 inittab.5 initctl.5
+ MAN8  = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8
+-MAN8  += shutdown.8 telinit.8 fstab-decode.8 logsave.8
++MAN8  += shutdown.8 telinit.8 fstab-decode.8 logsave.8 lastlog.8
+ 
+ ifeq ($(DISTRO),)
+ SBIN  += sulogin bootlogd
+@@ -120,6 +120,9 @@ last:              last.o
+ logsave:      LDLIBS += $(STATIC)
+ logsave:      logsave.o
+ 
++lastlog:      LDLIBS += $(STATIC)
++lastlog:      lastlog.o
++
+ mesg:         LDLIBS += $(STATIC)
+ mesg:         mesg.o
+ 
+diff -urNp -x '*.orig' sysvinit-2.99.org/src/lastlog.c 
sysvinit-2.99/src/lastlog.c
+--- sysvinit-2.99.org/src/lastlog.c    1970-01-01 01:00:00.000000000 +0100
++++ sysvinit-2.99/src/lastlog.c        2021-02-25 08:11:23.560410930 +0100
+@@ -0,0 +1,217 @@
++/*
++ * Copyright 1989 - 1994, Julianne Frances Haugh
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ * 1. Redistributions of source code must retain the above copyright
++ *    notice, this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright
++ *    notice, this list of conditions and the following disclaimer in the
++ *    documentation and/or other materials provided with the distribution.
++ * 3. Neither the name of Julianne F. Haugh nor the names of its contributors
++ *    may be used to endorse or promote products derived from this software
++ *    without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
++ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ * ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
++ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ * SUCH DAMAGE.
++ */
++
++#ident "$Id$"
++
++#include <getopt.h>
++#include <lastlog.h>
++#include <pwd.h>
++#include <stdio.h>
++#include <sys/stat.h>
++#include <sys/types.h>
++#include <time.h>
++#include <stdlib.h>
++/*
++ * Needed for MkLinux DR1/2/2.1 - J.
++ */
++#ifndef LASTLOG_FILE
++#define LASTLOG_FILE "/var/log/lastlog"
++#endif
++/*
++ * Global variables
++ */
++static FILE *lastlogfile;     /* lastlog file stream */
++static off_t user;            /* one single user, specified on command line */
++static int days;              /* number of days to consider for print command 
*/
++static time_t seconds;                /* that number of days in seconds */
++static int inverse_days;      /* number of days to consider for print command 
*/
++static time_t inverse_seconds;        /* that number of days in seconds */
++
++
++static int uflg = 0;          /* set if user is a valid user id */
++static int tflg = 0;          /* print is restricted to most recent days */
++static int bflg = 0;          /* print excludes most recent days */
++static struct lastlog lastlog;        /* scratch structure to play with ... */
++static struct stat statbuf;   /* fstat buffer for file size */
++static struct passwd *pwent;
++
++#define       NOW     (time ((time_t *) 0))
++
++static void usage (void)
++{
++      fprintf (stdout, "Usage: lastlog [options]\n"
++                         "\n"
++                         "Options:\n"
++                         "  -b, --before DAYS print only lastlog records 
older than DAYS\n"
++                         "  -h, --help                display this help 
message and exit\n"
++                         "  -t, --time DAYS   print only lastlog records more 
recent than DAYS\n"
++                         "  -u, --user LOGIN  print lastlog record for user 
with specified LOGIN\n"
++                         "\n");
++      exit(1);
++}
++
++static void print_one (const struct passwd *pw)
++{
++      static int once;
++      char *cp;
++      struct tm *tm;
++      time_t ll_time;
++
++#ifdef HAVE_STRFTIME
++      char ptime[80];
++#endif
++
++      if (!pw)
++              return;
++
++      if (!once) {
++#ifdef HAVE_LL_HOST
++              printf ("Username         Port     From             Latest\n");
++#else
++              printf ("Username                Port     Latest\n");
++#endif
++              once++;
++      }
++      ll_time = lastlog.ll_time;
++      tm = localtime (&ll_time);
++#ifdef HAVE_STRFTIME
++      strftime (ptime, sizeof (ptime), "%a %b %e %H:%M:%S %z %Y", tm);
++      cp = ptime;
++#else
++      cp = asctime (tm);
++      cp[24] = '\0';
++#endif
++
++      if (lastlog.ll_time == (time_t) 0)
++              cp = "**Never logged in**\0";
++
++#ifdef HAVE_LL_HOST
++      printf ("%-16s %-8.8s %-16.16s %s\n", pw->pw_name,
++              lastlog.ll_line, lastlog.ll_host, cp);
++#else
++      printf ("%-16s\t%-8.8s %s\n", pw->pw_name, lastlog.ll_line, cp);
++#endif
++}
++
++static void print (void)
++{
++      off_t offset;
++
++      if (uflg) {
++              offset = user * sizeof lastlog;
++
++              if (fstat (fileno (lastlogfile), &statbuf)) {
++                      perror (LASTLOG_FILE);
++                      return;
++              }
++              if (offset >= statbuf.st_size)
++                      return;
++
++              fseeko (lastlogfile, offset, SEEK_SET);
++              if (fread ((char *) &lastlog, sizeof lastlog, 1,
++                         lastlogfile) == 1)
++                      print_one (pwent);
++              else
++                      perror (LASTLOG_FILE);
++      } else {
++              setpwent ();
++              while ((pwent = getpwent ())) {
++                      user = pwent->pw_uid;
++                      offset = user * sizeof lastlog;
++
++                      fseeko (lastlogfile, offset, SEEK_SET);
++                      if (fread ((char *) &lastlog, sizeof lastlog, 1,
++                                 lastlogfile) != 1)
++                              continue;
++
++                      if (tflg && NOW - lastlog.ll_time > seconds)
++                              continue;
++
++                      if (bflg && NOW - lastlog.ll_time < inverse_seconds)
++                              continue;
++
++                      print_one (pwent);
++              }
++      }
++}
++
++int main (int argc, char **argv)
++{
++      int c;
++      static struct option const longopts[] = {
++              {"help", no_argument, NULL, 'h'},
++              {"time", required_argument, NULL, 't'},
++              {"before", required_argument, NULL, 'b'},
++              {"user", required_argument, NULL, 'u'},
++              {NULL, 0, NULL, '\0'}
++      };
++
++      while ((c = getopt_long (argc, argv, "ht:b:u:", longopts, NULL)) != -1) 
{
++              switch (c) {
++              case 'h':
++                      usage ();
++                      break;
++              case 't':
++                      days = atoi (optarg);
++                      seconds = days * (24L*3600L);
++                      tflg++;
++                      break;
++              case 'b':
++                      inverse_days = atoi (optarg);
++                      inverse_seconds = inverse_days * (24L*3600L);
++                      bflg++;
++                      break;
++              case 'u':
++                      pwent = getpwnam (optarg);
++                      if (!pwent) {
++                              fprintf (stderr, "Unknown User: %s\n", optarg);
++                              exit (1);
++                      }
++                      uflg++;
++                      user = pwent->pw_uid;
++                      break;
++              default:
++                      usage ();
++                      break;
++              }
++      }
++      if (argc > optind) {
++              fprintf (stderr, "lastlog: unexpected argument: %s\n", 
argv[optind]);
++              usage();
++      }
++
++      if ((lastlogfile = fopen (LASTLOG_FILE, "r")) == (FILE *) 0) {
++              perror (LASTLOG_FILE);
++              exit (1);
++      }
++
++      print ();
++      fclose (lastlogfile);
++      exit (0);
++}
diff --git a/sysvinit-paths.patch b/sysvinit-paths.patch
index cef3603..c60c742 100644
--- a/sysvinit-paths.patch
+++ b/sysvinit-paths.patch
@@ -1,5 +1,6 @@
---- sysvinit-2.88dsf/doc/Propaganda.wiget      2009-09-10 10:28:49.000000000 
+0200
-+++ sysvinit-2.88dsf/doc/Propaganda    2011-12-03 22:25:33.574721688 +0100
+diff -urNp -x '*.orig' sysvinit-2.99.org/doc/Propaganda 
sysvinit-2.99/doc/Propaganda
+--- sysvinit-2.99.org/doc/Propaganda   2021-02-21 19:02:25.000000000 +0100
++++ sysvinit-2.99/doc/Propaganda       2021-02-25 08:10:45.835903318 +0100
 @@ -46,7 +46,7 @@ Some other general changes:
    /var/run/utmp (it's also shown on the command line if you do a "ps").
  - unreckognized options are silently ignored (such as the infamous
@@ -9,8 +10,9 @@
    all programs that init starts (so that you can set a generic
    umask, ulimit eg for ALL processes - see initscript.sample).
  - A "sulogin" program added that always asks for the root
---- sysvinit-2.88dsf/doc/initscript.sample.wiget       2009-09-10 
10:28:49.000000000 +0200
-+++ sysvinit-2.88dsf/doc/initscript.sample     2011-12-03 22:25:33.574721688 
+0100
+diff -urNp -x '*.orig' sysvinit-2.99.org/doc/initscript.sample 
sysvinit-2.99/doc/initscript.sample
+--- sysvinit-2.99.org/doc/initscript.sample    2021-02-21 19:02:25.000000000 
+0100
++++ sysvinit-2.99/doc/initscript.sample        2021-02-25 08:10:45.835903318 
+0100
 @@ -1,14 +1,14 @@
  #
 -# initscript  If this script is intalled as /etc/initscript,
@@ -29,9 +31,10 @@
  #
  # Version:    @(#)initscript 1.10 10-Dec-1995 MvS.
  #
---- sysvinit-2.88dsf/src/paths.h.wiget 2010-04-11 11:30:27.000000000 +0200
-+++ sysvinit-2.88dsf/src/paths.h       2011-12-03 22:30:54.881898668 +0100
-@@ -34,7 +34,7 @@
+diff -urNp -x '*.orig' sysvinit-2.99.org/src/paths.h sysvinit-2.99/src/paths.h
+--- sysvinit-2.99.org/src/paths.h      2021-02-21 19:02:25.000000000 +0100
++++ sysvinit-2.99/src/paths.h  2021-02-25 08:10:45.835903318 +0100
+@@ -35,7 +35,7 @@
  #define SDPID         "/var/run/shutdown.pid" /* PID of shutdown program */
  #define SHELL         "/bin/sh"               /* Default shell */
  #define SULOGIN               "/sbin/sulogin"         /* Sulogin */
@@ -39,4 +42,4 @@
 +#define INITSCRIPT    "/etc/rc.d/rc.init"     /* Initscript. */
  #define PWRSTAT_OLD   "/etc/powerstatus"      /* COMPAT: SIGPWR reason 
(OK/BAD) */
  #define PWRSTAT               "/var/run/powerstatus"  /* COMPAT: SIGPWR 
reason (OK/BAD) */
- 
+ #define RUNLEVEL_LOG    "/var/run/runlevel"     /* neutral place to store run 
level */
diff --git a/sysvinit-quiet.patch b/sysvinit-quiet.patch
index e5bd058..7ac52c8 100644
--- a/sysvinit-quiet.patch
+++ b/sysvinit-quiet.patch
@@ -1,14 +1,15 @@
---- sysvinit-2.86/src/init.c.silence   2006-08-08 20:50:37.000000000 -0400
-+++ sysvinit-2.86/src/init.c   2006-08-08 20:54:24.000000000 -0400
-@@ -117,6 +117,7 @@
+diff -urNp -x '*.orig' sysvinit-2.99.org/src/init.c sysvinit-2.99/src/init.c
+--- sysvinit-2.99.org/src/init.c       2021-02-25 08:11:43.504364931 +0100
++++ sysvinit-2.99/src/init.c   2021-02-25 08:11:43.584367421 +0100
+@@ -153,6 +153,7 @@ struct utmp utproto;               /* Only used for s
  char *console_dev;            /* Console device. */
- int pipe_fd = -1;             /* /dev/initctl */
+ int pipe_fd = -1;             /* /run/initctl */
  int did_boot = 0;             /* Did we already do BOOT* stuff? */
 +int quiet = 0;                        /* Should we be relatively silent? */
  int main(int, char **);
  
  /*    Used by re-exec part */
-@@ -1673,7 +1674,7 @@
+@@ -2069,7 +2070,7 @@ int read_level(int arg)
                        initlog(L_SY, "Trying to re-exec init");
                        return 'U';
                default:
@@ -16,8 +17,8 @@
 +                      if (!quiet) initlog(L_VB, "Switching to runlevel: %c", 
foo);
        }
  
-       if (foo == 'Q') return runlevel;
-@@ -2425,7 +2426,7 @@
+       if (foo == 'Q') {
+@@ -2893,7 +2894,7 @@ void init_main(void)
        /*
         *      Say hello to the world
         */
@@ -26,7 +27,7 @@
  
        /*
         *      See if we have to start an emergency shell.
-@@ -2657,6 +2658,8 @@
+@@ -3162,6 +3163,8 @@ int main(int argc, char **argv)
                else if (!strcmp(argv[f], "-z")) {
                        /* Ignore -z xxx */
                        if (argv[f + 1]) f++;
diff --git a/sysvinit-rebootconfirmation.patch 
b/sysvinit-rebootconfirmation.patch
index 908afd3..73523c3 100644
--- a/sysvinit-rebootconfirmation.patch
+++ b/sysvinit-rebootconfirmation.patch
@@ -1,6 +1,7 @@
---- src/halt.c-dupa    2008-08-20 14:45:39.019976250 +0200
-+++ src/halt.c 2008-08-20 14:49:35.418750250 +0200
-@@ -64,7 +64,7 @@
+diff -urNp -x '*.orig' src/halt.c src/halt.c
+--- src/halt.c 2021-02-25 08:12:01.388254734 +0100
++++ src/halt.c 2021-02-25 08:12:01.484924408 +0100
+@@ -75,7 +75,7 @@ extern void write_wtmp(char *user, char
   */
  void usage(void)
  {
@@ -9,7 +10,7 @@
                progname, strcmp(progname, "halt") ? "" : " [-p]");
        fprintf(stderr, "\t-n: don't sync before halting the system\n");
        fprintf(stderr, "\t-w: only write a wtmp reboot record and exit.\n");
-@@ -72,6 +72,7 @@
+@@ -83,6 +83,7 @@ void usage(void)
        fprintf(stderr, "\t-f: force halt/reboot, don't call shutdown.\n");
        fprintf(stderr, "\t-h: put harddisks in standby mode.\n");
        fprintf(stderr, "\t-i: shut down all network interfaces.\n");
@@ -17,7 +18,7 @@
        if (!strcmp(progname, "halt"))
                fprintf(stderr, "\t-p: power down the system (if possible, 
otherwise halt).\n");
        exit(1);
-@@ -172,8 +173,10 @@
+@@ -193,8 +194,10 @@ int main(int argc, char **argv)
        int do_ifdown = 0;
        int do_hddown = 0;
        int do_poweroff = 0;
@@ -28,7 +29,7 @@
  
        /*
         *      Find out who we are
-@@ -190,7 +193,7 @@
+@@ -212,7 +215,7 @@ int main(int argc, char **argv)
        /*
         *      Get flags
         */
@@ -37,7 +38,7 @@
                switch(c) {
                        case 'n':
                                do_sync = 0;
-@@ -214,6 +217,9 @@
+@@ -236,6 +239,9 @@ int main(int argc, char **argv)
                        case 'p':
                                do_poweroff = 1;
                                break;
@@ -47,8 +48,8 @@
                        case 't':
                                tm = optarg;
                                break;
-@@ -231,6 +237,11 @@
-       (void)chdir("/");
+@@ -256,6 +262,11 @@ int main(int argc, char **argv)
+       }
  
        if (!do_hard && !do_nothing) {
 +              if (do_confirm) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/SysVinit.git/commitdiff/94cdd86302687935b0d5c7caf476d13b77c13554

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to