Compare commits
No commits in common. "c9" and "c8" have entirely different histories.
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1,3 @@
|
|||||||
SOURCES/man-pages-6.04.tar.xz
|
SOURCES/man-pages-4.15.tar.xz
|
||||||
SOURCES/man-pages-additional-20140218.tar.xz
|
SOURCES/man-pages-additional-20140218.tar.xz
|
||||||
SOURCES/man-pages-posix-2017-a.tar.xz
|
SOURCES/man-pages-posix-2013-a.tar.xz
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
35324d278c7fa756cf51455e8b7f66faefd1e3cb SOURCES/man-pages-6.04.tar.xz
|
05ec29cc69586f276fbeaccd3b466f3456292010 SOURCES/man-pages-4.15.tar.xz
|
||||||
315c9144f71c0edf1af823fb3f7735e93f6f17c3 SOURCES/man-pages-additional-20140218.tar.xz
|
315c9144f71c0edf1af823fb3f7735e93f6f17c3 SOURCES/man-pages-additional-20140218.tar.xz
|
||||||
ee907694a6ac012adb856ce0342103311340fcec SOURCES/man-pages-posix-2017-a.tar.xz
|
91b5b10a7a596615789782dad0adb477a8bf9f84 SOURCES/man-pages-posix-2013-a.tar.xz
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
diff --git a/man2/close.2 b/man2/close.2
|
diff -up man-pages-3.59/man2/close.2.orig man-pages-3.59/man2/close.2
|
||||||
index c920b24..a57b0f4 100644
|
--- man-pages-3.59/man2/close.2.orig 2014-02-16 08:33:52.000000000 +0100
|
||||||
--- a/man2/close.2
|
+++ man-pages-3.59/man2/close.2 2014-02-18 13:49:27.685917162 +0100
|
||||||
+++ b/man2/close.2
|
@@ -120,6 +120,13 @@ other threads in the same process.
|
||||||
@@ -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.
|
||||||
|
2498
SOURCES/man-pages-4.15-aarch64-syscalls.patch
Normal file
2498
SOURCES/man-pages-4.15-aarch64-syscalls.patch
Normal file
File diff suppressed because it is too large
Load Diff
29
SOURCES/man-pages-4.15-host.conf.5-multi.patch
Normal file
29
SOURCES/man-pages-4.15-host.conf.5-multi.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
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
|
||||||
|
|
37
SOURCES/man-pages-4.15-host.conf.5-spoof-options.patch
Normal file
37
SOURCES/man-pages-4.15-host.conf.5-spoof-options.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
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
|
||||||
|
|
@ -0,0 +1,45 @@
|
|||||||
|
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
|
||||||
|
|
43
SOURCES/man-pages-4.15-nsswitch.conf.5-sss.patch
Normal file
43
SOURCES/man-pages-4.15-nsswitch.conf.5-sss.patch
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
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
|
||||||
|
|
43
SOURCES/man-pages-4.15-proc.5-Speculation_Store_Bypass.patch
Normal file
43
SOURCES/man-pages-4.15-proc.5-Speculation_Store_Bypass.patch
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
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
|
||||||
|
|
36
SOURCES/man-pages-4.15-resolv.conf.5-no-reload.patch
Normal file
36
SOURCES/man-pages-4.15-resolv.conf.5-no-reload.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
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
|
||||||
|
|
35
SOURCES/man-pages-posix-2013-a-pthread_once.patch
Normal file
35
SOURCES/man-pages-posix-2013-a-pthread_once.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
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
|
||||||
|
|
@ -1,27 +1,24 @@
|
|||||||
%global posix_version 2017
|
%global posix_version 2013
|
||||||
%global posix_release a
|
%global posix_release a
|
||||||
%global posix_name man-pages-posix-%{posix_version}
|
%global posix_name man-pages-posix-%{posix_version}-%{posix_release}
|
||||||
%global posix_name_rel %{posix_name}-%{posix_release}
|
|
||||||
%global additional_version 20140218
|
%global additional_version 20140218
|
||||||
%global additional_name man-pages-additional-%{additional_version}
|
%global additional_name man-pages-additional-%{additional_version}
|
||||||
|
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Summary: Linux kernel and C library user-space interface documentation
|
Summary: Linux kernel and C library user-space interface documentation
|
||||||
Name: man-pages
|
Name: man-pages
|
||||||
Version: 6.04
|
Version: 4.15
|
||||||
Release: 1%{?dist}
|
Release: 7%{?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
|
||||||
URL: http://www.kernel.org/doc/man-pages/
|
URL: http://www.kernel.org/doc/man-pages/
|
||||||
Source: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz
|
Source: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz
|
||||||
# POSIX man pages
|
# POSIX man pages
|
||||||
Source1: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/%{posix_name_rel}.tar.xz
|
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
|
# additional man-pages, the source tarball is fedora/rhel only
|
||||||
Source2: %{additional_name}.tar.xz
|
Source2: %{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
|
# attr.5 man page was moved from attr to man-pages in attr-2.4.47-11
|
||||||
Conflicts: attr < 2.4.47-11
|
Conflicts: attr < 2.4.47-11
|
||||||
|
|
||||||
@ -31,209 +28,111 @@ Conflicts: attr < 2.4.47-11
|
|||||||
Conflicts: keyutils-libs < 1.5.10
|
Conflicts: keyutils-libs < 1.5.10
|
||||||
|
|
||||||
Autoreq: false
|
Autoreq: false
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
## Patches ##
|
## Patches ##
|
||||||
|
|
||||||
# POSIX man pages
|
# POSIX man pages
|
||||||
|
# resolves: #1415757
|
||||||
|
Patch0: man-pages-posix-2013-a-pthread_once.patch
|
||||||
|
|
||||||
# Regular man pages
|
# Regular man pages
|
||||||
# resolves: #650985
|
# resolves: #650985
|
||||||
# https://bugzilla.kernel.org/show_bug.cgi?id=53781
|
# https://bugzilla.kernel.org/show_bug.cgi?id=53781
|
||||||
Patch21: man-pages-3.42-close.patch
|
Patch21: man-pages-3.42-close.patch
|
||||||
|
|
||||||
|
# patches from MPO
|
||||||
|
Patch22: man-pages-4.15-nl_langinfo.3-charsets.7-codesets.patch
|
||||||
|
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
|
%description
|
||||||
A large collection of manual pages from the Linux Documentation Project (LDP).
|
A large collection of manual pages from the Linux Documentation Project (LDP).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 1 -a 2
|
%setup -q -a 1 -a 2
|
||||||
|
|
||||||
|
%patch0 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
|
%patch24 -p1
|
||||||
|
%patch25 -p1
|
||||||
|
|
||||||
|
%ifarch aarch64
|
||||||
|
%patch26 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%patch27 -p1
|
||||||
|
%patch28 -p1
|
||||||
|
|
||||||
# rename posix README so we don't have conflict
|
# rename posix README so we don't have conflict
|
||||||
mv %{posix_name}/README %{posix_name}/%{posix_name_rel}.README
|
%{__mv} %{posix_name}/README %{posix_name}/%{posix_name}.README
|
||||||
|
|
||||||
## Remove man pages we are not going to use ##
|
## Remove man pages we are not going to use ##
|
||||||
|
|
||||||
# deprecated
|
# deprecated
|
||||||
rm man2/pciconfig_{write,read,iobase}.2
|
%{__rm} man2/pciconfig_{write,read,iobase}.2
|
||||||
|
|
||||||
# problem with db x db4 (#198597) - man pages are obsolete
|
# problem with db x db4 (#198597) - man pages are obsolete
|
||||||
rm man3/{db,btree,dbopen,hash,mpool,recno}.3
|
%{__rm} man3/{db,btree,dbopen,hash,mpool,recno}.3
|
||||||
|
|
||||||
# we are not using SystemV anymore
|
# we are not using SystemV anymore
|
||||||
rm man7/boot.7
|
%{__rm} man7/boot.7
|
||||||
|
|
||||||
# we do not have sccs (#203302)
|
# we do not have sccs (#203302)
|
||||||
rm %{posix_name}/man1p/{admin,delta,get,prs,rmdel,sact,sccs,unget,val,what}.1p
|
%{__rm} %{posix_name}/man1p/{admin,delta,get,prs,rmdel,sact,sccs,unget,val,what}.1p
|
||||||
|
|
||||||
# remove man pages deprecated by libxcrypt (#1610307)
|
# remove man pages deprecated by libxcrypt
|
||||||
rm man3/crypt{,_r}.3
|
%{__rm} man3/crypt{,_r}.3
|
||||||
|
|
||||||
|
# remove rpc.3 and xdr.3 man pages documenting deprecated glibc RPC implementation (#1980919)
|
||||||
|
%{__rm} man3/{rpc,xdr}.3
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# nothing to build
|
# nothing to build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install prefix=/usr DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
pushd %{posix_name}
|
pushd %{posix_name}
|
||||||
make install prefix=/usr DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
popd
|
popd
|
||||||
pushd %{additional_name}
|
pushd %{additional_name}
|
||||||
make install prefix=/usr DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
popd
|
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
|
%files
|
||||||
%doc README Changes
|
%doc README man-pages-%{version}.Announce Changes
|
||||||
%doc %{posix_name}/POSIX-COPYRIGHT %{posix_name}/%{posix_name_rel}.{README,Announce}
|
%doc %{posix_name}/POSIX-COPYRIGHT %{posix_name}/%{posix_name}.{README,Announce}
|
||||||
%ghost %{_mandir}/man7/man.7*
|
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jul 13 2023 Lukas Javorsky <ljavorsk@redhat.com> - 6.04-1
|
* Tue Feb 01 2022 Nikola Forró <nforro@redhat.com> - 4.15-7
|
||||||
- Rebase to 6.04 version per request from RHIVOS team
|
- remove rpc.3 and xdr.3 man pages documenting deprecated glibc RPC implementation
|
||||||
- Resolves: RHEL-683
|
resolves: #1980919
|
||||||
|
|
||||||
* Wed May 03 2023 Lukas Javorsky <ljavorsk@redhat.com> - 5.10-7
|
* Thu Aug 30 2018 Nikola Forró <nforro@redhat.com> - 4.15-6
|
||||||
- resolv.conf.5 no-aaaa option
|
- proc.5: document /proc/[pid]/status Speculation_Store_Bypass field
|
||||||
resolves: RHEL-454
|
resolves: #1623808
|
||||||
|
|
||||||
* Fri Nov 04 2022 Lukas Javorsky <ljavorsk@redhat.com> - 5.10-6
|
* Thu Aug 30 2018 Nikola Forró <nforro@redhat.com> - 4.15-5
|
||||||
- Fix the resolv.conf typo
|
- resolv.conf.5: document no-reload option
|
||||||
- Source from upstream commit 076fbe061333bdfecbd5765c782c477233e38e2f
|
resolves: #1623806
|
||||||
|
|
||||||
* Tue Aug 23 2022 Nikola Forró <nforro@redhat.com> - 5.10-5
|
* Mon Aug 13 2018 Nikola Forró <nforro@redhat.com> - 4.15-4
|
||||||
- nsswitch.conf.5: Mention subid database
|
- host.conf.5: clarify glibc versions in which spoof options were removed
|
||||||
resolves: #2059981
|
resolves: #1615294
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.10-4
|
* Fri Aug 03 2018 Nikola Forró <nforro@redhat.com> - 4.15-3
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
||||||
Related: rhbz#1991688
|
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.10-3
|
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.10-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Dec 24 2020 Nikola Forró <nforro@redhat.com> - 5.10-1
|
|
||||||
- update to 5.10
|
|
||||||
resolves: #1909987
|
|
||||||
|
|
||||||
* Fri Nov 06 2020 Nikola Forró <nforro@redhat.com> - 5.09-2
|
|
||||||
- update POSIX man pages to 2017-a
|
|
||||||
resolves: #1691808
|
|
||||||
|
|
||||||
* Mon Nov 02 2020 Nikola Forró <nforro@redhat.com> - 5.09-1
|
|
||||||
- update to 5.09
|
|
||||||
resolves: #1893576
|
|
||||||
|
|
||||||
* Mon Aug 17 2020 Nikola Forró <nforro@redhat.com> - 5.08-1
|
|
||||||
- update to 5.08
|
|
||||||
resolves: #1868674
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.07-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Jun 21 2020 Nikola Forró <nforro@redhat.com> - 5.07-1
|
|
||||||
- update to 5.07
|
|
||||||
|
|
||||||
* Thu Apr 16 2020 Nikola Forró <nforro@redhat.com> - 5.06-3
|
|
||||||
- Fix another typo in postun scriptlet
|
|
||||||
|
|
||||||
* Thu Apr 16 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 5.06-2
|
|
||||||
- Fix typo in postun scriptlet
|
|
||||||
|
|
||||||
* Tue Apr 14 2020 Nikola Forró <nforro@redhat.com> - 5.06-1
|
|
||||||
- update to 5.06
|
|
||||||
resolves: #1823161
|
|
||||||
|
|
||||||
* Sun Mar 01 2020 Nikola Forró <nforro@redhat.com> - 5.04-6
|
|
||||||
- fix %pre scriptlet
|
|
||||||
|
|
||||||
* Fri Feb 28 2020 Nikola Forró <nforro@redhat.com> - 5.04-5
|
|
||||||
- fix upgrades from non-alternativized versions
|
|
||||||
|
|
||||||
* Thu Feb 27 2020 Nikola Forró <nforro@redhat.com> - 5.04-4
|
|
||||||
- use alternatives for man.7
|
|
||||||
|
|
||||||
* Mon Feb 03 2020 Nikola Forró <nforro@redhat.com> - 5.04-3
|
|
||||||
- add kernel_lockdown.7 man page
|
|
||||||
resolves: #1797591
|
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.04-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Nov 20 2019 Nikola Forró <nforro@redhat.com> - 5.04-1
|
|
||||||
- update to 5.04
|
|
||||||
resolves #1774584
|
|
||||||
|
|
||||||
* Wed Oct 16 2019 Nikola Forró <nforro@redhat.com> - 5.03-1
|
|
||||||
- update to 5.03
|
|
||||||
resolves #1761010
|
|
||||||
|
|
||||||
* Thu Oct 10 2019 Nikola Forró <nforro@redhat.com> - 5.02-2
|
|
||||||
- resolv.conf.5: update information about search list
|
|
||||||
resolves #1758515
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.16-2
|
* Tue Jul 31 2018 Nikola Forró <nforro@redhat.com> - 4.15-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- add patches from MPO
|
||||||
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user