Gentoo Archives: gentoo-commits

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