summaryrefslogtreecommitdiffstats
path: root/argon2.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-04-03 15:32:38 +0200
committerRemi Collet <remi@remirepo.net>2019-04-03 15:32:38 +0200
commita5f8f84fdca700b32402e2a7b0f3a1ae72a64efd (patch)
treef30e50b06bbae748a03a6890815c826a8906d679 /argon2.spec
parent197ce4ceb7ed86114d198340b4da9f6da5c3eeca (diff)
Fix a crash if running under memory pressure (rh #1688752). From Fedora
Diffstat (limited to 'argon2.spec')
-rw-r--r--argon2.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/argon2.spec b/argon2.spec
index 20a0413..adae23e 100644
--- a/argon2.spec
+++ b/argon2.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for argon2
#
-# Copyright (c) 2017-2018 Remi Collet
+# Copyright (c) 2017-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -18,14 +18,15 @@
Name: argon2
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 5%{?dist}
-Group: Applications/System
+Release: 7%{?dist}
Summary: The password-hashing tools
License: Public Domain or ASL 2.0
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{upstream_version}%{?upstream_prever}-%{gh_short}.tar.gz
+Patch0: argon2-Wait-for-already-running-threads-if-a-thread-creatio.patch
+BuildRequires: gcc
Requires: %{libname}%{?_isa} = %{version}-%{release}
@@ -54,7 +55,6 @@ Argon2 has three variants: Argon2i, Argon2d, and Argon2id.
%package -n %{libname}
-Group: System Environment/Libraries
Summary: The password-hashing library
%description -n %{libname}
@@ -64,7 +64,6 @@ for credential storage, key derivation, or other applications.
%package -n %{libname}-devel
-Group: Development/Libraries
Summary: Development files for %{libname}
Requires: %{libname}%{?_isa} = %{version}-%{release}
@@ -75,6 +74,7 @@ developing applications that use %{libname}.
%prep
%setup -qn %{gh_project}-%{gh_commit}
+%patch0 -p1
if ! grep -q 'soname,%{libname}.so.%{soname}' Makefile; then
: soname have changed
@@ -141,6 +141,9 @@ make test
%changelog
+* Wed Apr 3 2019 Remi Collet <remi@remirepo.net> - 20161029-7
+- Fix a crash if running under memory pressure (rh #1688752).
+
* Thu Feb 15 2018 Remi Collet <remi@remirepo.net> - 20161029-5
- honours all build flags #1558128