Add manpages for crypt{,_r_ra}.3 (#1610307)
This commit is contained in:
parent
9cce046be8
commit
8df361c7da
78
libxcrypt-4.1.1_add_other_manpages.patch
Normal file
78
libxcrypt-4.1.1_add_other_manpages.patch
Normal file
@ -0,0 +1,78 @@
|
||||
From cc1806e214b89403152c2c53932d8d0b8aeb1e91 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
|
||||
Date: Sat, 4 Aug 2018 13:02:03 +0200
|
||||
Subject: [PATCH] Add alias man-pages for other crypt functions.
|
||||
|
||||
---
|
||||
Makefile.am | 3 ++-
|
||||
crypt.3 | 1 +
|
||||
crypt.5 | 2 ++
|
||||
crypt_gensalt.3 | 2 ++
|
||||
crypt_r.3 | 1 +
|
||||
crypt_ra.3 | 1 +
|
||||
6 files changed, 9 insertions(+), 1 deletion(-)
|
||||
create mode 100644 crypt.3
|
||||
create mode 100644 crypt_r.3
|
||||
create mode 100644 crypt_ra.3
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 874db12..41ca783 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -18,7 +18,8 @@ EXTRA_DIST = \
|
||||
gen-map.awk gen-vers.awk gen-crypt-h.awk \
|
||||
gen-hashes.awk sel-hashes.awk hashes.lst
|
||||
|
||||
-notrans_dist_man3_MANS = crypt_rn.3 crypt_gensalt.3
|
||||
+notrans_dist_man3_MANS = crypt.3 crypt_r.3 crypt_ra.3 \
|
||||
+ crypt_rn.3 crypt_gensalt.3
|
||||
notrans_dist_man5_MANS = crypt.5
|
||||
|
||||
nodist_include_HEADERS = crypt.h
|
||||
diff --git a/crypt.3 b/crypt.3
|
||||
new file mode 100644
|
||||
index 0000000..430e48f
|
||||
--- /dev/null
|
||||
+++ b/crypt.3
|
||||
@@ -0,0 +1 @@
|
||||
+.so man3/crypt_rn.3
|
||||
diff --git a/crypt.5 b/crypt.5
|
||||
index 5db9c92..7fe4609 100644
|
||||
--- a/crypt.5
|
||||
+++ b/crypt.5
|
||||
@@ -279,6 +279,8 @@ that will work on an old operating system that supports nothing else.
|
||||
.hash "$3$" "\e$3\e$\e$[0-9a-f]{32}" unlimited 8 256 256 0 1
|
||||
.SH SEE ALSO
|
||||
.BR crypt (3),
|
||||
+.BR crypt_r (3),
|
||||
+.BR crypt_ra (3),
|
||||
.BR crypt_rn (3),
|
||||
.BR crypt_gensalt (3),
|
||||
.BR getpwent (3),
|
||||
diff --git a/crypt_gensalt.3 b/crypt_gensalt.3
|
||||
index ebfff28..3109740 100644
|
||||
--- a/crypt_gensalt.3
|
||||
+++ b/crypt_gensalt.3
|
||||
@@ -223,6 +223,8 @@ T} Thread safety MT-Safe
|
||||
.SH SEE ALSO
|
||||
.ad l
|
||||
.BR crypt (3),
|
||||
+.BR crypt_r (3),
|
||||
+.BR crypt_ra (3),
|
||||
.BR crypt_rn (3),
|
||||
.BR getpass (3),
|
||||
.BR getpwent (3),
|
||||
diff --git a/crypt_r.3 b/crypt_r.3
|
||||
new file mode 100644
|
||||
index 0000000..430e48f
|
||||
--- /dev/null
|
||||
+++ b/crypt_r.3
|
||||
@@ -0,0 +1 @@
|
||||
+.so man3/crypt_rn.3
|
||||
diff --git a/crypt_ra.3 b/crypt_ra.3
|
||||
new file mode 100644
|
||||
index 0000000..430e48f
|
||||
--- /dev/null
|
||||
+++ b/crypt_ra.3
|
||||
@@ -0,0 +1 @@
|
||||
+.so man3/crypt_rn.3
|
@ -19,7 +19,7 @@
|
||||
|
||||
Name: libxcrypt
|
||||
Version: 4.1.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Extended crypt library for DES, MD5, Blowfish and others
|
||||
|
||||
# For explicit license breakdown, see the
|
||||
@ -28,6 +28,8 @@ License: LGPLv2+ and BSD and Public Domain
|
||||
URL: https://github.com/besser82/%{name}
|
||||
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: %{url}/commit/cc1806e214b8.patch#/%{name}-4.1.1_add_other_manpages.patch
|
||||
|
||||
BuildRequires: fipscheck
|
||||
BuildRequires: libtool
|
||||
|
||||
@ -156,6 +158,9 @@ is highly discouraged.
|
||||
/%{_lib}/.libcrypt.so.%{sov}.hmac
|
||||
/%{_lib}/libcrypt.so.%{soc}
|
||||
/%{_lib}/libcrypt.so.%{sov}
|
||||
%{_mandir}/man3/crypt.3.*
|
||||
%{_mandir}/man3/crypt_r.3.*
|
||||
%{_mandir}/man3/crypt_ra.3.*
|
||||
%{_mandir}/man3/crypt_rn.3.*
|
||||
%{_mandir}/man3/crypt_gensalt.3.*
|
||||
%{_mandir}/man5/crypt.5.*
|
||||
@ -175,6 +180,9 @@ is highly discouraged.
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Aug 04 2018 Björn Esser <besser82@fedoraproject.org> - 4.1.1-2
|
||||
- Add manpages for crypt{,_r_ra}.3 (#1610307)
|
||||
|
||||
* Wed Aug 01 2018 Björn Esser <besser82@fedoraproject.org> - 4.1.1-1
|
||||
- New upstream release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user