From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B7DF915813A for ; Thu, 02 Jan 2025 00:14:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF351E07D8; Thu, 02 Jan 2025 00:14:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5697E07D8 for ; Thu, 02 Jan 2025 00:14:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B6CA34072E for ; Thu, 02 Jan 2025 00:14:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5BBB19A2 for ; Thu, 02 Jan 2025 00:14:43 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1735776621.2cca807ccd1bd0047d55e0785a637dfb1dbf07a8.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/yaz/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/yaz/Manifest dev-libs/yaz/yaz-5.34.2.ebuild X-VCS-Directories: dev-libs/yaz/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 2cca807ccd1bd0047d55e0785a637dfb1dbf07a8 X-VCS-Branch: master Date: Thu, 02 Jan 2025 00:14:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 33db37b7-dc8f-4b18-a9fa-49be94a84717 X-Archives-Hash: 37e6dbc719f483596b1030d68310b8c4 commit: 2cca807ccd1bd0047d55e0785a637dfb1dbf07a8 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sun Dec 29 09:39:00 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Thu Jan 2 00:10:21 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cca807c dev-libs/yaz: add 5.34.2 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/39887 Signed-off-by: Conrad Kostecki gentoo.org> dev-libs/yaz/Manifest | 1 + dev-libs/yaz/yaz-5.34.2.ebuild | 71 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/dev-libs/yaz/Manifest b/dev-libs/yaz/Manifest index c3e7c5a58e68..95cf69726d04 100644 --- a/dev-libs/yaz/Manifest +++ b/dev-libs/yaz/Manifest @@ -1 +1,2 @@ DIST yaz-5.34.0.tar.gz 2656382 BLAKE2B 7a16974dc815c1121aaea4179843a6982600a0491c8c95a03f28cf0c68725b986ebc39049e2159cd0d105b23811d35ae3d3538a83e945b64951cc9215efe7f3d SHA512 0c835b98b4640e077459c9ead8043cea941a75f39dace9501efbb56c38837b1525349b8668c135ac0753ba7a4803e38d9c90d7bf3f6f2951c0e7e863b4c51f65 +DIST yaz-5.34.2.tar.gz 2601365 BLAKE2B 525197c4c10e3a41fb0b050a78f00a8122de844a5c7e53d115a079c0ec16144312e7861b048c31cecf00cac900d8fc7dffd98e2ac18c6b046ac9ae521c7d60aa SHA512 8fd22b97cf46c7db8083198ad67745f4b99b303253b669e28f8c509fe3fee223de64d79a7b0a5d9318637b65d056129ca220e3ecbfc7ad392ef634c87543a16b diff --git a/dev-libs/yaz/yaz-5.34.2.ebuild b/dev-libs/yaz/yaz-5.34.2.ebuild new file mode 100644 index 000000000000..bd0af16636d5 --- /dev/null +++ b/dev-libs/yaz/yaz-5.34.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="C/C++ toolkit for Z39.50v3 clients and servers" +HOMEPAGE="https://www.indexdata.com/resources/software/yaz/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/indexdata/yaz.git" +else + SRC_URI="https://ftp.indexdata.com/pub/${PN}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +LICENSE="BSD GPL-2" +SLOT="0/5" +IUSE="gnutls tcpd ziffy" + +RDEPEND=" + dev-libs/icu:= + dev-libs/libxml2 + dev-libs/libxslt + sys-libs/readline:= + sys-libs/ncurses:= + virtual/libintl + !gnutls? ( dev-libs/openssl:0= ) + gnutls? ( net-libs/gnutls:= ) + tcpd? ( sys-apps/tcp-wrappers ) + ziffy? ( net-libs/libpcap ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-lang/tcl:0 + app-alternatives/yacc + >=dev-build/libtool-2 + virtual/pkgconfig +" + +src_prepare() { + default + + # Hardcoded assumption of libraries residing in lib/, bug #730016 + sed -i -e "s|/lib\"|/$(get_libdir)\"|" configure.ac || die + + eautoreconf +} + +src_configure() { + econf \ + --enable-shared \ + $(use_with gnutls) \ + $(use_enable tcpd tcpd /usr) +} + +src_install() { + local docdir="/usr/share/doc/${PF}" + emake DESTDIR="${D}" docdir="${EPREFIX}/${docdir}" install + + find "${D}" -name '*.la' -delete || die + + dodir "${docdir}"/html + mv -f "${ED}"/${docdir}/*.{html,png} "${ED}"/${docdir}/html/ || die "Failed to move HTML docs" + mv -f "${ED}"/usr/share/doc/${PN}/common "${ED}"/${docdir}/html/ || die "Failed to move HTML docs" + rm -rf "${ED}"/usr/share/doc/${PN} || die + + dodoc ChangeLog NEWS +}