Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

16 changed files with 308 additions and 2881 deletions

42
.gitignore vendored
View File

@ -1,3 +1,39 @@
SOURCES/man-pages-4.15.tar.xz /man-pages-additional-20140218.tar.xz
SOURCES/man-pages-additional-20140218.tar.xz /man-pages-posix-2013-a.tar.xz
SOURCES/man-pages-posix-2013-a.tar.xz /man-pages-posix-2017-a.tar.xz
/man-pages-4.02.tar.xz
/man-pages-4.03.tar.xz
/man-pages-4.04.tar.xz
/man-pages-4.05.tar.xz
/man-pages-4.06.tar.xz
/man-pages-4.07.tar.xz
/man-pages-4.08.tar.xz
/man-pages-4.09.tar.xz
/man-pages-4.10.tar.xz
/man-pages-4.11.tar.xz
/man-pages-4.12.tar.xz
/man-pages-4.13.tar.xz
/man-pages-4.14.tar.xz
/man-pages-4.15.tar.xz
/man-pages-4.16.tar.xz
/man-pages-5.00.tar.xz
/man-pages-5.01.tar.xz
/man-pages-5.02.tar.xz
/man-pages-5.03.tar.xz
/man-pages-5.04.tar.xz
/man-pages-5.06.tar.xz
/man-pages-5.07.tar.xz
/man-pages-5.08.tar.xz
/man-pages-5.09.tar.xz
/man-pages-5.10.tar.xz
/man-pages-5.11.tar.xz
/man-pages-5.12.tar.xz
/man-pages-5.13.tar.xz
/man-pages-6.00.tar.xz
/man-pages-6.01.tar.xz
/man-pages-6.02.tar.xz
/man-pages-6.03.tar.xz
/man-pages-6.04.tar.xz
/man-pages-6.05.tar.xz
/man-pages-6.05.01.tar.xz
/man-pages-6.06.tar.xz

View File

@ -1,3 +0,0 @@
05ec29cc69586f276fbeaccd3b466f3456292010 SOURCES/man-pages-4.15.tar.xz
315c9144f71c0edf1af823fb3f7735e93f6f17c3 SOURCES/man-pages-additional-20140218.tar.xz
91b5b10a7a596615789782dad0adb477a8bf9f84 SOURCES/man-pages-posix-2013-a.tar.xz

34
.packit.yaml Normal file
View File

@ -0,0 +1,34 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: man-pages.spec
# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: man-pages
# This won't work until this issue is resolved: https://github.com/packit/packit-service/issues/1907
upstream_project_url: https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
upstream_tag_template: man-pages-{version}
# downstream (Fedora) RPM package name
downstream_package_name: man-pages
jobs:
- job: pull_from_upstream
trigger: release
packit_instances: ["prod", "stg"]
dist_git_branches:
- fedora-latest
- fedora-rawhide
- job: koji_build
trigger: commit
allowed_pr_authors: ["packit", "ljavorsk", "nforro"]
allowed_committers: ["packit", "ljavorsk", "nforro"]
dist_git_branches:
- fedora-latest
- fedora-rawhide
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-latest # rawhide updates are created automatically

3
README.packit Normal file
View File

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.89.0.post1.dev10+g754cf610.

File diff suppressed because it is too large Load Diff

View File

@ -1,29 +0,0 @@
From b5f194248f0c38d0e254b71f98e1b9e9783198dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Fri, 27 Jul 2018 17:15:47 +0200
Subject: [PATCH 2/5] host.conf.5: fix default value of multi option
---
man5/host.conf.5 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/man5/host.conf.5 b/man5/host.conf.5
index 1f65840..15e9aa7 100644
--- a/man5/host.conf.5
+++ b/man5/host.conf.5
@@ -65,9 +65,9 @@ appears in the
file,
instead of only the first.
This is
-.I off
-by default, as it may cause a substantial performance loss at sites
-with large hosts files.
+.I on
+by default.
+On systems with DNS, hosts files are much smaller and the performance loss of multiple search is negligible. On sites with large hosts files, turning it on may cause a substantial performance loss.
.TP
.I reorder
Valid values are
--
2.17.1

View File

@ -1,37 +0,0 @@
From 41b7763e490bddbc3308dfd32924bd19972c0604 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Tue, 15 May 2018 13:29:24 +0200
Subject: [PATCH] host.conf.5: Clarify glibc versions in which spoof options
were removed
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The nospoof, spoofalert and spoof options as well as the
RESOLV_SPOOF_CHECK environment variable were all removed
from glibc in version 2.25 (with commit
7d68cdaa4f748e87ee921f587ee2d483db624b3d).
Signed-off-by: Nikola Forró <nforro@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
---
man5/host.conf.5 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/man5/host.conf.5 b/man5/host.conf.5
index 15e9aa7..66e6fb4 100644
--- a/man5/host.conf.5
+++ b/man5/host.conf.5
@@ -150,7 +150,8 @@ Overrides the
.I order
command.
.PP
-Since glibc 2.0.7, the following keywords and environment variable have
+.\" commit 7d68cdaa4f748e87ee921f587ee2d483db624b3d
+Since glibc 2.0.7, and up through glibc 2.24, the following keywords and environment variable have
been recognized but never implemented:
.TP
.I nospoof
--
2.17.1

View File

@ -1,45 +0,0 @@
From 260d71520ec0c96ef20670eca17d7b08cc9601ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Fri, 27 Jul 2018 17:10:43 +0200
Subject: [PATCH 1/5] nl_langinfo.3: note that Latin-1 is the default codeset
for en_US locale charsets.7: note that UTF-8 is the recommended encoding for
all locales
---
man3/nl_langinfo.3 | 6 ++++++
man7/charsets.7 | 2 ++
2 files changed, 8 insertions(+)
diff --git a/man3/nl_langinfo.3 b/man3/nl_langinfo.3
index e37f07b..63de5c2 100644
--- a/man3/nl_langinfo.3
+++ b/man3/nl_langinfo.3
@@ -167,6 +167,12 @@ or
.PP
POSIX specifies that the application may not modify
the string returned by these functions.
+.PP
+Codeset for en_US defaults to ISO-8859-1 (Latin-1).
+The Latin-1 default has historical reasons,
+since all Unix systems originally used only 8-bit character encoding.
+For more information about ISO-8859-1 see
+.BR charsets (7).
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
diff --git a/man7/charsets.7 b/man7/charsets.7
index 5f91784..9de88fe 100644
--- a/man7/charsets.7
+++ b/man7/charsets.7
@@ -29,6 +29,8 @@ ASCII, GB 2312, ISO 8859, JIS, KOI8-R, KS, and Unicode.
The primary emphasis is on character sets that were actually used by
locale character sets, not the myriad others that could be found in data
from other systems.
+.LP
+The recommended encoding in all settings and locales is UTF-8.
.SS ASCII
ASCII (American Standard Code For Information Interchange) is the original
7-bit character set, originally designed for American English.
--
2.17.1

View File

@ -1,43 +0,0 @@
From ca56d826dbaa05403454d8971b59fabe8b5642d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Fri, 27 Jul 2018 17:23:26 +0200
Subject: [PATCH 3/5] nsswitch.conf.5: add information about sss service
---
man5/nsswitch.conf.5 | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/man5/nsswitch.conf.5 b/man5/nsswitch.conf.5
index 38ef64e..dcf09e6 100644
--- a/man5/nsswitch.conf.5
+++ b/man5/nsswitch.conf.5
@@ -165,6 +165,16 @@ may be 1 for glibc 2.0, or 2 for glibc 2.1 and later.
On systems with additional libraries installed, you may have access to
further services such as "hesiod", "ldap", "winbind" and "wins".
.PP
+If System Security Services Daemon (SSSD)
+is installed on your system, you can use
+this service with the "sss" keyword.
+SSSD supports the following databases:
+.BR passwd ,
+.BR group ,
+.BR services
+and
+.BR netgroup .
+.PP
An action may also be specified following a service specification.
The action modifies the behavior following a result obtained
from the preceding data source.
@@ -329,6 +339,9 @@ as the source for the pseudo-databases
.BR group_compat ,
and
.BR shadow_compat .
+.PP
+If SSSD is installed on your system, you can use "sss" as the source
+for these pseudo-databases.
.SH FILES
A service named
.I SERVICE
--
2.17.1

View File

@ -1,43 +0,0 @@
From 2d5049d33ee608c48efd0c02e48d135ddb766fa2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Mon, 23 Jul 2018 14:02:18 +0200
Subject: [PATCH 2/2] proc.5: Document /proc/[pid]/status
Speculation_Store_Bypass field
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Nikola Forró <nforro@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
---
man5/proc.5 | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/man5/proc.5 b/man5/proc.5
index 9ae9e02..dc83c22 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -2262,6 +2262,7 @@ CapBnd: ffffffffffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
+Speculation_Store_Bypass: vulnerable
Cpus_allowed: 00000001
Cpus_allowed_list: 0
Mems_allowed: 1
@@ -2485,6 +2486,12 @@ This field is provided only if the kernel was built with the
.BR CONFIG_SECCOMP
kernel configuration option enabled.
.IP *
+.IR Speculation_Store_Bypass :
+.\" commit fae1fa0fc6cca8beee3ab8ed71d54f9a78fa3f64
+Speculation flaw mitigation state
+(since Linux 4.17, see
+.BR prctl (2)).
+.IP *
.IR Cpus_allowed :
Mask of CPUs on which this process may run
(since Linux 2.6.24, see
--
2.17.1

View File

@ -1,36 +0,0 @@
From 7285d6b10356c43c94a252c63ffcd332c4e54b4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Wed, 11 Jul 2018 10:58:38 +0200
Subject: [PATCH 1/2] resolv.conf.5: Document no-reload (RES_NPRELOAD) option
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Nikola Forró <nforro@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
---
man5/resolv.conf.5 | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/man5/resolv.conf.5 b/man5/resolv.conf.5
index bc42004..93c6b47 100644
--- a/man5/resolv.conf.5
+++ b/man5/resolv.conf.5
@@ -302,6 +302,14 @@ Sets
in
.IR _res.options .
This option forces the use of TCP for DNS resolutions.
+.\" aef16cc8a4c670036d45590877d411a97f01e0cd
+.TP
+.BR no\-reload " (since glibc 2.26)"
+Sets
+.BR RES_NORELOAD
+in
+.IR _res.options .
+This option disables automatic reloading of a changed configuration file.
.RE
.PP
The \fIdomain\fP and \fIsearch\fP keywords are mutually exclusive.
--
2.17.1

View File

@ -1,35 +0,0 @@
From 0409c3370ddd08cec10586f6f52fe1fbe3c717ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Tue, 24 Jan 2017 16:35:02 +0100
Subject: [PATCH] pthread_once.3p: fix return type of initialize_random()
function
---
man-pages-posix-2013-a/man3p/pthread_once.3p | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/man-pages-posix-2013-a/man3p/pthread_once.3p b/man-pages-posix-2013-a/man3p/pthread_once.3p
index 316b1e9..db83d63 100644
--- a/man-pages-posix-2013-a/man3p/pthread_once.3p
+++ b/man-pages-posix-2013-a/man3p/pthread_once.3p
@@ -86,7 +86,7 @@ on entry to a routine, as follows:
.nf
\fB
static int random_is_initialized = 0;
-extern int initialize_random();
+extern void initialize_random();
.P
int random_function()
{
@@ -125,7 +125,7 @@ becomes:
\fB
#include <pthread.h>
static pthread_once_t random_is_initialized = PTHREAD_ONCE_INIT;
-extern int initialize_random();
+extern void initialize_random();
.P
int random_function()
{
--
2.7.4

View File

@ -1,138 +1,142 @@
%global posix_version 2013 * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.02-2
%global posix_release a - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
%global posix_name man-pages-posix-%{posix_version}-%{posix_release}
%global additional_version 20140218
%global additional_name man-pages-additional-%{additional_version}
%global debug_package %{nil} * Mon Jan 02 2023 Nikola Forró <nforro@redhat.com> - 6.02-1
- Rebase to version 6.02
resolves: #2155908
Summary: Linux kernel and C library user-space interface documentation * Fri Oct 21 2022 Lukas Javorsky <ljavorsk@redhat.com> - 6.01-1
Name: man-pages - Rebase to version 6.01
Version: 4.15
Release: 7%{?dist}
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
Group: Documentation
URL: http://www.kernel.org/doc/man-pages/
Source: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz
# POSIX man pages
Source1: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/%{posix_name}.tar.xz
# additional man-pages, the source tarball is fedora/rhel only
Source2: %{additional_name}.tar.xz
# attr.5 man page was moved from attr to man-pages in attr-2.4.47-11 * Fri Oct 14 2022 Lukas Javorsky <ljavorsk@redhat.com> - 6.00-1
Conflicts: attr < 2.4.47-11 - Rebase to version 6.00
- Patch 22 upstreamed
# keyrings.7, persistent-keyring.7, process-keyring.7, session-keyring.7, * Tue Aug 23 2022 Nikola Forró <nforro@redhat.com> - 5.13-5
# thread-keyring.7, user-keyring.7 and user-session-keyring.7 man pages - nsswitch.conf.5: Mention subid database
# were moved from keyutils-libs to man-pages in keyutils-libs-1.5.10
Conflicts: keyutils-libs < 1.5.10
Autoreq: false * Tue Aug 09 2022 Nikola Forró <nforro@redhat.com> - 5.13-4
- Remove POSIX man pages due to disallowed license
resolves: #2116859
## Patches ## * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.13-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
# POSIX man pages * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.13-2
# resolves: #1415757 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Patch0: man-pages-posix-2013-a-pthread_once.patch
# Regular man pages * Fri Aug 27 2021 Nikola Forró <nforro@redhat.com> - 5.13-1
# resolves: #650985 - update to 5.13
# https://bugzilla.kernel.org/show_bug.cgi?id=53781 resolves: #1998442
Patch21: man-pages-3.42-close.patch
# patches from MPO * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.12-2
Patch22: man-pages-4.15-nl_langinfo.3-charsets.7-codesets.patch - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Patch23: man-pages-4.15-host.conf.5-multi.patch
Patch24: man-pages-4.15-nsswitch.conf.5-sss.patch
Patch25: man-pages-4.15-host.conf.5-spoof-options.patch
# aarch64 specific patch
Patch26: man-pages-4.15-aarch64-syscalls.patch
Patch27: man-pages-4.15-resolv.conf.5-no-reload.patch
Patch28: man-pages-4.15-proc.5-Speculation_Store_Bypass.patch
%description * Tue Jun 22 2021 Nikola Forró <nforro@redhat.com> - 5.12-1
A large collection of manual pages from the Linux Documentation Project (LDP). - update to 5.12
resolves: #1974538
%prep * Mon Mar 22 2021 Nikola Forró <nforro@redhat.com> - 5.11-1
%setup -q -a 1 -a 2 - update to 5.11
resolves: #1941571
%patch0 -p1 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.10-2
%patch21 -p1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch25 -p1
%ifarch aarch64 * Thu Dec 24 2020 Nikola Forró <nforro@redhat.com> - 5.10-1
%patch26 -p1 - update to 5.10
%endif resolves: #1909987
%patch27 -p1 * Fri Nov 06 2020 Nikola Forró <nforro@redhat.com> - 5.09-2
%patch28 -p1 - update POSIX man pages to 2017-a
resolves: #1691808
# rename posix README so we don't have conflict * Mon Nov 02 2020 Nikola Forró <nforro@redhat.com> - 5.09-1
%{__mv} %{posix_name}/README %{posix_name}/%{posix_name}.README - update to 5.09
resolves: #1893576
## Remove man pages we are not going to use ## * Mon Aug 17 2020 Nikola Forró <nforro@redhat.com> - 5.08-1
- update to 5.08
resolves: #1868674
# deprecated * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.07-2
%{__rm} man2/pciconfig_{write,read,iobase}.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
# problem with db x db4 (#198597) - man pages are obsolete * Sun Jun 21 2020 Nikola Forró <nforro@redhat.com> - 5.07-1
%{__rm} man3/{db,btree,dbopen,hash,mpool,recno}.3 - update to 5.07
# we are not using SystemV anymore * Thu Apr 16 2020 Nikola Forró <nforro@redhat.com> - 5.06-3
%{__rm} man7/boot.7 - Fix another typo in postun scriptlet
# we do not have sccs (#203302) * Thu Apr 16 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 5.06-2
%{__rm} %{posix_name}/man1p/{admin,delta,get,prs,rmdel,sact,sccs,unget,val,what}.1p - Fix typo in postun scriptlet
# remove man pages deprecated by libxcrypt * Tue Apr 14 2020 Nikola Forró <nforro@redhat.com> - 5.06-1
%{__rm} man3/crypt{,_r}.3 - update to 5.06
resolves: #1823161
# remove rpc.3 and xdr.3 man pages documenting deprecated glibc RPC implementation (#1980919) * Sun Mar 01 2020 Nikola Forró <nforro@redhat.com> - 5.04-6
%{__rm} man3/{rpc,xdr}.3 - fix %pre scriptlet
%build * Fri Feb 28 2020 Nikola Forró <nforro@redhat.com> - 5.04-5
# nothing to build - fix upgrades from non-alternativized versions
%install * Thu Feb 27 2020 Nikola Forró <nforro@redhat.com> - 5.04-4
make install DESTDIR=$RPM_BUILD_ROOT - use alternatives for man.7
pushd %{posix_name}
make install DESTDIR=$RPM_BUILD_ROOT
popd
pushd %{additional_name}
make install DESTDIR=$RPM_BUILD_ROOT
popd
%files * Mon Feb 03 2020 Nikola Forró <nforro@redhat.com> - 5.04-3
%doc README man-pages-%{version}.Announce Changes - add kernel_lockdown.7 man page
%doc %{posix_name}/POSIX-COPYRIGHT %{posix_name}/%{posix_name}.{README,Announce} resolves: #1797591
%{_mandir}/man*/*
%changelog * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.04-2
* Tue Feb 01 2022 Nikola Forró <nforro@redhat.com> - 4.15-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
- remove rpc.3 and xdr.3 man pages documenting deprecated glibc RPC implementation
resolves: #1980919
* Thu Aug 30 2018 Nikola Forró <nforro@redhat.com> - 4.15-6 * Wed Nov 20 2019 Nikola Forró <nforro@redhat.com> - 5.04-1
- proc.5: document /proc/[pid]/status Speculation_Store_Bypass field - update to 5.04
resolves: #1623808 resolves #1774584
* Thu Aug 30 2018 Nikola Forró <nforro@redhat.com> - 4.15-5 * Wed Oct 16 2019 Nikola Forró <nforro@redhat.com> - 5.03-1
- resolv.conf.5: document no-reload option - update to 5.03
resolves: #1623806 resolves #1761010
* Mon Aug 13 2018 Nikola Forró <nforro@redhat.com> - 4.15-4 * Thu Oct 10 2019 Nikola Forró <nforro@redhat.com> - 5.02-2
- host.conf.5: clarify glibc versions in which spoof options were removed - resolv.conf.5: update information about search list
resolves: #1615294 resolves #1758515
* Fri Aug 03 2018 Nikola Forró <nforro@redhat.com> - 4.15-3 * Tue Aug 06 2019 Nikola Forró <nforro@redhat.com> - 5.02-1
- update to 5.02
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.01-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 09 2019 Nikola Forró <nforro@redhat.com> - 5.01-1
- update to 5.01
resolves #1708251
* Wed Mar 06 2019 Nikola Forró <nforro@redhat.com> - 5.00-1
- update to 5.00
resolves #1686085
* Tue Feb 26 2019 Nikola Forró <nforro@redhat.com> - 4.16-5
- socket.2: fix dead link in AF_ALG note
resolves #1679505
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.16-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Aug 03 2018 Nikola Forró <nforro@redhat.com> - 4.16-3
- remove man pages deprecated by libxcrypt - remove man pages deprecated by libxcrypt
resolves #1610307
* Tue Jul 31 2018 Nikola Forró <nforro@redhat.com> - 4.15-2 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.16-2
- add patches from MPO - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
- remove/adjust pages for syscalls deprecated on aarch64
* Thu May 03 2018 Nikola Forró <nforro@redhat.com> - 4.16-1
- update to 4.16
resolves #1574060
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sun Feb 04 2018 Nikola Forró <nforro@redhat.com> - 4.15-1 * Sun Feb 04 2018 Nikola Forró <nforro@redhat.com> - 4.15-1
- update to 4.15 - update to 4.15
@ -478,7 +482,7 @@ popd
* Thu Feb 24 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 3.32-9 * Thu Feb 24 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 3.32-9
- resolves: #679899 - resolves: #679899
add scopev4 to gai.conf man page add scopev4 to gai.conf man page
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.32-8 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.32-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
@ -549,7 +553,7 @@ popd
remove link to non-existing man page remove link to non-existing man page
* Thu Sep 23 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.27-2 * Thu Sep 23 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.27-2
- Resolves: #635869 - Resolves: #635869
remove the link to removed man page remove the link to removed man page
* Thu Sep 23 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.27-1 * Thu Sep 23 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.27-1

View File

@ -1,7 +1,8 @@
diff -up man-pages-3.59/man2/close.2.orig man-pages-3.59/man2/close.2 diff --git a/man2/close.2 b/man2/close.2
--- man-pages-3.59/man2/close.2.orig 2014-02-16 08:33:52.000000000 +0100 index c920b24..a57b0f4 100644
+++ man-pages-3.59/man2/close.2 2014-02-18 13:49:27.685917162 +0100 --- a/man2/close.2
@@ -120,6 +120,13 @@ other threads in the same process. +++ b/man2/close.2
@@ -123,6 +123,13 @@ other threads in the same process.
Since a file descriptor may be reused, Since a file descriptor may be reused,
there are some obscure race conditions there are some obscure race conditions
that may cause unintended side effects. that may cause unintended side effects.

116
man-pages.spec Normal file
View File

@ -0,0 +1,116 @@
%global additional_version 20140218
%global additional_name man-pages-additional-%{additional_version}
Summary: Linux kernel and C library user-space interface documentation
Name: man-pages
Version: 6.06
Release: %autorelease
# List of all licenses - each with an example of a man-page that uses it
# (complete list of all man-pages per license would be too long)
# BSD-2-Clause: man5/elf.5
# BSD-3-Clause: man3/list.3
# BSD-4.3TAHOE: man5/resolv.conf.5
# BSD-4-Clause-UC: man2/accept.2
# GPL-1.0-or-later: man1/ldd.1
# GPL-2.0-only: man2/fallocate.2
# GPL-2.0-or-later: man1/getent.1
# LicenseRef-Fedora-Public-Domain: man2/nfsservctl.2
# LicenseRef-Fedora-UltraPermissive: man2/futex.2
# Linux-man-pages-1-para: man2/getcpu.2
# Linux-man-pages-copyleft: man2/chdir.2
# Linux-man-pages-copyleft-2-para: man2/move_pages.2
# Linux-man-pages-copyleft-var: man2/get_mempolicy.2
# MIT: man3/program_invocation_name.3
# Spencer-94: man7/regex.7
License: BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-Fedora-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
URL: http://www.kernel.org/doc/man-pages/
Source: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz
# additional man-pages, the source tarball is fedora/rhel only
Source1: %{additional_name}.tar.xz
BuildRequires: make
Requires(post): %{_sbindir}/update-alternatives
Requires(postun): %{_sbindir}/update-alternatives
Requires(preun): %{_sbindir}/update-alternatives
# attr.5 man page was moved from attr to man-pages in attr-2.4.47-11
Conflicts: attr < 2.4.47-11
# keyrings.7, persistent-keyring.7, process-keyring.7, session-keyring.7,
# thread-keyring.7, user-keyring.7 and user-session-keyring.7 man pages
# were moved from keyutils-libs to man-pages in keyutils-libs-1.5.10
Conflicts: keyutils-libs < 1.5.10
Autoreq: false
BuildArch: noarch
## Patches ##
# Regular man pages
# resolves: #650985
# https://bugzilla.kernel.org/show_bug.cgi?id=53781
Patch21: man-pages-3.42-close.patch
%description
A large collection of manual pages from the Linux Documentation Project (LDP).
%prep
%setup -q -a 1
%patch -P 21 -p1
## Remove man pages we are not going to use ##
# deprecated
rm man2/pciconfig_{write,read,iobase}.2
# problem with db x db4 (#198597) - man pages are obsolete
rm man3/{db,btree,dbopen,hash,mpool,recno}.3
# we are not using SystemV anymore
rm man7/boot.7
# remove man pages deprecated by libxcrypt (#1610307)
rm man3/crypt{,_r}.3
%build
# nothing to build
%install
make install prefix=/usr DESTDIR=$RPM_BUILD_ROOT
pushd %{additional_name}
make install prefix=/usr DESTDIR=$RPM_BUILD_ROOT
popd
# rename files for alternative usage
mv %{buildroot}%{_mandir}/man7/man.7 %{buildroot}%{_mandir}/man7/man.%{name}.7
touch %{buildroot}%{_mandir}/man7/man.7
%pre
# remove alternativized files if they are not symlinks
[ -L %{_mandir}/man7/man.7.gz ] || rm -f %{_mandir}/man7/man.7.gz >/dev/null 2>&1 || :
%post
# set up the alternatives files
%{_sbindir}/update-alternatives --install %{_mandir}/man7/man.7.gz man.7.gz %{_mandir}/man7/man.%{name}.7.gz 300 \
>/dev/null 2>&1 || :
%preun
if [ $1 -eq 0 ]; then
%{_sbindir}/update-alternatives --remove man.7.gz %{_mandir}/man7/man.%{name}.7.gz >/dev/null 2>&1 || :
fi
%postun
if [ $1 -ge 1 ]; then
if [ "$(readlink %{_sysconfdir}/alternatives/man.7.gz)" == "%{_mandir}/man7/man.%{name}.7.gz" ]; then
%{_sbindir}/update-alternatives --set man.7.gz %{_mandir}/man7/man.%{name}.7.gz >/dev/null 2>&1 || :
fi
fi
%files
%doc README Changes
%ghost %{_mandir}/man7/man.7*
%{_mandir}/man*/*
%changelog
%autochangelog

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (man-pages-additional-20140218.tar.xz) = c7874db32a9bdefaea6c6be6549e6e6538fa1d93260bf342dd0d9821fa05754aa79a723e701493c81b2e1f460918429eb9b5edb704b55878b1e5ed585a3ff07d
SHA512 (man-pages-6.06.tar.xz) = c50b5a47cff5172e46752b61af4dd9f54ee0be88ab69bcc5914bd8ce5ddfaf7358143bea9f69bd6a45f0420eb5eb4596c2200109b23fe98a5221dd01e4a8ea15