commit:     d6b4747fd6f5917f28a1756a24f9760f49813fbb
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 28 08:19:58 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Apr 28 08:21:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6b4747f

sys-fs/cryptsetup: Revbump to fix default pw-hashing with USE="-argon2"

Thanks-to: Hector Martin <marcan <AT> marcan.st>
Closes: https://bugs.gentoo.org/786372
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../cryptsetup/{cryptsetup-2.3.4.ebuild => cryptsetup-2.3.4-r1.ebuild}   | 1 +
 .../cryptsetup/{cryptsetup-2.3.5.ebuild => cryptsetup-2.3.5-r1.ebuild}   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys-fs/cryptsetup/cryptsetup-2.3.4.ebuild 
b/sys-fs/cryptsetup/cryptsetup-2.3.4-r1.ebuild
similarity index 98%
rename from sys-fs/cryptsetup/cryptsetup-2.3.4.ebuild
rename to sys-fs/cryptsetup/cryptsetup-2.3.4-r1.ebuild
index 5c0a691593f..506cc07dfd9 100644
--- a/sys-fs/cryptsetup/cryptsetup-2.3.4.ebuild
+++ b/sys-fs/cryptsetup/cryptsetup-2.3.4-r1.ebuild
@@ -89,6 +89,7 @@ src_configure() {
                $(use_enable static-libs static)
                $(use_enable udev)
                $(use_enable !urandom dev-random)
+               $(usex argon2 '' '--with-luks2-pbkdf=pbkdf2')
        )
        econf "${myeconfargs[@]}"
 }

diff --git a/sys-fs/cryptsetup/cryptsetup-2.3.5.ebuild 
b/sys-fs/cryptsetup/cryptsetup-2.3.5-r1.ebuild
similarity index 98%
rename from sys-fs/cryptsetup/cryptsetup-2.3.5.ebuild
rename to sys-fs/cryptsetup/cryptsetup-2.3.5-r1.ebuild
index af8bdea1118..c752e6c2722 100644
--- a/sys-fs/cryptsetup/cryptsetup-2.3.5.ebuild
+++ b/sys-fs/cryptsetup/cryptsetup-2.3.5-r1.ebuild
@@ -89,6 +89,7 @@ src_configure() {
                $(use_enable static-libs static)
                $(use_enable udev)
                $(use_enable !urandom dev-random)
+               $(usex argon2 '' '--with-luks2-pbkdf=pbkdf2')
        )
        econf "${myeconfargs[@]}"
 }

Reply via email to