From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 255581382C5 for ; Thu, 18 Feb 2021 00:17:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 316D2E0839; Thu, 18 Feb 2021 00:17:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 181F5E0839 for ; Thu, 18 Feb 2021 00:17:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D51333BF41 for ; Thu, 18 Feb 2021 00:17:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 263B54C0 for ; Thu, 18 Feb 2021 00:17:07 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1613607425.5cf7de86a08dbe859434c8b9b54ba15b4d63eba7.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nettle/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/nettle/Manifest dev-libs/nettle/nettle-3.7.1.ebuild X-VCS-Directories: dev-libs/nettle/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 5cf7de86a08dbe859434c8b9b54ba15b4d63eba7 X-VCS-Branch: master Date: Thu, 18 Feb 2021 00:17:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 01522f8c-8edf-4066-8d51-37fcf135479b X-Archives-Hash: 413296619d05da7ef01caa3d1f5b7add commit: 5cf7de86a08dbe859434c8b9b54ba15b4d63eba7 Author: Lars Wendler gentoo org> AuthorDate: Thu Feb 18 00:16:54 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Feb 18 00:17:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cf7de86 dev-libs/nettle: Bump to version 3.7.1 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> dev-libs/nettle/Manifest | 1 + dev-libs/nettle/nettle-3.7.1.ebuild | 67 +++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-libs/nettle/Manifest b/dev-libs/nettle/Manifest index 7b7ca7e26f9..5aad50a499e 100644 --- a/dev-libs/nettle/Manifest +++ b/dev-libs/nettle/Manifest @@ -1,2 +1,3 @@ DIST nettle-3.6.tar.gz 2288173 BLAKE2B 45e08832e9c337f10d958956545c77f521b747b8abca56ce40c755adf352bdc2a79584b1e1c0e50f5ede0ac54794aabd6883601c53593b965aada744502789db SHA512 2471af875e51327af61af8bda53cd9c3adc27b6e32592a4b5b10b3ec60999ebf771ab9c54c747b0bade4b3b5a717e77fdbdb53699dd9e8a9ed4eee07f46aed51 +DIST nettle-3.7.1.tar.gz 2380974 BLAKE2B 2dbc0204623ca9d42d4e4fec0d96e3d1aa164ac63f046198c2827a9eb8946392cbf5dd48a2a77cb98d52591eb83b48092686e3f5eb5dc2ee5f5e92cfaa335f26 SHA512 25567c0546b68851a03741ea69a2959b07cab660a723b193a9043faf1fd9eb4cd7aea72de150bb0717fd2db28e417f03ad31b14e98aec40ad316f1bcf0caf50b DIST nettle-3.7.tar.gz 2375067 BLAKE2B 1e8a77db9b7e62dee9a01e3c3b476e206f36cc7235153b0a1a762276650c61d7c4c3be73b2ecae9313313e416e3c7a2bd999a3505c41b26e806f9b3eb486550f SHA512 be32eff0ea3c83abb8b6670d049a8ce21ea9c7cac3e1a5d41ae003d5160e2683572c7dd8930b869ac1db0b89f9423605e0a8ec0cff074c63e2a60c71996ef66c diff --git a/dev-libs/nettle/nettle-3.7.1.ebuild b/dev-libs/nettle/nettle-3.7.1.ebuild new file mode 100644 index 00000000000..c99897e5e98 --- /dev/null +++ b/dev-libs/nettle/nettle-3.7.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-build multilib-minimal multilib toolchain-funcs + +DESCRIPTION="Low-level cryptographic library" +HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="|| ( LGPL-3 LGPL-2.1 )" +SLOT="0/8-6" # subslot = libnettle - libhogweed soname version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+asm doc +gmp static-libs test cpu_flags_x86_aes cpu_flags_arm_neon cpu_flags_x86_sha" +RESTRICT="!test? ( test )" + +DEPEND="gmp? ( >=dev-libs/gmp-6.1:0=[static-libs?,${MULTILIB_USEDEP}] )" +RDEPEND="${DEPEND}" +BDEPEND="doc? ( sys-apps/texinfo )" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/nettle/version.h +) + +DOCS=() +HTML_DOCS=() + +pkg_setup() { + use doc && DOCS+=( + nettle.pdf + ) + use doc && HTML_DOCS+=( + nettle.html + ) +} + +src_prepare() { + default + + # I do not see in config.sub reference to sunldsolaris. + # if someone complains readd + # -e 's/solaris\*)/sunldsolaris*)/' \ + sed -e '/CFLAGS=/s: -ggdb3::' \ + -i configure.ac || die + + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + CC_FOR_BUILD="$(tc-getBUILD_CC)" + $(tc-is-static-only && echo --disable-shared) + $(use_enable cpu_flags_x86_aes x86-aesni) + $(use_enable cpu_flags_x86_sha x86-sha-ni) + $(use_enable asm assembler) + $(use_enable doc documentation) + $(use_enable gmp public-key) + $(use_enable cpu_flags_arm_neon arm-neon) + $(use_enable static-libs static) + --disable-fat + # --disable-openssl bug #427526 + --disable-openssl + --libdir="${EPREFIX}"/usr/$(get_libdir) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +}