diff --git a/.gitignore b/.gitignore index 07335fa..a672109 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/libpwquality-1.2.2-empty-user.patch b/libpwquality-1.2.2-empty-user.patch deleted file mode 100644 index d104066..0000000 --- a/libpwquality-1.2.2-empty-user.patch +++ /dev/null @@ -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; - } diff --git a/libpwquality.spec b/libpwquality.spec index 95fa748..fd054da 100644 --- a/libpwquality.spec +++ b/libpwquality.spec @@ -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 - 1.2.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Jul 11 2013 Tomas Mraz 1.2.2-3 -- move library and pam module to /usr - -* Mon Jul 8 2013 Tomas Mraz 1.2.2-2 -- treat empty user or old password as NULL +* Thu Sep 12 2013 Tomáš Mráz 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 1.2.2-1 - manual page fixes diff --git a/sources b/sources index aa2351f..275c249 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2105bb893791fe27efc20441e617f385 libpwquality-1.2.2.tar.bz2 +a8d4cf5d40a1c301f965432e6f3b821b libpwquality-1.2.3.tar.bz2