summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp/suck')
-rw-r--r--net-nntp/suck/Manifest2
-rw-r--r--net-nntp/suck/files/4.3.3-fputs.patch25
-rw-r--r--net-nntp/suck/metadata.xml6
-rw-r--r--net-nntp/suck/suck-4.3.4.ebuild7
-rw-r--r--net-nntp/suck/suck-4.3.5.ebuild (renamed from net-nntp/suck/suck-4.3.3-r1.ebuild)20
5 files changed, 21 insertions, 39 deletions
diff --git a/net-nntp/suck/Manifest b/net-nntp/suck/Manifest
index b155621ede47..1cc682475499 100644
--- a/net-nntp/suck/Manifest
+++ b/net-nntp/suck/Manifest
@@ -1,2 +1,2 @@
-DIST suck-4.3.3.tar.gz 153624 BLAKE2B 434bdb21ba37deefcba4c0fa9ec3cdf14bc49e1295533ae3c7fb298f49819113ad05e26b3ca72e20ebdd498b0514155f8d79e7c82e95f423521586de889c2371 SHA512 629ecbd7e8d070fc9c1175be6dd10d49fe71b59b8694f32a81cc2dd5ec46e32d64463d221052922a7e21fcac1c9a330f56399bad7c64fa653d68127cd16dbfdc
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/files/4.3.3-fputs.patch b/net-nntp/suck/files/4.3.3-fputs.patch
deleted file mode 100644
index df38f1d4316a..000000000000
--- a/net-nntp/suck/files/4.3.3-fputs.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 440c3c39c51c89c0a5bc53850e9b75b142a39bd2 Mon Sep 17 00:00:00 2001
-From: Michael Vetter <jubalh@iodoru.org>
-Date: Wed, 14 Feb 2018 15:02:22 +0100
-Subject: [PATCH] Use fputs instead of fput
-
-fput() seems to be non-standard.
-See commit cb0aadd0a2f16a09bc972d648b864a1fd541e75f
-Now we have the original patch.
----
- lpost.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lpost.c b/lpost.c
-index a2c0d29..39bb17e 100644
---- a/lpost.c
-+++ b/lpost.c
-@@ -42,7 +42,7 @@ int main(int argc,char *argv[]) {
- }
- }
- else {
-- (void) fput(line, pfp);
-+ (void) fputs(line, pfp);
- }
- } /* end while */
- exit(retval);
diff --git a/net-nntp/suck/metadata.xml b/net-nntp/suck/metadata.xml
index b5647d42ed7b..b468c1992b5e 100644
--- a/net-nntp/suck/metadata.xml
+++ b/net-nntp/suck/metadata.xml
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
+ <maintainer type="person" proxied="yes">
<email>contact@hacktivis.me</email>
<name>Haelwenn (lanodan) Monnier</name>
</maintainer>
- <maintainer type="project">
+ <maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
diff --git a/net-nntp/suck/suck-4.3.4.ebuild b/net-nntp/suck/suck-4.3.4.ebuild
index ecb5006bebe9..dc04e8bb5153 100644
--- a/net-nntp/suck/suck-4.3.4.ebuild
+++ b/net-nntp/suck/suck-4.3.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,13 +11,12 @@ SRC_URI="https://github.com/lazarus-pkgs/suck/archive/${PV}.tar.gz -> ${P}.tar.g
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="perl ssl libressl"
+IUSE="perl ssl"
RDEPEND="
sys-libs/gdbm:=
ssl? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:= )
+ dev-libs/openssl:0=
)
"
DEPEND="${RDEPEND}
diff --git a/net-nntp/suck/suck-4.3.3-r1.ebuild b/net-nntp/suck/suck-4.3.5.ebuild
index 264c898d7d64..37cd11cf40b4 100644
--- a/net-nntp/suck/suck-4.3.3-r1.ebuild
+++ b/net-nntp/suck/suck-4.3.5.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2018 Gentoo Authors
+# 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"
@@ -14,18 +15,20 @@ IUSE="perl ssl"
RDEPEND="
sys-libs/gdbm:=
- ssl? ( dev-libs/openssl:0= )
+ ssl? (
+ dev-libs/openssl:0=
+ )
"
DEPEND="${RDEPEND}
sys-libs/db
perl? ( dev-lang/perl )
"
-PATCHES=( "${FILESDIR}/${PV}-fputs.patch" )
-
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:' \
@@ -36,8 +39,13 @@ src_prepare() {
}
src_configure() {
- use ssl || sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed"
- use perl || sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed failed"
+ 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
}