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: Mon, 28 May 2018 08:21:17
Message-Id: 1527495665.ecc1728f984eee4f6948abcfd90c1fa375f18fa3.nimiux@gentoo
1 commit: ecc1728f984eee4f6948abcfd90c1fa375f18fa3
2 Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 28 08:21:54 2018 +0000
4 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org>
5 CommitDate: Mon May 28 08:21:05 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecc1728f
7
8 net-nntp/tin: Drop old version 2.2.1
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-nntp/tin/Manifest | 1 -
13 net-nntp/tin/metadata.xml | 2 -
14 net-nntp/tin/tin-2.2.1.ebuild | 92 -------------------------------------------
15 3 files changed, 95 deletions(-)
16
17 diff --git a/net-nntp/tin/Manifest b/net-nntp/tin/Manifest
18 index d29835dd047..616ee6ecf8b 100644
19 --- a/net-nntp/tin/Manifest
20 +++ b/net-nntp/tin/Manifest
21 @@ -1,2 +1 @@
22 -DIST tin-2.2.1.tar.xz 1378384 BLAKE2B d68157e778f272c55cb3021987beddb27e89bd31d39e985b16e51a4aa942cb59abcc6ada46611c69320e785506085210a0451227091964866b4130e99c5f1ac5 SHA512 2c5b4b50be38c168404ba55c9429355c0dd2232c580116086fa9ea24a8907ad2d71d91b2d1c533bf7ff4d24fd1946d5ba61bc0833b20d5383e013e2f18c10bbd
23 DIST tin-2.4.2.tar.xz 1491388 BLAKE2B 16fab433443d5859cc9661790ff837e8f45767e7f45bafc54a8cffc94fd52cb4ee7afb98e579db49c16148b0f521374404a0f26d75a07a24c1c7a1dc5e3a57fe SHA512 70a9957d5bf5af1bb182a3f4e62795cd5862b7282b7fc0c231c3bd02d83950cdbdd502d8a2cc5eae20b29af584e4f794f03378742b47ed93fc5c61ac5bbb01b6
24
25 diff --git a/net-nntp/tin/metadata.xml b/net-nntp/tin/metadata.xml
26 index 2b3330cd166..ca0ce1646b9 100644
27 --- a/net-nntp/tin/metadata.xml
28 +++ b/net-nntp/tin/metadata.xml
29 @@ -4,8 +4,6 @@
30 <!-- maintainer-needed -->
31 <use>
32 <flag name="cancel-locks">Enable Cancel-Lock header functionality (also enables USE=evil)</flag>
33 -<flag name="evil">Let tin generate a message ID</flag>
34 -<flag name="forgery">Cancel messages posted from a different account</flag>
35 <flag name="gpg">Enable <pkg>app-crypt/gnupg</pkg> support</flag>
36 <flag name="etiquette">Enable the display off posting etiquettes</flag>
37 </use>
38
39 diff --git a/net-nntp/tin/tin-2.2.1.ebuild b/net-nntp/tin/tin-2.2.1.ebuild
40 deleted file mode 100644
41 index ebf4f25d29b..00000000000
42 --- a/net-nntp/tin/tin-2.2.1.ebuild
43 +++ /dev/null
44 @@ -1,92 +0,0 @@
45 -# Copyright 1999-2015 Gentoo Foundation
46 -# Distributed under the terms of the GNU General Public License v2
47 -
48 -EAPI=5
49 -inherit eutils toolchain-funcs versionator
50 -
51 -TIN_PV=$(get_version_component_range 1-2)
52 -DESCRIPTION="A threaded NNTP and spool based UseNet newsreader"
53 -HOMEPAGE="http://www.tin.org/"
54 -SRC_URI="ftp://ftp.tin.org/pub/news/clients/tin/v${TIN_PV}/${P}.tar.xz"
55 -
56 -LICENSE="GPL-2"
57 -SLOT="0"
58 -KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
59 -IUSE="cancel-locks debug doc +etiquette evil forgery gpg idn ipv6 mime nls sasl socks5 spell unicode"
60 -
61 -RDEPEND="
62 - dev-libs/libpcre
63 - dev-libs/uulib
64 - gpg? ( app-crypt/gnupg )
65 - idn? ( net-dns/libidn )
66 - mime? ( net-mail/metamail )
67 - net-misc/urlview
68 - nls? ( sys-devel/gettext )
69 - sasl? ( virtual/gsasl )
70 - socks5? ( net-proxy/dante )
71 - sys-libs/ncurses[unicode?]
72 - unicode? ( dev-libs/icu:= )
73 -"
74 -
75 -DEPEND="
76 - ${RDEPEND}
77 - app-arch/xz-utils
78 - virtual/pkgconfig
79 -"
80 -
81 -src_prepare() {
82 - sed -i src/Makefile.in -e 's| -s | |g' || die
83 - sed -i configure -e '/CFLAGS/s|-g||g' || die
84 -}
85 -
86 -src_configure() {
87 - if use evil || use cancel-locks; then
88 - sed -i -e"s/# -DEVIL_INSIDE/-DEVIL_INSIDE/" src/Makefile.in
89 - fi
90 -
91 - if use forgery
92 - then
93 - sed -i -e"s/^CPPFLAGS.*/& -DFORGERY/" src/Makefile.in
94 - fi
95 -
96 - local screen="ncurses"
97 - use unicode && screen="ncursesw"
98 -
99 - tc-export AR CC RANLIB
100 -
101 - econf \
102 - $(use_enable cancel-locks) \
103 - $(use_enable debug) \
104 - $(use_enable etiquette) \
105 - $(use_enable gpg pgp-gpg) \
106 - $(use_enable ipv6) \
107 - $(use_enable nls) \
108 - $(use_with mime metamail /usr) \
109 - $(use_with socks5 socks) $(use_with socks5) \
110 - $(use_with spell ispell /usr) \
111 - --disable-mime-strict-charset \
112 - --enable-echo \
113 - --enable-nntp-only \
114 - --enable-prototypes \
115 - --with-coffee \
116 - --with-nntp-default-server="${TIN_DEFAULT_SERVER:-${NNTPSERVER:-news.gmane.org}}" \
117 - --with-pcre=/usr \
118 - --with-screen=${screen}
119 -}
120 -
121 -src_compile() {
122 - emake build
123 -}
124 -
125 -src_install() {
126 - default
127 -
128 - # File collision?
129 - rm -f "${ED}"/usr/share/man/man5/{mbox,mmdf}.5
130 -
131 - dodoc doc/{CHANGES{,.old},CREDITS,TODO,WHATSNEW}
132 - use doc && dodoc doc/{*.sample,*.txt}
133 -
134 - insinto /etc/tin
135 - doins doc/tin.defaults
136 -}