Gentoo Archives: gentoo-commits

From: Quentin Retornaz <gentoo@××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/libressl:master commit in: www-client/w3mmee/, www-client/w3mmee/files/
Date: Sun, 03 Jul 2022 17:47:39
Message-Id: 1656870421.913cb1b567b45f418e5b030ddd2fd069c6cc902a.quentin@gentoo
1 commit: 913cb1b567b45f418e5b030ddd2fd069c6cc902a
2 Author: orbea <orbea <AT> riseup <DOT> net>
3 AuthorDate: Sun Jul 3 03:32:36 2022 +0000
4 Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
5 CommitDate: Sun Jul 3 17:47:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=913cb1b5
7
8 www-client/w3mmee: Remove package
9
10 Works with libressl-3.5.x and w3mmee-0.3.2_p24-r12::gentoo.
11
12 Signed-off-by: orbea <orbea <AT> riseup.net>
13 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
14
15 www-client/w3mmee/Manifest | 1 -
16 www-client/w3mmee/files/w3mmee-boehm-gc.patch | 11 --
17 www-client/w3mmee/files/w3mmee-gcc-10.patch | 17 ---
18 www-client/w3mmee/files/w3mmee-gcc-4.4.patch | 11 --
19 www-client/w3mmee/files/w3mmee-gcc-4.5.patch | 15 ---
20 www-client/w3mmee/files/w3mmee-glibc-2.14.patch | 31 -----
21 www-client/w3mmee/files/w3mmee-openssl-1.1.patch | 92 --------------
22 www-client/w3mmee/files/w3mmee-rc_name.patch | 11 --
23 www-client/w3mmee/files/w3mmee-time.patch | 32 -----
24 www-client/w3mmee/files/w3mmee-tinfo.patch | 11 --
25 www-client/w3mmee/files/w3mmee-w3mman.patch | 21 ----
26 www-client/w3mmee/metadata.xml | 8 --
27 www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild | 154 -----------------------
28 13 files changed, 415 deletions(-)
29
30 diff --git a/www-client/w3mmee/Manifest b/www-client/w3mmee/Manifest
31 deleted file mode 100644
32 index 494f60c..0000000
33 --- a/www-client/w3mmee/Manifest
34 +++ /dev/null
35 @@ -1 +0,0 @@
36 -DIST w3mmee-p24-23.tar.gz 697342 BLAKE2B cdfd5752a29ee486ccb4cb174ac68aa2b93c818a088e28a8938ef308030b4baac69645e5adcf86361297f79b2473de483917f523bdd0cda0f6d0d93cc0755534 SHA512 fa74b9124e0790461ea7936411f89265c8a367326bf1bba7a5ea5f4abf748197e0926847f9860ec8d35e97f0e53bcdc69821fdd9d741fc8b18b5e11211aa3271
37
38 diff --git a/www-client/w3mmee/files/w3mmee-boehm-gc.patch b/www-client/w3mmee/files/w3mmee-boehm-gc.patch
39 deleted file mode 100644
40 index d9bafa0..0000000
41 --- a/www-client/w3mmee/files/w3mmee-boehm-gc.patch
42 +++ /dev/null
43 @@ -1,11 +0,0 @@
44 ---- a/configure
45 -+++ b/configure
46 -@@ -1503,7 +1503,7 @@ if [ -n "$gclib" -a -n "$gcinclude" ]; then
47 - #include <gc.h>
48 - main()
49 - {
50 -- extern unsigned GC_version;
51 -+ unsigned GC_version = GC_get_version();
52 - printf("%d%02d%03d\n",(GC_version>>16)&0xff,(GC_version>>8)&0xff,GC_version&0xff);
53 - }
54 - EOF
55
56 diff --git a/www-client/w3mmee/files/w3mmee-gcc-10.patch b/www-client/w3mmee/files/w3mmee-gcc-10.patch
57 deleted file mode 100644
58 index 262be51..0000000
59 --- a/www-client/w3mmee/files/w3mmee-gcc-10.patch
60 +++ /dev/null
61 @@ -1,17 +0,0 @@
62 ---- a/fm.h
63 -+++ b/fm.h
64 -@@ -1191,12 +1191,12 @@
65 - global TextList *mimetypes_list;
66 - global char *mailcap_files init("0, " USER_MAILCAP ", 0, " SYS_MAILCAP ", 1, " GLOBAL_MAILCAP);
67 - global char *mimetypes_files init(USER_MIMETYPES ", " SYS_MIMETYPES);
68 --global TextList mailcap_entries;
69 -+extern TextList mailcap_entries;
70 -
71 - global struct mailcap **UserBrowsecap init(NULL);
72 - global TextList *browsecap_list;
73 - global char *browsecap_files init(USER_BROWSECAP ", " SYS_BROWSECAP);
74 --global TextList browsecap_entries;
75 -+extern TextList browsecap_entries;
76 -
77 - global TextList *fileToDelete;
78 -
79
80 diff --git a/www-client/w3mmee/files/w3mmee-gcc-4.4.patch b/www-client/w3mmee/files/w3mmee-gcc-4.4.patch
81 deleted file mode 100644
82 index e724244..0000000
83 --- a/www-client/w3mmee/files/w3mmee-gcc-4.4.patch
84 +++ /dev/null
85 @@ -1,11 +0,0 @@
86 ---- a/indep.c
87 -+++ b/indep.c
88 -@@ -14,7 +14,7 @@
89 - {
90 - #ifdef HAVE_STRTOLL
91 - return strtoll(s, NULL, base);
92 --#elif HAVE_STRTOQ
93 -+#elif defined(HAVE_STRTOQ)
94 - return strtoq(s, NULL, base);
95 - #else
96 - int minus, digit;
97
98 diff --git a/www-client/w3mmee/files/w3mmee-gcc-4.5.patch b/www-client/w3mmee/files/w3mmee-gcc-4.5.patch
99 deleted file mode 100644
100 index 3e7d1aa..0000000
101 --- a/www-client/w3mmee/files/w3mmee-gcc-4.5.patch
102 +++ /dev/null
103 @@ -1,15 +0,0 @@
104 -https://bugs.gentoo.org/317815
105 -
106 -Author: Kacper Kowalik <xarthisius.kk@×××××.com>
107 -
108 ---- a/configure
109 -+++ b/configure
110 -@@ -2636,7 +2636,7 @@
111 - fi
112 -
113 - cat >do_mk_btri.sh <<END_OF_DO_MK_BTRI
114 --$dcpp "\$1" | sed -n "/^[ ]*[\\"'%]/p" | $mk_btri_cmd
115 -+$dcpp -P "\$1" | sed -n "/^[ ]*[\\"'%]/p" | $mk_btri_cmd
116 - END_OF_DO_MK_BTRI
117 -
118 - cat >TABMakefile <<END_OF_TABMAKEFILE1
119
120 diff --git a/www-client/w3mmee/files/w3mmee-glibc-2.14.patch b/www-client/w3mmee/files/w3mmee-glibc-2.14.patch
121 deleted file mode 100644
122 index 7a2b0d9..0000000
123 --- a/www-client/w3mmee/files/w3mmee-glibc-2.14.patch
124 +++ /dev/null
125 @@ -1,31 +0,0 @@
126 ---- a/istream.c
127 -+++ b/istream.c
128 -@@ -132,7 +132,7 @@ newFileStream(FILE *f, void (*closep)())
129 - stream = New(struct input_stream);
130 - init_base_stream(stream, STREAM_BUF_SIZE);
131 - stream->type = IST_FILE;
132 -- stream->handle.file = New(struct file_handle);
133 -+ stream->handle.file = New(struct afile_handle);
134 - stream->handle.file->f = f;
135 -
136 - if (closep)
137 ---- a/istream.h
138 -+++ b/istream.h
139 -@@ -20,7 +20,7 @@ struct stream_buffer {
140 -
141 - typedef struct stream_buffer *StreamBuffer;
142 -
143 --struct file_handle {
144 -+struct afile_handle {
145 - FILE *f;
146 - void (*close)(FILE *);
147 - };
148 -@@ -121,7 +121,7 @@ struct tee_handle {
149 - union input_handle {
150 - void *gen;
151 - int fd;
152 -- struct file_handle *file;
153 -+ struct afile_handle *file;
154 - struct delimited_handle *delimited;
155 - Str str;
156 - #ifdef USE_SSL
157
158 diff --git a/www-client/w3mmee/files/w3mmee-openssl-1.1.patch b/www-client/w3mmee/files/w3mmee-openssl-1.1.patch
159 deleted file mode 100644
160 index 8d7087c..0000000
161 --- a/www-client/w3mmee/files/w3mmee-openssl-1.1.patch
162 +++ /dev/null
163 @@ -1,92 +0,0 @@
164 ---- a/configure
165 -+++ b/configure
166 -@@ -1230,7 +1230,7 @@
167 - def_param format_nice n
168 - def_param id_ext y
169 - def_param use_bufinfo y
170 --def_param use_egd y
171 -+def_param use_egd n
172 - def_param enable_remove_trailingspaces n
173 - def_param menu_thin_frame n
174 - def_param emacs_like_lineedit $include_opt
175 ---- a/istream.c
176 -+++ b/istream.c
177 -@@ -770,7 +770,11 @@
178 - gn = sk_GENERAL_NAME_value(alt, i);
179 -
180 - if (gn->type == GEN_DNS) {
181 -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
182 - char *sn = ASN1_STRING_data(gn->d.ia5);
183 -+#else
184 -+ char *sn = ASN1_STRING_get0_data(gn->d.ia5);
185 -+#endif
186 - int sl = ASN1_STRING_length(gn->d.ia5);
187 -
188 - if (!seen_dnsname)
189 ---- a/url.c
190 -+++ b/url.c
191 -@@ -20,8 +20,8 @@
192 - #include "regex.h"
193 -
194 - #ifdef USE_SSL
195 --#ifndef SSLEAY_VERSION_NUMBER
196 --#include <crypto.h> /* SSLEAY_VERSION_NUMBER may be here */
197 -+#ifndef OPENSSL_VERSION_NUMBER
198 -+#include <crypto.h> /* OPENSSL_VERSION_NUMBER may be here */
199 - #endif
200 - #include <err.h>
201 - #endif
202 -@@ -126,7 +126,7 @@
203 - ssl_accept_this_site(NULL);
204 - }
205 -
206 --#if SSLEAY_VERSION_NUMBER >= 0x00905100
207 -+#if OPENSSL_VERSION_NUMBER >= 0x00905100
208 - #include <rand.h>
209 - static void
210 - init_PRNG()
211 -@@ -154,7 +154,7 @@
212 - if (file)
213 - RAND_write_file(file);
214 - }
215 --#endif /* SSLEAY_VERSION_NUMBER >= 0x00905100 */
216 -+#endif /* OPENSSL_VERSION_NUMBER >= 0x00905100 */
217 -
218 - static SSL *
219 - openSSLHandle(int sock, char *hostname, char **p_cert)
220 -@@ -188,12 +188,16 @@
221 - #endif /* defined(USE_SSL_VERIFY) */
222 - if (ssl_ctx == NULL) {
223 - int option;
224 --#if SSLEAY_VERSION_NUMBER < 0x0800
225 -+#if OPENSSL_VERSION_NUMBER < 0x0800
226 - ssl_ctx = SSL_CTX_new();
227 - X509_set_default_verify_paths(ssl_ctx->cert);
228 --#else /* SSLEAY_VERSION_NUMBER >= 0x0800 */
229 -+#else /* OPENSSL_VERSION_NUMBER >= 0x0800 */
230 -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
231 - SSLeay_add_ssl_algorithms();
232 - SSL_load_error_strings();
233 -+#else
234 -+ OPENSSL_init_ssl(0, NULL);
235 -+#endif
236 - if (!(ssl_ctx = SSL_CTX_new(SSLv23_client_method())))
237 - goto eend;
238 - option = SSL_OP_ALL;
239 -@@ -233,13 +237,13 @@
240 - if (SSL_CTX_load_verify_locations(ssl_ctx, ssl_ca_file, ssl_ca_path))
241 - #endif /* defined(USE_SSL_VERIFY) */
242 - SSL_CTX_set_default_verify_paths(ssl_ctx);
243 --#endif /* SSLEAY_VERSION_NUMBER >= 0x0800 */
244 -+#endif /* OPENSSL_VERSION_NUMBER >= 0x0800 */
245 - }
246 - handle = SSL_new(ssl_ctx);
247 - SSL_set_fd(handle, sock);
248 --#if SSLEAY_VERSION_NUMBER >= 0x00905100
249 -+#if OPENSSL_VERSION_NUMBER >= 0x00905100
250 - init_PRNG();
251 --#endif /* SSLEAY_VERSION_NUMBER >= 0x00905100 */
252 -+#endif /* OPENSSL_VERSION_NUMBER >= 0x00905100 */
253 - if (SSL_connect(handle) > 0) {
254 - Str serv_cert = ssl_get_certificate(handle, hostname);
255 - if (serv_cert) {
256
257 diff --git a/www-client/w3mmee/files/w3mmee-rc_name.patch b/www-client/w3mmee/files/w3mmee-rc_name.patch
258 deleted file mode 100644
259 index a16a7b9..0000000
260 --- a/www-client/w3mmee/files/w3mmee-rc_name.patch
261 +++ /dev/null
262 @@ -1,11 +0,0 @@
263 ---- a/rc_name.mk_btri.h
264 -+++ b/rc_name.mk_btri.h
265 -@@ -2,7 +2,7 @@
266 -
267 - #define STRING_LITERAL(x) # x
268 - #undef def_rcsect_begin
269 --#define def_rcsect_begin(n) STRING_LITERAL(* ## n), &sections[secti_ ## n]
270 -+#define def_rcsect_begin(n) STRING_LITERAL(*n), &sections[secti_ ## n]
271 -
272 - #undef def_rcsect_end
273 - #define def_rcsect_end(n)
274
275 diff --git a/www-client/w3mmee/files/w3mmee-time.patch b/www-client/w3mmee/files/w3mmee-time.patch
276 deleted file mode 100644
277 index c63d654..0000000
278 --- a/www-client/w3mmee/files/w3mmee-time.patch
279 +++ /dev/null
280 @@ -1,32 +0,0 @@
281 -https://bugs.gentoo.org/586258
282 -
283 -Author: kouyu <ckyoog@×××××.com>
284 -
285 ---- a/terms.c
286 -+++ b/terms.c
287 -@@ -305,11 +305,7 @@
288 - struct timeval *tout)
289 - {
290 - static struct timeval polltv = {
291 --#if CLOCKS_PER_SEC > 1
292 -- 0, 1000000 / CLOCKS_PER_SEC
293 --#else
294 -- 0, 10000
295 --#endif
296 -+ 0, CLOCKS_PER_SEC > 1 ? 1000000 / CLOCKS_PER_SEC : 10000
297 - };
298 - int m;
299 - struct timeval tv;
300 -@@ -779,11 +775,7 @@
301 - #endif
302 -
303 - static struct timeval display_delta = {
304 --#if CLOCKS_PER_SEC > 1
305 -- 0, 1000000 / CLOCKS_PER_SEC,
306 --#else
307 -- 0, 10000
308 --#endif
309 -+ 0, CLOCKS_PER_SEC > 1 ? 1000000 / CLOCKS_PER_SEC : 10000
310 - };
311 -
312 - static int
313
314 diff --git a/www-client/w3mmee/files/w3mmee-tinfo.patch b/www-client/w3mmee/files/w3mmee-tinfo.patch
315 deleted file mode 100644
316 index c29f43a..0000000
317 --- a/www-client/w3mmee/files/w3mmee-tinfo.patch
318 +++ /dev/null
319 @@ -1,11 +0,0 @@
320 ---- a/configure
321 -+++ b/configure
322 -@@ -1354,7 +1354,7 @@ main()
323 - EOF
324 -
325 - if [ -z "$dtermlib" ]; then
326 -- TERM_LIBS='termcap termlib terminfo mytinfo curses ncurses'
327 -+ TERM_LIBS='termcap termlib terminfo mytinfo curses ncurses tinfo'
328 -
329 - for lib in $TERM_LIBS; do
330 - for tlibdir in /lib /usr/lib /usr/local/lib /usr/ucblib /usr/ccslib /usr/ccs/lib $prefix/lib; do
331
332 diff --git a/www-client/w3mmee/files/w3mmee-w3mman.patch b/www-client/w3mmee/files/w3mmee-w3mman.patch
333 deleted file mode 100644
334 index dd66919..0000000
335 --- a/www-client/w3mmee/files/w3mmee-w3mman.patch
336 +++ /dev/null
337 @@ -1,21 +0,0 @@
338 ---- a/scripts/w3mman/w3mman.in
339 -+++ b/scripts/w3mman/w3mman.in
340 -@@ -1,7 +1,7 @@
341 - #!@PERL@
342 -
343 - @W3M = split(' ', '@W3M@');
344 --$ENV{'MAN'} = '@MAN@';
345 -+$ENV{'MAN'} = 'env LC_MESSAGES=${LC_MESSAGES:-${LC_ALL:-${LANG}}} LANG=C @MAN@';
346 - $SCRIPT = 'file:///$LIB/w3mman2html.cgi';
347 -
348 - sub usage {
349 ---- a/scripts/w3mman/w3mman2html.cgi.in
350 -+++ b/scripts/w3mman/w3mman2html.cgi.in
351 -@@ -1,6 +1,6 @@
352 - #!@PERL@
353 -
354 --$MAN = $ENV{'MAN'} || '@MAN@';
355 -+$MAN = $ENV{'MAN'} || 'env LC_MESSAGES=${LC_MESSAGES:-${LC_ALL:-${LANG}}} LANG=C @MAN@';
356 - $QUERY = $ENV{'QUERY_STRING'} || $ARGV[0];
357 - $SCRIPT_NAME = $ENV{'SCRIPT_NAME'} || $0;
358 - $CGI = "file://$SCRIPT_NAME";
359
360 diff --git a/www-client/w3mmee/metadata.xml b/www-client/w3mmee/metadata.xml
361 deleted file mode 100644
362 index 6f2ca22..0000000
363 --- a/www-client/w3mmee/metadata.xml
364 +++ /dev/null
365 @@ -1,8 +0,0 @@
366 -<?xml version="1.0" encoding="UTF-8"?>
367 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
368 -<pkgmetadata>
369 - <maintainer type="project">
370 - <email>cjk@g.o</email>
371 - <name>Cjk</name>
372 - </maintainer>
373 -</pkgmetadata>
374
375 diff --git a/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild b/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild
376 deleted file mode 100644
377 index b7e614b..0000000
378 --- a/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild
379 +++ /dev/null
380 @@ -1,154 +0,0 @@
381 -# Copyright 1999-2021 Gentoo Authors
382 -# Distributed under the terms of the GNU General Public License v2
383 -
384 -EAPI="7"
385 -
386 -inherit alternatives multilib toolchain-funcs
387 -
388 -MY_PV="${PV##*_}-23"
389 -MY_P="${PN}-${MY_PV}"
390 -
391 -DESCRIPTION="A variant of w3m with support for multiple character encodings"
392 -HOMEPAGE="http://pub.ks-and-ks.ne.jp/prog/w3mmee/"
393 -SRC_URI="http://pub.ks-and-ks.ne.jp/prog/pub/${MY_P}.tar.gz"
394 -
395 -SLOT="0"
396 -LICENSE="w3m"
397 -KEYWORDS="amd64 ppc x86"
398 -IUSE="gpm nls ssl"
399 -
400 -DEPEND=">=dev-libs/boehm-gc-7.2
401 - dev-libs/libmoe
402 - dev-lang/perl
403 - sys-libs/ncurses:0=
404 - sys-libs/zlib
405 - gpm? ( sys-libs/gpm )
406 - nls? ( sys-devel/gettext )
407 - ssl? ( dev-libs/openssl:0= )"
408 -RDEPEND="${DEPEND}"
409 -S="${WORKDIR}/${MY_P}"
410 -
411 -PATCHES=(
412 - "${FILESDIR}"/${PN}-boehm-gc.patch
413 - "${FILESDIR}"/${PN}-gcc-4.4.patch
414 - "${FILESDIR}"/${PN}-gcc-4.5.patch
415 - "${FILESDIR}"/${PN}-gcc-10.patch
416 - "${FILESDIR}"/${PN}-glibc-2.14.patch
417 - "${FILESDIR}"/${PN}-openssl-1.1.patch
418 - "${FILESDIR}"/${PN}-rc_name.patch
419 - "${FILESDIR}"/${PN}-time.patch
420 - "${FILESDIR}"/${PN}-tinfo.patch
421 - "${FILESDIR}"/${PN}-w3mman.patch
422 -)
423 -DOCS=( ChangeLog NEWS{,.mee} README )
424 -HTML_DOCS=( 00INCOMPATIBLE.html )
425 -
426 -src_prepare() {
427 - default
428 -
429 - sed -i "s:/lib\([^a-z$]\):/$(get_libdir)\1:g" configure
430 - sed -i "/^AR=/s:ar:$(tc-getAR):" XMakefile
431 -}
432 -
433 -src_configure() {
434 - local myconf=(
435 - -locale_dir=$(usex nls "${EPREFIX}/usr/share/locale" '(NONE)')
436 - )
437 - local myuse=(
438 - display_code=E
439 - system_code=E
440 - use_ansi_color=y
441 - use_cookie=y
442 - use_history=y
443 - use_mouse=$(usex gpm y n)
444 - )
445 -
446 - if use ssl; then
447 - myconf+=(
448 - --ssl-includedir="${EPREFIX}/usr/include/openssl"
449 - --ssl-libdir="${EPREFIX}/usr/$(get_libdir)"
450 - )
451 - myuse+=(
452 - use_digest_auth=y
453 - use_ssl=y
454 - use_ssl_verify=y
455 - )
456 - else
457 - myuse+=( use_ssl=n )
458 - fi
459 - # bug #678910
460 - myuse+=( use_image=n )
461 -
462 - cat <<-EOF >> config.param
463 - lang=MANY
464 - accept_lang=en
465 - EOF
466 -
467 - env CC=$(tc-getCC) "${myuse[@]}" ./configure \
468 - -nonstop \
469 - -prefix="${EPREFIX}/usr" \
470 - -suffix=mee \
471 - -auxbindir="${EPREFIX}/usr/$(get_libdir)/${PN}" \
472 - -libdir="${EPREFIX}/usr/$(get_libdir)/${PN}/cgi-bin" \
473 - -helpdir="${EPREFIX}/usr/share/${PN}" \
474 - -mandir="${EPREFIX}/usr/share/man" \
475 - -sysconfdir="${EPREFIX}/etc/${PN}" \
476 - -model=custom \
477 - -libmoe="${EPREFIX}/usr/$(get_libdir)" \
478 - -mb_h="${EPREFIX}/usr/include/moe" \
479 - -mk_btri="${EPREFIX}/usr/libexec/moe" \
480 - -cflags="${CFLAGS}" \
481 - -ldflags="${LDFLAGS}" \
482 - "${myconf[@]}" \
483 - || die
484 -}
485 -
486 -src_install() {
487 - emake DESTDIR="${D}" install
488 - einstalldocs
489 -
490 - # w3mman and manpages conflict with those from w3m
491 - mv "${ED}"/usr/share/man/man1/w3m{,mee}.1 || die
492 - mv "${ED}"/usr/share/man/ja/man1/w3m{,mee}.1 || die
493 -
494 - docinto html/en
495 - dodoc doc/*.html
496 - rm -f doc/*.html
497 - docinto en
498 - dodoc doc/{HISTORY,README,keymap,menu}*
499 -
500 - docinto html/ja
501 - dodoc doc-jp/*.html
502 - rm -f doc-jp/*.html
503 - docinto ja
504 - dodoc doc-jp/{HISTORY,README,keymap,menu}*
505 -}
506 -
507 -pkg_postinst() {
508 - w3m_alternatives
509 - einfo
510 - einfo "If you want to render multilingual text, please refer to"
511 - einfo "/usr/share/doc/${PF}/en/README.mee or"
512 - einfo "/usr/share/doc/${PF}/jp/README.mee"
513 - einfo "and set W3MLANG variable respectively."
514 - einfo
515 -}
516 -
517 -pkg_postrm() {
518 - w3m_alternatives
519 -}
520 -
521 -w3m_alternatives() {
522 - if [[ ! -f /usr/bin/w3m ]]; then
523 - alternatives_makesym /usr/bin/w3m \
524 - /usr/bin/w3m{m17n,mee}
525 - alternatives_makesym /usr/bin/w3mman \
526 - /usr/bin/w3m{man-m17n,meeman}
527 - alternatives_makesym /usr/share/man/ja/man1/w3m.1.gz \
528 - /usr/share/man/ja/man1/w3m{m17n,mee}.1.gz
529 - alternatives_makesym /usr/share/man/man1/w3m.1.gz \
530 - /usr/share/man/man1/w3m{m17n,mee}.1.gz
531 - alternatives_makesym /usr/share/man/man1/w3mman.1.gz \
532 - /usr/share/man/man1/w3m{man-m17n,meeman}.1.gz
533 - fi
534 -}