- dropped some outdated patches, few patches updated

This commit is contained in:
Peter Schiffer 2013-01-16 16:33:39 +01:00
parent 0446eb0439
commit b8accc49b7
7 changed files with 52 additions and 174 deletions

View File

@ -1,12 +0,0 @@
diff -ur man-pages-3.42.orig/man8/nscd.8 man-pages-3.42/man8/nscd.8
--- man-pages-3.42.orig/man8/nscd.8 2012-08-14 00:39:40.000000000 +0200
+++ man-pages-3.42/man8/nscd.8 2012-09-13 18:27:57.579018903 +0200
@@ -53,6 +53,8 @@
Note that the shadow file is specifically not cached.
.BR getspnam (3)
calls remain uncached as a result.
+As a result of this behavior it is not possible to change non-nscd user
+to another non-nscd user via su service when nscd is running.
.SH OPTIONS
.TP
.B "\-\-help"

View File

@ -1,15 +0,0 @@
diff -ur man-pages-3.42.orig/man5/nsswitch.conf.5 man-pages-3.42/man5/nsswitch.conf.5
--- man-pages-3.42.orig/man5/nsswitch.conf.5 2012-08-14 00:39:40.000000000 +0200
+++ man-pages-3.42/man5/nsswitch.conf.5 2012-09-13 18:22:52.679702505 +0200
@@ -45,6 +45,11 @@
Mail aliases, used by
.BR getaliasent (3)
and related functions.
+It provides a system-wide mechanism to redirect mail for local
+recipients. Used by mail transfer agents such as Postfix or
+.BR sendmail (8).
+Note: On Linux, not like on other Unices, Sendmail uses its own aliases
+resolution system independent on `/etc/nsswitch.conf'.
.TP
.B ethers
Ethernet numbers.

View File

@ -1,15 +0,0 @@
diff -up man-pages-3.35/man3/printf.3.tmp man-pages-3.35/man3/printf.3
--- man-pages-3.35/man3/printf.3.tmp 2011-10-04 08:34:44.000000000 +0200
+++ man-pages-3.35/man3/printf.3 2011-11-11 13:58:11.299687241 +0100
@@ -107,6 +107,11 @@ write at most
.I size
bytes (including the terminating null byte (\(aq\e0\(aq)) to
.IR str .
+The terminating null byte is added to
+.IR str ,
+unless
+.IR size
+is zero.
.PP
The functions
.BR vprintf (),

View File

@ -1,15 +0,0 @@
diff -ur man-pages-3.42.orig/man2/getdents.2 man-pages-3.42/man2/getdents.2
--- man-pages-3.42.orig/man2/getdents.2 2012-08-14 00:39:36.000000000 +0200
+++ man-pages-3.42/man2/getdents.2 2012-09-13 15:27:45.241212934 +0200
@@ -187,6 +187,11 @@
fields employed in the
.IR linux_dirent
structure.
+
+Warning: Result of the
+.BR getdents ()
+system call in 32 bit application on 64 bit OS doesn't have to be
+always correct, potentially the call itself can fail.
.SH EXAMPLE
.\" FIXME: This program uses the older getdents(0 system call
.\" and the structure with smaller field widths.

View File

@ -1,7 +1,7 @@
diff -ur man-pages-3.42.orig/man5/nscd.conf.5 man-pages-3.42/man5/nscd.conf.5 diff -ur man-pages-3.45.orig/man5/nscd.conf.5 man-pages-3.45/man5/nscd.conf.5
--- man-pages-3.42.orig/man5/nscd.conf.5 2012-08-14 00:39:40.000000000 +0200 --- man-pages-3.45.orig/man5/nscd.conf.5 2012-12-20 18:17:28.000000000 +0100
+++ man-pages-3.42/man5/nscd.conf.5 2012-09-10 15:38:22.700012862 +0200 +++ man-pages-3.45/man5/nscd.conf.5 2013-01-14 20:21:50.135787846 +0100
@@ -34,48 +34,91 @@ @@ -34,7 +34,8 @@
comment; following characters, up to the end of the line, comment; following characters, up to the end of the line,
are not interpreted by nscd. are not interpreted by nscd.
@ -10,53 +10,42 @@ diff -ur man-pages-3.42.orig/man5/nscd.conf.5 man-pages-3.42/man5/nscd.conf.5
+or \fInetgroup\fP. +or \fInetgroup\fP.
.B logfile .B logfile
-.I debug-file-name .I debug-file-name
+.I <file> @@ -46,6 +47,7 @@
.RS .I value
Specifies name of the file to which debug info should be written.
.RE
.B debug-level
-.I value
+.I <level>
.RS .RS
Sets the desired debug level. Sets the desired debug level.
+The default is 0. +The default is 0.
.RE .RE
.B threads .B threads
-.I number @@ -56,6 +58,13 @@
+.I <number>
.RS
This is the number of threads that are started to wait for
requests.
At least five threads will always be created. At least five threads will always be created.
.RE .RE
+.B max-threads +.B max-threads
+.I <number> +.I number
+.RS +.RS
+Specifies the maximum number of threads. The default is 32. +Specifies the maximum number of threads.
+The default is 32.
+.RE +.RE
+ +
.B server-user .B server-user
-.I user .I user
+.I <user>
.RS .RS
If this option is set, nscd will run as this user and not as root. @@ -64,6 +73,40 @@
If a separate cache for every user is used (\-S parameter), this
option is ignored. option is ignored.
.RE .RE
+.B stat-user +.B stat-user
+.I <user> +.I user
+.RS +.RS
+Specifies the user who is allowed to request statistics. +Specifies the user who is allowed to request statistics.
+.RE +.RE
+ +
+.B reload-count +.B reload-count
+unlimited | +unlimited |
+.I <number> +.I number
+.RS +.RS
+Limit on the number of times a cached entry gets reloaded without being used +Limit on the number of times a cached entry gets reloaded without being used
+before it gets removed. +before it gets removed.
@ -71,7 +60,7 @@ diff -ur man-pages-3.42.orig/man5/nscd.conf.5 man-pages-3.42/man5/nscd.conf.5
+.RE +.RE
+ +
+.B restart-interval +.B restart-interval
+.I <time> +.I time
+.RS +.RS
+Sets the restart interval to +Sets the restart interval to
+.I time +.I time
@ -83,10 +72,9 @@ diff -ur man-pages-3.42.orig/man5/nscd.conf.5 man-pages-3.42/man5/nscd.conf.5
+.RE +.RE
+ +
.B enable-cache .B enable-cache
-.I service .I service
+.I <service>
.I <yes|no> .I <yes|no>
.RS @@ -71,6 +114,7 @@
Enables or disables the specified Enables or disables the specified
.I service .I service
cache. cache.
@ -94,33 +82,7 @@ diff -ur man-pages-3.42.orig/man5/nscd.conf.5 man-pages-3.42/man5/nscd.conf.5
.RE .RE
.B positive-time-to-live .B positive-time-to-live
-.I service @@ -108,6 +152,7 @@
-.I value
+.I <service>
+.I <value>
.RS
Sets the TTL (time-to-live) for positive entries (successful queries)
in the specified cache for
@@ -87,8 +130,8 @@
.RE
.B negative-time-to-live
-.I service
-.I value
+.I <service>
+.I <value>
.RS
Sets the TTL (time-to-live) for negative entries (unsuccessful queries)
in the specified cache for
@@ -102,16 +145,17 @@
.RE
.B suggested-size
-.I service
-.I value
+.I <service>
+.I <value>
.RS
This is the internal hash table size, This is the internal hash table size,
.I value .I value
should remain a prime number for optimum efficiency. should remain a prime number for optimum efficiency.
@ -128,16 +90,12 @@ diff -ur man-pages-3.42.orig/man5/nscd.conf.5 man-pages-3.42/man5/nscd.conf.5
.RE .RE
.B check-files .B check-files
-.I service @@ -120,46 +165,11 @@
+.I <service>
.I <yes|no>
.RS
Enables or disables checking the file belonging to the specified
@@ -120,50 +164,14 @@
The files are The files are
.IR /etc/passwd , .IR /etc/passwd ,
.IR /etc/group , .IR /etc/group ,
+.IR /etc/hosts +.IR /etc/hosts ,
+.I /etc/services
and and
-.IR /etc/hosts . -.IR /etc/hosts .
-.RE -.RE
@ -178,17 +136,12 @@ diff -ur man-pages-3.42.orig/man5/nscd.conf.5 man-pages-3.42/man5/nscd.conf.5
-if periodic restart is enabled by enabling -if periodic restart is enabled by enabling
-.B paranoia -.B paranoia
-mode. -mode.
+.IR /etc/services . +.IR /etc/netgroup .
+The default is yes. +The default is yes.
.RE .RE
.B persistent .B persistent
-.I service @@ -171,6 +181,7 @@
+.I <service>
.I <yes|no>
.RS
Keep the content of the cache for
@@ -171,10 +179,11 @@
over server restarts; useful when over server restarts; useful when
.B paranoia .B paranoia
mode is set. mode is set.
@ -196,29 +149,24 @@ diff -ur man-pages-3.42.orig/man5/nscd.conf.5 man-pages-3.42/man5/nscd.conf.5
.RE .RE
.B shared .B shared
-.I service @@ -182,7 +193,32 @@
+.I <service>
.I <yes|no>
.RS
The memory mapping of the nscd databases for
@@ -182,7 +191,32 @@
is shared with the clients so is shared with the clients so
that they can directly search in them instead of having to ask the that they can directly search in them instead of having to ask the
daemon over the socket each time a lookup is performed. daemon over the socket each time a lookup is performed.
+The default is no. +The default is no.
+.RE .RE
+ +
+.B max-db-size +.B max-db-size
+.I <service> +.I service
+.I <bytes> +.I bytes
+.RS +.RS
+The maximum allowable size of the database files in bytes for the +The maximum allowable size of the database files in bytes for the
+.IR service . +.IR service .
+The default is 33554432. +The default is 33554432.
.RE +.RE
+ +
+.B auto-propagate +.B auto-propagate
+.I <service> +.I service
+.I <yes|no> +.I <yes|no>
+.RS +.RS
+When set to +When set to

View File

@ -18,11 +18,6 @@ diff -urN man-pages-3.42.orig/man2/isastream.2 man-pages-3.42/man2/isastream.2
+++ man-pages-3.42/man2/isastream.2 2012-09-13 12:13:57.816572775 +0200 +++ man-pages-3.42/man2/isastream.2 2012-09-13 12:13:57.816572775 +0200
@@ -0,0 +1 @@ @@ -0,0 +1 @@
+.so man2/unimplemented.2 +.so man2/unimplemented.2
diff -urN man-pages-3.42.orig/man2/multiplexer.2 man-pages-3.42/man2/multiplexer.2
--- man-pages-3.42.orig/man2/multiplexer.2 1970-01-01 01:00:00.000000000 +0100
+++ man-pages-3.42/man2/multiplexer.2 2012-09-13 12:13:57.818572735 +0200
@@ -0,0 +1 @@
+.so man2/unimplemented.2
diff -urN man-pages-3.42.orig/man2/putmsg.2 man-pages-3.42/man2/putmsg.2 diff -urN man-pages-3.42.orig/man2/putmsg.2 man-pages-3.42/man2/putmsg.2
--- man-pages-3.42.orig/man2/putmsg.2 1970-01-01 01:00:00.000000000 +0100 --- man-pages-3.42.orig/man2/putmsg.2 1970-01-01 01:00:00.000000000 +0100
+++ man-pages-3.42/man2/putmsg.2 2012-09-13 12:13:57.819572719 +0200 +++ man-pages-3.42/man2/putmsg.2 2012-09-13 12:13:57.819572719 +0200
@ -38,7 +33,7 @@ diff -urN man-pages-3.42.orig/man2/unimplemented.2 man-pages-3.42/man2/unimpleme
-afs_syscall, break, ftime, getpmsg, gtty, lock, madvise1, mpx, prof, profil, -afs_syscall, break, ftime, getpmsg, gtty, lock, madvise1, mpx, prof, profil,
-putpmsg, security, stty, tuxcall, ulimit, vserver \- unimplemented system calls -putpmsg, security, stty, tuxcall, ulimit, vserver \- unimplemented system calls
+afs_syscall, break, fattach, fdetach, ftime, getmsg, getpmsg, gtty, isastream, +afs_syscall, break, fattach, fdetach, ftime, getmsg, getpmsg, gtty, isastream,
+lock, madvise1, mpx, multiplexer, prof, profil, putmsg, putpmsg, security, +lock, madvise1, mpx, prof, profil, putmsg, putpmsg, security,
+stty, tuxcall, ulimit, vserver \- unimplemented system calls +stty, tuxcall, ulimit, vserver \- unimplemented system calls
.SH SYNOPSIS .SH SYNOPSIS
Unimplemented system calls. Unimplemented system calls.

View File

@ -7,7 +7,7 @@
Summary: Man (manual) pages from the Linux Documentation Project Summary: Man (manual) pages from the Linux Documentation Project
Name: man-pages Name: man-pages
Version: 3.45 Version: 3.45
Release: 1%{?dist} Release: 2%{?dist}
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
Group: Documentation Group: Documentation
URL: http://www.kernel.org/doc/man-pages/ URL: http://www.kernel.org/doc/man-pages/
@ -27,49 +27,42 @@ Patch02: man-pages-posix-2003-printf.patch
Patch03: man-pages-posix-2003-readlink3p.patch Patch03: man-pages-posix-2003-readlink3p.patch
# Declined by upstream # Declined by upstream
# resolves #436407, #656245 + multiplexer.2 # resolves #436407, #656245
Patch20: man-pages-3.42-unimplemented.patch Patch20: man-pages-3.42-unimplemented.patch
# Were not / Waiting to be upstreamed # Were not / Waiting to be upstreamed
Patch40: man-pages-2.46-nscd.patch
# resolves: #522761
Patch41: man-pages-3.22-nsswitch.conf.patch
# resolves: #532629 # resolves: #532629
Patch42: man-pages-3.23-ld.so.patch Patch40: man-pages-3.23-ld.so.patch
# resolves: #698149 # resolves: #698149
Patch43: man-pages-3.32-host.patch Patch41: man-pages-3.32-host.patch
# resolves: #652870 # resolves: #652870
Patch44: man-pages-3.32-strtol.patch Patch42: man-pages-3.32-strtol.patch
# resolves: #681781
Patch45: man-pages-3.35-printf.patch
# resolves: #566303, #835679, #840805 # resolves: #566303, #835679, #840805
Patch46: man-pages-3.42-nscd-conf.patch Patch43: man-pages-3.42-nscd-conf.patch
# resolves: #837090 # resolves: #837090
Patch47: man-pages-3.42-inet.patch Patch44: man-pages-3.42-inet.patch
# resolves: #751429, #786684 # resolves: #751429, #786684
Patch48: man-pages-3.42-nsswitch-conf.patch Patch45: man-pages-3.42-nsswitch-conf.patch
# resolves: #717770 # resolves: #717770
Patch49: man-pages-3.42-resolv-conf.patch Patch46: man-pages-3.42-resolv-conf.patch
# resolves: #800256 # resolves: #800256
Patch50: man-pages-3.42-shmop.patch Patch47: man-pages-3.42-shmop.patch
# resolves: #804003 # resolves: #804003
Patch51: man-pages-3.42-ip.patch Patch48: man-pages-3.42-ip.patch
# resolves: #787567 # resolves: #787567
Patch52: man-pages-3.42-ip-local-port.patch Patch49: man-pages-3.42-ip-local-port.patch
# resolves: #809490
Patch53: man-pages-3.42-getdents.patch
# resolves: #650985 # resolves: #650985
Patch54: man-pages-3.42-close.patch Patch50: man-pages-3.42-close.patch
# resolves: #497197 # resolves: #497197
Patch55: man-pages-3.42-proc-file-nr.patch Patch51: man-pages-3.42-proc-file-nr.patch
# resolves: #517309 # resolves: #517309
Patch56: man-pages-3.42-zdump.patch Patch52: man-pages-3.42-zdump.patch
# resolves: #392431 # resolves: #392431
Patch57: man-pages-3.42-connect.patch Patch53: man-pages-3.42-connect.patch
# resolves: #202092 # resolves: #202092
Patch58: man-pages-3.42-sysconf.patch Patch54: man-pages-3.42-sysconf.patch
# resolves: #771540 # resolves: #771540
Patch59: man-pages-3.43-tcp-congestion.patch Patch55: man-pages-3.43-tcp-congestion.patch
Autoreq: false Autoreq: false
@ -107,10 +100,6 @@ Documentation Project (LDP).
%patch53 -p1 %patch53 -p1
%patch54 -p1 %patch54 -p1
%patch55 -p1 %patch55 -p1
%patch56 -p1
%patch57 -p1
%patch58 -p1
%patch59 -p1
## Remove man pages we are not going to use ## ## Remove man pages we are not going to use ##
@ -173,6 +162,9 @@ cd ..
%lang(en) %{_mandir}/en/man*/* %lang(en) %{_mandir}/en/man*/*
%changelog %changelog
* Wed Jan 16 2013 Peter Schiffer <pschiffe@redhat.com> - 3.45-2
- dropped some outdated patches, few patches updated
* Fri Dec 21 2012 Peter Schiffer <pschiffe@redhat.com> - 3.45-1 * Fri Dec 21 2012 Peter Schiffer <pschiffe@redhat.com> - 3.45-1
- resolves: #889446 - resolves: #889446
updated to 3.45 updated to 3.45