Gentoo Archives: gentoo-commits

From: "José María Alonso" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nntp/tin/
Date: Tue, 30 Jan 2018 15:15:53
Message-Id: 1517325326.30aad951282e981b515b1463ba441287e815d174.nimiux@gentoo
1 commit: 30aad951282e981b515b1463ba441287e815d174
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 30 15:15:04 2018 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 30 15:15:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30aad951
7
8 net-nntp/tin: Bumps version to 2.4.2.
9
10 Cleans net-misc/urlview dependency (bug #646118)
11
12 Package-Manager: Portage-2.3.19, Repoman-2.3.6
13
14 net-nntp/tin/Manifest | 1 +
15 net-nntp/tin/tin-2.4.2.ebuild | 77 +++++++++++++++++++++++++++++++++++++++++++
16 2 files changed, 78 insertions(+)
17
18 diff --git a/net-nntp/tin/Manifest b/net-nntp/tin/Manifest
19 index 227280686a9..23e38f46d03 100644
20 --- a/net-nntp/tin/Manifest
21 +++ b/net-nntp/tin/Manifest
22 @@ -1,3 +1,4 @@
23 DIST tin-2.0.1.tar.bz2 1758848 BLAKE2B 63a6302724c405114b3d692d7b283ca3ea297661055ada944b95a46d27a23a371f9d16929888c41b6e95a6e1a16b5bba964467ff57d26a1ba81a951a68c7ac2a SHA512 fc2bd0586e72a2fb4f8a223c0ceeb19e2dfcdb300d463f0f5d4b7367346a032614aa662a4d9d11673269be59cbaeff39fa3fdf7618dd41e965850d137919a386
24 DIST tin-2.2.1.tar.xz 1378384 BLAKE2B d68157e778f272c55cb3021987beddb27e89bd31d39e985b16e51a4aa942cb59abcc6ada46611c69320e785506085210a0451227091964866b4130e99c5f1ac5 SHA512 2c5b4b50be38c168404ba55c9429355c0dd2232c580116086fa9ea24a8907ad2d71d91b2d1c533bf7ff4d24fd1946d5ba61bc0833b20d5383e013e2f18c10bbd
25 DIST tin-2.3.1.tar.xz 1381840 BLAKE2B c6ccf0b41b56acc5e3628b32eba62502e4f01e1f0db2936d8aebbfafb27a4cbc7fbd1664e4d646d8e3128ee4b7a17dbc55e7ea93b7eda68c1518b4303bcdaecd SHA512 53fecc8fca7c67a7082a1f3f77a868433725a2ad4cc5650cdd522f791cbfc336733db5de3c637606788a2844df7e13e1d3fbae48c15ceaa49e24ea6e297926af
26 +DIST tin-2.4.2.tar.xz 1491388 BLAKE2B 16fab433443d5859cc9661790ff837e8f45767e7f45bafc54a8cffc94fd52cb4ee7afb98e579db49c16148b0f521374404a0f26d75a07a24c1c7a1dc5e3a57fe SHA512 70a9957d5bf5af1bb182a3f4e62795cd5862b7282b7fc0c231c3bd02d83950cdbdd502d8a2cc5eae20b29af584e4f794f03378742b47ed93fc5c61ac5bbb01b6
27
28 diff --git a/net-nntp/tin/tin-2.4.2.ebuild b/net-nntp/tin/tin-2.4.2.ebuild
29 new file mode 100644
30 index 00000000000..1846e91b835
31 --- /dev/null
32 +++ b/net-nntp/tin/tin-2.4.2.ebuild
33 @@ -0,0 +1,77 @@
34 +# Copyright 1999-2018 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +inherit eutils toolchain-funcs
40 +
41 +DESCRIPTION="A threaded NNTP and spool based UseNet newsreader"
42 +HOMEPAGE="http://www.tin.org/"
43 +SRC_URI="ftp://ftp.tin.org/pub/news/clients/tin/stable/${P}.tar.xz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
48 +IUSE="cancel-locks debug doc +etiquette gpg idn ipv6 mime nls sasl socks5 spell unicode"
49 +
50 +RDEPEND="
51 + dev-libs/libpcre
52 + dev-libs/uulib
53 + gpg? ( app-crypt/gnupg )
54 + idn? ( net-dns/libidn )
55 + mime? ( net-mail/metamail )
56 + nls? ( sys-devel/gettext )
57 + sasl? ( virtual/gsasl )
58 + socks5? ( net-proxy/dante )
59 + sys-libs/ncurses:0[unicode?]
60 + unicode? ( dev-libs/icu:= )
61 +"
62 +
63 +DEPEND="
64 + ${RDEPEND}
65 + app-arch/xz-utils
66 + virtual/pkgconfig
67 +"
68 +
69 +src_configure() {
70 + local screen="ncurses"
71 + use unicode && screen="ncursesw"
72 +
73 + tc-export AR CC RANLIB
74 +
75 + econf \
76 + $(use_enable cancel-locks) \
77 + $(use_enable debug) \
78 + $(use_enable etiquette) \
79 + $(use_enable gpg pgp-gpg) \
80 + $(use_enable ipv6) \
81 + $(use_enable nls) \
82 + $(use_with mime metamail /usr) \
83 + $(use_with socks5 socks) $(use_with socks5) \
84 + $(use_with spell ispell /usr) \
85 + --disable-mime-strict-charset \
86 + --enable-echo \
87 + --enable-nntp-only \
88 + --enable-prototypes \
89 + --with-coffee \
90 + --with-nntp-default-server="${TIN_DEFAULT_SERVER:-${NNTPSERVER:-news.gmane.org}}" \
91 + --with-pcre=/usr \
92 + --with-screen=${screen}
93 +}
94 +
95 +#src_compile() {
96 +# emake build
97 +#}
98 +
99 +src_install() {
100 + default
101 +
102 + # File collision?
103 + rm -f "${ED}"/usr/share/man/man5/{mbox,mmdf}.5
104 +
105 + dodoc doc/{CHANGES{,.old},CREDITS,TODO,WHATSNEW}
106 + use doc && dodoc doc/{*.sample,*.txt}
107 +
108 + insinto /etc/tin
109 + doins doc/tin.defaults
110 +}