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 F212D158041 for ; Thu, 21 Mar 2024 02:19:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43F38E29B4; Thu, 21 Mar 2024 02:19:44 +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 20D84E29B1 for ; Thu, 21 Mar 2024 02:19:44 +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 2E5A2343008 for ; Thu, 21 Mar 2024 02:19:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8673E1599 for ; Thu, 21 Mar 2024 02:19:40 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1710987466.9c0c78c41756c4c7d0c6d709ae81d0b952fbc21f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-nntp/suck/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-nntp/suck/Manifest net-nntp/suck/suck-4.3.5.ebuild X-VCS-Directories: net-nntp/suck/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9c0c78c41756c4c7d0c6d709ae81d0b952fbc21f X-VCS-Branch: master Date: Thu, 21 Mar 2024 02:19:40 +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: 3b14f6e4-0235-4cb9-9022-d46d9e9a5abc X-Archives-Hash: 8d232ae32cd6902433edb5bfe53b0082 commit: 9c0c78c41756c4c7d0c6d709ae81d0b952fbc21f Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Fri Mar 15 18:26:46 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 21 02:17:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c0c78c4 net-nntp/suck: add 4.3.5 Closes: https://bugs.gentoo.org/875035 Closes: https://bugs.gentoo.org/927069 Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/35770 Signed-off-by: Sam James gentoo.org> net-nntp/suck/Manifest | 1 + net-nntp/suck/suck-4.3.5.ebuild | 68 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/net-nntp/suck/Manifest b/net-nntp/suck/Manifest index 86e5bad5072b..1cc682475499 100644 --- a/net-nntp/suck/Manifest +++ b/net-nntp/suck/Manifest @@ -1 +1,2 @@ DIST suck-4.3.4.tar.gz 153774 BLAKE2B dc7943af43a305386872995a27b6e2faf34949813960314cbf85c4f2ad1658107480cdf77241394aa031270afc3faab5fbd30ec19559fb3d4d261fd8fa5e3416 SHA512 79892cfce1b569bbd5fb6468a919d77bce82a533c1b70369ab88a2066dc3d4396480b9a56b25e960d6e49cd0f9abad605d841693f086c9d07913798d7ac99730 +DIST suck-4.3.5.tar.gz 153874 BLAKE2B ecc7d20f8844890acae94bb154583ace66b02c594514e925500cb9337aa1678622622286aaefedda066e73236d136e2383a846f0013f7e65f657757ae6cee818 SHA512 7bf7196db62416800c040ff9afd545c8a62e50a7f8dcb914aef1105d4bdc57ec4c198b1a42d5ad4e3c9455ddca3d516a55ca9cc62c88e010e8ba8eb4fcbeb275 diff --git a/net-nntp/suck/suck-4.3.5.ebuild b/net-nntp/suck/suck-4.3.5.ebuild new file mode 100644 index 000000000000..37cd11cf40b4 --- /dev/null +++ b/net-nntp/suck/suck-4.3.5.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Grab news from a remote NNTP server and feed them to another" +HOMEPAGE="https://lazarus-pkgs.github.io/lazarus-pkgs/suck.html" +SRC_URI="https://github.com/lazarus-pkgs/suck/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="perl ssl" + +RDEPEND=" + sys-libs/gdbm:= + ssl? ( + dev-libs/openssl:0= + ) +" +DEPEND="${RDEPEND} + sys-libs/db + perl? ( dev-lang/perl ) +" + +src_prepare() { + default + + rm java/*.class || die + + # Fix paths to the locations in Gentoo + sed -i \ + -e 's:/usr/bin/rnews:/usr/$(get_libdir)/news/bin/rnews:' \ + -e 's:/var/lib/news/history:/var/spool/news/db/history:' \ + suck_config.h || die "path adaption sed failed" + + eautoreconf +} + +src_configure() { + if use ssl; then + sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed" + fi + + if use perl; then + sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed failed" + fi + + econf --without-inn-lib --without-inn-include +} + +src_compile() { + emake phrases.h + emake all lpost +} + +src_install() { + dobin lmove lpost rpost suck testhost + doman man/* + dodoc CHANGELOG CONTENTS README* + docinto java + dodoc java/* + docinto perl + dodoc perl/* + docinto sample + dodoc sample/* +}