public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nntp/suck/
Date: Thu, 21 Mar 2024 02:19:40 +0000 (UTC)	[thread overview]
Message-ID: <1710987466.9c0c78c41756c4c7d0c6d709ae81d0b952fbc21f.sam@gentoo> (raw)

commit:     9c0c78c41756c4c7d0c6d709ae81d0b952fbc21f
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri Mar 15 18:26:46 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <contact <AT> hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/35770
Signed-off-by: Sam James <sam <AT> 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/*
+}


             reply	other threads:[~2024-03-21  2:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21  2:19 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-02 19:43 [gentoo-commits] repo/gentoo:master commit in: net-nntp/suck/ Mikle Kolyada
2020-04-28  8:29 Joonas Niilola
2020-04-28  8:29 Joonas Niilola
2020-04-14  8:35 Joonas Niilola
2018-11-04 13:50 Pacho Ramos
2018-10-14 13:02 Pacho Ramos
2018-02-15 13:47 Andreas Sturmlechner
2018-02-15 13:47 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1710987466.9c0c78c41756c4c7d0c6d709ae81d0b952fbc21f.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox