diff --git a/oath-toolkit-2.6.5-lockfile.patch b/oath-toolkit-2.6.6-lockfile.patch similarity index 95% rename from oath-toolkit-2.6.5-lockfile.patch rename to oath-toolkit-2.6.6-lockfile.patch index e26c0eb..7c62440 100644 --- a/oath-toolkit-2.6.5-lockfile.patch +++ b/oath-toolkit-2.6.6-lockfile.patch @@ -1,5 +1,5 @@ diff --git a/liboath/global.c b/liboath/global.c -index 89c18c5..7fc7b8a 100644 +index d442cf3..cfe1cee 100644 --- a/liboath/global.c +++ b/liboath/global.c @@ -25,9 +25,12 @@ @@ -61,7 +61,7 @@ index 89c18c5..7fc7b8a 100644 + return OATH_OK; +} diff --git a/liboath/liboath.map b/liboath/liboath.map -index 5e31cef..436cd65 100644 +index 2f247ff..e8f8cdf 100644 --- a/liboath/liboath.map +++ b/liboath/liboath.map @@ -75,6 +75,7 @@ LIBOATH_2.2.0 @@ -73,10 +73,10 @@ index 5e31cef..436cd65 100644 LIBOATH_2.6.0 diff --git a/liboath/oath.h b/liboath/oath.h -index 9d1a277..7ceeaa7 100644 +index 04dc23d..5d4c0af 100644 --- a/liboath/oath.h +++ b/liboath/oath.h -@@ -136,11 +136,15 @@ typedef enum +@@ -155,11 +155,15 @@ typedef enum /* Global */ @@ -93,10 +93,10 @@ index 9d1a277..7ceeaa7 100644 extern OATHAPI const char *oath_strerror (int err); diff --git a/liboath/oath.h.in b/liboath/oath.h.in -index 8654342..17fddd3 100644 +index 709bb2b..b2f8a0f 100644 --- a/liboath/oath.h.in +++ b/liboath/oath.h.in -@@ -136,11 +136,15 @@ typedef enum +@@ -155,11 +155,15 @@ typedef enum /* Global */ @@ -113,7 +113,7 @@ index 8654342..17fddd3 100644 extern OATHAPI const char *oath_strerror (int err); diff --git a/liboath/usersfile.c b/liboath/usersfile.c -index 9da30fe..d9bd943 100644 +index 2c51da2..cb6a85f 100644 --- a/liboath/usersfile.c +++ b/liboath/usersfile.c @@ -323,9 +323,18 @@ update_usersfile (const char *usersfile, @@ -139,7 +139,7 @@ index 9da30fe..d9bd943 100644 lockfh = fopen (lockfile, "w"); if (!lockfh) diff --git a/pam_oath/pam_oath.c b/pam_oath/pam_oath.c -index 89310b5..def004f 100644 +index ba577b4..c0fd13e 100644 --- a/pam_oath/pam_oath.c +++ b/pam_oath/pam_oath.c @@ -70,6 +70,7 @@ struct cfg diff --git a/oath-toolkit.spec b/oath-toolkit.spec index 0eb2aaa..e8bbb8f 100644 --- a/oath-toolkit.spec +++ b/oath-toolkit.spec @@ -1,14 +1,14 @@ Name: oath-toolkit -Version: 2.6.5 +Version: 2.6.6 Release: 1%{?dist} License: GPLv3+ Summary: One-time password components BuildRequires: make BuildRequires: pam-devel, gtk-doc, libtool, libtool-ltdl-devel BuildRequires: xmlsec1-devel, xmlsec1-openssl-devel, autoconf, automake -Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz -URL: http://www.nongnu.org/oath-toolkit/ -Patch0: oath-toolkit-2.6.5-lockfile.patch +Source0: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz +URL: https://www.nongnu.org/oath-toolkit/ +Patch0: oath-toolkit-2.6.6-lockfile.patch %description The OATH Toolkit provide components for building one-time password @@ -176,6 +176,11 @@ mkdir -p -m 0600 %{buildroot}%{_sysconfdir}/liboath %{_libdir}/security/pam_oath.so %changelog +* Wed Jan 20 2021 Jaroslav Škarvada - 2.6.6-1 +- New version + Resolves: rhbz#1918498 +- Updated source URL + * Mon Jan 4 2021 Jaroslav Škarvada - 2.6.5-1 - New version Resolves: rhbz#1911419 diff --git a/sources b/sources index 491a930..24b6cda 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (oath-toolkit-2.6.5.tar.gz) = 508eb87ef62117df28fc74f099d077a1092901e66de6b099ea7c2954fc552a252a243a34de972a2dd4e92cdafb1b831b1fb92c746ab0dc49a8588fca210843ba +SHA512 (oath-toolkit-2.6.6.tar.gz) = f5b6beee6e2afdcb2edfa0046650cb5cc6dee2dc759ce5db3a0350d579d589d35efc51ebcab1f353f103138b7de0ccfb6f3246d0e11ae81f4b31b63cbf9908be