summaryrefslogtreecommitdiff
path: root/net-nntp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-15 16:58:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-02-15 16:58:00 +0000
commit434d713861b70f6c6563d6ee50a8e64f14c970d9 (patch)
treeb72c523c72e764420f835ba9d63d43ffef687dcf /net-nntp
parentf78108598211053d41752a83e0345441bb9014ae (diff)
gentoo resync : 15.02.2018
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/Manifest.gzbin2693 -> 2698 bytes
-rw-r--r--net-nntp/suck/Manifest7
-rw-r--r--net-nntp/suck/files/4.3.3-fputs.patch25
-rw-r--r--net-nntp/suck/metadata.xml12
-rw-r--r--net-nntp/suck/suck-4.3.2.ebuild47
-rw-r--r--net-nntp/suck/suck-4.3.3.ebuild61
6 files changed, 101 insertions, 51 deletions
diff --git a/net-nntp/Manifest.gz b/net-nntp/Manifest.gz
index 344c923123e5..f6749258bef3 100644
--- a/net-nntp/Manifest.gz
+++ b/net-nntp/Manifest.gz
Binary files differ
diff --git a/net-nntp/suck/Manifest b/net-nntp/suck/Manifest
index c6a975de23bb..bc749ddcb3ae 100644
--- a/net-nntp/suck/Manifest
+++ b/net-nntp/suck/Manifest
@@ -1,3 +1,4 @@
-DIST suck-4.3.2.tar.gz 187560 BLAKE2B fd8e7ebb8e00f4ef060f72b12eae5001268399267914a617c3de73ed323a58cc87770a4ecf1eb5991c36a7f74f2475f3cd9076c60aec52bc8c05ae89cd0b32a4 SHA512 704559ea54daabc6ef7b205431e587a90de20d8a5648e60910e4bc1a1493eebc8a3497c308a9de34febf6b26eda13785cf9f1f5ae034ee7fb0a9230173d13d4f
-EBUILD suck-4.3.2.ebuild 1098 BLAKE2B 13c85af5cfb051d037a10fbd36b9bb95d3f8780a3bd5f8145b8d78928f4da6e846ef1320326ba460572c1d2ec03881cc9d76f08d7f79cca67753b9495865a7db SHA512 67e9300bef33a94a4c5ef227b68637fcc5be4bb89be60be203f10549eafb1714232acc7e934824a9104020d386758fcc1933872c14f76d001f8e4ed27d531ac9
-MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
+AUX 4.3.3-fputs.patch 639 BLAKE2B acbb1344a34b8176abcc10d61ed08d506cd80ad331aba78c97c5c0de97192ec2708d5c21f34a9b329303ab6c5066b0b248128977eb5d9e2c44633acb56a9919e SHA512 70e7e117692b27e9bcc646eca4e41cf432aca180358922f900e02b0ffa4c98e0a4814f05aa6b318cb38c50075bedf560a74f1a3e9dadf3e88c855d4a43bcc24d
+DIST suck-4.3.3.tar.gz 153624 BLAKE2B 434bdb21ba37deefcba4c0fa9ec3cdf14bc49e1295533ae3c7fb298f49819113ad05e26b3ca72e20ebdd498b0514155f8d79e7c82e95f423521586de889c2371 SHA512 629ecbd7e8d070fc9c1175be6dd10d49fe71b59b8694f32a81cc2dd5ec46e32d64463d221052922a7e21fcac1c9a330f56399bad7c64fa653d68127cd16dbfdc
+EBUILD suck-4.3.3.ebuild 1343 BLAKE2B 6a2982dac36e91102fa96da5b7035f66e3271fe9c5e8f64e3f7513df0acbb40e817219ef9d51b76e892d0a6594282ecfda9409e594caf3e778ea58dfb9dcb0dc SHA512 f8179fb68e8033c44e00d6cd68c855dd3790b93fdae78909bfaabf7e67f8102cd591e0171eabdc3426ed097fc875165b2bcd19b1f032aa77b14ea2ca7c5ecd8e
+MISC metadata.xml 446 BLAKE2B f1536ea731934392d13bec8052913b2b1735afb5bb8af79916fab70162b2575ece91eb5a93fecc69d1a964264bc1cf9ae4a44cbec89685fd02297bb1262c68ac SHA512 f8655b719c3dc9bd0a7fd4ef046c88c4e44624d206d544ba9c5f668084fc908c217813aedb6970dc9e081c8483fb1ddbf777e8e78e1432cb262c020e704e5c7c
diff --git a/net-nntp/suck/files/4.3.3-fputs.patch b/net-nntp/suck/files/4.3.3-fputs.patch
new file mode 100644
index 000000000000..df38f1d4316a
--- /dev/null
+++ b/net-nntp/suck/files/4.3.3-fputs.patch
@@ -0,0 +1,25 @@
+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 6f49eba8f496..9949afff0b13 100644
--- a/net-nntp/suck/metadata.xml
+++ b/net-nntp/suck/metadata.xml
@@ -1,5 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>jubalh@iodoru.org</email>
+ <name>Michael Vetter</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">lazarus-pkgs/suck</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/net-nntp/suck/suck-4.3.2.ebuild b/net-nntp/suck/suck-4.3.2.ebuild
deleted file mode 100644
index 5a7f05bff602..000000000000
--- a/net-nntp/suck/suck-4.3.2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-DESCRIPTION="Grab news from a remote NNTP server and feed them to another"
-HOMEPAGE="http://home.comcast.net/~bobyetman/"
-SRC_URI="http://home.comcast.net/~bobyetman/${P}.tar.gz"
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-IUSE="ssl perl"
-
-DEPEND="sys-libs/db
- perl? ( dev-lang/perl )
- ssl? ( dev-libs/openssl )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Fix paths to the locations in Gentoo
- sed -i \
- -e 's:/usr/lib/news/rnews:/usr/lib/news/bin/rnews:' \
- -e 's:/usr/news/db/history:/var/spool/news/db/history:' \
- suck_config.h
-}
-
-src_compile() {
- use ssl || sed -i -e 's/^SSL_/#SSL_/' Makefile.in
- use perl || sed -i -e 's/^PERL_/#PERL_/' Makefile.in
-
- econf || die "econf failed"
-
- emake phrases.h || die "emake phrases.h failed"
- emake all lpost || die "emake failed"
-}
-
-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/*
-}
diff --git a/net-nntp/suck/suck-4.3.3.ebuild b/net-nntp/suck/suck-4.3.3.ebuild
new file mode 100644
index 000000000000..684bae61e05e
--- /dev/null
+++ b/net-nntp/suck/suck-4.3.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+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"
+
+COMMON_DEPEND="sys-libs/gdbm:=
+ ssl? ( dev-libs/openssl:0= )"
+
+DEPEND="${COMMON_DEPEND}
+ sys-libs/db
+ perl? ( dev-lang/perl )"
+
+RDEPEND="${COMMON_DEPEND}
+ net-nntp/inn"
+
+PATCHES=( "${FILESDIR}/${PV}-fputs.patch" )
+
+src_prepare() {
+ default
+
+ # 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() {
+ 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"
+
+ econf
+}
+
+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/*
+}