From 93a93e9a3b53c1a73142a305ea1f8136846942ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Dec 2021 14:08:05 +0000 Subject: gentoo resync : 22.12.2021 --- app-crypt/argon2/Manifest | 2 +- app-crypt/argon2/argon2-20190702-r1.ebuild | 59 ++++++++++++++++++++++++++++++ app-crypt/argon2/argon2-20190702.ebuild | 59 ------------------------------ 3 files changed, 60 insertions(+), 60 deletions(-) create mode 100644 app-crypt/argon2/argon2-20190702-r1.ebuild delete mode 100644 app-crypt/argon2/argon2-20190702.ebuild (limited to 'app-crypt/argon2') diff --git a/app-crypt/argon2/Manifest b/app-crypt/argon2/Manifest index 5244f4d7bf2e..13f9fd5d168f 100644 --- a/app-crypt/argon2/Manifest +++ b/app-crypt/argon2/Manifest @@ -1,3 +1,3 @@ DIST argon2-20190702.tar.gz 1505307 BLAKE2B fa9c3dde7b39c8d797a3d6b52992ebfe35f5eba1c7d7b3aa02c440edc36a3f5186cacee2e39e27ed7c6356dc1970dac0e8198d6f2065eb63ff77f9dfb2937cf8 SHA512 0a4cb89e8e63399f7df069e2862ccd05308b7652bf4ab74372842f66bcc60776399e0eaf979a7b7e31436b5e6913fe5b0a6949549d8c82ebd06e0629b106e85f -EBUILD argon2-20190702.ebuild 1357 BLAKE2B e661904aa206851d5cd9d1e6110ec939accdb9c9e15d3f9f2b6713f4bd95094ec4324a06911a9265074e7de2bda8c14076417512f7c8625f38b6e16d28c61415 SHA512 bb024847fa3acbaaad351fec888238ff4a2117ee61f8bc7f3704187fc99969b10e29a81a4771d1fa43e9b7e8153e8a35fb96ac4bf3296e0d4f8178fdfd821f86 +EBUILD argon2-20190702-r1.ebuild 1357 BLAKE2B e661904aa206851d5cd9d1e6110ec939accdb9c9e15d3f9f2b6713f4bd95094ec4324a06911a9265074e7de2bda8c14076417512f7c8625f38b6e16d28c61415 SHA512 bb024847fa3acbaaad351fec888238ff4a2117ee61f8bc7f3704187fc99969b10e29a81a4771d1fa43e9b7e8153e8a35fb96ac4bf3296e0d4f8178fdfd821f86 MISC metadata.xml 669 BLAKE2B a29e9ed5c8f1d6a91cefed3273a3e6a81258c44d4653e98cc32c5a92c3b5d7ea88a316795f56c345c18e0cc6166939ae85e05d538c24245c7141e1dc5c644745 SHA512 acf451c558fc2b080d398c8f94f9d0a42b6c15b13bd8020271199f3616774207c820ee3e2d5d3c674b56e2f7de8b8a60bef171c1eab7fc9fe16dd9bfcd9245a8 diff --git a/app-crypt/argon2/argon2-20190702-r1.ebuild b/app-crypt/argon2/argon2-20190702-r1.ebuild new file mode 100644 index 000000000000..b8456fce50bf --- /dev/null +++ b/app-crypt/argon2/argon2-20190702-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Password hashing software that won the Password Hashing Competition (PHC)" +HOMEPAGE="https://github.com/P-H-C/phc-winner-argon2" +SRC_URI="https://github.com/P-H-C/phc-winner-argon2/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 CC0-1.0 )" +SLOT="0/1" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="static-libs" + +S="${WORKDIR}/phc-winner-${P}" + +DOCS=( argon2-specs.pdf CHANGELOG.md README.md ) + +src_prepare() { + default + if ! use static-libs; then + sed -i -e '/LIBRARIES =/s/\$(LIB_ST)//' Makefile || die + fi + sed -i \ + -e 's/-O3//' \ + -e 's/-g//' \ + -e 's/-march=\$(OPTTARGET)//' \ + Makefile || die + + tc-export CC + + OPTTEST=1 + if use amd64 || use x86; then + $(tc-getCPP) ${CFLAGS} ${CPPFLAGS} -P - <<-EOF &>/dev/null && OPTTEST=0 + #if defined(__SSE2__) + true + #else + #error false + #endif + EOF + fi +} + +src_compile() { + emake OPTTEST="${OPTTEST}" LIBRARY_REL="$(get_libdir)" \ + ARGON2_VERSION="0~${PV}" +} + +src_test() { + emake OPTTEST="${OPTTEST}" test +} + +src_install() { + emake OPTTEST="${OPTTEST}" DESTDIR="${ED}" LIBRARY_REL="$(get_libdir)" install + einstalldocs + doman man/argon2.1 +} diff --git a/app-crypt/argon2/argon2-20190702.ebuild b/app-crypt/argon2/argon2-20190702.ebuild deleted file mode 100644 index b8456fce50bf..000000000000 --- a/app-crypt/argon2/argon2-20190702.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Password hashing software that won the Password Hashing Competition (PHC)" -HOMEPAGE="https://github.com/P-H-C/phc-winner-argon2" -SRC_URI="https://github.com/P-H-C/phc-winner-argon2/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="|| ( Apache-2.0 CC0-1.0 )" -SLOT="0/1" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="static-libs" - -S="${WORKDIR}/phc-winner-${P}" - -DOCS=( argon2-specs.pdf CHANGELOG.md README.md ) - -src_prepare() { - default - if ! use static-libs; then - sed -i -e '/LIBRARIES =/s/\$(LIB_ST)//' Makefile || die - fi - sed -i \ - -e 's/-O3//' \ - -e 's/-g//' \ - -e 's/-march=\$(OPTTARGET)//' \ - Makefile || die - - tc-export CC - - OPTTEST=1 - if use amd64 || use x86; then - $(tc-getCPP) ${CFLAGS} ${CPPFLAGS} -P - <<-EOF &>/dev/null && OPTTEST=0 - #if defined(__SSE2__) - true - #else - #error false - #endif - EOF - fi -} - -src_compile() { - emake OPTTEST="${OPTTEST}" LIBRARY_REL="$(get_libdir)" \ - ARGON2_VERSION="0~${PV}" -} - -src_test() { - emake OPTTEST="${OPTTEST}" test -} - -src_install() { - emake OPTTEST="${OPTTEST}" DESTDIR="${ED}" LIBRARY_REL="$(get_libdir)" install - einstalldocs - doman man/argon2.1 -} -- cgit v1.2.3