import man-pages-overrides-8.3.0.0-1.el8

This commit is contained in:
CentOS Sources 2020-05-14 22:30:53 +00:00 committed by Andrew Lukoshko
commit 737b8f7486
8 changed files with 514 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/man-pages-overrides-8.3.0.0.tar.xz

View File

@ -0,0 +1 @@
d81ba9d47f5de1f4b0fc98bc5a6f548ecb85b142 SOURCES/man-pages-overrides-8.3.0.0.tar.xz

View File

@ -0,0 +1,280 @@
From f5546b84f888fe41d0b3288f237a7d7d5fa16a4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Wed, 18 Dec 2019 17:25:40 +0100
Subject: [PATCH] jose-*.1: fix typographical errors
---
jose/man1/jose-fmt.1 | 6 +++---
jose/man1/jose-jwe-enc.1 | 10 +++++-----
jose/man1/jose-jwk-exc.1 | 6 +++---
jose/man1/jose-jwk-gen.1 | 20 ++++++++++----------
jose/man1/jose-jwk-pub.1 | 4 ++--
jose/man1/jose-jwk-thp.1 | 4 ++--
jose/man1/jose-jwk-use.1 | 4 ++--
jose/man1/jose-jws-sig.1 | 8 ++++----
8 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/jose/man1/jose-fmt.1 b/jose/man1/jose-fmt.1
index 8e1b042..a423a99 100644
--- a/jose/man1/jose-fmt.1
+++ b/jose/man1/jose-fmt.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "JOSE\-FMT" "1" "June 2017" "" ""
+.TH "JOSE\-FMT" "1" "August 2019" "" ""
.
.SH "NAME"
\fBjose\-fmt\fR \- Converts JSON between serialization formats
@@ -237,7 +237,7 @@ Change the algorithm in a JWK:
.
.nf
-$ echo "$jwk" | jose fmt \-j\- \-j \'"A128GCM"\' \-s alg \-Uo\-
+$ echo "$jwk" | jose fmt \-j\- \-j \(aq"A128GCM"\(aq \-s alg \-Uo\-
{"kty":"oct","alg":"A128GCM",\.\.\.}
.
.fi
@@ -251,7 +251,7 @@ Build a JWE template:
.
.nf
-$ jose fmt \-j \'{}\' \-cs unprotected \-q A128KW \-s alg \-UUo\-
+$ jose fmt \-j \(aq{}\(aq \-cs unprotected \-q A128KW \-s alg \-UUo\-
{"unprotected":{"alg":"A128KW"}}
.
.fi
diff --git a/jose/man1/jose-jwe-enc.1 b/jose/man1/jose-jwe-enc.1
index ad4f49b..7cbed11 100644
--- a/jose/man1/jose-jwe-enc.1
+++ b/jose/man1/jose-jwe-enc.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "JOSE\-JWE\-ENC" "1" "May 2017" "" ""
+.TH "JOSE\-JWE\-ENC" "1" "August 2019" "" ""
.
.SH "NAME"
\fBjose\-jwe\-enc\fR \- Encrypts plaintext using one or more JWK/password
@@ -66,7 +66,7 @@ Read JWK(Set) from FILE
Read JWK(Set) from standard input
.
.TP
-\fB\-p\fR, `\-\-password
+\fB\-p\fR, \fB\-\-password\fR
Prompt for an encryption password
.
.TP
@@ -96,7 +96,7 @@ Encrypt data with a symmetric key using JWE JSON Serialization:
.
.nf
-$ jose jwk gen \-i \'{"alg":"A128GCM"}\' \-o key\.jwk
+$ jose jwk gen \-i \(aq{"alg":"A128GCM"}\(aq \-o key\.jwk
$ jose jwe enc \-I msg\.txt \-k key\.jwk \-o msg\.jwe
.
.fi
@@ -125,14 +125,14 @@ Compress plaintext before encryption:
.
.nf
-$ jose jwe enc \-i \'{"protected":{"zip":"DEF"}}\' \.\.\.
+$ jose jwe enc \-i \(aq{"protected":{"zip":"DEF"}}\(aq \.\.\.
.
.fi
.
.IP "" 0
.
.P
-Encrypt with two keys and two passwords: $ jose jwk gen \-i \'{"alg":"ECDH\-ES+A128KW"}\' \-o ec\.jwk $ jose jwk gen \-i \'{"alg":"RSA1_5"}\' \-o rsa\.jwk $ jose jwe enc \-I msg\.txt \-p \-k ec\.jwk \-p \-k rsa\.jwk \-o msg\.jwe Please enter a password: Please re\-enter the previous password: Please enter a password: Please re\-enter the previous password:
+Encrypt with two keys and two passwords: $ jose jwk gen \-i \(aq{"alg":"ECDH\-ES+A128KW"}\(aq \-o ec\.jwk $ jose jwk gen \-i \(aq{"alg":"RSA1_5"}\(aq \-o rsa\.jwk $ jose jwe enc \-I msg\.txt \-p \-k ec\.jwk \-p \-k rsa\.jwk \-o msg\.jwe Please enter a password: Please re\-enter the previous password: Please enter a password: Please re\-enter the previous password:
.
.SH "AUTHOR"
Nathaniel McCallum <npmccallum@redhat\.com>
diff --git a/jose/man1/jose-jwk-exc.1 b/jose/man1/jose-jwk-exc.1
index adf25fa..39a1e22 100644
--- a/jose/man1/jose-jwk-exc.1
+++ b/jose/man1/jose-jwk-exc.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "JOSE\-JWK\-EXC" "1" "June 2017" "" ""
+.TH "JOSE\-JWK\-EXC" "1" "July 2019" "" ""
.
.SH "NAME"
\fBjose\-jwk\-exc\fR \- Performs a key exchange using the two input keys
@@ -77,8 +77,8 @@ Perform a key exchange:
.
.nf
-$ jose jwk gen \-i \'{"alg":"ECDH"}\' \-o local\.jwk
-$ jose jwk gen \-i \'{"alg":"ECDH"}\' | jose jwk pub \-i\- \-o remote\.jwk
+$ jose jwk gen \-i \(aq{"alg":"ECDH"}\(aq \-o local\.jwk
+$ jose jwk gen \-i \(aq{"alg":"ECDH"}\(aq | jose jwk pub \-i\- \-o remote\.jwk
$ jose jwk exc \-l local\.jwk \-r remote\.jwk \-o exchanged\.jwk
.
.fi
diff --git a/jose/man1/jose-jwk-gen.1 b/jose/man1/jose-jwk-gen.1
index ac0d9e7..a422a01 100644
--- a/jose/man1/jose-jwk-gen.1
+++ b/jose/man1/jose-jwk-gen.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "JOSE\-JWK\-GEN" "1" "June 2017" "" ""
+.TH "JOSE\-JWK\-GEN" "1" "July 2019" "" ""
.
.SH "NAME"
\fBjose\-jwk\-gen\fR \- Creates a random JWK for each input JWK template
@@ -51,9 +51,9 @@ Generate three keys, each targeting a different algorithm:
.
.nf
-$ jose jwk gen \-i \'{"alg":"HS256"}\' \-o oct\.jwk
-$ jose jwk gen \-i \'{"alg":"RS256"}\' \-o rsa\.jwk
-$ jose jwk gen \-i \'{"alg":"ES256"}\' \-o ec\.jwk
+$ jose jwk gen \-i \(aq{"alg":"HS256"}\(aq \-o oct\.jwk
+$ jose jwk gen \-i \(aq{"alg":"RS256"}\(aq \-o rsa\.jwk
+$ jose jwk gen \-i \(aq{"alg":"ES256"}\(aq \-o ec\.jwk
.
.fi
.
@@ -66,9 +66,9 @@ Generate three keys using key parameters rather than algorithms:
.
.nf
-$ jose jwk gen \-i \'{"kty":"oct","bytes":32}\' \-o oct\.jwk
-$ jose jwk gen \-i \'{"kty":"RSA","bits":4096}\' \-o rsa\.jwk
-$ jose jwk gen \-i \'{"kty":"EC","crv":"P\-256"}\' \-o ec\.jwk
+$ jose jwk gen \-i \(aq{"kty":"oct","bytes":32}\(aq \-o oct\.jwk
+$ jose jwk gen \-i \(aq{"kty":"RSA","bits":4096}\(aq \-o rsa\.jwk
+$ jose jwk gen \-i \(aq{"kty":"EC","crv":"P\-256"}\(aq \-o ec\.jwk
.
.fi
.
@@ -82,7 +82,7 @@ Create multiple keys at once using a JWKSet template:
.nf
$ jose jwk gen \e
- \-i \'{"keys":[{"alg":"HS256"},{"alg":"ES256"}]}\' \e
+ \-i \(aq{"keys":[{"alg":"HS256"},{"alg":"ES256"}]}\(aq \e
\-o keys\.jwkset
.
.fi
@@ -97,8 +97,8 @@ Create multiple keys at once using multiple JWK templates:
.nf
$ jose jwk gen \e
- \-i \'{"alg":"HS256"}\' \e
- \-i \'{"alg":"ES256"}\' \e
+ \-i \(aq{"alg":"HS256"}\(aq \e
+ \-i \(aq{"alg":"ES256"}\(aq \e
\-o keys\.jwkset
.
.fi
diff --git a/jose/man1/jose-jwk-pub.1 b/jose/man1/jose-jwk-pub.1
index 108256c..c0332c9 100644
--- a/jose/man1/jose-jwk-pub.1
+++ b/jose/man1/jose-jwk-pub.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "JOSE\-JWK\-PUB" "1" "June 2017" "" ""
+.TH "JOSE\-JWK\-PUB" "1" "July 2019" "" ""
.
.SH "NAME"
\fBjose\-jwk\-pub\fR \- Cleans private keys from a JWK
@@ -48,7 +48,7 @@ Clean private key material from a JWK:
.
.nf
-$ jose jwk gen \-i \'{"alg":"ES256"}\' \-o prv\.jwk
+$ jose jwk gen \-i \(aq{"alg":"ES256"}\(aq \-o prv\.jwk
$ cat prv\.jwk
{"alg":"ES256","crv":"P\-256","key_ops":["sign","verify"],"kty":"EC", \.\.\.}
$ jose jwk pub \-i prv\.jwk \-o pub\.jwk
diff --git a/jose/man1/jose-jwk-thp.1 b/jose/man1/jose-jwk-thp.1
index 4b037cf..4b0c4f6 100644
--- a/jose/man1/jose-jwk-thp.1
+++ b/jose/man1/jose-jwk-thp.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "JOSE\-JWK\-THP" "1" "June 2017" "" ""
+.TH "JOSE\-JWK\-THP" "1" "July 2019" "" ""
.
.SH "NAME"
\fBjose\-jwk\-thp\fR \- Calculates the JWK thumbprint
@@ -53,7 +53,7 @@ Calculate the S1 thumbprint of a newly generated key:
.
.nf
-$ jose jwk gen \-i \'{"alg":"ES256"}\' \-a S1 | jose jwk thp \-i\-
+$ jose jwk gen \-i \(aq{"alg":"ES256"}\(aq \-a S1 | jose jwk thp \-i\-
BzmSH6W8a8LlbQ1mD0iBJdYj4x4
.
.fi
diff --git a/jose/man1/jose-jwk-use.1 b/jose/man1/jose-jwk-use.1
index a9ef2ef..adf1540 100644
--- a/jose/man1/jose-jwk-use.1
+++ b/jose/man1/jose-jwk-use.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "JOSE\-JWK\-USE" "1" "June 2017" "" ""
+.TH "JOSE\-JWK\-USE" "1" "July 2019" "" ""
.
.SH "NAME"
\fBjose\-jwk\-use\fR \- Validates a key for the specified use(s)
@@ -91,7 +91,7 @@ Examples of both success and failure from a private and public key:
.
.nf
-$ jose jwk gen \-i \'{"alg":"ES256"}\' \-o prv\.jwk
+$ jose jwk gen \-i \(aq{"alg":"ES256"}\(aq \-o prv\.jwk
$ jose jwk pub \-i prv\.jwk \-o pub\.jwk
$ jose jwk use \-i prv\.jwk \-u sign
$ echo $?
diff --git a/jose/man1/jose-jws-sig.1 b/jose/man1/jose-jws-sig.1
index ee827a3..336ead8 100644
--- a/jose/man1/jose-jws-sig.1
+++ b/jose/man1/jose-jws-sig.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "JOSE\-JWS\-SIG" "1" "June 2017" "" ""
+.TH "JOSE\-JWS\-SIG" "1" "July 2019" "" ""
.
.SH "NAME"
\fBjose\-jws\-sig\fR \- Signs a payload using one or more JWKs
@@ -99,7 +99,7 @@ Sign data with a symmetric key using JWE JSON Serialization:
.
.nf
-$ jose jwk gen \-i \'{"alg":"HS256"}\' \-o key\.jwk
+$ jose jwk gen \-i \(aq{"alg":"HS256"}\(aq \-o key\.jwk
$ jose jws sig \-I msg\.txt \-k key\.jwk \-o msg\.jws
.
.fi
@@ -126,8 +126,8 @@ Sign with two keys:
.
.nf
-$ jose jwk gen \-i \'{"alg":"ES256"}\' \-o ec\.jwk
-$ jose jwk gen \-i \'{"alg":"RS256"}\' \-o rsa\.jwk
+$ jose jwk gen \-i \(aq{"alg":"ES256"}\(aq \-o ec\.jwk
+$ jose jwk gen \-i \(aq{"alg":"RS256"}\(aq \-o rsa\.jwk
$ jose jws sig \-I msg\.txt \-k ec\.jwk \-k rsa\.jwk \-o msg\.jws
.
.fi
--
2.21.0

View File

@ -0,0 +1,46 @@
From 077bf992f0deb7d9bb17568726be33ca4209e89c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Fri, 13 Dec 2019 14:21:57 +0100
Subject: [PATCH] copy_file_range.2: update ERRORS
---
man-pages/man2/copy_file_range.2 | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/man-pages/man2/copy_file_range.2 b/man-pages/man2/copy_file_range.2
index 35c0967..f25ea95 100644
--- a/man-pages/man2/copy_file_range.2
+++ b/man-pages/man2/copy_file_range.2
@@ -78,7 +78,7 @@ is adjusted appropriately.
The
.I flags
argument is provided to allow for future extensions
-and currently must be to 0.
+and currently must be set to 0.
.SH RETURN VALUE
Upon successful completion,
.BR copy_file_range ()
@@ -109,7 +109,11 @@ maximum file size or the process's file size limit,
or to write at a position past the maximum allowed offset.
.TP
.B EINVAL
-Requested range extends beyond the end of the source file; or the
+Requested range extends beyond the end of the source file; or either
+.I fd_in
+or
+.I fd_out
+is not a regular file; or the
.I flags
argument is not 0.
.TP
@@ -117,6 +121,7 @@ argument is not 0.
A low-level I/O error occurred while copying.
.TP
.B EISDIR
+Either
.I fd_in
or
.I fd_out
--
2.21.0

View File

@ -0,0 +1,31 @@
From 4029cfa7a99e50e0f00e5b42f6edf38b424a05ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Wed, 29 May 2019 17:27:37 +0200
Subject: [PATCH] rpc.3: indicate that <rpc/rpc.h> is provided by
libtirpc-devel, not glibc
---
man-pages/man3/rpc.3 | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/man-pages/man3/rpc.3 b/man-pages/man3/rpc.3
index 0a1c263..65ac0fa 100644
--- a/man-pages/man3/rpc.3
+++ b/man-pages/man3/rpc.3
@@ -1211,6 +1211,13 @@ T{
T} Thread safety MT-Safe
.TE
.ad
+.SH NOTES
+The
+.I <rpc/rpc.h>
+header is not included with glibc, but requires installing
+.I libtirpc-devel
+package. See also
+.BR rpc (3t).
.SH SEE ALSO
.\" We don't have an rpc_secure.3 page in the set at the moment -- MTK, 19 Sep 05
.\" .BR rpc_secure (3),
--
2.21.0

View File

@ -0,0 +1,24 @@
From d9a5d2e1605eb3d379887b84109eece1c2f00656 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Thu, 30 Apr 2020 17:09:41 +0200
Subject: [PATCH 1/2] xattr.7: add attr(1) as a relevant page to SEE ALSO
---
man-pages/man7/xattr.7 | 1 +
1 file changed, 1 insertion(+)
diff --git a/man-pages/man7/xattr.7 b/man-pages/man7/xattr.7
index fa67ab8..6022b0f 100644
--- a/man-pages/man7/xattr.7
+++ b/man-pages/man7/xattr.7
@@ -189,6 +189,7 @@ This page was formerly named
.BR getfattr (1),
.BR setfattr (1),
.BR getxattr (2),
+.BR attr (1),
.BR ioctl_iflags (2),
.BR listxattr (2),
.BR removexattr (2),
--
2.26.2

View File

@ -0,0 +1,29 @@
From 72e4973f03c65b416ceb8f57595eeb0180facb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Thu, 30 Apr 2020 17:24:59 +0200
Subject: [PATCH 2/2] execve.2: clarify signal sent to the process on late
failure
---
man-pages/man2/execve.2 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/man-pages/man2/execve.2 b/man-pages/man2/execve.2
index 7aaa64b..6d86cc4 100644
--- a/man-pages/man2/execve.2
+++ b/man-pages/man2/execve.2
@@ -585,7 +585,10 @@ failure may occur past the point of no return:
the original executable image has been torn down,
but the new image could not be completely built.
In such cases, the kernel kills the process with a
-.BR SIGKILL
+.\" commit 19d860a140beac48a1377f179e693abe86a9dac9
+.BR SIGSEGV
+.RB ( SIGKILL
+until Linux 3.17)
signal.
.\"
.SS Interpreter scripts
--
2.26.2

View File

@ -0,0 +1,102 @@
%global debug_package %{nil}
Summary: Complementary and updated manual pages
Name: man-pages-overrides
Version: 8.3.0.0
Release: 1%{?dist}
# license is the same as for the man-pages package
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
Group: Documentation
# there is no public download location for this package
Source: man-pages-overrides-%{version}.tar.xz
Patch0: 1706882-mpo-8.1.0.0-rpc.3.patch
Patch1: 1673142-mpo-8.2.0.0-copy_file_range.2.patch
Patch2: 1517305-mpo-8.2.0.1-jose-.1.patch
Patch3: 1828296-mpo-8.3.0.0-xattr.7.patch
Patch4: 1829031-mpo-8.3.0.0-execve.2.patch
BuildArch: noarch
# make sure man-pages-overrides is installed with man-pages
Supplements: man-pages
%description
A collection of manual ("man") pages to complement other packages or update
those contained therein. Always have the latest version of this package
installed.
%prep
%autosetup -p1
# remove unwanted *.orig files
find -name "*.orig" -delete
%build
# nothing to build
%install
mkdir -p $RPM_BUILD_ROOT%{_mandir}/overrides
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
for i in *; do
if [[ -d "$i" ]]; then
for j in $(ls "$i"); do
if [[ -d "$i/$j" ]]; then
mkdir -p "$RPM_BUILD_ROOT%{_mandir}/overrides/$j"
for k in $(ls "$i/$j"); do
if [[ -d "$i/$j/$k" ]]; then
mkdir -p "$RPM_BUILD_ROOT%{_mandir}/overrides/$j/$k"
cp -f "$i/$j/$k"/* "$RPM_BUILD_ROOT%{_mandir}/overrides/$j/$k"
else
cp -f "$i/$j"/* "$RPM_BUILD_ROOT%{_mandir}/overrides/$j"
fi
done
else
mkdir -p "$RPM_BUILD_ROOT%{_docdir}/%{name}/$i"
cp "$i/$j" "$RPM_BUILD_ROOT%{_docdir}/%{name}/$i"
fi
done
fi
done
%files
%doc %{_docdir}/%{name}
%{_mandir}/overrides/
%changelog
* Thu Apr 30 2020 Nikola Forró <nforro@redhat.com> - 8.3.0.0-1
- Upload new tarball
- Use unversioned docdir
resolves: #1824824
- xattr.7: add attr(1) as a relevant page to SEE ALSO
resolves: #1828296
- execve.2: clarify signal sent to the process on late failure
resolves: #1829031
* Thu Dec 19 2019 Nikola Forró <nforro@redhat.com> - 8.2.0.2-1
- Upload new tarball
- kernel_lockdown.7: add missing .RE macro
related: #1781945
* Wed Dec 18 2019 Nikola Forró <nforro@redhat.com> - 8.2.0.1-1
- Upload new tarball
- jose-*.1: fix typographical errors
resolves: #1517305
* Fri Dec 13 2019 Nikola Forró <nforro@redhat.com> - 8.2.0.0-1
- Upload new tarball
- kernel_lockdown.7: add new manpage
resolves: #1781945
- copy_file_range.2: update ERRORS
resolves: #1673142
* Wed Jun 19 2019 Nikola Forró <nforro@redhat.com> - 8.1.0.0-2
- Mark this package as man-pages supplement
related: #1706882
* Wed May 29 2019 Nikola Forró <nforro@redhat.com> - 8.1.0.0-1
- Upload new tarball
- rpc.3: indicate that <rpc/rpc.h> is provided by libtirpc-devel, not glibc
resolves: #1706882
* Thu Jul 26 2018 Nikola Forró <nforro@redhat.com> - 8.0.0-1
- Initial package for RHEL 8.0