Minor upstream release.
- fix problem with parsing the pam_pwquality options patch by Vladimir Sorokin. - updated translations from Transifex - treat empty user or password as NULL - move the library to /usr
This commit is contained in:
parent
711ed4b2cf
commit
c50b07f1e5
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@
|
||||
/libpwquality-1.2.0.tar.bz2
|
||||
/libpwquality-1.2.1.tar.bz2
|
||||
/libpwquality-1.2.2.tar.bz2
|
||||
/libpwquality-1.2.3.tar.bz2
|
||||
|
||||
@ -1,16 +0,0 @@
|
||||
diff -r e8035cfc9647 src/check.c
|
||||
--- a/src/check.c Wed Jun 19 17:41:41 2013 +0200
|
||||
+++ b/src/check.c Mon Jul 08 14:46:04 2013 +0200
|
||||
@@ -654,6 +654,12 @@
|
||||
return PWQ_ERROR_EMPTY_PASSWORD;
|
||||
}
|
||||
|
||||
+ if (user && *user == '\0')
|
||||
+ user = NULL;
|
||||
+
|
||||
+ if (oldpassword && *oldpassword == '\0')
|
||||
+ oldpassword = NULL;
|
||||
+
|
||||
if (oldpassword && strcmp(oldpassword, password) == 0) {
|
||||
return PWQ_ERROR_SAME_PASSWORD;
|
||||
}
|
||||
@ -1,13 +1,12 @@
|
||||
Summary: A library for password generation and password quality checking
|
||||
Name: libpwquality
|
||||
Version: 1.2.2
|
||||
Release: 4%{?dist}
|
||||
Version: 1.2.3
|
||||
Release: 1%{?dist}
|
||||
# The package is BSD licensed with option to relicense as GPLv2+
|
||||
# - this option is redundant as the BSD license allows that anyway.
|
||||
License: BSD or GPLv2+
|
||||
Group: System Environment/Base
|
||||
Source0: http://fedorahosted.org/releases/l/i/libpwquality/libpwquality-%{version}.tar.bz2
|
||||
Patch1: libpwquality-1.2.2-empty-user.patch
|
||||
|
||||
%global _pwqlibdir %{_libdir}
|
||||
%global _moduledir %{_libdir}/security
|
||||
@ -55,7 +54,6 @@ pronounceable passwords from Python applications.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .empty-user
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -109,14 +107,12 @@ rm -f $RPM_BUILD_ROOT%{_moduledir}/*.la
|
||||
%{python_sitearch}/pwquality.so
|
||||
|
||||
%changelog
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Thu Jul 11 2013 Tomas Mraz <tmraz@redhat.com> 1.2.2-3
|
||||
- move library and pam module to /usr
|
||||
|
||||
* Mon Jul 8 2013 Tomas Mraz <tmraz@redhat.com> 1.2.2-2
|
||||
- treat empty user or old password as NULL
|
||||
* Thu Sep 12 2013 Tomáš Mráz <tmraz@redhat.com> 1.2.3-1
|
||||
- fix problem with parsing the pam_pwquality options
|
||||
patch by Vladimir Sorokin.
|
||||
- updated translations from Transifex
|
||||
- treat empty user or password as NULL
|
||||
- move the library to /usr
|
||||
|
||||
* Wed Jun 19 2013 Tomas Mraz <tmraz@redhat.com> 1.2.2-1
|
||||
- manual page fixes
|
||||
|
||||
Loading…
Reference in New Issue
Block a user