Change the files order in patch file fix-doc-about-difok

Signed-off-by: yixiangzhike <yixiangzhike007@163.com>
This commit is contained in:
yixiangzhike 2022-08-23 15:41:15 +08:00
parent 7c0715e943
commit 83ab800ec5
2 changed files with 34 additions and 28 deletions

View File

@ -4,26 +4,13 @@ Date: Wed, 10 Aug 2022 15:34:03 +0800
Subject: [PATCH] fix doc about difok Subject: [PATCH] fix doc about difok
--- ---
doc/man/pam_pwquality.8 | 2 +-
doc/man/pam_pwquality.8.pod | 2 +- doc/man/pam_pwquality.8.pod | 2 +-
doc/man/pwquality.conf.5 | 2 +- doc/man/pam_pwquality.8 | 2 +-
doc/man/pwquality.conf.5.pod | 2 +- doc/man/pwquality.conf.5.pod | 2 +-
doc/man/pwquality.conf.5 | 2 +-
src/pwquality.conf | 2 +- src/pwquality.conf | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-) 5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/man/pam_pwquality.8 b/doc/man/pam_pwquality.8
index 030223d..670d562 100644
--- a/doc/man/pam_pwquality.8
+++ b/doc/man/pam_pwquality.8
@@ -156,7 +156,7 @@ Prompt user at most \fIN\fR times before returning with error. The default is
\&\fI1\fR.
.IP "\fBdifok=\fR\fIN\fR" 4
.IX Item "difok=N"
-This argument will change the default of \fI1\fR for the number of changes in
+This argument will change the default of \fI5\fR for the number of changes in
the new password from the old password.
.Sp
The special value of \fI0\fR disables all checks of similarity of the new password
diff --git a/doc/man/pam_pwquality.8.pod b/doc/man/pam_pwquality.8.pod diff --git a/doc/man/pam_pwquality.8.pod b/doc/man/pam_pwquality.8.pod
index 7a74b48..4734a24 100644 index 7a74b48..4734a24 100644
--- a/doc/man/pam_pwquality.8.pod --- a/doc/man/pam_pwquality.8.pod
@ -37,19 +24,19 @@ index 7a74b48..4734a24 100644
the new password from the old password. the new password from the old password.
The special value of I<0> disables all checks of similarity of the new password The special value of I<0> disables all checks of similarity of the new password
diff --git a/doc/man/pwquality.conf.5 b/doc/man/pwquality.conf.5 diff --git a/doc/man/pam_pwquality.8 b/doc/man/pam_pwquality.8
index 1093aeb..7ed1992 100644 index 030223d..670d562 100644
--- a/doc/man/pwquality.conf.5 --- a/doc/man/pam_pwquality.8
+++ b/doc/man/pwquality.conf.5 +++ b/doc/man/pam_pwquality.8
@@ -103,7 +103,7 @@ The possible options in the file are: @@ -156,7 +156,7 @@ Prompt user at most \fIN\fR times before returning with error. The default is
.IP "\fBdifok\fR" 4 \&\fI1\fR.
.IX Item "difok" .IP "\fBdifok=\fR\fIN\fR" 4
Number of characters in the new password that must not be present in the .IX Item "difok=N"
-old password. (default 1) -This argument will change the default of \fI1\fR for the number of changes in
+old password. (default 5) +This argument will change the default of \fI5\fR for the number of changes in
the new password from the old password.
.Sp .Sp
The special value of 0 disables all checks of similarity of the new password The special value of \fI0\fR disables all checks of similarity of the new password
with the old password except the new password being exactly the same as
diff --git a/doc/man/pwquality.conf.5.pod b/doc/man/pwquality.conf.5.pod diff --git a/doc/man/pwquality.conf.5.pod b/doc/man/pwquality.conf.5.pod
index ada22d0..c7c44cb 100644 index ada22d0..c7c44cb 100644
--- a/doc/man/pwquality.conf.5.pod --- a/doc/man/pwquality.conf.5.pod
@ -61,6 +48,19 @@ index ada22d0..c7c44cb 100644
-old password. (default 1) -old password. (default 1)
+old password. (default 5) +old password. (default 5)
The special value of 0 disables all checks of similarity of the new password
with the old password except the new password being exactly the same as
diff --git a/doc/man/pwquality.conf.5 b/doc/man/pwquality.conf.5
index 1093aeb..7ed1992 100644
--- a/doc/man/pwquality.conf.5
+++ b/doc/man/pwquality.conf.5
@@ -103,7 +103,7 @@ The possible options in the file are:
.IP "\fBdifok\fR" 4
.IX Item "difok"
Number of characters in the new password that must not be present in the
-old password. (default 1)
+old password. (default 5)
.Sp
The special value of 0 disables all checks of similarity of the new password The special value of 0 disables all checks of similarity of the new password
with the old password except the new password being exactly the same as with the old password except the new password being exactly the same as
diff --git a/src/pwquality.conf b/src/pwquality.conf diff --git a/src/pwquality.conf b/src/pwquality.conf

View File

@ -3,7 +3,7 @@
Name: libpwquality Name: libpwquality
Version: 1.4.4 Version: 1.4.4
Release: 4 Release: 5
Summary: Library for password quality checking and generating random passwords. Summary: Library for password quality checking and generating random passwords.
License: BSD or GPLv2+ License: BSD or GPLv2+
URL: https://github.com/libpwquality/libpwquality/ URL: https://github.com/libpwquality/libpwquality/
@ -99,6 +99,12 @@ mkdir %{buildroot}%{_secconfdir}/pwquality.conf.d
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Tue Aug 23 2022 yixiangzhike <yixiangzhike007@163.com> - 1.4.4-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:change the files order in patch file fix-doc-about-difok.patch
* Wed Aug 10 2022 yixiangzhike <yixiangzhike007@163.com> - 1.4.4-4 * Wed Aug 10 2022 yixiangzhike <yixiangzhike007@163.com> - 1.4.4-4
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA