Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-nntp/tin: metadata.xml ChangeLog tin-1.9.4.ebuild
Date: Thu, 07 Jan 2010 15:21:14
Message-Id: E1NSuAi-0007ij-1H@stork.gentoo.org
1 patrick 10/01/07 15:21:12
2
3 Modified: metadata.xml ChangeLog
4 Added: tin-1.9.4.ebuild
5 Log:
6 Bump for #260370. Thanks to Sebastian Luettich
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 net-nntp/tin/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/tin/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/tin/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/tin/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-nntp/tin/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 17 Jan 2005 20:20:32 -0000 1.1
23 +++ metadata.xml 7 Jan 2010 15:21:11 -0000 1.2
24 @@ -2,4 +2,10 @@
25 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
26 <pkgmetadata>
27 <herd>net-news</herd>
28 +<use>
29 +<flag name='cancel-locks'>Enable CancelLock functionality</flag>
30 +<flag name='evil'>Let tin generate a message ID</flag>
31 +<flag name='forgery'>Cancel messages posted from a different account</flag>
32 +<flag name='etiquette'>Enable the display off posting etiquettes</flag>
33 +</use>
34 </pkgmetadata>
35
36
37
38 1.23 net-nntp/tin/ChangeLog
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/tin/ChangeLog?rev=1.23&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/tin/ChangeLog?rev=1.23&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/tin/ChangeLog?r1=1.22&r2=1.23
43
44 Index: ChangeLog
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/net-nntp/tin/ChangeLog,v
47 retrieving revision 1.22
48 retrieving revision 1.23
49 diff -u -r1.22 -r1.23
50 --- ChangeLog 8 Mar 2009 10:30:25 -0000 1.22
51 +++ ChangeLog 7 Jan 2010 15:21:11 -0000 1.23
52 @@ -1,6 +1,12 @@
53 # ChangeLog for net-nntp/tin
54 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
55 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/tin/ChangeLog,v 1.22 2009/03/08 10:30:25 cla Exp $
56 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
57 +# $Header: /var/cvsroot/gentoo-x86/net-nntp/tin/ChangeLog,v 1.23 2010/01/07 15:21:11 patrick Exp $
58 +
59 +*tin-1.9.4 (07 Jan 2010)
60 +
61 + 07 Jan 2010; Patrick Lauer <patrick@g.o> +tin-1.9.4.ebuild,
62 + metadata.xml:
63 + Bump for #260370. Thanks to Sebastian Luettich
64
65 08 Mar 2009; Dawid Węgliński <cla@g.o> tin-1.8.3.ebuild:
66 Prevent double emake
67
68
69
70 1.1 net-nntp/tin/tin-1.9.4.ebuild
71
72 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/tin/tin-1.9.4.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-nntp/tin/tin-1.9.4.ebuild?rev=1.1&content-type=text/plain
74
75 Index: tin-1.9.4.ebuild
76 ===================================================================
77 # Copyright 1999-2010 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/net-nntp/tin/tin-1.9.4.ebuild,v 1.1 2010/01/07 15:21:11 patrick Exp $
80
81 EAPI="2"
82
83 inherit versionator eutils
84
85 DESCRIPTION="A threaded NNTP and spool based UseNet newsreader"
86 HOMEPAGE="http://www.tin.org/"
87 SRC_URI="ftp://ftp.tin.org/pub/news/clients/tin/v$(get_version_component_range 1-2)/${P}.tar.bz2"
88
89 LICENSE="GPL-2"
90 SLOT="0"
91 KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
92 IUSE="cancel-locks crypt debug evil forgery idn ipv6 nls unicode socks5 +etiquette"
93
94 DEPEND="sys-libs/ncurses
95 dev-libs/libpcre
96 dev-libs/uulib
97 idn? ( net-dns/libidn )
98 unicode? ( dev-libs/icu )
99 nls? ( sys-devel/gettext )
100 crypt? ( app-crypt/gnupg )
101 socks5? ( net-proxy/dante )"
102
103 RDEPEND="${DEPEND}
104 net-misc/urlview"
105
106 pkg_setup() {
107 if use unicode && ! built_with_use sys-libs/ncurses unicode
108 then
109 die "For unicode support you need sys-libs/ncurses compiled with unicode support!"
110 fi
111 }
112
113 src_configure() {
114
115 if use evil
116 then
117 sed -i -e"s/# -DEVIL_INSIDE/-DEVIL_INSIDE/" src/Makefile.in
118 fi
119
120 if use forgery
121 then
122 sed -i -e"s/^CPPFLAGS.*/& -DFORGERY/" src/Makefile.in
123 fi
124
125 local screen="ncurses"
126 use unicode && screen="ncursesw"
127
128 if ! use etiquette; then
129 myconf="${myconf} --disable-etiquette"
130 fi
131
132 if ! use evil && use cancel-locks; then
133 die "USE=cancel-locks requires also USE=evil to generate MIDs and the Cancel-Lock:-Header."
134 fi
135
136 econf \
137 --with-pcre=/usr \
138 --enable-nntp-only \
139 --enable-prototypes \
140 --disable-echo \
141 --disable-mime-strict-charset \
142 --with-coffee \
143 --with-screen=${screen} \
144 --with-nntp-default-server="${TIN_DEFAULT_SERVER:-${NNTPSERVER:-news.gmane.org}}" \
145 $(use_enable ipv6) \
146 $(use_enable debug) \
147 $(use_enable crypt pgp-gpg) \
148 $(use_enable nls) \
149 $(use_enable cancel-locks) \
150 $(use_with socks5) \
151 ${myconf} \
152 || die "econf failed"
153 }
154
155 src_install() {
156 if has_version mail-client/mutt; then
157 rm doc/mmdf.5 doc/mbox.5
158 fi
159 make DESTDIR="${D}" install || die "make install failed"
160
161 dodoc doc/{CHANGES{,.old},CREDITS,TODO,WHATSNEW,*.sample,*.txt} || die "dodoc failed"
162 insinto /etc/tin
163 doins doc/tin.defaults || die "doins failed"
164 }