From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nettle/
Date: Tue, 31 Dec 2024 06:12:20 +0000 (UTC) [thread overview]
Message-ID: <1735625522.f779cee7d57a9ff387bc3cb61809f579d24f2a36.sam@gentoo> (raw)
commit: f779cee7d57a9ff387bc3cb61809f579d24f2a36
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 31 05:45:26 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 31 06:12:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f779cee7
dev-libs/nettle: add 3.10.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/nettle/Manifest | 2 +
dev-libs/nettle/nettle-3.10.1.ebuild | 99 ++++++++++++++++++++++++++++++++++++
2 files changed, 101 insertions(+)
diff --git a/dev-libs/nettle/Manifest b/dev-libs/nettle/Manifest
index 66e8fbf0537d..29db057df0f8 100644
--- a/dev-libs/nettle/Manifest
+++ b/dev-libs/nettle/Manifest
@@ -1,3 +1,5 @@
+DIST nettle-3.10.1.tar.gz 2643267 BLAKE2B da2e82e647904e855a0e0bd1efee3b610b33de1a722f5d652deeca083d1983c5ee66754233a0917d3bb91bb5a527a3e80cd5fe18f7c25986076b2388910995b5 SHA512 e8673bbcde9cde859ccae75ed6c9c30591e68a995a7c6d724106cfd67a5a5bd45b3468d742443b6565628849d0fd29505a28ca5ee4e89dd13197cdb51429f96c
+DIST nettle-3.10.1.tar.gz.sig 374 BLAKE2B 1264636002893e80e3001035ce2f17a3e0077405b74050752f1901abc44c882d2be643823d3476282a8dc78bfe3f19cda75d86e00f58dbb546e4347c59cc0963 SHA512 d074a921df31070a6e6562a9f7e213e67b8e6ce331e2683e8180f387aca92058a5fe8610800817a0aa5098b47176dfcb42b52d617648c84cc6262a09ef557eb8
DIST nettle-3.10.tar.gz 2640485 BLAKE2B edf0ba6375f06e2dd4b1e3ed4bab5f592ac04a36f748ce0461bbec32622eb3d5f96f89350926c24b5bbbf37dbe14a1ad64bba5df7cb7ad5987ec634573aabbb5 SHA512 18d5b904ce60514aa81b57bff2945e5f7f4366d4775e6a5ffc227b85be2def72b3d2159b983b75ac95a56d3167a2ef1a25b5dfc2fb6193f16a012935c36a7b34
DIST nettle-3.10.tar.gz.sig 374 BLAKE2B 9edebae1bc1941dfc19c3c3653f80ebf66e8aed974c99673a294ff6835145ca8265f5466829e27c5d0352e88a73e9a58fb017cdbad678705ae29cd27dd80fefe SHA512 a56d46bfd545b0dff47ee6426e019afea024ebf40698018b8a4b7a25168ce615bbfe773894dc01ab246f7010ef6a7f1c248cf1f9c693f0f0dbaf27c33c7d216f
DIST nettle-3.8.1.tar.gz 2406251 BLAKE2B 22b4ec81645b579504356597ba87b637e46285682020c90e03ecaea386ac9b48eaf91ee76ae3b86b6060be355de20c320ab3b74958074ad23fc08ad9ab6a4cbb SHA512 a405da3438d185d96917b03b00abb9ab43e04f58f770f657f716c25d64bb258ee170a71328e74736caa7121f50c0c89d3cc840c1201d2a92cfaf1357d24bdc6a
diff --git a/dev-libs/nettle/nettle-3.10.1.ebuild b/dev-libs/nettle/nettle-3.10.1.ebuild
new file mode 100644
index 000000000000..614895b5fffb
--- /dev/null
+++ b/dev-libs/nettle/nettle-3.10.1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nettle.asc
+inherit multilib-build multilib-minimal toolchain-funcs verify-sig
+
+DESCRIPTION="Low-level cryptographic library"
+HOMEPAGE="https://www.lysator.liu.se/~nisse/nettle/ https://git.lysator.liu.se/nettle/nettle"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )"
+
+LICENSE="|| ( LGPL-3 LGPL-2.1 )"
+# Subslot = libnettle - libhogweed soname version
+SLOT="0/8-6"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="+asm doc +gmp static-libs cpu_flags_arm_neon cpu_flags_arm_aes cpu_flags_arm_sha1 cpu_flags_arm_sha2 cpu_flags_ppc_altivec cpu_flags_ppc_vsx2 cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_sha cpu_flags_x86_pclmul"
+# The arm64 crypto option controls AES, SHA1, and SHA2 usage.
+REQUIRED_USE="
+ cpu_flags_arm_aes? ( cpu_flags_arm_sha1 cpu_flags_arm_sha2 )
+ cpu_flags_arm_sha1? ( cpu_flags_arm_aes cpu_flags_arm_sha2 )
+ cpu_flags_arm_sha2? ( cpu_flags_arm_aes cpu_flags_arm_sha1 )
+"
+
+DEPEND="gmp? ( >=dev-libs/gmp-6.1:=[static-libs?,${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ sys-devel/m4
+ doc? ( sys-apps/texinfo )
+ verify-sig? ( sec-keys/openpgp-keys-nettle )
+"
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/nettle/version.h
+)
+
+DOCS=()
+HTML_DOCS=()
+
+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 configure || die
+
+ if use doc ; then
+ DOCS+=( nettle.pdf )
+ HTML_DOCS+=( nettle.html )
+ fi
+}
+
+multilib_src_configure() {
+ # We don't want to run Valgrind within ebuilds, it often gets
+ # confused by sandbox, etc.
+ export nettle_cv_prog_valgrind=no
+
+ # TODO: USE=debug w/ --enable-extra-asserts?
+ local myeconfargs=(
+ CC_FOR_BUILD="$(tc-getBUILD_CC)"
+
+ $(tc-is-static-only && echo --disable-shared)
+
+ # Intrinsics
+ $(use_enable cpu_flags_arm_neon arm-neon)
+ $(use_enable cpu_flags_arm_aes arm64-crypto)
+ $(use_enable cpu_flags_ppc_altivec power-altivec)
+ $(use_enable cpu_flags_ppc_vsx2 power-crypto-ext)
+ $(use_enable cpu_flags_ppc_vsx3 power9)
+ $(use_enable cpu_flags_x86_aes x86-aesni)
+ $(use_enable cpu_flags_x86_sha x86-sha-ni)
+ $(use_enable cpu_flags_x86_pclmul x86-pclmul)
+ $([[ ${CHOST} == *-solaris* ]] && echo '--disable-symbol-versions')
+ # TODO: cpu_flags_s390?
+ --disable-s390x-vf
+ --disable-s390x-msa
+
+ $(use_enable asm assembler)
+ $(multilib_native_use_enable doc documentation)
+ $(use_enable gmp public-key)
+ $(use_enable static-libs static)
+ --disable-fat
+
+ # openssl is just used for benchmarks (bug #427526)
+ --disable-openssl
+ )
+
+ # https://git.lysator.liu.se/nettle/nettle/-/issues/7
+ if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" ${CPPFLAGS} ${CFLAGS} ; then
+ ewarn "cpu_flags_ppc_altivec is enabled, but nettle's asm requires >=P7."
+ ewarn "Disabling, sorry! See bug #920234."
+ myeconfargs+=( --disable-power-altivec )
+ fi
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
next reply other threads:[~2024-12-31 6:12 UTC|newest]
Thread overview: 183+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-31 6:12 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-29 17:49 [gentoo-commits] repo/gentoo:master commit in: dev-libs/nettle/ Arthur Zamarin
2025-03-14 7:02 Sam James
2025-03-03 13:13 Sam James
2025-02-23 14:21 Arthur Zamarin
2025-02-23 12:22 Jakov Smolić
2025-02-23 5:31 Sam James
2025-02-23 5:31 Sam James
2025-02-23 5:16 Sam James
2024-09-23 0:56 Sam James
2024-08-30 9:05 Arthur Zamarin
2024-08-29 3:51 Sam James
2024-08-29 3:51 Sam James
2024-08-29 3:15 Sam James
2024-08-29 2:35 Sam James
2024-08-29 2:35 Sam James
2024-08-29 2:35 Sam James
2024-07-04 1:29 Sam James
2024-06-24 1:48 Sam James
2024-06-24 1:48 Sam James
2024-06-24 1:16 Sam James
2023-11-17 15:08 Sam James
2023-11-17 15:08 Sam James
2023-08-16 19:17 Sam James
2023-07-17 14:07 Sam James
2023-07-15 6:08 Sam James
2023-06-25 15:39 Arthur Zamarin
2023-06-06 7:18 Sam James
2023-06-01 22:31 Sam James
2023-05-15 4:10 Sam James
2022-11-25 8:58 Arthur Zamarin
2022-11-23 5:28 Arthur Zamarin
2022-11-23 5:28 Arthur Zamarin
2022-11-23 5:28 Arthur Zamarin
2022-11-23 5:24 Arthur Zamarin
2022-11-23 4:16 Sam James
2022-11-23 4:16 Sam James
2022-09-23 2:09 Sam James
2022-08-30 19:06 Sam James
2022-07-29 4:17 Sam James
2022-07-28 5:35 Sam James
2022-07-27 20:30 Sam James
2022-06-03 2:06 Sam James
2021-08-11 4:21 Sam James
2021-08-11 4:21 Sam James
2021-08-11 0:24 Sam James
2021-08-11 0:20 Sam James
2021-08-11 0:12 Sam James
2021-08-11 0:02 Sam James
2021-06-07 12:08 Lars Wendler
2021-04-29 2:18 Sam James
2021-03-31 14:08 Agostino Sarubbo
2021-03-30 22:05 Sam James
2021-03-30 22:05 Sam James
2021-03-29 14:50 Sam James
2021-03-29 6:11 Sergei Trofimovich
2021-03-28 18:15 Sam James
2021-03-28 14:15 Sam James
2021-03-28 12:17 Sam James
2021-03-28 12:17 Sam James
2021-03-21 16:34 Lars Wendler
2021-03-21 16:34 Lars Wendler
2021-02-18 0:17 Lars Wendler
2021-01-06 19:34 Fabian Groffen
2021-01-04 21:09 Lars Wendler
2020-12-27 14:21 Fabian Groffen
2020-12-26 21:16 Sam James
2020-11-27 23:49 Sam James
2020-10-19 7:09 Kent Fredric
2020-10-18 9:55 Kent Fredric
2020-10-10 13:43 Sergei Trofimovich
2020-07-09 9:19 Agostino Sarubbo
2020-07-09 8:34 Agostino Sarubbo
2020-07-08 19:46 Sam James
2020-07-08 12:23 Michał Górny
2020-07-06 7:22 Sergei Trofimovich
2020-07-06 7:02 Sergei Trofimovich
2020-06-13 14:58 Mike Gilbert
2020-05-06 17:34 Sergei Trofimovich
2020-05-02 16:25 Mart Raudsepp
2020-05-02 8:17 Thomas Deutschmann
2020-05-01 19:58 Thomas Deutschmann
2020-05-01 19:13 Thomas Deutschmann
2020-05-01 17:47 Agostino Sarubbo
2020-05-01 17:46 Agostino Sarubbo
2020-05-01 17:44 Agostino Sarubbo
2020-05-01 17:43 Agostino Sarubbo
2020-05-01 17:42 Agostino Sarubbo
2020-05-01 14:03 Agostino Sarubbo
2020-05-01 14:02 Agostino Sarubbo
2020-05-01 13:38 Thomas Deutschmann
2020-05-01 13:34 Thomas Deutschmann
2020-05-01 13:33 Thomas Deutschmann
2020-05-01 13:23 Thomas Deutschmann
2020-01-08 21:43 Lars Wendler
2019-07-19 18:15 Michał Górny
2019-07-08 13:43 Alon Bar-Lev
2019-07-08 13:31 Alon Bar-Lev
2019-06-27 10:09 Alon Bar-Lev
2019-06-26 8:05 Alon Bar-Lev
2019-06-26 7:44 Alon Bar-Lev
2019-05-04 18:38 Andreas K. Hüttel
2019-04-29 5:31 Alon Bar-Lev
2019-04-28 14:34 Alon Bar-Lev
2019-04-28 13:21 Alon Bar-Lev
2019-04-21 10:38 Alon Bar-Lev
2019-04-08 11:16 Mart Raudsepp
2019-04-07 10:52 Mikle Kolyada
2019-03-26 20:05 Markus Meier
2019-03-25 22:18 Sergei Trofimovich
2019-03-25 11:51 Mikle Kolyada
2019-03-24 20:25 Sergei Trofimovich
2019-03-24 20:12 Sergei Trofimovich
2019-03-24 19:44 Sergei Trofimovich
2019-03-23 9:58 Sergei Trofimovich
2019-03-21 13:07 Mikle Kolyada
2018-12-05 9:27 Alon Bar-Lev
2018-09-27 23:55 Alon Bar-Lev
2018-09-26 6:22 Sergei Trofimovich
2018-06-09 19:27 Mikle Kolyada
2018-05-10 1:31 Matt Turner
2018-05-03 20:58 Mart Raudsepp
2018-04-26 8:25 Mikle Kolyada
2018-04-23 1:53 Matt Turner
2018-04-23 1:53 Matt Turner
2018-04-22 6:33 Matt Turner
2018-04-22 1:35 Thomas Deutschmann
2018-04-21 20:11 Sergei Trofimovich
2018-04-20 1:35 Aaron Bauman
2018-03-02 20:35 Mart Raudsepp
2017-12-12 11:38 Alon Bar-Lev
2017-12-11 16:38 Alon Bar-Lev
2017-12-11 16:35 Alon Bar-Lev
2017-09-09 19:34 Alon Bar-Lev
2017-09-09 18:29 Sergei Trofimovich
2017-09-09 18:29 Sergei Trofimovich
2017-08-31 1:15 Matt Turner
2017-08-18 23:26 Thomas Deutschmann
2017-08-10 4:40 Markus Meier
2017-07-31 12:56 Tobias Klausmann
2017-07-30 10:49 Sergei Trofimovich
2017-07-26 8:53 Sergei Trofimovich
2017-06-10 15:10 Agostino Sarubbo
2017-04-27 11:23 Agostino Sarubbo
2017-04-19 6:43 Alon Bar-Lev
2017-04-08 8:45 Jeroen Roovers
2017-04-04 19:28 Tobias Klausmann
2017-04-01 16:06 Agostino Sarubbo
2017-03-28 9:56 Agostino Sarubbo
2017-03-28 9:17 Michael Weber
2017-03-25 21:46 Alon Bar-Lev
2017-03-03 12:45 Alon Bar-Lev
2017-02-24 4:16 Mike Frysinger
2017-01-24 9:57 Fabian Groffen
2016-10-21 8:14 Alon Bar-Lev
2016-09-29 13:28 Agostino Sarubbo
2016-09-29 12:35 Agostino Sarubbo
2016-09-29 9:35 Agostino Sarubbo
2016-09-29 8:41 Agostino Sarubbo
2016-09-02 19:15 Tobias Klausmann
2016-08-18 19:32 Markus Meier
2016-08-18 14:53 Agostino Sarubbo
2016-08-14 9:24 Jeroen Roovers
2016-06-04 20:04 Alon Bar-Lev
2016-06-04 19:36 Alon Bar-Lev
2016-03-20 11:53 Agostino Sarubbo
2016-02-14 17:22 Markus Meier
2016-02-05 5:59 Jeroen Roovers
2016-02-05 5:48 Jeroen Roovers
2016-02-04 16:05 Agostino Sarubbo
2016-02-04 16:05 Agostino Sarubbo
2016-02-04 12:06 Tobias Klausmann
2016-02-03 20:47 Alon Bar-Lev
2015-11-18 18:42 Alon Bar-Lev
2015-11-18 9:32 Agostino Sarubbo
2015-11-12 10:37 Agostino Sarubbo
2015-10-17 10:53 Markus Meier
2015-10-16 8:01 Mikle Kolyada
2015-09-25 14:29 Agostino Sarubbo
2015-09-24 13:50 Agostino Sarubbo
2015-09-20 6:19 Jeroen Roovers
2015-09-19 4:34 Jeroen Roovers
2015-09-18 18:56 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1735625522.f779cee7d57a9ff387bc3cb61809f579d24f2a36.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox