Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-nntp/tin: tin-2.3.1.ebuild ChangeLog
Date: Thu, 28 May 2015 06:14:21
Message-Id: 20150528061415.9F59DA09@oystercatcher.gentoo.org
1 jer 15/05/28 06:14:15
2
3 Modified: ChangeLog
4 Added: tin-2.3.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.53 net-nntp/tin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/tin/ChangeLog?rev=1.53&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/tin/ChangeLog?rev=1.53&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/tin/ChangeLog?r1=1.52&r2=1.53
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-nntp/tin/ChangeLog,v
20 retrieving revision 1.52
21 retrieving revision 1.53
22 diff -u -r1.52 -r1.53
23 --- ChangeLog 18 May 2014 05:08:03 -0000 1.52
24 +++ ChangeLog 28 May 2015 06:14:15 -0000 1.53
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-nntp/tin
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/tin/ChangeLog,v 1.52 2014/05/18 05:08:03 jer Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-nntp/tin/ChangeLog,v 1.53 2015/05/28 06:14:15 jer Exp $
31 +
32 +*tin-2.3.1 (28 May 2015)
33 +
34 + 28 May 2015; Jeroen Roovers <jer@g.o> +tin-2.3.1.ebuild:
35 + Version bump.
36
37 *tin-2.2.1 (18 May 2014)
38
39
40
41
42 1.1 net-nntp/tin/tin-2.3.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/tin/tin-2.3.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/tin/tin-2.3.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: tin-2.3.1.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-nntp/tin/tin-2.3.1.ebuild,v 1.1 2015/05/28 06:14:15 jer Exp $
52
53 EAPI=5
54 inherit eutils toolchain-funcs versionator
55
56 TIN_PV=$(get_version_component_range 1-2)
57 DESCRIPTION="A threaded NNTP and spool based UseNet newsreader"
58 HOMEPAGE="http://www.tin.org/"
59 SRC_URI="ftp://ftp.tin.org/pub/news/clients/tin/v${TIN_PV}/${P}.tar.xz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
64 IUSE="cancel-locks debug doc +etiquette evil forgery gpg idn ipv6 mime nls sasl socks5 spell unicode"
65
66 RDEPEND="
67 dev-libs/libpcre
68 dev-libs/uulib
69 gpg? ( app-crypt/gnupg )
70 idn? ( net-dns/libidn )
71 mime? ( net-mail/metamail )
72 net-misc/urlview
73 nls? ( sys-devel/gettext )
74 sasl? ( virtual/gsasl )
75 socks5? ( net-proxy/dante )
76 sys-libs/ncurses[unicode?]
77 unicode? ( dev-libs/icu:= )
78 "
79
80 DEPEND="
81 ${RDEPEND}
82 app-arch/xz-utils
83 virtual/pkgconfig
84 "
85
86 src_prepare() {
87 sed -i src/Makefile.in -e 's| -s | |g' || die
88 sed -i configure -e '/CFLAGS/s|-g||g' || die
89 }
90
91 src_configure() {
92 if use evil || use cancel-locks; then
93 sed -i -e"s/# -DEVIL_INSIDE/-DEVIL_INSIDE/" src/Makefile.in
94 fi
95
96 if use forgery
97 then
98 sed -i -e"s/^CPPFLAGS.*/& -DFORGERY/" src/Makefile.in
99 fi
100
101 local screen="ncurses"
102 use unicode && screen="ncursesw"
103
104 tc-export AR CC RANLIB
105
106 econf \
107 $(use_enable cancel-locks) \
108 $(use_enable debug) \
109 $(use_enable etiquette) \
110 $(use_enable gpg pgp-gpg) \
111 $(use_enable ipv6) \
112 $(use_enable nls) \
113 $(use_with mime metamail /usr) \
114 $(use_with socks5 socks) $(use_with socks5) \
115 $(use_with spell ispell /usr) \
116 --disable-mime-strict-charset \
117 --enable-echo \
118 --enable-nntp-only \
119 --enable-prototypes \
120 --with-coffee \
121 --with-nntp-default-server="${TIN_DEFAULT_SERVER:-${NNTPSERVER:-news.gmane.org}}" \
122 --with-pcre=/usr \
123 --with-screen=${screen}
124 }
125
126 src_compile() {
127 emake build
128 }
129
130 src_install() {
131 default
132
133 # File collision?
134 rm -f "${ED}"/usr/share/man/man5/{mbox,mmdf}.5
135
136 dodoc doc/{CHANGES{,.old},CREDITS,TODO,WHATSNEW}
137 use doc && dodoc doc/{*.sample,*.txt}
138
139 insinto /etc/tin
140 doins doc/tin.defaults
141 }