1 |
Signed-off-by: Anna Vyalkova <cyber+gentoo@×××××.in> |
2 |
--- |
3 |
net-nntp/tin/Manifest | 2 +- |
4 |
net-nntp/tin/metadata.xml | 5 +- |
5 |
net-nntp/tin/tin-2.4.5-r1.ebuild | 74 --------------------------- |
6 |
net-nntp/tin/tin-2.6.1.ebuild | 87 ++++++++++++++++++++++++++++++++ |
7 |
4 files changed, 91 insertions(+), 77 deletions(-) |
8 |
delete mode 100644 net-nntp/tin/tin-2.4.5-r1.ebuild |
9 |
create mode 100644 net-nntp/tin/tin-2.6.1.ebuild |
10 |
|
11 |
diff --git a/net-nntp/tin/Manifest b/net-nntp/tin/Manifest |
12 |
index 001b34ab27e..a553037d637 100644 |
13 |
--- a/net-nntp/tin/Manifest |
14 |
+++ b/net-nntp/tin/Manifest |
15 |
@@ -1,2 +1,2 @@ |
16 |
-DIST tin-2.4.5.tar.xz 1559164 BLAKE2B 4efea88c7f76aef91a848c9ed5d82efac640360e41c515015d406e84ed5ce639bbcd17eff29939312ebf83adb8bb84bc7a4f04833cd7cc0781f92b377a0cb31f SHA512 4ec1c4990ce8d9a46204c0064f19c5c2b99848201c37562f8df76de5be84fdd2bcd35cbc3e9f20233f636522e086ac031a5a9cb65bd22a53eda619dcce86adbc |
17 |
DIST tin-2.6.0.tar.xz 1575564 BLAKE2B 2f42261457b359c63461953335f25de21fd3e54b3730b5db39daf0f25929e8c39a4c89be4d558bed9ce81801d2e3cad3d163c1827d2f3064144d8b2bf34ae645 SHA512 d843bd313fd144fbb5f4c40e3f0f776cab3a974494adc7004ee265235ab538dde520bc72c956d5a8517225fdb50e754b444f25bd3b661ddf51ff9e4135904862 |
18 |
+DIST tin-2.6.1.tar.xz 1570500 BLAKE2B ec9c54b8b89ecd33a42ede37c8db50828de2dce56ddff01900121903a18d73bde8a06733ca2dfb72c676eb373b5ea874cecb9a1ee7890ada4ad6539d9ff1a435 SHA512 dc9ace5e24cac1efcaac25df1747dd435573130cff4e9c846c89e8faaed8e8120d66a2021332c01f350744155bcb7be608657285560a1a2457b4635cc8fa22b3 |
19 |
diff --git a/net-nntp/tin/metadata.xml b/net-nntp/tin/metadata.xml |
20 |
index 4a1d8ee295b..e9e3c1ae47e 100644 |
21 |
--- a/net-nntp/tin/metadata.xml |
22 |
+++ b/net-nntp/tin/metadata.xml |
23 |
@@ -1,11 +1,12 @@ |
24 |
<?xml version="1.0" encoding="UTF-8"?> |
25 |
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
26 |
<pkgmetadata> |
27 |
<!-- maintainer-needed --> |
28 |
+<upstream> |
29 |
+<doc>http://www.tin.org/bin/man.cgi?section=1&topic=tin</doc> |
30 |
+</upstream> |
31 |
<use> |
32 |
<flag name="cancel-locks">Enable Cancel-Lock header functionality</flag> |
33 |
<flag name="gpg">Enable <pkg>app-crypt/gnupg</pkg> support</flag> |
34 |
-<flag name="etiquette" restrict="<net-nntp/tin-2.6.0">Enable the display off posting etiquettes</flag> |
35 |
-<flag name="mime" restrict="<net-nntp/tin-2.6.0">Add MIME support</flag> |
36 |
</use> |
37 |
</pkgmetadata> |
38 |
diff --git a/net-nntp/tin/tin-2.4.5-r1.ebuild b/net-nntp/tin/tin-2.4.5-r1.ebuild |
39 |
deleted file mode 100644 |
40 |
index a5435105bbf..00000000000 |
41 |
--- a/net-nntp/tin/tin-2.4.5-r1.ebuild |
42 |
+++ /dev/null |
43 |
@@ -1,74 +0,0 @@ |
44 |
-# Copyright 1999-2021 Gentoo Authors |
45 |
-# Distributed under the terms of the GNU General Public License v2 |
46 |
- |
47 |
-EAPI=7 |
48 |
- |
49 |
-inherit toolchain-funcs |
50 |
- |
51 |
-DESCRIPTION="A threaded NNTP and spool based UseNet newsreader" |
52 |
-HOMEPAGE="http://www.tin.org/" |
53 |
-SRC_URI="ftp://ftp.tin.org/pub/news/clients/tin/stable/${P}.tar.xz" |
54 |
- |
55 |
-LICENSE="BSD GPL-2+" |
56 |
-SLOT="0" |
57 |
-KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
58 |
-IUSE="cancel-locks debug doc +etiquette gpg idn ipv6 mime nls sasl socks5 spell unicode" |
59 |
- |
60 |
-BDEPEND="virtual/pkgconfig" |
61 |
-RDEPEND=" |
62 |
- dev-libs/libpcre |
63 |
- dev-libs/uulib |
64 |
- sys-libs/ncurses:=[unicode(+)?] |
65 |
- gpg? ( app-crypt/gnupg ) |
66 |
- idn? ( net-dns/libidn ) |
67 |
- mime? ( net-mail/metamail ) |
68 |
- nls? ( sys-devel/gettext ) |
69 |
- sasl? ( virtual/gsasl ) |
70 |
- socks5? ( net-proxy/dante ) |
71 |
- unicode? ( dev-libs/icu:= )" |
72 |
-DEPEND="${RDEPEND}" |
73 |
- |
74 |
-src_configure() { |
75 |
- local screen="ncurses" |
76 |
- use unicode && screen="ncursesw" |
77 |
- |
78 |
- tc-export AR CC RANLIB |
79 |
- |
80 |
- econf \ |
81 |
- $(use_enable cancel-locks) \ |
82 |
- $(use_enable debug) \ |
83 |
- $(use_enable etiquette) \ |
84 |
- $(use_enable gpg pgp-gpg) \ |
85 |
- $(use_enable ipv6) \ |
86 |
- $(use_enable nls) \ |
87 |
- $(use_with mime metamail /usr) \ |
88 |
- $(use_with socks5 socks) $(use_with socks5) \ |
89 |
- $(use_with spell ispell /usr) \ |
90 |
- --disable-mime-strict-charset \ |
91 |
- --enable-echo \ |
92 |
- --enable-nntp-only \ |
93 |
- --enable-prototypes \ |
94 |
- --with-coffee \ |
95 |
- --with-nntp-default-server="${TIN_DEFAULT_SERVER:-${NNTPSERVER:-news.gmane.org}}" \ |
96 |
- --with-pcre=/usr \ |
97 |
- --with-screen=${screen} |
98 |
-} |
99 |
- |
100 |
-src_compile() { |
101 |
- # To build from the root dir you have to call `make build`, not just |
102 |
- # `make`. |
103 |
- emake build |
104 |
-} |
105 |
- |
106 |
-src_install() { |
107 |
- default |
108 |
- |
109 |
- # File collision? |
110 |
- rm -f "${ED}"/usr/share/man/man5/{mbox,mmdf}.5 |
111 |
- |
112 |
- dodoc doc/{CHANGES{,.old},CREDITS,TODO,WHATSNEW} |
113 |
- use doc && dodoc doc/{*.sample,*.txt} |
114 |
- |
115 |
- insinto /etc/tin |
116 |
- doins doc/tin.defaults |
117 |
-} |
118 |
diff --git a/net-nntp/tin/tin-2.6.1.ebuild b/net-nntp/tin/tin-2.6.1.ebuild |
119 |
new file mode 100644 |
120 |
index 00000000000..8291093e5c3 |
121 |
--- /dev/null |
122 |
+++ b/net-nntp/tin/tin-2.6.1.ebuild |
123 |
@@ -0,0 +1,87 @@ |
124 |
+# Copyright 1999-2021 Gentoo Authors |
125 |
+# Distributed under the terms of the GNU General Public License v2 |
126 |
+ |
127 |
+EAPI=8 |
128 |
+ |
129 |
+inherit optfeature toolchain-funcs |
130 |
+ |
131 |
+DESCRIPTION="A threaded NNTP and spool based UseNet newsreader" |
132 |
+HOMEPAGE="http://www.tin.org/" |
133 |
+SRC_URI="ftp://ftp.tin.org/pub/news/clients/tin/stable/${P}.tar.xz" |
134 |
+ |
135 |
+LICENSE="BSD" |
136 |
+SLOT="0" |
137 |
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
138 |
+IUSE="cancel-locks debug gpg nls sasl socks5" |
139 |
+ |
140 |
+RDEPEND=" |
141 |
+ dev-libs/icu:= |
142 |
+ dev-libs/libpcre:3 |
143 |
+ dev-libs/uulib |
144 |
+ sys-libs/ncurses:=[unicode(+)] |
145 |
+ cancel-locks? ( >=net-libs/canlock-3.0:= ) |
146 |
+ gpg? ( app-crypt/gnupg ) |
147 |
+ nls? ( virtual/libintl ) |
148 |
+ sasl? ( virtual/gsasl ) |
149 |
+ socks5? ( net-proxy/dante ) |
150 |
+" |
151 |
+DEPEND="${RDEPEND}" |
152 |
+BDEPEND=" |
153 |
+ virtual/pkgconfig |
154 |
+ virtual/yacc |
155 |
+" |
156 |
+ |
157 |
+DOCS=( |
158 |
+ README{,.MAC,.WIN} |
159 |
+ doc/{CHANGES{,.old},CREDITS,TODO,WHATSNEW,filtering} |
160 |
+) |
161 |
+ |
162 |
+src_configure() { |
163 |
+ tc-export AR CC RANLIB |
164 |
+ |
165 |
+ econf_args=( |
166 |
+ $(use_enable cancel-locks) $(use_with cancel-locks canlock) |
167 |
+ $(use_enable debug) |
168 |
+ $(use_enable gpg pgp-gpg) |
169 |
+ $(use_enable nls) |
170 |
+ $(use_with socks5 socks) $(use_with socks5) |
171 |
+ --disable-mime-strict-charset |
172 |
+ --enable-nntp-only |
173 |
+ --enable-prototypes |
174 |
+ --with-coffee |
175 |
+ --with-nntp-default-server="${TIN_DEFAULT_SERVER:-${NNTPSERVER:-news.gmane.io}}" |
176 |
+ --with-pcre=/usr |
177 |
+ --with-screen=ncursesw |
178 |
+ ) |
179 |
+ |
180 |
+ # set default paths for utilities |
181 |
+ econf_args+=( |
182 |
+ --with-editor="${EPREFIX}"/usr/libexec/editor |
183 |
+ --with-gpg="${EPREFIX}"/usr/bin/gpg |
184 |
+ --with-ispell="${EPREFIX}"/usr/bin/aspell |
185 |
+ --with-mailer="${EPREFIX}"/bin/mail |
186 |
+ --with-metamail="${EPREFIX}"/usr/bin/metamail |
187 |
+ --with-sum="${EPREFIX}"/usr/bin/sum |
188 |
+ ) |
189 |
+ |
190 |
+ econf "${econf_args[@]}" |
191 |
+} |
192 |
+ |
193 |
+src_compile() { |
194 |
+ # To build from the root dir you have to call `make build`, not just |
195 |
+ # `make`. |
196 |
+ emake build |
197 |
+} |
198 |
+ |
199 |
+src_install() { |
200 |
+ default |
201 |
+ emake DESTDIR="${D}" install_sysdefs |
202 |
+ emake -C src DESTDIR="${D}" install_nls_man |
203 |
+ |
204 |
+ dodoc doc/{*.sample,*.txt} |
205 |
+} |
206 |
+ |
207 |
+pkg_postinst() { |
208 |
+ optfeature "MIME articles support" net-mail/metamail |
209 |
+ optfeature "spell checker support" app-text/aspell |
210 |
+} |
211 |
-- |
212 |
2.34.1 |