summaryrefslogtreecommitdiff
path: root/net-misc/gsasl
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/gsasl')
-rw-r--r--net-misc/gsasl/Manifest2
-rw-r--r--net-misc/gsasl/gsasl-1.10.0.ebuild85
2 files changed, 87 insertions, 0 deletions
diff --git a/net-misc/gsasl/Manifest b/net-misc/gsasl/Manifest
index 403c43c8b31c..2881d84276fe 100644
--- a/net-misc/gsasl/Manifest
+++ b/net-misc/gsasl/Manifest
@@ -1,7 +1,9 @@
AUX gsasl-1.8.0-sasl-gss-extra.patch 950 BLAKE2B 958805e574a26f13a199eb5f53df9830586d8d3e81c32bad9a4c711c57ee097139c2653426eed3045f16bd76e4ce1c2bb6ed70fbd378266fedc8247da2a815ab SHA512 0f8ad16b96265221bb045b19724b7a247350e9503b7e5abc92905cc07c11bdafb9a92e91d1959d33075ec96631e6f033b20192993c9ee732d71d86ba5ac3fa22
AUX gsasl-1.8.1-sasl-gss-extra.patch 944 BLAKE2B f48eba6d1b96ab5f7e1cdc5c2220f4a5f1bd34c40527edf65a2aaec81a85004106a229f18c0d9d623d81e6e98f1786b213b2e6481814b1ee0e11c44eac9ff33d SHA512 ea406d5de99ebbff454ea453cc3c857c79d0120405d772cd893a03840d720e97000bd1edac1ec52f44208146287531a268bd582a0e146b6097b48671b92b9c88
+DIST gsasl-1.10.0.tar.gz 5946076 BLAKE2B eedbdd6a080af34581c6e793d5d6db4ebbbc10c1a31dba1edc632de78a529fc2acf2b5e4df3a7bc9a721c6bdb819aade85d65245dbb14405413b933220454a79 SHA512 8b1dc87e85dbfd0255b3b43c4b7f9c2e896cb03efe4cd4af86393b62fd193665aae4ce59e66db736722e32babfcea6d4f6ddd3c5f069dcc4210f7e9531043e4a
DIST gsasl-1.8.0.tar.gz 4914837 BLAKE2B 89cae140bb503556003036a92dfdca1ad7adb6ca46826a7309dcc39aca5a070669f4c24005ddaa1c5f5d4d56451d7a5c5164a4333542b0af1201f3fb210501e8 SHA512 711bd87d27656834ae7e19b22a76db2b1db37dd25999cd303fe8439e23e74e87fd1474c5db1b5f97e9ab75437eeeb6167a752e9191f364f530eeabb6cddda36f
DIST gsasl-1.8.1.tar.gz 5774550 BLAKE2B 0144b0d7b2750686f3447a9d154a2d0b7fa5261b614bce74d8fdedaca140f9d964868b57f1a67cf2f5fc446c5715bae3dcdb4e06a7bedc5b66d50fa52f62e93b SHA512 8973f5af12cc17aae76a4a2ea887d17e74e48b1ce896dfd62fde8cb874ed965d77c62d671ff86ce3217158e58a7a521b7fde9ea606f73c3a912a8973f1b204cb
+EBUILD gsasl-1.10.0.ebuild 1739 BLAKE2B 907f6b7dec317d608bf4dfc54cafecd7d387a7f22de0a13b7ed94d7f7a00e3c56cde1788269ac0314690a6cfccffc857c6d87a23f16b3f77366a6da182508e06 SHA512 f905bf225e6196a2c3cf71332e5a0050d5d42974706336d7b24acf46b5a4d68a822e71397c901d26162607b57c61a343164483fce0a849f5f415f5b5b9dc66bd
EBUILD gsasl-1.8.0-r1.ebuild 1797 BLAKE2B 5919ec09d3f0c47dd7cb447639d91de50a0bb774e3a74fd30b965d7c6a68c87e46b5cbe4bb249d0acf99e2e5c0afacbfb5a060170933a7681893be6241f77039 SHA512 a445f4165baf5fe2e1f0cdb66e58c0d93173b654a85a4acb72863cdf7c25d96c62710a77db3642de9af7010ec28b946c2f687d92898e4919151c54570a87d217
EBUILD gsasl-1.8.1.ebuild 1797 BLAKE2B 8793ae17801be1417f1d294dc825a49195483703ee13a29e457dd169c4a3512954187dbe82aee5474a71a65b22e462045ddd29c511dec65d3a8a439feb2ea748 SHA512 2856a453b72e26561d6b0f2bee46829a2af992b0f37fb4c9c41d4c2bdca806c6a00b919a4e3e144a0e14ee62038d29cbc6a4b3a6d0b8dd6680aaa47716137641
MISC metadata.xml 370 BLAKE2B cb234f93a667fd37ab122fbb8ae0926fd0bacda2d9e4f1e50de9e8793d6ed01f0165e16dd73931114aead2e408b2f019c06cdca7aa41d9e60c9d60cf9f7e9955 SHA512 c528d4a5f51ebcbc5917268964716d667b71e825815bdc0dbd627f1ef676b21312caf442de31e7912ad57f5c908471a7fad1617e129a2902134a081e91bcc4c0
diff --git a/net-misc/gsasl/gsasl-1.10.0.ebuild b/net-misc/gsasl/gsasl-1.10.0.ebuild
new file mode 100644
index 000000000000..abf23f7845da
--- /dev/null
+++ b/net-misc/gsasl/gsasl-1.10.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+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"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc gcrypt idn kerberos nls ntlm static-libs +threads"
+
+DEPEND="
+ gcrypt? ( dev-libs/libgcrypt:0= )
+ idn? ( net-dns/libidn:= )
+ kerberos? ( virtual/krb5 )
+ nls? ( >=sys-devel/gettext-0.18.1 )
+ ntlm? ( net-libs/libntlm )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+
+ sed -i -e '/gl_WARN_ADD(\[-Werror/d' \
+ -e 's/ -Werror//' configure.ac || die
+ sed -i -e 's/ -Werror//' lib/configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local krb5_impl
+
+ if use kerberos; then
+ krb5_impl="--with-gssapi-impl="
+
+ # These are the two providers of virtual/krb5
+ if has_version app-crypt/mit-krb5; then
+ krb5_impl+="mit"
+ else
+ krb5_impl+="heimdal"
+ fi
+ fi
+
+ econf \
+ --enable-client \
+ --enable-server \
+ --disable-valgrind-tests \
+ --disable-rpath \
+ --without-libshishi \
+ --without-libgss \
+ --disable-kerberos_v5 \
+ $(use_enable kerberos gssapi) \
+ ${krb5_impl} \
+ $(use_enable kerberos gs2) \
+ $(use_with gcrypt libgcrypt) \
+ $(use_enable nls) \
+ $(use_with idn stringprep) \
+ $(use_enable ntlm) \
+ $(use_with ntlm libntlm) \
+ $(use_enable static-libs static) \
+ $(use_enable threads)
+}
+
+src_install() {
+ default
+
+ if ! use static-libs; then
+ rm -f "${ED}"/usr/lib*/lib*.la || die
+ fi
+
+ doman doc/gsasl.1 doc/man/*.3
+
+ if use doc; then
+ dodoc doc/*.{eps,ps,pdf}
+ docinto html
+ dodoc doc/*.html
+ docinto examples
+ dodoc examples/*.c
+ fi
+}