1 |
commit: 73438e5dfbdbe450e1985efb7b17ef0e4512a79c |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 22:53:04 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 22:53:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73438e5d |
7 |
|
8 |
net-misc/gsasl: 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-misc/gsasl/Manifest | 1 + |
17 |
net-misc/gsasl/gsasl-1.10.0.ebuild | 85 ++++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 86 insertions(+) |
19 |
|
20 |
diff --git a/net-misc/gsasl/Manifest b/net-misc/gsasl/Manifest |
21 |
index 251cd278af3..fc2ecab2b15 100644 |
22 |
--- a/net-misc/gsasl/Manifest |
23 |
+++ b/net-misc/gsasl/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
+DIST gsasl-1.10.0.tar.gz 5946076 BLAKE2B eedbdd6a080af34581c6e793d5d6db4ebbbc10c1a31dba1edc632de78a529fc2acf2b5e4df3a7bc9a721c6bdb819aade85d65245dbb14405413b933220454a79 SHA512 8b1dc87e85dbfd0255b3b43c4b7f9c2e896cb03efe4cd4af86393b62fd193665aae4ce59e66db736722e32babfcea6d4f6ddd3c5f069dcc4210f7e9531043e4a |
26 |
DIST gsasl-1.8.0.tar.gz 4914837 BLAKE2B 89cae140bb503556003036a92dfdca1ad7adb6ca46826a7309dcc39aca5a070669f4c24005ddaa1c5f5d4d56451d7a5c5164a4333542b0af1201f3fb210501e8 SHA512 711bd87d27656834ae7e19b22a76db2b1db37dd25999cd303fe8439e23e74e87fd1474c5db1b5f97e9ab75437eeeb6167a752e9191f364f530eeabb6cddda36f |
27 |
DIST gsasl-1.8.1.tar.gz 5774550 BLAKE2B 0144b0d7b2750686f3447a9d154a2d0b7fa5261b614bce74d8fdedaca140f9d964868b57f1a67cf2f5fc446c5715bae3dcdb4e06a7bedc5b66d50fa52f62e93b SHA512 8973f5af12cc17aae76a4a2ea887d17e74e48b1ce896dfd62fde8cb874ed965d77c62d671ff86ce3217158e58a7a521b7fde9ea606f73c3a912a8973f1b204cb |
28 |
|
29 |
diff --git a/net-misc/gsasl/gsasl-1.10.0.ebuild b/net-misc/gsasl/gsasl-1.10.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..abf23f7845d |
32 |
--- /dev/null |
33 |
+++ b/net-misc/gsasl/gsasl-1.10.0.ebuild |
34 |
@@ -0,0 +1,85 @@ |
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 client, server, and library" |
43 |
+HOMEPAGE="https://www.gnu.org/software/gsasl/" |
44 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
45 |
+LICENSE="GPL-3" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
48 |
+IUSE="doc gcrypt idn kerberos nls ntlm static-libs +threads" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ gcrypt? ( dev-libs/libgcrypt:0= ) |
52 |
+ idn? ( net-dns/libidn:= ) |
53 |
+ kerberos? ( virtual/krb5 ) |
54 |
+ nls? ( >=sys-devel/gettext-0.18.1 ) |
55 |
+ ntlm? ( net-libs/libntlm ) |
56 |
+" |
57 |
+RDEPEND="${DEPEND}" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ default |
61 |
+ |
62 |
+ sed -i -e '/gl_WARN_ADD(\[-Werror/d' \ |
63 |
+ -e 's/ -Werror//' configure.ac || die |
64 |
+ sed -i -e 's/ -Werror//' lib/configure.ac || die |
65 |
+ |
66 |
+ eautoreconf |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ local krb5_impl |
71 |
+ |
72 |
+ if use kerberos; then |
73 |
+ krb5_impl="--with-gssapi-impl=" |
74 |
+ |
75 |
+ # These are the two providers of virtual/krb5 |
76 |
+ if has_version app-crypt/mit-krb5; then |
77 |
+ krb5_impl+="mit" |
78 |
+ else |
79 |
+ krb5_impl+="heimdal" |
80 |
+ fi |
81 |
+ fi |
82 |
+ |
83 |
+ econf \ |
84 |
+ --enable-client \ |
85 |
+ --enable-server \ |
86 |
+ --disable-valgrind-tests \ |
87 |
+ --disable-rpath \ |
88 |
+ --without-libshishi \ |
89 |
+ --without-libgss \ |
90 |
+ --disable-kerberos_v5 \ |
91 |
+ $(use_enable kerberos gssapi) \ |
92 |
+ ${krb5_impl} \ |
93 |
+ $(use_enable kerberos gs2) \ |
94 |
+ $(use_with gcrypt libgcrypt) \ |
95 |
+ $(use_enable nls) \ |
96 |
+ $(use_with idn stringprep) \ |
97 |
+ $(use_enable ntlm) \ |
98 |
+ $(use_with ntlm libntlm) \ |
99 |
+ $(use_enable static-libs static) \ |
100 |
+ $(use_enable threads) |
101 |
+} |
102 |
+ |
103 |
+src_install() { |
104 |
+ default |
105 |
+ |
106 |
+ if ! use static-libs; then |
107 |
+ rm -f "${ED}"/usr/lib*/lib*.la || die |
108 |
+ fi |
109 |
+ |
110 |
+ doman doc/gsasl.1 doc/man/*.3 |
111 |
+ |
112 |
+ if use doc; then |
113 |
+ dodoc doc/*.{eps,ps,pdf} |
114 |
+ docinto html |
115 |
+ dodoc doc/*.html |
116 |
+ docinto examples |
117 |
+ dodoc examples/*.c |
118 |
+ fi |
119 |
+} |