public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgcrypt/
Date: Thu, 10 Feb 2022 11:37:02 +0000 (UTC)	[thread overview]
Message-ID: <1644492981.9a5618956f0ca0e6e42556b906f64bd52cfcb57a.sam@gentoo> (raw)

commit:     9a5618956f0ca0e6e42556b906f64bd52cfcb57a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 10:39:39 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 11:36:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a561895

dev-libs/libgcrypt: add 1.8.9

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libgcrypt/Manifest               |  2 +
 dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild | 93 +++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-libs/libgcrypt/Manifest b/dev-libs/libgcrypt/Manifest
index 5a23e33ec52f..9575a0d00d28 100644
--- a/dev-libs/libgcrypt/Manifest
+++ b/dev-libs/libgcrypt/Manifest
@@ -1,3 +1,5 @@
 DIST libgcrypt-1.8.7.tar.bz2 2985660 BLAKE2B cb2132b826f3f3af240e6c9ac5fd992808aa17ce64144d17452591a5b1e402564af82c021b58f5fd620ebeb5894ac9654835f6d8376ec05ee41fc02189dd6825 SHA512 6309d17624d8029848990d225d5924886c951cef691266c8e010fbbb7f678972cee70cbb91d370ad0bcdc8c8761402a090c2c853c9427ec79293624a59da5060
 DIST libgcrypt-1.8.8.tar.bz2 2987685 BLAKE2B 7b590c06d91403f1bbfa108379b3747271e9c83acc5547a4d43ef9ada9b0b7c78654cdc24f6cd0db012d50628ae4ec9320dcb63a901ec2dadde6a7ed56dbed7e SHA512 9861f3b5da3cb013eb79efbf2859864f8c2c11b41484b051c981c45cc0bf1569202838226da10ebddeb7a7b7f39ebd3a95f107b9bf6f908074ccc9a51ea94db8
+DIST libgcrypt-1.8.9.tar.bz2 2988243 BLAKE2B d778bc3007dfcc08f3fab0325609911aa2cde5eb46703fab11f0fdfaf4670a9fde0634b40eb408957a9942e9d3fb0a69290c0878bed59770ffe56bbe6103bcf3 SHA512 6d5a06c5bded61cc740b7883a011e65fd8d878d446160714f26cd42203a32a134ccb302e7577762ae43fec4887cdb6fb4b5413e77614c9e4cfba15ae0a093516
+DIST libgcrypt-1.8.9.tar.bz2.sig 119 BLAKE2B 147fd4701eb5c91c43e1ca21f56b36f8d999c5b1a23bb2f454a05e1ef657a4a96c06b27f2d5c867c8adb9764b9d6d80480a69160b2cd2ad1704c1ff18a37fac5 SHA512 785cb3b3950e6b7102d81cee3690b99b11aa60102ab4333370e60874ad8bbdb2f89ce1b5e0ce9215adce1cdc2a3fe84bb7a92a80830594aa3f74e4129d16ad95
 DIST libgcrypt-1.9.4.tar.bz2 3239704 BLAKE2B b8244bc12a68955797b0c2b474ac5c95df1014231f7180a2ffa113e3aacedc98eed60ee1e4b30b032a5fcd6a04855ae07142c223906d5db9c28328a71e014f33 SHA512 d0e117ac73c94d70e9521ee1e6328691498cc8328f8c4e21338096908f5c04c7b838966eb63d59494565f4e19f506c07dab4f4d922150d75610d9f7b57abbf60

diff --git a/dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild b/dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild
new file mode 100644
index 000000000000..374acab778b1
--- /dev/null
+++ b/dev-libs/libgcrypt/libgcrypt-1.8.9.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc
+inherit autotools flag-o-matic multilib-minimal toolchain-funcs verify-sig
+
+DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
+HOMEPAGE="https://www.gnupg.org/"
+SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
+SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )"
+
+LICENSE="LGPL-2.1 MIT"
+SLOT="0/20" # subslot = soname major version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc o-flag-munging static-libs"
+
+RDEPEND=">=dev-libs/libgpg-error-1.25[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( virtual/texi2dvi )
+	verify-sig? ( sec-keys/openpgp-keys-gnupg )"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.6.1-uscore.patch
+	"${FILESDIR}"/${PN}-multilib-syspath.patch
+)
+
+MULTILIB_CHOST_TOOLS=(
+	/usr/bin/libgcrypt-config
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+multilib_src_configure() {
+	if [[ ${CHOST} == *86*-solaris* ]] ; then
+		# ASM code uses GNU ELF syntax, divide in particular, we need to
+		# allow this via ASFLAGS, since we don't have a flag-o-matic
+		# function for that, we'll have to abuse cflags for this
+		append-cflags -Wa,--divide
+	fi
+
+	# Workaround for GCC < 11.3 bug
+	# https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff;h=0b399721ce9709ae25f9d2050360c5ab2115ae29
+	if use arm64 && tc-is-gcc && (($(gcc-major-version) == 11)) && (($(gcc-minor-version) <= 2)) && (($(gcc-micro-version) == 0)); then
+		append-flags -fno-tree-loop-vectorize
+	fi
+
+	local myeconfargs=(
+		CC_FOR_BUILD="$(tc-getBUILD_CC)"
+
+		--enable-noexecstack
+		# disabled due to various applications requiring privileges
+		# after libgcrypt drops them (bug #468616)
+		--without-capabilities
+
+		# required for sys-power/suspend[crypt], bug 751568
+		$(use_enable static-libs static)
+		$(use_enable o-flag-munging O-flag-munging)
+
+		# http://trac.videolan.org/vlc/ticket/620
+		# causes bus-errors on sparc64-solaris
+		$([[ ${CHOST} == *86*-darwin* ]] && echo "--disable-asm")
+		$([[ ${CHOST} == sparcv9-*-solaris* ]] && echo "--disable-asm")
+
+		GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"
+	)
+
+	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" \
+		$("${S}/configure" --help | grep -o -- '--without-.*-prefix')
+}
+
+multilib_src_compile() {
+	default
+
+	multilib_is_native_abi && use doc && VARTEXFONTS="${T}/fonts" emake -C doc gcrypt.pdf
+}
+
+multilib_src_install() {
+	emake DESTDIR="${D}" install
+
+	multilib_is_native_abi && use doc && dodoc doc/gcrypt.pdf
+}
+
+multilib_src_install_all() {
+	default
+
+	find "${ED}" -type f -name '*.la' -delete || die
+}


             reply	other threads:[~2022-02-10 11:37 UTC|newest]

Thread overview: 255+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10 11:37 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-13 19:41 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgcrypt/ Arthur Zamarin
2024-10-09  5:46 Sam James
2024-10-08 20:28 Arthur Zamarin
2024-10-07 17:36 Sam James
2024-10-07 17:36 Sam James
2024-10-07 17:36 Sam James
2024-07-28 13:59 Fabian Groffen
2024-07-19 11:33 Fabian Groffen
2024-07-19 11:27 Fabian Groffen
2024-07-07  6:05 Sam James
2024-04-04 16:23 Arthur Zamarin
2024-02-06  7:42 Sam James
2024-02-06  7:25 Sam James
2024-02-06  7:25 Sam James
2024-02-06  7:25 Sam James
2024-02-06  7:25 Sam James
2024-02-06  6:25 Sam James
2024-02-06  6:25 Sam James
2024-01-15  3:32 Ionen Wolkens
2024-01-04 10:50 Ulrich Müller
2024-01-03 10:40 Sam James
2023-12-24 14:22 Sam James
2023-12-22  5:07 Sam James
2023-12-15  3:26 Ionen Wolkens
2023-11-15 17:13 Sam James
2023-11-14 11:42 Sam James
2023-09-24 14:22 Sam James
2023-09-17  8:56 Arthur Zamarin
2023-09-16  0:37 Sam James
2023-04-27  9:57 Fabian Groffen
2023-04-23 19:55 Sam James
2023-04-20 23:53 Sam James
2023-04-20 23:53 Sam James
2023-04-07 10:07 Sam James
2023-04-03 14:51 Mike Gilbert
2023-03-04 14:07 Arthur Zamarin
2023-03-04 10:03 Arthur Zamarin
2023-03-04  9:28 Arthur Zamarin
2023-03-04  8:07 Arthur Zamarin
2023-01-14 19:17 Sam James
2022-11-08 17:05 Mike Gilbert
2022-11-08 17:05 Mike Gilbert
2022-11-03 20:21 Mike Gilbert
2022-11-03 17:16 Mike Gilbert
2022-11-03 17:15 Mike Gilbert
2022-10-31 16:41 Agostino Sarubbo
2022-10-31 11:47 Agostino Sarubbo
2022-10-30  4:11 Jakov Smolić
2022-10-29 18:58 Arthur Zamarin
2022-10-29 18:58 Arthur Zamarin
2022-10-29 18:57 Arthur Zamarin
2022-10-29 18:52 Arthur Zamarin
2022-10-29 18:52 Arthur Zamarin
2022-05-13  2:58 Sam James
2022-05-13  2:58 Sam James
2022-05-01 23:25 Sam James
2022-05-01 23:11 Sam James
2022-04-16 19:35 Mike Gilbert
2022-04-15  0:53 Sam James
2022-03-30  4:11 Sam James
2022-02-10 13:41 Sam James
2022-02-10 11:38 Sam James
2022-02-10 11:37 Sam James
2022-02-10 11:37 Sam James
2022-01-28  9:32 Agostino Sarubbo
2022-01-28  9:31 Agostino Sarubbo
2022-01-24 15:16 Sam James
2022-01-20  8:44 Arthur Zamarin
2022-01-19  7:44 Agostino Sarubbo
2022-01-18 22:16 Sam James
2022-01-18 22:14 Sam James
2022-01-18 13:10 Jakov Smolić
2022-01-17  4:25 Georgy Yakovlev
2022-01-17  4:25 Georgy Yakovlev
2022-01-17  3:01 Sam James
2022-01-17  2:46 Georgy Yakovlev
2021-10-20  0:11 Sam James
2021-09-24 15:37 Sam James
2021-09-20  6:25 Agostino Sarubbo
2021-09-19 21:35 Agostino Sarubbo
2021-09-19  6:37 Agostino Sarubbo
2021-09-18 19:51 Sam James
2021-09-18 19:46 Sam James
2021-09-18 19:46 Sam James
2021-09-17  9:01 Mikle Kolyada
2021-08-29 15:54 Mikle Kolyada
2021-06-16 16:46 Sam James
2021-04-20  9:27 Mikle Kolyada
2021-03-28 11:29 Sergei Trofimovich
2021-03-28 10:17 Mikle Kolyada
2021-03-28 10:02 Agostino Sarubbo
2021-03-26 20:39 Agostino Sarubbo
2021-03-26 15:31 Agostino Sarubbo
2021-03-26 14:26 Agostino Sarubbo
2021-03-26 13:40 Agostino Sarubbo
2021-03-25 17:52 Sergei Trofimovich
2021-02-17 22:04 Sam James
2021-02-17 22:04 Sam James
2021-02-17 20:02 Sam James
2021-01-29 14:36 Sam James
2021-01-29 13:19 Sam James
2021-01-23 16:37 Andreas K. Hüttel
2021-01-20 20:53 Sam James
2021-01-20 20:18 Sam James
2021-01-20 20:17 Sam James
2021-01-20 20:17 Sam James
2021-01-20  8:57 Mikle Kolyada
2021-01-02 22:33 David Seifert
2020-12-27 14:21 Fabian Groffen
2020-12-17 18:56 Lars Wendler
2020-10-25 19:45 Mikle Kolyada
2020-09-20 13:41 Mikle Kolyada
2020-09-20 13:41 Mikle Kolyada
2020-09-07 18:23 Mikle Kolyada
2020-08-31 21:35 Sam James
2020-08-20 21:55 Sergei Trofimovich
2020-08-16 14:50 Agostino Sarubbo
2020-08-16 14:47 Agostino Sarubbo
2020-08-16 14:46 Agostino Sarubbo
2020-08-16 10:32 Sergei Trofimovich
2020-08-15  6:51 Sam James
2020-08-15  4:00 Sam James
2020-07-07  9:22 Lars Wendler
2020-06-20  0:56 Aaron Bauman
2020-06-14 16:08 Mike Gilbert
2019-11-13 13:17 Agostino Sarubbo
2019-11-06 23:15 Aaron Bauman
2019-11-01 10:39 Mikle Kolyada
2019-10-14  9:53 Agostino Sarubbo
2019-10-14  3:31 Matt Turner
2019-08-30  9:00 Kristian Fiskerstrand
2019-05-04 18:29 Andreas K. Hüttel
2018-11-23 23:41 Alon Bar-Lev
2018-10-29 19:39 Kristian Fiskerstrand
2018-10-29  8:50 Alon Bar-Lev
2018-10-06  0:32 Alon Bar-Lev
2018-10-05 19:27 Alon Bar-Lev
2018-09-16  8:16 Mikle Kolyada
2018-07-22  9:01 Sergei Trofimovich
2018-07-16  0:12 Mikle Kolyada
2018-07-07 10:47 Markus Meier
2018-06-26 15:44 Tobias Klausmann
2018-06-19 14:30 Mart Raudsepp
2018-06-17 23:29 Thomas Deutschmann
2018-06-15 15:56 Sergei Trofimovich
2018-06-15  9:58 Sergei Trofimovich
2018-06-13 18:54 Kristian Fiskerstrand
2018-04-27 16:53 Alon Bar-Lev
2018-02-15 17:09 Alon Bar-Lev
2018-02-10 23:56 Alon Bar-Lev
2018-01-13 13:01 Kristian Fiskerstrand
2018-01-12 18:19 Mike Frysinger
2017-12-24  9:46 Mart Raudsepp
2017-12-14 20:47 Kristian Fiskerstrand
2017-09-09  0:41 Kristian Fiskerstrand
2017-09-08 22:12 Sergei Trofimovich
2017-09-07 19:41 Markus Meier
2017-09-02 20:01 Aaron Bauman
2017-09-02 20:01 Aaron Bauman
2017-08-31  1:15 Matt Turner
2017-08-31  1:15 Matt Turner
2017-08-31  1:15 Matt Turner
2017-08-29 22:01 Sergei Trofimovich
2017-08-28 10:25 Kristian Fiskerstrand
2017-07-20 13:15 Kristian Fiskerstrand
2017-07-18 14:47 Kristian Fiskerstrand
2017-07-07  6:19 Markus Meier
2017-06-30 11:11 Sergei Trofimovich
2017-06-30  8:32 Agostino Sarubbo
2017-06-29  8:04 Kristian Fiskerstrand
2017-06-21 11:57 Agostino Sarubbo
2017-06-13 12:31 Agostino Sarubbo
2017-06-12 18:53 Markus Meier
2017-06-09  9:44 Agostino Sarubbo
2017-06-02 11:28 Kristian Fiskerstrand
2017-04-12 19:30 Mike Frysinger
2017-04-11  6:43 Jeroen Roovers
2017-03-27 14:06 Alon Bar-Lev
2017-03-26 19:36 Matt Turner
2017-03-21 11:31 Michael Weber
2017-03-20 12:28 Agostino Sarubbo
2017-03-20  6:17 Matt Turner
2017-03-20  6:17 Matt Turner
2017-03-20  6:17 Matt Turner
2017-03-20  6:17 Matt Turner
2017-03-20  1:05 Matt Turner
2017-03-19 17:19 Alon Bar-Lev
2017-03-19 17:19 Alon Bar-Lev
2017-03-02 19:27 Kristian Fiskerstrand
2017-03-02 19:27 Kristian Fiskerstrand
2017-02-04 20:07 Alon Bar-Lev
2016-12-15 11:28 Kristian Fiskerstrand
2016-12-15 11:28 Kristian Fiskerstrand
2016-12-11 21:37 Kristian Fiskerstrand
2016-11-10  6:20 Mike Frysinger
2016-10-03 17:11 Kristian Fiskerstrand
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-01 11:31 Markus Meier
2016-08-31 10:58 Tobias Klausmann
2016-08-18 23:33 Jeroen Roovers
2016-08-18 23:33 Jeroen Roovers
2016-08-18 14:53 Agostino Sarubbo
2016-08-18  8:39 Kristian Fiskerstrand
2016-08-18  8:12 Kristian Fiskerstrand
2016-08-18  8:12 Kristian Fiskerstrand
2016-08-17 17:30 Kristian Fiskerstrand
2016-08-06 21:29 Kristian Fiskerstrand
2016-08-03  3:19 Jeroen Roovers
2016-07-14 16:54 Kristian Fiskerstrand
2016-07-14 16:51 Kristian Fiskerstrand
2016-06-26 18:29 Markus Meier
2016-06-20 10:43 Tobias Klausmann
2016-06-15 21:59 Kristian Fiskerstrand
2016-06-08 18:45 Mike Frysinger
2016-05-27 18:14 Mike Frysinger
2016-05-22 19:42 Kristian Fiskerstrand
2016-05-22 18:59 Jeroen Roovers
2016-04-23 17:36 Tobias Klausmann
2016-04-15 19:00 Robin H. Johnson
2016-03-25  9:40 Markus Meier
2016-03-20 12:24 Agostino Sarubbo
2016-03-19 12:28 Agostino Sarubbo
2016-03-18 19:11 Michał Górny
2016-03-16 14:09 Agostino Sarubbo
2016-03-15 20:52 Tobias Klausmann
2016-03-15 20:50 Tobias Klausmann
2016-03-15 16:39 Agostino Sarubbo
2016-03-05 16:48 Mikle Kolyada
2016-02-29  8:46 Stephen Klimaszewski
2016-02-25 17:40 Kristian Fiskerstrand
2016-02-12  7:23 Jeroen Roovers
2016-02-11 12:27 Agostino Sarubbo
2016-02-10 22:57 Kristian Fiskerstrand
2016-02-09 18:19 Kristian Fiskerstrand
2015-12-02 19:55 Alon Bar-Lev
2015-12-01  6:48 Alon Bar-Lev
2015-11-08 19:14 Mikle Kolyada
2015-10-16  8:01 Mikle Kolyada
2015-09-15  9:26 Tobias Klausmann
2015-09-08 10:44 Kristian Fiskerstrand
2015-09-08  4:26 Jeroen Roovers
2015-09-07 16:27 Alon Bar-Lev
2015-09-06 20:37 Alon Bar-Lev
2015-09-06  4:17 Alon Bar-Lev
2015-09-06  4:17 Alon Bar-Lev
2015-09-05 15:36 Anthony G. Basile
2015-09-05 14:59 Agostino Sarubbo
2015-09-05 14:58 Agostino Sarubbo
2015-09-05 13:35 Anthony G. Basile
2015-09-04 14:15 Alon Bar-Lev
2015-08-19  9:59 Alon Bar-Lev

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=1644492981.9a5618956f0ca0e6e42556b906f64bd52cfcb57a.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