From f660c6de84558324d784218831d8f0782ee41e2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 27 Oct 2021 22:41:01 +0100 Subject: gentoo resync : 27.10.2021 --- app-crypt/adcli/Manifest | 3 +- app-crypt/adcli/adcli-0.9.1-r1.ebuild | 39 ++++++++++++++++++++++ app-crypt/adcli/adcli-0.9.1.ebuild | 35 ------------------- .../files/adcli-0.9.1-glibc-2.34-resolv.patch | 32 ++++++++++++++++++ 4 files changed, 73 insertions(+), 36 deletions(-) create mode 100644 app-crypt/adcli/adcli-0.9.1-r1.ebuild delete mode 100644 app-crypt/adcli/adcli-0.9.1.ebuild create mode 100644 app-crypt/adcli/files/adcli-0.9.1-glibc-2.34-resolv.patch (limited to 'app-crypt/adcli') diff --git a/app-crypt/adcli/Manifest b/app-crypt/adcli/Manifest index c490d408bf71..895e7463c114 100644 --- a/app-crypt/adcli/Manifest +++ b/app-crypt/adcli/Manifest @@ -1,3 +1,4 @@ +AUX adcli-0.9.1-glibc-2.34-resolv.patch 1160 BLAKE2B d32a1b3a02558a17c60b8804c9b8dfe50a4f11645150c9ca39cefc5205d1961834e9a051f8d9d15987b4969f47fef17296f1576d9a523be8e633d38d307565ed SHA512 8123f3b09b38d78c2caab0a6445bf04ea7c3d2badea0cb8b35200403f28fb43b0e3863bf00628c5f3986a30d437c483871fcb50139954ccbfa885d3e8f7c8b11 DIST adcli-0.9.1.tar.bz2 89684 BLAKE2B deaf6d3a13ad29c77a35b9f9c195dd646f384ad7c9782c15b50b26efceabae268bbb287d488ec7ed8d783d92ce7d8399f05898d30201d0d7fab7c0369c22fce1 SHA512 7e41fb51bfcb8837f9e5f6fd1fceacece0762c237dbc0f58dd581e2be8841d7a613d57507aea4534a66a2bd10ef4d01c4e04885437038c71238739db6e357d6e -EBUILD adcli-0.9.1.ebuild 668 BLAKE2B 9ea2e8aed7bd339672614a534ef563226493cba5eccfdc117883b6a1b688f615697ebabec8ce334ce7979e66810af8066afd049ad5e22aefc6edaaf61cdbc5c6 SHA512 b9e66edff78dc8366e0611431fcd6d3aa799f76eba7d2d99779291bd12ae6c95fb6197fdbf0f7a1f8ed320ef7dd6dea4a388a3b43113000121b62e206c680102 +EBUILD adcli-0.9.1-r1.ebuild 725 BLAKE2B c0e3cacabbc413ace650cec59c792118bbac7b096bf16a62bcf2b5e4cf15675944c46e1c7501f7de4694a83e9138f412148b15aac95db58cf27793fda13d288d SHA512 d6f233e2325c497f82a083b455beb8b87bb7960fed5d4150b2f462d4d04e9081cf2c9d1d31a429505d6898659fdd89800d2c7d1c0a8f5e7b5bc6357122a2c4d7 MISC metadata.xml 519 BLAKE2B 045c1fcd7d3031c5893a88222989fd92b37f7e9eb856028f3f7428c35f81408ceeabdae819db734aaf2daa14ffbae237b97f0ab191987a09fc2ad716214dfaf6 SHA512 19bf6d0b329a4a8baa010b709be949abd6c417b39d0ef9a6342895125a6b7621f50f4f0a40c6cf51eaa41557e887be555e44ff9fc1e9ec6adc95779c63fb5fdf diff --git a/app-crypt/adcli/adcli-0.9.1-r1.ebuild b/app-crypt/adcli/adcli-0.9.1-r1.ebuild new file mode 100644 index 000000000000..5224249d5001 --- /dev/null +++ b/app-crypt/adcli/adcli-0.9.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Tool for performing actions on an Active Directory domain" +HOMEPAGE="https://www.freedesktop.org/software/realmd/adcli/adcli.html" +SRC_URI="https://gitlab.freedesktop.org/realmd/adcli/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND=" + app-crypt/mit-krb5 + net-nds/openldap[sasl]" +RDEPEND="${DEPEND}" +BDEPEND=" + doc? ( + app-text/docbook-xml-dtd:4.3 + app-text/xmlto + dev-libs/libxslt + )" + +PATCHES=( + "${FILESDIR}"/${P}-glibc-2.34-resolv.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_enable doc) +} diff --git a/app-crypt/adcli/adcli-0.9.1.ebuild b/app-crypt/adcli/adcli-0.9.1.ebuild deleted file mode 100644 index 8dd6b2412c4e..000000000000 --- a/app-crypt/adcli/adcli-0.9.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Tool for performing actions on an Active Directory domain" -HOMEPAGE="https://www.freedesktop.org/software/realmd/adcli/adcli.html" -SRC_URI="https://gitlab.freedesktop.org/realmd/adcli/-/archive/${PV}/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -DEPEND=" - app-crypt/mit-krb5 - net-nds/openldap[sasl]" -RDEPEND="${DEPEND}" -BDEPEND=" - doc? ( - app-text/docbook-xml-dtd:4.3 - app-text/xmlto - dev-libs/libxslt - )" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf $(use_enable doc) -} diff --git a/app-crypt/adcli/files/adcli-0.9.1-glibc-2.34-resolv.patch b/app-crypt/adcli/files/adcli-0.9.1-glibc-2.34-resolv.patch new file mode 100644 index 000000000000..105a4c407bab --- /dev/null +++ b/app-crypt/adcli/files/adcli-0.9.1-glibc-2.34-resolv.patch @@ -0,0 +1,32 @@ +https://gitlab.freedesktop.org/realmd/adcli/-/commit/e841ba7513f3f8b6393183d2dea9adcbf7ba2e44 +https://bugs.gentoo.org/820224 + +From: Sumit Bose +Date: Wed, 28 Jul 2021 12:55:16 +0200 +Subject: [PATCH] configure: check for ns_get16 and ns_get32 as well + +With newer versions of glibc res_query() might ba already available in +glibc with ns_get16() and ns_get32() still requires libresolv. + +Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1984891 +--- a/configure.ac ++++ b/configure.ac +@@ -98,13 +98,15 @@ AC_SUBST(LDAP_CFLAGS) + # ------------------------------------------------------------------- + # resolv + +-AC_MSG_CHECKING(for which library has res_query) ++AC_MSG_CHECKING([for which library has res_query, ns_get16 and ns_get32]) + for lib in "" "-lresolv"; do + saved_LIBS="$LIBS" + LIBS="$LIBS $lib" + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([#include ], +- [res_query (0, 0, 0, 0, 0)]) ++ [res_query (0, 0, 0, 0, 0); ++ ns_get32 (NULL); ++ ns_get16 (NULL);]) + ], + [ AC_MSG_RESULT(${lib:-libc}); have_res_query="yes"; break; ], + [ LIBS="$saved_LIBS" ]) +GitLab -- cgit v1.2.3