- Resolves: #557971 remove unnecessary man-pages from man-pages_syscalls

and man-pages_add
This commit is contained in:
Ivana Varekova 2010-01-26 14:30:57 +00:00
parent ccec1a4ee4
commit d507cadbc8
5 changed files with 11 additions and 209 deletions

View File

@ -1,6 +1,6 @@
man-pages-extralocale.tar.bz2
man-suid-bins.tar.bz2
man-pages-posix-2003-a.tar.bz2
man-pages_add-01.tar.bz2
man-pages_syscalls-01.tar.bz2
man-pages_add-02.tar.bz2
man-pages-3.23.tar.bz2
man-pages_syscalls-03.tar.bz2

View File

@ -1,178 +0,0 @@
--- man-pages-2.43/man2/fadvise.2.pom 2007-02-27 11:08:29.000000000 +0100
+++ man-pages-2.43/man2/fadvise.2 2007-02-27 11:24:26.000000000 +0100
@@ -1,90 +1,85 @@
-.\" Copyright (C) 2004 IBM Corporation
-.\" This file is distributed according to the GNU General Public License.
-.\" See the file COPYING in the top level source directory for details.
-.\"
-
-.de Sh \" Subsection
-.br
-.if t .Sp
-.ne 5
-.PP
-\fB\\$1\fR
-.PP
-..
-.de Sp \" Vertical space (when we can't use .PP)
-.if t .sp .5v
-.if n .sp
-..
-.de Ip \" List item
-.br
-.ie \\n(.$>=3 .ne \\$3
-.el .ne 3
-.IP "\\$1" \\$2
-..
-.TH "FADVISE64,FADVISE64_64" 2 "2004-March-12" "Linux 2.6" "Linux Programmer's Guide"
-.SH NAME
-fadvise64,fadvise64_64 \- Give advice about file access
-.SH "SYNOPSIS"
-.ad l
-.hy 0
-.HP 44
-long\ \fBfadvise64_64\fR
-(int\ \fIfs\fR, loff_t\ \fIoffset\fR, loff_t\ \fIlen\fR, int\ \fIadvice\fR, int\ \fIfs\fR, loff_t\ \fIoffset\fR, loff_t\ \fIlen\fR, int\ \fIadvice\fR);
-.HP 19
-long\ \fBsys_fadvise64\fR\
-(int\ \fIfs\fR, loff_t\ \fIoffset\fR, loff_t\ \fIlen\fR, int\ \fIadvice\fR, int\ \fIfs\fR, loff_t\ \fIoffset\fR, loff_t\ \fIlen\fR, int\ \fIadvice\fR);
-.ad
-.hy
-
-.SH "DESCRIPTION"
-
-.PP
-Allows an application to to tell the kernel how it expects to use a file handle, so that the kernel can choose appropriate read-ahead and caching techniques for access to the corresponding file. This is similar to the POSIX version of the \fBmadvise\fR system call, but for file access instead of memory access. The sys_fadvise64() function is obsolete and corresponds to a broken glibc API, sys_fadvise64_64() is the fixed version.
-The following are the values for the \fIadvice\fR parameter:
-
-.TP
-FADV_NORMAL
-No special treatment.
-
-.TP
-FADV_RANDOM
-Expect page references in random order.
-
-.TP
-FADV_SEQUENTIAL
-Expect page references in sequential order.
-
-.TP
-FADV_WILLNEED
-Expect access in the near future.
-
-.TP
-FADV_DONTNEED
-Do not expect access in the near future. Subsequent access of pages in this range will succeed, but will result either in reloading of the memory contents from the underlying mapped file or zero-fill-in-demand pages for mappings without an underlying file.
-
-.TP
-FADV_NOREUSE
-Access data only once.
-
-.SH "RETURN VALUE"
-
-.PP
-\fBdelete_module\fR returns 0 on success; otherwise, it returns one of the errors listed in the "Errors" section.
-
-.SH "ERRORS"
-
-.TP
--EBADF
-An invalid file descriptor was specified. to modify the modules.
-
-.TP
--EINVAL
-An invalid \fIf_mapping\fR of \fIfile\fR, \fIlen\fR value smaller than 0 or \fIadvice\fR value unknown.
-
-.SH "SEE ALSO"
-.BR madvise(2)
-\fB\fR
-
-
-.SH AUTHOR
-Niki Rahimi
+.\" Copyright (C) 2004 IBM Corporation
+.\" This file is distributed according to the GNU General Public License.
+.\" See the file COPYING in the top level source directory for details.
+.\"
+
+.de Sh \" Subsection
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Ip \" List item
+.br
+.ie \\n(.$>=3 .ne \\$3
+.el .ne 3
+.IP "\\$1" \\$2
+..
+.TH "FADVISE64,FADVISE64_64" 2 "2004-March-12" "Linux 2.6" "Linux Programmer's Guide"
+.SH NAME
+fadvise64,fadvise64_64 \- Give advice about file access
+.SH "SYNOPSIS"
+.ad l
+.hy 0
+.HP 44
+long\ \fBfadvise64_64\fR
+(int\ \fIfs\fR, loff_t\ \fIoffset\fR, loff_t\ \fIlen\fR, int\ \fIadvice\fR, int\ \fIfs\fR, loff_t\ \fIoffset\fR, loff_t\ \fIlen\fR, int\ \fIadvice\fR);
+.HP 19
+long\ \fBsys_fadvise64\fR\
+(int\ \fIfs\fR, loff_t\ \fIoffset\fR, loff_t\ \fIlen\fR, int\ \fIadvice\fR, int\ \fIfs\fR, loff_t\ \fIoffset\fR, loff_t\ \fIlen\fR, int\ \fIadvice\fR);
+.ad
+.hy
+
+.SH "DESCRIPTION"
+
+.PP
+Allows an application to to tell the kernel how it expects to use a file handle, so that the kernel can choose appropriate read-ahead and caching techniques for access to the corresponding file. This is similar to the POSIX version of the \fBmadvise\fR system call, but for file access instead of memory access. The sys_fadvise64() function is obsolete and corresponds to a broken glibc API, sys_fadvise64_64() is the fixed version.
+The following are the values for the \fIadvice\fR parameter:
+
+.TP
+FADV_NORMAL
+No special treatment.
+
+.TP
+FADV_RANDOM
+Expect page references in random order.
+
+.TP
+FADV_SEQUENTIAL
+Expect page references in sequential order.
+
+.TP
+FADV_WILLNEED
+Expect access in the near future.
+
+.TP
+FADV_DONTNEED
+Do not expect access in the near future. Subsequent access of pages in this range will succeed, but will result either in reloading of the memory contents from the underlying mapped file or zero-fill-in-demand pages for mappings without an underlying file.
+
+.TP
+FADV_NOREUSE
+Access data only once.
+
+.SH "ERRORS"
+
+.TP
+-EBADF
+An invalid file descriptor was specified. to modify the modules.
+
+.TP
+-EINVAL
+An invalid \fIf_mapping\fR of \fIfile\fR, \fIlen\fR value smaller than 0 or \fIadvice\fR value unknown.
+
+.SH "SEE ALSO"
+.BR madvise(2)
+\fB\fR
+
+
+.SH AUTHOR
+Niki Rahimi

View File

@ -1,20 +0,0 @@
--- man-pages-2.43/man2/rt_sigprocmask.2.pom 2007-01-29 10:50:05.000000000 +0100
+++ man-pages-2.43/man2/rt_sigprocmask.2 2007-01-29 11:46:45.000000000 +0100
@@ -29,7 +29,7 @@
.ad l
.hy 0
.HP 25
-long\ \fBsys_rt_sigprocmask\fR\ (sigset_t\ \fI*set\fR, sigset_t\ \fI*oset\fR, size_t\ \fIsigsetsize\fR);
+long\ \fBsys_rt_sigprocmask\fR\ (int\ \fIhow\fR, sigset_t\ \fI*set\fR, sigset_t\ \fI*oset\fR, size_t\ \fIsigsetsize\fR);
.ad
.hy
@@ -60,7 +60,7 @@
.TP
-EINVAL
-\fIsigsetsize\fR was not equivalent to the size of a \fIsigset_t\fR type.
+\fIsigsetsize\fR was not equivalent to the size of a \fIsigset_t\fR type or the value specified in \fIhow\fR was invalid.
.TP
-EFAULT

View File

@ -4,7 +4,7 @@
Summary: Man (manual) pages from the Linux Documentation Project
Name: man-pages
Version: 3.23
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
Group: Documentation
URL: http://www.kernel.org/pub/linux/docs/manpages/
@ -12,16 +12,14 @@ URL: http://www.kernel.org/pub/linux/docs/manpages/
Source0: http://www.kernel.org/pub/linux/docs/manpages/man-pages-%{version}.tar.bz2
# POSIX man pages
Source1: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-%{posix_version}-%{posix_release}.tar.bz2
Source2: man-pages_add-01.tar.bz2
Source2: man-pages_add-02.tar.bz2
Source3: man-pages-extralocale.tar.bz2
Source4: man-pages_syscalls-01.tar.bz2
Source4: man-pages_syscalls-03.tar.bz2
# IBM-supplied man pages for suid binaries:
Source5: man-suid-bins.tar.bz2
Patch1: man-pages-1.51-iconv.patch
Patch28: man-pages-2.46-nscd.patch
Patch36: man-pages-2.63-unimplemented.patch
Patch41: man-pages-2.43-rt_spm.patch
Patch44: man-pages-2.43-fadvise.patch
Patch45: man-pages-2.48-passwd.patch
Patch46: man-pages-2.51-nscd-conf.patch
Patch49: man-pages-2.63-getent.patch
@ -52,8 +50,6 @@ rmdir man-pages-posix-%{posix_version}-%{posix_release}
%patch1 -p1
%patch28 -p1
%patch36 -p1
%patch41 -p1
%patch44 -p1
%patch45 -p1
%patch46 -p1
%patch49 -p1
@ -136,6 +132,10 @@ rm -rf $RPM_BUILD_ROOT
%lang(en) %{_mandir}/en/man*
%changelog
* Tue Jan 26 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.23-5
- Resolves: #557971
remove unnecessary man-pages from man-pages_syscalls and man-pages_add
* Thu Dec 3 2009 Ivana Hutarova Varekova <varekova@redhat.com> - 3.23-4
- fix typo in sched_setaffinity(2) patch

View File

@ -1,6 +1,6 @@
57f2e0500d177e05647990eae439a8ee man-pages-extralocale.tar.bz2
a9c6a14e5b34c18c3684a0b68322572f man-suid-bins.tar.bz2
7c78aff03c0a6767ba483d34f19e4b09 man-pages-posix-2003-a.tar.bz2
4ae755c6caaa035cb7737bf4a3ec7927 man-pages_add-01.tar.bz2
24a7571e8d525b3c8bf5afd5299f0bad man-pages_syscalls-01.tar.bz2
153704ffa27160d708e0e8c56c1da58f man-pages-3.23.tar.bz2
4a222811a5589cf6d80cb0b4e1789fe8 man-pages_add-02.tar.bz2
bf80e51c1db4fdf6d0ee21e2f9c49485 man-pages_syscalls-03.tar.bz2