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/libksba/
Date: Mon, 21 Aug 2023 19:39:17 +0000 (UTC)	[thread overview]
Message-ID: <1692646723.2e997de2a4ac458cf73f4accc2caba27dac7bbba.sam@gentoo> (raw)

commit:     2e997de2a4ac458cf73f4accc2caba27dac7bbba
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 19:37:32 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 19:38:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e997de2

dev-libs/libksba: switch to out-of-source builds

Upstream don't support in-source builds.

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

 dev-libs/libksba/libksba-1.6.4-r1.ebuild | 62 ++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/dev-libs/libksba/libksba-1.6.4-r1.ebuild b/dev-libs/libksba/libksba-1.6.4-r1.ebuild
new file mode 100644
index 000000000000..d3944853b9a8
--- /dev/null
+++ b/dev-libs/libksba/libksba-1.6.4-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Maintainers should:
+# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/
+# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159
+# (find the one for the current release then subscribe to it +
+# any subsequent ones linked within so you're covered for a while.)
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc
+# in-source builds are not supported: https://dev.gnupg.org/T6313#166339
+inherit toolchain-funcs out-of-source verify-sig libtool
+
+DESCRIPTION="X.509 and CMS (PKCS#7) library"
+HOMEPAGE="https://www.gnupg.org/related_software/libksba"
+SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
+SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )"
+
+LICENSE="LGPL-3+ GPL-2+ GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/libgpg-error-1.33"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	sys-devel/bison
+	verify-sig? ( sec-keys/openpgp-keys-gnupg )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.6.0-no-fgrep-ksba-config.patch
+)
+
+src_prepare() {
+	default
+
+	elibtoolize  # necessary on Solaris for shared lib support
+}
+
+my_src_configure() {
+	export CC_FOR_BUILD="$(tc-getBUILD_CC)"
+
+	local myeconfargs=(
+		--disable-valgrind-tests
+		$(use_enable static-libs static)
+
+		GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"
+		LIBGCRYPT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-libgcrypt-config"
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+my_src_install() {
+	default
+
+	# People need to use ksba-config for --cflags and --libs
+	find "${ED}" -type f -name '*.la' -delete || die
+}


             reply	other threads:[~2023-08-21 19:39 UTC|newest]

Thread overview: 141+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-21 19:39 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-25 17:24 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libksba/ Sam James
2024-11-02  2:37 Sam James
2024-07-23  5:02 Sam James
2024-07-23  5:02 Sam James
2024-07-23  5:02 Sam James
2024-07-23  5:02 Sam James
2024-07-23  5:02 Sam James
2024-07-23  5:02 Sam James
2024-07-23  5:02 Sam James
2024-06-23  1:49 Sam James
2024-04-24 10:45 Sam James
2024-03-19  3:42 Ionen Wolkens
2024-03-04  4:17 Sam James
2024-03-04  4:17 Sam James
2024-03-04  4:17 Sam James
2024-03-04  4:17 Sam James
2024-03-04  4:17 Sam James
2024-03-04  4:17 Sam James
2024-03-04  4:17 Sam James
2024-02-27 22:06 Sam James
2024-02-27 22:06 Sam James
2024-01-03  2:20 Ionen Wolkens
2023-12-22  7:21 Arthur Zamarin
2023-12-21 16:01 Arthur Zamarin
2023-12-21 15:15 Sam James
2023-12-21 14:12 Arthur Zamarin
2023-12-21 12:56 Sam James
2023-12-21 12:56 Sam James
2023-12-21 11:55 Sam James
2023-12-01 19:47 Arthur Zamarin
2023-11-17  3:36 Sam James
2023-09-22 20:52 Sam James
2023-09-22 20:25 Sam James
2023-09-22 20:25 Sam James
2023-09-22 20:25 Sam James
2023-09-22 20:25 Sam James
2023-09-22 18:37 Arthur Zamarin
2023-08-04 20:20 Arthur Zamarin
2023-08-02  5:04 Arthur Zamarin
2023-07-24 12:07 Jakov Smolić
2023-06-19 21:28 Sam James
2023-06-07 19:34 Fabian Groffen
2023-05-04 12:05 Sam James
2022-12-21  2:23 Sam James
2022-12-20  9:38 Sam James
2022-12-20  9:14 Sam James
2022-12-20  9:11 Sam James
2022-12-20  9:11 Sam James
2022-12-20  9:11 Sam James
2022-12-20  9:11 Sam James
2022-12-20  8:57 Sam James
2022-12-20  8:57 Sam James
2022-12-20  8:15 Sam James
2022-10-20 10:56 Jakov Smolić
2022-10-18 10:23 Agostino Sarubbo
2022-10-18  5:42 Sam James
2022-10-17 19:23 Sam James
2022-10-17 17:38 Arthur Zamarin
2022-10-17 17:30 Arthur Zamarin
2022-10-17 17:26 Arthur Zamarin
2022-10-17 16:49 Sam James
2022-10-08 12:54 Sam James
2022-09-16 23:25 Sam James
2022-09-11 17:49 Sam James
2022-08-10 13:05 Sam James
2022-06-29  7:26 Sam James
2022-06-15  8:09 Agostino Sarubbo
2022-06-15  7:16 Agostino Sarubbo
2022-06-14 10:07 Agostino Sarubbo
2022-06-14  7:32 Agostino Sarubbo
2022-06-14  7:15 Agostino Sarubbo
2022-06-14  7:06 Jakov Smolić
2022-06-14  5:54 Jakov Smolić
2022-06-14  5:54 Jakov Smolić
2021-08-16 20:35 James Le Cuirot
2021-06-12 15:43 Sam James
2021-06-12 15:43 Sam James
2021-06-11 20:39 Sergei Trofimovich
2021-06-11  8:56 Agostino Sarubbo
2021-06-11  8:55 Agostino Sarubbo
2021-06-11  8:50 Agostino Sarubbo
2021-06-11  2:23 Sam James
2021-06-11  2:23 Sam James
2021-06-10 22:21 Sam James
2021-06-10 19:17 Lars Wendler
2021-04-07  6:42 Lars Wendler
2021-04-07  6:42 Lars Wendler
2021-03-27 16:04 Sam James
2021-03-26 18:36 Sam James
2021-03-26 15:14 Agostino Sarubbo
2021-03-26 12:08 Agostino Sarubbo
2021-03-26 11:34 Sam James
2021-03-26  0:08 Sam James
2021-03-26  0:08 Sam James
2021-03-25 23:42 Sam James
2021-03-25 17:52 Sergei Trofimovich
2020-12-27 14:21 Fabian Groffen
2020-11-19  9:36 Lars Wendler
2020-05-20 19:14 Lars Wendler
2020-01-13 12:52 Mikle Kolyada
2020-01-09 10:56 Kristian Fiskerstrand
2020-01-09  9:22 Lars Wendler
2019-05-04 18:29 Andreas K. Hüttel
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-06-03 10:01 Mikle Kolyada
2017-04-11  6:52 Alon Bar-Lev
2017-04-11  6:43 Jeroen Roovers
2017-03-25 18:11 Alon Bar-Lev
2017-03-21 14:34 Agostino Sarubbo
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-02-24  4:16 Mike Frysinger
2017-01-29 16:19 Fabian Groffen
2016-11-11 16:01 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:40 Agostino Sarubbo
2016-09-24 19:20 Markus Meier
2016-09-23  7:18 Alon Bar-Lev
2016-09-19 13:32 Jeroen Roovers
2016-09-16 17:15 Tobias Klausmann
2016-09-13 11:37 Agostino Sarubbo
2016-09-13  0:13 Thomas Deutschmann
2016-07-08 12:02 Agostino Sarubbo
2016-07-08 10:02 Agostino Sarubbo
2016-07-08  7:53 Agostino Sarubbo
2016-06-27  8:47 Agostino Sarubbo
2016-06-21 11:32 Jeroen Roovers
2016-06-10 13:01 Agostino Sarubbo
2016-06-07  6:33 Jeroen Roovers
2016-06-06  7:52 Tobias Klausmann
2016-05-11  9:27 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=1692646723.2e997de2a4ac458cf73f4accc2caba27dac7bbba.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