mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-misc/gsasl: drop 2.0.1, 2.0.1-r2, 2.2.0
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST gsasl-2.0.1.tar.gz 3279632 BLAKE2B a25d121a5043455ed827a6bdc776c10d467a49b4dc6b73d2f4b08fecbf1ca5f423ffdcfd39e0d2bf71f724ed8302ffd8acda4fda3ef10ceadece60509ac73500 SHA512 01c6f6bd9f986c942a25b89fee0052aef8c10bf914ead29983abdf0cc8fcaa7223fd9d9eeafb4be07e4bc318f087f6f6258facaaeb7f83bca8de512406812be5
|
||||
DIST gsasl-2.2.0.tar.gz 3290469 BLAKE2B ca57765f299939a6f9457aac3d51132f7b5a0e2f0788523349083a65e5de0b780573000c378e0fff844cf9f882239e7ff6e0b520ae66a60f3e928c16d6f74857 SHA512 0ae318a8616fe675e9718a3f04f33731034f9a7ba03d83ccb1a72954ded54ced35dc7c7e173fdcb6fa0f0813f8891c6cbcedf8bf70b37d00b8ec512eb9f07f5f
|
||||
DIST gsasl-2.2.1.tar.gz 3344807 BLAKE2B 3bb1f7dee8510c19215dc8fdc5efd8e53318ab967b4d4af9e48474857a112b0e08872016a5c5bcbd6b1b340f29fbd77623efc6c41a1f87fb734623e2f173e1bf SHA512 161b8a315862a79807ba067c5ae840175b0d8ec14806aceafc3f92d571713b94d1b8c1a5b188c47bf94a79b9a1f133065f96b087baa5e7f360ae7fb8336381ab
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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"
|
||||
# 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="~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}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e '/gl_WARN_ADD(\[-Werror/d' \
|
||||
-e 's/ -Werror//' \
|
||||
configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
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-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."
|
||||
}
|
||||
@@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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"
|
||||
# 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="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
|
||||
gcrypt? ( dev-libs/libgcrypt:0= )
|
||||
gnutls? ( net-libs/gnutls:= )
|
||||
idn? ( net-dns/libidn:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
nls? ( >=sys-devel/gettext-0.18.1 )
|
||||
ntlm? ( >=net-libs/libntlm-0.3.5 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e '/gl_WARN_ADD(\[-Werror/d' \
|
||||
-e 's/ -Werror//' \
|
||||
configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local krb5_impl="--with-gssapi-impl=no"
|
||||
|
||||
# Could do net-libs/libgssglue in future?
|
||||
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
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-valgrind-tests
|
||||
--disable-rpath
|
||||
|
||||
--with-packager-bug-reports="https://bugs.gentoo.org"
|
||||
--with-packager-version="r${PR}"
|
||||
--with-packager="Gentoo Linux"
|
||||
|
||||
$(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
|
||||
}
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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"
|
||||
# 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}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e '/gl_WARN_ADD(\[-Werror/d' \
|
||||
-e 's/ -Werror//' \
|
||||
configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
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-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."
|
||||
}
|
||||
Reference in New Issue
Block a user