1 |
commit: a2d85473cc13720c1c6d60875132c4a841c73795 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 22:48:31 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 22:53:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2d85473 |
7 |
|
8 |
net-libs/libgsasl: bump to 1.10.0 |
9 |
|
10 |
Drops likely-obsolete patch for referenced bug. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/359005 |
13 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
net-libs/libgsasl/Manifest | 1 + |
17 |
net-libs/libgsasl/libgsasl-1.10.0.ebuild | 69 ++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 70 insertions(+) |
19 |
|
20 |
diff --git a/net-libs/libgsasl/Manifest b/net-libs/libgsasl/Manifest |
21 |
index 8398d6f5395..a58a5d0e920 100644 |
22 |
--- a/net-libs/libgsasl/Manifest |
23 |
+++ b/net-libs/libgsasl/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
+DIST libgsasl-1.10.0.tar.gz 1854755 BLAKE2B 691c143ece57b0b895f17ff3bfce8e216adb2ffcc7f6058501626b7b2e83d9eb0a85a036b6c7978b10eefbc94aab7b191e056341732d155597be5037e527b0e0 SHA512 33a8ea43be90a00fcda1b099ced8086b2ef9f72ee0dbce07bca04c944fa2d17588b6e5a32b7ab4ffeaf7ee695f9c84d3eb89c757c71934300d35580e423196dd |
26 |
DIST libgsasl-1.8.0.tar.gz 1208417 BLAKE2B 03eea4be45ccc28bbc5c98b5f266552e6f5da151dfc561b1f01dac107a6edf0f06a3000e868c07d5539df33334d3c965c6c276de30c75038e25165aa7e2db2e8 SHA512 7e591d12404919559bf67590f862270ffcae2030a14097cdaf92820aa79619b3048541e9f83b3fcb98a84622c44a52ecaceeebb1be55b9e9f68fb1790ade8721 |
27 |
DIST libgsasl-1.8.1.tar.gz 1791261 BLAKE2B bd8b954f9d950fe449fe140baca840a14f12ef6318e74a6fd070b35504b8c3a7002f13fe93142bce992e4a1df773ebaad4ec01d04c01c63a7374187a8142136b SHA512 52bda3a962a2cbb598009fd02c547a4f8b5b9a4243511aa8104df97b4737023281ab57dbbcf839db3cad73c64cbc72bbd89b49da8b0379dd635220ffb642aa22 |
28 |
|
29 |
diff --git a/net-libs/libgsasl/libgsasl-1.10.0.ebuild b/net-libs/libgsasl/libgsasl-1.10.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..4a2c6a4b7f0 |
32 |
--- /dev/null |
33 |
+++ b/net-libs/libgsasl/libgsasl-1.10.0.ebuild |
34 |
@@ -0,0 +1,69 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit autotools |
41 |
+ |
42 |
+DESCRIPTION="The GNU SASL library" |
43 |
+HOMEPAGE="https://www.gnu.org/software/gsasl/" |
44 |
+SRC_URI="mirror://gnu/${PN/lib}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-3 LGPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
49 |
+IUSE="idn gcrypt kerberos nls ntlm static-libs" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ gcrypt? ( dev-libs/libgcrypt:0= ) |
53 |
+ idn? ( net-dns/libidn:= ) |
54 |
+ kerberos? ( virtual/krb5 ) |
55 |
+ nls? ( >=sys-devel/gettext-0.18.1 ) |
56 |
+ ntlm? ( net-libs/libntlm ) |
57 |
+" |
58 |
+RDEPEND="${DEPEND} |
59 |
+ !net-misc/gsasl" |
60 |
+ |
61 |
+PATCHES=( |
62 |
+ #"${FILESDIR}"/${PN}-1.8.1-gss-extra.patch |
63 |
+) |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ |
68 |
+ sed -i -e 's/ -Werror//' configure.ac || die |
69 |
+ eautoreconf |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ local krb5_impl |
74 |
+ if use kerberos; then |
75 |
+ krb5_impl="--with-gssapi-impl=" |
76 |
+ # These are the two providers of virtual/krb5 |
77 |
+ if has_version app-crypt/mit-krb5; then |
78 |
+ krb5_impl+="mit" |
79 |
+ else |
80 |
+ krb5_impl+="heimdal" |
81 |
+ fi |
82 |
+ fi |
83 |
+ |
84 |
+ local myeconfargs=( |
85 |
+ $(use_with gcrypt libgcrypt) |
86 |
+ $(use_with idn stringprep) |
87 |
+ $(use_enable kerberos gssapi) |
88 |
+ ${krb5_impl} |
89 |
+ $(use_enable nls) |
90 |
+ $(use_enable ntlm) |
91 |
+ $(use_enable static-libs static) |
92 |
+ ) |
93 |
+ |
94 |
+ econf "${myeconfargs[@]}" |
95 |
+} |
96 |
+ |
97 |
+src_install() { |
98 |
+ default |
99 |
+ |
100 |
+ if ! use static-libs; then |
101 |
+ rm -f "${ED}"/usr/lib*/lib*.la || die |
102 |
+ fi |
103 |
+} |