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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C7CB5158046 for ; Thu, 10 Oct 2024 20:30:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D08B3E2AD0; Thu, 10 Oct 2024 20:29:58 +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 AF31BE2ACE for ; Thu, 10 Oct 2024 20:29:58 +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 C8BA034312C for ; Thu, 10 Oct 2024 20:29:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A0BB27E9 for ; Thu, 10 Oct 2024 20:29:54 +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: <1728591877.e5ffb446d6b75bdfdb0d0b7a198f483fba7a1c0d.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libircclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libircclient/libircclient-1.10-r1.ebuild X-VCS-Directories: net-libs/libircclient/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: e5ffb446d6b75bdfdb0d0b7a198f483fba7a1c0d X-VCS-Branch: master Date: Thu, 10 Oct 2024 20:29:54 +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: 396fe6b3-5f10-491c-a2d9-738c0622c23d X-Archives-Hash: 6811a078e446f1341fd3bce11b70034c commit: e5ffb446d6b75bdfdb0d0b7a198f483fba7a1c0d Author: Michael Mair-Keimberger levelnine at> AuthorDate: Tue Sep 3 14:20:54 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Thu Oct 10 20:24:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5ffb446 net-libs/libircclient: EAPI8 bump, use https, enable ipv6 unconditional Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/38408 Signed-off-by: Conrad Kostecki gentoo.org> net-libs/libircclient/libircclient-1.10-r1.ebuild | 59 +++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/net-libs/libircclient/libircclient-1.10-r1.ebuild b/net-libs/libircclient/libircclient-1.10-r1.ebuild new file mode 100644 index 000000000000..236a13b0757a --- /dev/null +++ b/net-libs/libircclient/libircclient-1.10-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Small but powerful library implementing the client-server IRC protocol" +HOMEPAGE="https://www.ulduzsoft.com/libircclient/" +SRC_URI="https://downloads.sourceforge.net/libircclient/${P}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc ssl static-libs threads" + +DEPEND="ssl? ( + dev-libs/openssl:0= + )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.8-build.patch + "${FILESDIR}"/${PN}-1.10-shared.patch + "${FILESDIR}"/${PN}-1.8-static.patch + "${FILESDIR}"/${PN}-1.8-include.patch + + # upstream patches (can usually be removed with next version bump) + "${FILESDIR}"/${PN}-1.10-openssl.patch +) + +src_prepare() { + default + mv configure.in configure.ac || die + eautoconf +} + +src_configure() { + local myeconfargs=( + $(use_enable threads) + $(use_enable ssl openssl) + $(use_enable ssl threads) + --enable-ipv6 + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake -C src $(usex static-libs "shared static" "shared") +} + +src_install() { + emake -C src DESTDIR="${D}" install-shared $(usex static-libs "install-static" "") + insinto /usr/include/libircclient + doins include/*.h + + dodoc Changelog THANKS + doman man/libircclient.1 +}