Gentoo Archives: gentoo-proxy-maint

From: Joonas Niilola <juippis@g.o>
To: gentoo-proxy-maint@l.g.o
Subject: Re: [gentoo-proxy-maint] [PATCH] net-nntp/suck: Version bump, 4.3.4
Date: Tue, 28 Apr 2020 08:30:52
Message-Id: 373a4b9a-29a8-70e4-fedb-02ba47b09bc7@gentoo.org
In Reply to: [gentoo-proxy-maint] [PATCH] net-nntp/suck: Version bump, 4.3.4 by "Haelwenn (lanodan) Monnier"
1 Thanks,
2
3 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80f987361a6b6e4258acf49bd0a702b471a95050
4
5 Note:
6
7 * Messages for package net-nntp/suck-4.3.4:
8
9  * QA Notice: Package triggers severe warnings which indicate that it
10  *            may exhibit random runtime failures.
11  * chkhistory_db.c:235:16: warning: incompatible implicit declaration of
12 built-in function 'strlen'
13  * Please do not file a Gentoo bug and instead report the above QA
14  * issues directly to the upstream developers of this software.
15  * Homepage: https://lazarus-pkgs.github.io/lazarus-pkgs/suck.html
16
17 -- juippis
18
19 On 4/19/20 2:13 PM, Haelwenn (lanodan) Monnier wrote:
20 > Closes: https://bugs.gentoo.org/696724
21 > Signed-off-by: Haelwenn (lanodan) Monnier <contact@×××××××××.me>
22 > ---
23 > net-nntp/suck/Manifest | 1 +
24 > net-nntp/suck/metadata.xml | 9 ++++-
25 > net-nntp/suck/suck-4.3.4.ebuild | 61 +++++++++++++++++++++++++++++++++
26 > 3 files changed, 70 insertions(+), 1 deletion(-)
27 > create mode 100644 net-nntp/suck/suck-4.3.4.ebuild
28 >
29 > diff --git a/net-nntp/suck/Manifest b/net-nntp/suck/Manifest
30 > index 108ca28c5e7..b155621ede4 100644
31 > --- a/net-nntp/suck/Manifest
32 > +++ b/net-nntp/suck/Manifest
33 > @@ -1 +1,2 @@
34 > DIST suck-4.3.3.tar.gz 153624 BLAKE2B 434bdb21ba37deefcba4c0fa9ec3cdf14bc49e1295533ae3c7fb298f49819113ad05e26b3ca72e20ebdd498b0514155f8d79e7c82e95f423521586de889c2371 SHA512 629ecbd7e8d070fc9c1175be6dd10d49fe71b59b8694f32a81cc2dd5ec46e32d64463d221052922a7e21fcac1c9a330f56399bad7c64fa653d68127cd16dbfdc
35 > +DIST suck-4.3.4.tar.gz 153774 BLAKE2B dc7943af43a305386872995a27b6e2faf34949813960314cbf85c4f2ad1658107480cdf77241394aa031270afc3faab5fbd30ec19559fb3d4d261fd8fa5e3416 SHA512 79892cfce1b569bbd5fb6468a919d77bce82a533c1b70369ab88a2066dc3d4396480b9a56b25e960d6e49cd0f9abad605d841693f086c9d07913798d7ac99730
36 > diff --git a/net-nntp/suck/metadata.xml b/net-nntp/suck/metadata.xml
37 > index 04692a1a218..b5647d42ed7 100644
38 > --- a/net-nntp/suck/metadata.xml
39 > +++ b/net-nntp/suck/metadata.xml
40 > @@ -1,7 +1,14 @@
41 > <?xml version="1.0" encoding="UTF-8"?>
42 > <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
43 > <pkgmetadata>
44 > - <!-- maintainer-needed -->
45 > + <maintainer type="person">
46 > + <email>contact@×××××××××.me</email>
47 > + <name>Haelwenn (lanodan) Monnier</name>
48 > + </maintainer>
49 > + <maintainer type="project">
50 > + <email>proxy-maint@g.o</email>
51 > + <name>Proxy Maintainers</name>
52 > + </maintainer>
53 > <upstream>
54 > <remote-id type="github">lazarus-pkgs/suck</remote-id>
55 > </upstream>
56 > diff --git a/net-nntp/suck/suck-4.3.4.ebuild b/net-nntp/suck/suck-4.3.4.ebuild
57 > new file mode 100644
58 > index 00000000000..6e3a5533c5c
59 > --- /dev/null
60 > +++ b/net-nntp/suck/suck-4.3.4.ebuild
61 > @@ -0,0 +1,61 @@
62 > +# Copyright 1999-2020 Gentoo Authors
63 > +# Distributed under the terms of the GNU General Public License v2
64 > +
65 > +EAPI=7
66 > +inherit autotools
67 > +
68 > +DESCRIPTION="Grab news from a remote NNTP server and feed them to another"
69 > +HOMEPAGE="https://lazarus-pkgs.github.io/lazarus-pkgs/suck.html"
70 > +SRC_URI="https://github.com/lazarus-pkgs/suck/archive/${PV}.tar.gz -> ${P}.tar.gz"
71 > +LICENSE="public-domain"
72 > +SLOT="0"
73 > +KEYWORDS="~amd64 ~ppc ~x86"
74 > +IUSE="perl ssl libressl"
75 > +
76 > +RDEPEND="
77 > + sys-libs/gdbm:=
78 > + ssl? (
79 > + !libressl? ( dev-libs/openssl:0= )
80 > + libressl? ( dev-libs/libressl:= )
81 > + )
82 > +"
83 > +DEPEND="${RDEPEND}
84 > + sys-libs/db
85 > + perl? ( dev-lang/perl )
86 > +"
87 > +
88 > +src_prepare() {
89 > + default
90 > +
91 > + # Fix paths to the locations in Gentoo
92 > + sed -i \
93 > + -e 's:/usr/bin/rnews:/usr/$(get_libdir)/news/bin/rnews:' \
94 > + -e 's:/var/lib/news/history:/var/spool/news/db/history:' \
95 > + suck_config.h || die "path adaption sed failed"
96 > +
97 > + eautoreconf
98 > +}
99 > +
100 > +src_configure() {
101 > + use ssl || sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed"
102 > + use perl || sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed failed"
103 > +
104 > + econf --without-inn-lib --without-inn-include
105 > +}
106 > +
107 > +src_compile() {
108 > + emake phrases.h
109 > + emake all lpost
110 > +}
111 > +
112 > +src_install() {
113 > + dobin lmove lpost rpost suck testhost
114 > + doman man/*
115 > + dodoc CHANGELOG CONTENTS README*
116 > + docinto java
117 > + dodoc java/*
118 > + docinto perl
119 > + dodoc perl/*
120 > + docinto sample
121 > + dodoc sample/*
122 > +}

Attachments

File name MIME type
signature.asc application/pgp-signature