1 |
commit: c7a8daf132cc7e804ffb23180bad44ecf9b1fe84 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 14 12:49:31 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 14 13:02:27 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a8daf1 |
7 |
|
8 |
net-nntp/suck: Drop optional inn support (#608908) |
9 |
|
10 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
net-nntp/suck/suck-4.3.3-r1.ebuild | 60 ++++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/net-nntp/suck/suck-4.3.3-r1.ebuild b/net-nntp/suck/suck-4.3.3-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..264c898d7d6 |
19 |
--- /dev/null |
20 |
+++ b/net-nntp/suck/suck-4.3.3-r1.ebuild |
21 |
@@ -0,0 +1,60 @@ |
22 |
+# Copyright 1999-2018 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+inherit autotools |
27 |
+ |
28 |
+DESCRIPTION="Grab news from a remote NNTP server and feed them to another" |
29 |
+HOMEPAGE="https://lazarus-pkgs.github.io/lazarus-pkgs/suck.html" |
30 |
+SRC_URI="https://github.com/lazarus-pkgs/suck/archive/${PV}.tar.gz -> ${P}.tar.gz" |
31 |
+LICENSE="public-domain" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~amd64 ~ppc ~x86" |
34 |
+IUSE="perl ssl" |
35 |
+ |
36 |
+RDEPEND=" |
37 |
+ sys-libs/gdbm:= |
38 |
+ ssl? ( dev-libs/openssl:0= ) |
39 |
+" |
40 |
+DEPEND="${RDEPEND} |
41 |
+ sys-libs/db |
42 |
+ perl? ( dev-lang/perl ) |
43 |
+" |
44 |
+ |
45 |
+PATCHES=( "${FILESDIR}/${PV}-fputs.patch" ) |
46 |
+ |
47 |
+src_prepare() { |
48 |
+ default |
49 |
+ |
50 |
+ # Fix paths to the locations in Gentoo |
51 |
+ sed -i \ |
52 |
+ -e 's:/usr/bin/rnews:/usr/$(get_libdir)/news/bin/rnews:' \ |
53 |
+ -e 's:/var/lib/news/history:/var/spool/news/db/history:' \ |
54 |
+ suck_config.h || die "path adaption sed failed" |
55 |
+ |
56 |
+ eautoreconf |
57 |
+} |
58 |
+ |
59 |
+src_configure() { |
60 |
+ use ssl || sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed" |
61 |
+ use perl || sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed failed" |
62 |
+ |
63 |
+ econf --without-inn-lib --without-inn-include |
64 |
+} |
65 |
+ |
66 |
+src_compile() { |
67 |
+ emake phrases.h |
68 |
+ emake all lpost |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ dobin lmove lpost rpost suck testhost |
73 |
+ doman man/* |
74 |
+ dodoc CHANGELOG CONTENTS README* |
75 |
+ docinto java |
76 |
+ dodoc java/* |
77 |
+ docinto perl |
78 |
+ dodoc perl/* |
79 |
+ docinto sample |
80 |
+ dodoc sample/* |
81 |
+} |