Diff gsasl-2.0.1 with a gsasl-2.0.1-r2

/usr/portage/net-misc/gsasl/gsasl-2.0.1-r2.ebuild 2023-10-09 14:52:34.648368480 +0300
13 13
SLOT="0"
14 14
# Before giving keywords (or ideally even bumping), please check https://www.gnu.org/software/gsasl/ to see
15 15
# if it's a stable release or not!
16
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
16
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
17 17
IUSE="+client gcrypt gnutls idn kerberos nls ntlm +server static-libs"
18 18
REQUIRED_USE="|| ( client server )"
19 19

  
20 20
DEPEND="
21 21
	!net-libs/libgsasl
22
	gcrypt? ( dev-libs/libgcrypt:0= )
22
	sys-libs/readline:=
23
	gcrypt? ( dev-libs/libgcrypt:= )
23 24
	gnutls? ( net-libs/gnutls:= )
24 25
	idn? ( net-dns/libidn:= )
25
	kerberos? ( virtual/krb5 )
26
	kerberos? ( >=net-libs/libgssglue-0.5-r1 )
26 27
	nls? ( >=sys-devel/gettext-0.18.1 )
27 28
	ntlm? ( >=net-libs/libntlm-0.3.5 )
28 29
"
......
42 43
src_configure() {
43 44
	local krb5_impl="--with-gssapi-impl=no"
44 45

  
45
	# Could do net-libs/libgssglue in future?
46
	# See https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/
46 47
	if use kerberos; then
47
		krb5_impl="--with-gssapi-impl="
48

  
49
		# These are the two providers of virtual/krb5
50
		if has_version app-crypt/mit-krb5; then
51
			krb5_impl+="mit"
52
		else
53
			krb5_impl+="heimdal"
54
		fi
48
		krb5_impl="--with-gssapi-impl=gssglue"
55 49
	fi
56 50

  
57 51
	local myeconfargs=(
58 52
		--disable-valgrind-tests
59 53
		--disable-rpath
60 54

  
55
		--with-packager="Gentoo Linux"
61 56
		--with-packager-bug-reports="https://bugs.gentoo.org"
62 57
		--with-packager-version="r${PR}"
63
		--with-packager="Gentoo Linux"
64 58

  
65 59
		$(use_enable client)
66 60
		$(use_enable server)
......
89 83

  
90 84
	doman doc/gsasl.1 doc/man/*.3
91 85
}
86

  
87
pkg_postinst() {
88
	ewarn "For USE=kerberos, ${PN} now uses libgssglue to allow choosing"
89
	ewarn "the Kerberos implementation at runtime."
90
	elog "See https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/"
91
	elog "for more details."
92
}
Thank you!