From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7CE191581EE for ; Mon, 31 Mar 2025 21:11:16 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 68106343218 for ; Mon, 31 Mar 2025 21:11:16 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 186011104B1; Mon, 31 Mar 2025 21:11:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0BD741104B1 for ; Mon, 31 Mar 2025 21:11:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ABE61343205 for ; Mon, 31 Mar 2025 21:11:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F1C617EE for ; Mon, 31 Mar 2025 21:11:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1743455394.83bd74df8d69ad356efea498c5169fc1bb12a231.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gsasl/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/gsasl/Manifest net-misc/gsasl/gsasl-2.2.2.ebuild X-VCS-Directories: net-misc/gsasl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 83bd74df8d69ad356efea498c5169fc1bb12a231 X-VCS-Branch: master Date: Mon, 31 Mar 2025 21:11:10 +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: a4faf01a-27d0-4a33-8b8d-3d489c326101 X-Archives-Hash: 858eb68a078db75bbe4b366bb49210e2 commit: 83bd74df8d69ad356efea498c5169fc1bb12a231 Author: Sam James gentoo org> AuthorDate: Mon Mar 31 20:59:54 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 31 21:09:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83bd74df net-misc/gsasl: add 2.2.2 Signed-off-by: Sam James gentoo.org> net-misc/gsasl/Manifest | 1 + net-misc/gsasl/gsasl-2.2.2.ebuild | 88 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/net-misc/gsasl/Manifest b/net-misc/gsasl/Manifest index 0c6ab189cbd4..fb6bf3dfc666 100644 --- a/net-misc/gsasl/Manifest +++ b/net-misc/gsasl/Manifest @@ -1 +1,2 @@ DIST gsasl-2.2.1.tar.gz 3344807 BLAKE2B 3bb1f7dee8510c19215dc8fdc5efd8e53318ab967b4d4af9e48474857a112b0e08872016a5c5bcbd6b1b340f29fbd77623efc6c41a1f87fb734623e2f173e1bf SHA512 161b8a315862a79807ba067c5ae840175b0d8ec14806aceafc3f92d571713b94d1b8c1a5b188c47bf94a79b9a1f133065f96b087baa5e7f360ae7fb8336381ab +DIST gsasl-2.2.2.tar.gz 3254843 BLAKE2B a470697405df87ec6ad98415f2801fa831fdd72eecc951bfe0c16088b95f2a77f2687a5d9081bd86df1094dd198f15729c0e5562d370339975ded99cc1ff8028 SHA512 62fb4a9383392e4816a036f3e8f408c5161a10723e59f0a8f6df5f72101e0b644787f3b07a71c772628fc4f4050960c842c7500736edacd24313ef654e703bc9 diff --git a/net-misc/gsasl/gsasl-2.2.2.ebuild b/net-misc/gsasl/gsasl-2.2.2.ebuild new file mode 100644 index 000000000000..be6b446a58ad --- /dev/null +++ b/net-misc/gsasl/gsasl-2.2.2.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="The GNU SASL client, server, and library" +HOMEPAGE="https://www.gnu.org/software/gsasl/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +# Before giving keywords (or ideally even bumping), please check https://www.gnu.org/software/gsasl/ to see +# if it's a stable release or not! +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+client gcrypt gnutls idn kerberos nls ntlm +server static-libs" +REQUIRED_USE="|| ( client server )" + +DEPEND=" + !net-libs/libgsasl + sys-libs/readline:= + gcrypt? ( dev-libs/libgcrypt:= ) + gnutls? ( net-libs/gnutls:= ) + idn? ( net-dns/libidn:= ) + kerberos? ( >=net-libs/libgssglue-0.5-r1 ) + nls? ( >=sys-devel/gettext-0.18.1 ) + ntlm? ( >=net-libs/libntlm-0.3.5 ) +" +RDEPEND="${DEPEND}" + +QA_CONFIG_IMPL_DECL_SKIP=( + # gnulib FPs + unreachable + MIN + alignof + static_assert +) + +src_configure() { + local krb5_impl="--with-gssapi-impl=no" + + # See https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/ + if use kerberos; then + krb5_impl="--with-gssapi-impl=gssglue" + fi + + local myeconfargs=( + --disable-gcc-warnings + --disable-valgrind-tests + --disable-rpath + + --with-packager="Gentoo Linux" + --with-packager-bug-reports="https://bugs.gentoo.org" + --with-packager-version="r${PR}" + + $(use_enable client) + $(use_enable server) + + $(use_enable kerberos gssapi) + ${krb5_impl} + $(use_enable kerberos gs2) + + $(use_with gcrypt libgcrypt) + $(use_with gnutls) + $(use_enable nls) + $(use_with idn stringprep) + $(use_enable ntlm) + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if ! use static-libs; then + rm -f "${ED}"/usr/lib*/lib*.la || die + fi + + doman doc/gsasl.1 doc/man/*.3 +} + +pkg_postinst() { + ewarn "For USE=kerberos, ${PN} now uses libgssglue to allow choosing" + ewarn "the Kerberos implementation at runtime." + elog "See https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/" + elog "for more details." +}