Author: arekm                        Date: Sun Dec  4 18:25:41 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.88

---- Files affected:
packages/upstart-SysVinit:
   sysvinit-alt-fixes.patch (1.3 -> 1.4) , sysvinit-killall5.patch (1.2 -> 1.3) 
, sysvinit-lastlog.patch (1.1 -> 1.2) , sysvinit-man.patch (1.6 -> 1.7) , 
sysvinit-paths.patch (1.9 -> 1.10) , sysvinit-pidof.patch (1.2 -> 1.3) , 
sysvinit-wtmp.patch (1.1 -> 1.2) , upstart-SysVinit.spec (1.23 -> 1.24) , 
sysvinit-blowfish.patch (1.1 -> NONE)  (REMOVED), 
sysvinit-killall5_no_kill_init.patch (1.1 -> NONE)  (REMOVED), 
sysvinit-md5-bigendian.patch (1.1 -> NONE)  (REMOVED), sysvinit-selinux.patch 
(1.11 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/upstart-SysVinit/sysvinit-alt-fixes.patch
diff -u packages/upstart-SysVinit/sysvinit-alt-fixes.patch:1.3 
packages/upstart-SysVinit/sysvinit-alt-fixes.patch:1.4
--- packages/upstart-SysVinit/sysvinit-alt-fixes.patch:1.3      Tue Nov 13 
11:07:26 2007
+++ packages/upstart-SysVinit/sysvinit-alt-fixes.patch  Sun Dec  4 19:25:35 2011
@@ -1,29 +1,15 @@
-diff -upk.orig sysvinit-2.86.orig/src/bootlogd.c sysvinit-2.86/src/bootlogd.c
---- sysvinit-2.86.orig/src/bootlogd.c  2007-01-06 14:37:36 +0000
-+++ sysvinit-2.86/src/bootlogd.c       2007-01-06 14:38:09 +0000
-@@ -232,6 +232,9 @@ int consolename(char *res, int rlen)
- #ifdef TIOCGDEV
-       if (ioctl(0, TIOCGDEV, &kdev) == 0)
-               return findtty(res, rlen, (dev_t)kdev);
-+#ifndef ENOIOCTLCMD
-+#define ENOIOCTLCMD 515
-+#endif
-       if (errno != ENOIOCTLCMD) return -1;
- #endif
- 
-diff -upk.orig sysvinit-2.86.orig/src/init.c sysvinit-2.86/src/init.c
---- sysvinit-2.86.orig/src/init.c      2007-01-06 14:37:36 +0000
-+++ sysvinit-2.86/src/init.c   2007-01-06 14:38:09 +0000
-@@ -785,7 +785,7 @@ char **init_buildenv(int child)
-       for (n = 0; environ[n]; n++)
-               ;
-       n += NR_EXTRA_ENV + 8;
+--- sysvinit-2.88dsf/src/init.c.wiget  2011-12-03 23:39:16.988206898 +0100
++++ sysvinit-2.88dsf/src/init.c        2011-12-03 23:47:53.761427001 +0100
+@@ -880,7 +880,7 @@ char **init_buildenv(int child)
+       n += NR_EXTRA_ENV;
+       if (child)
+               n += 8;
 -      e = calloc(n, sizeof(char *));
 +      e = imalloc(n * sizeof(char *));
  
        for (n = 0; environ[n]; n++)
                e[n] = istrdup(environ[n]);
-@@ -814,6 +814,9 @@ void init_freeenv(char **e)
+@@ -911,6 +911,9 @@ void init_freeenv(char **e)
  {
        int             n;
  
@@ -33,7 +19,7 @@
        for (n = 0; e[n]; n++)
                free(e[n]);
        free(e);
-@@ -1834,7 +1837,7 @@ void re_exec(void)
+@@ -1976,7 +1979,7 @@ void re_exec(void)
        CHILD           *ch;
        sigset_t        mask, oldset;
        pid_t           pid;
@@ -42,15 +28,12 @@
        int             fd;
  
        if (strchr("S0123456",runlevel) == NULL)
-@@ -1885,11 +1885,13 @@
-               exit(0);
-       }
- 
--      /*
--       *      The existing init process execs a new init binary.
--       */
+@@ -2027,8 +2030,13 @@ void re_exec(void)
+       /*
+        *      The existing init process execs a new init binary.
+        */
 -      env = init_buildenv(0);
--      execl(myname, myname, "--init", NULL, env);
+-      execle(myname, myname, "--init", NULL, env);
 +      if (pid > 0) {
 +              /*
 +               *      The existing init process execs a new init binary.
@@ -61,7 +44,7 @@
  
        /*
         *      We shouldn't be here, something failed. 
-@@ -2557,7 +2562,7 @@ int telinit(const char *progname, int ar
+@@ -2729,7 +2737,7 @@ int telinit(char *progname, int argc, ch
                if (!strchr("0123456789SsQqAaBbCcUu", argv[optind][0]))
                        usage(progname);
                request.cmd = INIT_CMD_RUNLVL;

================================================================
Index: packages/upstart-SysVinit/sysvinit-killall5.patch
diff -u packages/upstart-SysVinit/sysvinit-killall5.patch:1.2 
packages/upstart-SysVinit/sysvinit-killall5.patch:1.3
--- packages/upstart-SysVinit/sysvinit-killall5.patch:1.2       Mon Dec 27 
00:21:51 2004
+++ packages/upstart-SysVinit/sysvinit-killall5.patch   Sun Dec  4 19:25:35 2011
@@ -1,36 +1,40 @@
---- sysvinit-2.86/src/killall5.c.orig  2004-12-26 23:07:15.505343096 +0100
-+++ sysvinit-2.86/src/killall5.c       2004-12-26 23:20:43.017582576 +0100
-@@ -193,6 +193,7 @@
-               if (p->argv0) free(p->argv0);
+diff -u sysvinit-2.88dsf/src/killall5.c sysvinit-2.88dsf/src/killall5.c
+--- sysvinit-2.88dsf/src/killall5.c    2011-12-03 23:12:52.373139250 +0100
++++ sysvinit-2.88dsf/src/killall5.c    2011-12-03 23:19:21.498025134 +0100
+@@ -479,6 +479,7 @@
                if (p->argv1) free(p->argv1);
+               if (p->statname) free(p->statname);
                if (p->pathname) free(p->pathname);
 +              if (p->statname) free(p->statname);
                free(p);
        }
        plist = NULL;
-@@ -210,7 +211,7 @@
+@@ -496,7 +497,7 @@
                /* Open the status file. */
-               snprintf(path, sizeof(path), "/proc/%s/stat", d->d_name);
+               snprintf(path, sizeof(path), "%s/stat", d->d_name);
  
 -              /* Read SID & statname from it. */
 +              /* Read statname from it. */
-               if ((fp = fopen(path, "r")) != NULL) {
+               if ((fp = fopen(path, "r")) != NULL) {
                        buf[0] = 0;
                        fgets(buf, sizeof(buf), fp);
-@@ -223,11 +224,11 @@
+@@ -509,7 +510,6 @@
                                /* Read program name. */
                                q = strrchr(buf, ')');
                                if (q == NULL) {
 -                                      p->sid = 0;
                                        nsyslog(LOG_ERR,
-                                       "can't get program name from %s\n",
+                                       "can't get program name from 
/proc/%s\n",
                                                path);
+@@ -517,6 +517,7 @@
+                                       if (p->argv1) free(p->argv1);
+                                       if (p->statname) free(p->statname);
                                        free(p);
 +                                      fclose(fp);
                                        continue;
                                }
                                s++;
-@@ -242,20 +243,23 @@
+@@ -531,23 +532,26 @@
  
                        /* Get session, startcode, endcode. */
                        startcode = endcode = 0;
@@ -52,6 +56,9 @@
 -                                      path);
 +                              nsyslog(LOG_ERR, "can't read sid for pid %d\n", 
pid);
 +                              free(p->statname);
+                               if (p->argv0) free(p->argv0);
+                               if (p->argv1) free(p->argv1);
+                               if (p->statname) free(p->statname);
                                free(p);
                                continue;
                        }
@@ -60,4 +67,4 @@
 -                      fclose(fp);
                } else {
                        /* Process disappeared.. */
-                       free(p);
+                       if (p->argv0) free(p->argv0);

================================================================
Index: packages/upstart-SysVinit/sysvinit-lastlog.patch
diff -u packages/upstart-SysVinit/sysvinit-lastlog.patch:1.1 
packages/upstart-SysVinit/sysvinit-lastlog.patch:1.2
--- packages/upstart-SysVinit/sysvinit-lastlog.patch:1.1        Wed Aug 22 
17:06:53 2007
+++ packages/upstart-SysVinit/sysvinit-lastlog.patch    Sun Dec  4 19:25:35 2011
@@ -1,120 +1,320 @@
-diff -urN sysvinit-2.86/man/intl/cs/man8/lastlog.8 
sysvinit-2.86-lastlog/man/intl/cs/man8/lastlog.8
---- sysvinit-2.86/man/intl/cs/man8/lastlog.8   1970-01-01 01:00:00.000000000 
+0100
-+++ sysvinit-2.86-lastlog/man/intl/cs/man8/lastlog.8   2006-08-03 
12:00:56.000000000 +0200
-@@ -0,0 +1,40 @@
-+.\"   @(#)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
-+.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
-+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 PŘELOŽIL
-+Ondřej Pavlíček ([email protected]).
-diff -urN sysvinit-2.86/man/intl/fr/man8/lastlog.8 
sysvinit-2.86-lastlog/man/intl/fr/man8/lastlog.8
---- sysvinit-2.86/man/intl/fr/man8/lastlog.8   1970-01-01 01:00:00.000000000 
+0100
-+++ sysvinit-2.86-lastlog/man/intl/fr/man8/lastlog.8   2006-08-03 
12:00:56.000000000 +0200
-@@ -0,0 +1,66 @@
+--- 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
+@@ -15,13 +15,13 @@ STATIC     =
+ 
+ # For some known distributions we do not build all programs, otherwise we do.
+ BIN   =
+-SBIN  = init halt shutdown runlevel killall5 fstab-decode
++SBIN  = init halt shutdown runlevel killall5 fstab-decode lastlog
+ USRBIN        = last mesg
+ 
+ MAN1  = last.1 lastb.1 mesg.1
+ MAN5  = initscript.5 inittab.5
+ MAN8  = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8
+-MAN8  += shutdown.8 telinit.8 fstab-decode.8
++MAN8  += shutdown.8 telinit.8 fstab-decode.8 lastlog.8
+ 
+ ifeq ($(DISTRO),)
+ BIN   += mountpoint
+@@ -96,6 +96,9 @@ halt:                halt.o ifdown.o hddown.o utmp.o r
+ 
+ last:         last.o oldutmp.h
+ 
++lastlog:      lastlog.o
++              $(CC) $(LDFLAGS) -o $@ lastlog.o
++
+ mesg:         mesg.o
+ 
+ mountpoint:   mountpoint.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: 30/07/2006
-+.\"    Manual: Commandes de gestion du système
-+.\"    Source: Commandes de gestion du système
++.\"      Date: 06/24/2006
++.\"    Manual: Команды управления системой
++.\"    Source: Команды управления системой
 +.\"
-+.TH "LASTLOG" "8" "30/07/2006" "Commandes de gestion du systèm" "Commandes de 
gestion du systèm"
++.TH "lastlog" "8" "06/24/2006" "Команды управления системой" "Команды 
управления системой"
 +.\" disable hyphenation
 +.nh
 +.\" disable justification (adjust text to left margin only)
 +.ad l
-+.SH "NOM"
-+lastlog \- signaler les connexions les plus récentes de tous les utilisateurs 
ou d'un utilisateur donné
-+.SH "SYNOPSIS"
++.SH "НАЗВАНИЕ"
++lastlog \- выводит отчёт о последней регистрации в системе всех или 
указанного пользователя
++.SH "СИНТАКСИС"
 +.HP 8
-+\fBlastlog\fR [\fIoptions\fR]
-+.SH "DESCRIPTION"
++\fBlastlog\fR [\fIпараметры\fR]
++.SH "ОПИСАНИЕ"
 +.PP
-+\fBLastlog\fR
-+affiche le contenu du journal des dernières connexions 
(\fI/var/log/lastlog\fR). Les champs
-+\fIUtilisateur\fR,
-+\fIPort\fR, date de
-+\fIDernière\fR
-+connexion sont affichés. Par défaut (aucune option de spécifiée), les entrées 
de laslog sont affichées triées par ordre d'apparition dans
++Программа
++\fBlastlog\fR
++упорядочивает и выводит содержимое файла
++\fI/var/log/lastlog\fR, который содержит даты последнего входа пользователей 
систему. Выводятся
++\fIимя пользователя\fR,
++\fIпорт\fR
++и
++\fIдата последнего входа в систему\fR. По умолчанию (вызов без параметров) 
показываются записи файла lastlog, отсортированные согласно расположению 
пользователей в файле
 +\fI/etc/passwd\fR.
-+.SH "OPTIONS"
++.SH "ПАРАМЕТРЫ"
 +.PP
-+Les options disponibles pour la commande
-+\fBlastlog\fR
-+sont\ :
++Параметры команды
++\fBlastlog\fR:
 +.TP 3n
-+\fB\-b\fR, \fB\-\-before\fR \fIJOURS\fR
-+N'affiche que les entrées du fichier lastlog plus anciennes que
-+\fIJOURS\fR.
++\fB\-b\fR, \fB\-\-before\fR\fIДНЕЙ\fR
++Показать записи lastlog за последние
++\fIДНЕЙ\fR.
 +.TP 3n
 +\fB\-h\fR, \fB\-\-help\fR
-+Afficher un message d'aide et quitter.
++Показать краткую справку и закончить работу.
 +.TP 3n
-+\fB\-t\fR, \fB\-\-time\fR \fIJOURS\fR
-+Affiche les entrées du fichier lastlog plus récentes que
-+\fIJOURS\fR.
++\fB\-t\fR, \fB\-\-time\fR\fIДНЕЙ\fR
++Показать записи lastlog новее чем
++\fIДНЕЙ\fR.
 +.TP 3n
-+\fB\-u\fR, \fB\-\-user\fR \fIIDENTIFIANT\fR
-+N'affiche que les entrées correspondant à l'utilisateur
-+\fIIDENTIFIANT\fR.
++\fB\-u\fR, \fB\-\-user\fR\fIИМЯ\fR
++Показать запись lastlog только для указанного пользователя с emphasis 
remap="I">ИМЕНЕМ
 +.TP 3n
-+L'utilisation de l'option \fB\-t\fR supplante l'option \fB\-u\fR.
++Параметр \fB\-t\fR отменяет действие параметра \fB\-u\fR.
 +.PP
-+Dans le cas où l'utilisateur ne s'est jamais connecté, le message \(Fo\ 
\fI**Never logged in**\fR\ \(Fc (\(Fo\ \fI**Jamais connecté**\fR\ \(Fc) est 
affiché à la place des champs
-+\fIPort\fR
-+et date de
-+\fIDernière\fR
-+connexion.
-+.SH "NOTE"
++Если пользователь никогда не регистрировался в системе, то будет показано 
сообщение
++\fI** Никогда не входил в систему**\fR
++вместо названия порта и даты.
++.SH "ЗАМЕЧАНИЕ"
 +.PP
-+Le fichier
++Файл
 +\fIlastlog\fR
-+est une base de données qui contient des informations concernant la dernière 
connexion de chaque utilisateur. Vous n'avez pas à faire de rotation (avec 
rotate) sur ce fichier. C'est un fichier \(Fo\ creux\ \(Fc, donc sa taille sur 
le disque est bien plus petite que celle affichée par \(Fo\ \fBls \-l\fR\ \(Fc 
(qui peut indiquer un très gros fichier si vous avez des utilisateurs avec des 
UID élevés). Vous pouvez afficher sa taille réelle avec \(Fo\ \fBls \-s\fR\ 
\(Fc.
-+.SH "FICHIERS"
++содержит информацию о последней регистрации в системе каждого пользователя. 
Вы не должны применять к нему ротацию журнальных файлов. Этот файл является 
разреженным, поэтому его размер на диске гораздо меньше, чем показывает команда 
"\fBls \-l\fR" (которая может показывать, что это очень большой файл, если 
значения идентификаторов пользователей в системе достигают больших значений). 
Чтобы увидеть реальный размер введите "\fBls \-s\fR".
++.SH "ФАЙЛЫ"
 +.TP 3n
 +\fI/var/log/lastlog\fR
-+Base de données de l'heure des connexions précédentes des utilisateurs.
-+.SH "AVERTISSEMENTS"
++содержит список завершённых сеансов работы с системой
++.SH "ПРЕДОСТЕРЕЖЕНИЯ"
 +.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).
-diff -urN sysvinit-2.86/man/intl/hu/man8/lastlog.8 
sysvinit-2.86-lastlog/man/intl/hu/man8/lastlog.8
---- sysvinit-2.86/man/intl/hu/man8/lastlog.8   1970-01-01 01:00:00.000000000 
+0100
-+++ sysvinit-2.86-lastlog/man/intl/hu/man8/lastlog.8   2006-08-03 
12:00:56.000000000 +0200
++Большие промежутки в значениях идентификаторов пользователей приводят к тому, 
что программа некоторое время ничего не выводит на экран (то есть, если в базе 
данных 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.
@@ -184,9 +384,80 @@
 +.SH MAGYAR FORDÍTÁS
 +Hermann Benedek ([email protected])
 +
-diff -urN sysvinit-2.86/man/intl/it/man8/lastlog.8 
sysvinit-2.86-lastlog/man/intl/it/man8/lastlog.8
---- sysvinit-2.86/man/intl/it/man8/lastlog.8   1970-01-01 01:00:00.000000000 
+0100
-+++ sysvinit-2.86-lastlog/man/intl/it/man8/lastlog.8   2006-08-03 
12:00:56.000000000 +0200
+--- 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"
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/upstart-SysVinit/sysvinit-alt-fixes.patch?r1=1.3&r2=1.4&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/upstart-SysVinit/sysvinit-killall5.patch?r1=1.2&r2=1.3&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/upstart-SysVinit/sysvinit-lastlog.patch?r1=1.1&r2=1.2&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/upstart-SysVinit/sysvinit-man.patch?r1=1.6&r2=1.7&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/upstart-SysVinit/sysvinit-paths.patch?r1=1.9&r2=1.10&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/upstart-SysVinit/sysvinit-pidof.patch?r1=1.2&r2=1.3&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/upstart-SysVinit/sysvinit-wtmp.patch?r1=1.1&r2=1.2&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/upstart-SysVinit/upstart-SysVinit.spec?r1=1.23&r2=1.24&f=u

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

Reply via email to