man: fix a formatting on the keyctl.1 man page
回合上游补丁:https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/commit/?id=81a8c963db50681c7470dcfe8fe6c79a70d7aadd Signed-off-by: jiawenhao <jiawenhao@xfusion.com>
This commit is contained in:
parent
bc9471d9a9
commit
f0c3ab6a6d
42
backport-fix-a-formatting-on-the-keyctl.1-man-page.patch
Normal file
42
backport-fix-a-formatting-on-the-keyctl.1-man-page.patch
Normal file
@ -0,0 +1,42 @@
|
||||
From c776445b5c5cb7116cf678182a2777d69eaf3276 Mon Sep 17 00:00:00 2001
|
||||
From: jiawenhao <jiawenhao@xfusion.com>
|
||||
Date: Thu, 17 Apr 2025 17:10:19 +0800
|
||||
Subject: [PATCH] fix-a-formatting-on-the-keyctl.1-man-page
|
||||
|
||||
---
|
||||
man/keyctl.1 | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/man/keyctl.1 b/man/keyctl.1
|
||||
index 2343762..c1d067f 100644
|
||||
--- a/man/keyctl.1
|
||||
+++ b/man/keyctl.1
|
||||
@@ -302,7 +302,7 @@ The \fBpadd\fR variant of the command reads the data from stdin rather than
|
||||
taking it from the command line:
|
||||
|
||||
.RS
|
||||
-.fi
|
||||
+.nf
|
||||
$ echo \-n stuff | keyctl padd user mykey @u
|
||||
26
|
||||
.fi
|
||||
@@ -499,6 +499,7 @@ reject all links.
|
||||
.RS
|
||||
.nf
|
||||
$ keyctl restrict_keyring $1 asymmetric builtin_trusted
|
||||
+.fi
|
||||
.RE
|
||||
.SS Read a key
|
||||
\fBkeyctl read\fR <key>
|
||||
@@ -522,7 +523,7 @@ $ keyctl read 26
|
||||
$ keyctl print 26
|
||||
b
|
||||
$ keyctl pipe 26
|
||||
-$
|
||||
+b$
|
||||
.fi
|
||||
.RE
|
||||
.SS List a keyring
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: keyutils
|
||||
Version: 1.6.3
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: Utilities of Linux Key Management
|
||||
License: GPLv2+ and LGPLv2+
|
||||
|
||||
@ -8,6 +8,7 @@ Url: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git
|
||||
Source0: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-%{version}.tar.gz
|
||||
|
||||
Patch9000: bugfix-fix-argv-string-out-of-bounds.patch
|
||||
Patch9001: backport-fix-a-formatting-on-the-keyctl.1-man-page.patch
|
||||
|
||||
BuildRequires: gcc gcc-c++
|
||||
BuildRequires: glibc-kernheaders >= 2.4-9.1.92
|
||||
@ -96,6 +97,9 @@ make \
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Thu Apr 17 2025 jiawenhao <jiawenhao@xfusion.com> - 1.6.3-6
|
||||
- DESC: fix a formatting on the keyctl.1 man page
|
||||
|
||||
* Fri Aug 05 2022 xuraoqing <xuraoqing@huawei.com> - 1.6.3-5
|
||||
- DESC: fixed incorrect changelog time
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user