diff options
Diffstat (limited to 'debian')
31 files changed, 1068 insertions, 1003 deletions
diff --git a/debian/README.Debian b/debian/README.Debian index f2b782e..fd38762 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -1,6 +1,9 @@ w3m for DEBIAN ---------------------- +If you want to w3m with lynx-style keybinding, +copy /usr/share/doc/w3m/examples/keymap.lynx to ~/.w3m/keymap + Difference between pure w3m and Debian package: * -s option means squeeze multiple blank lines in order to work diff --git a/debian/README.Debian.w3m-img b/debian/README.Debian.w3m-img new file mode 100644 index 0000000..9961525 --- /dev/null +++ b/debian/README.Debian.w3m-img @@ -0,0 +1,7 @@ +w3m-img for DEBIAN +---------------------- + +Please check w3m package about configuration for w3m-img. + +Fumitoshi UKAI <ukai@debian.or.jp>, Wed Apr 10 23:59:21 2002 + diff --git a/debian/changelog b/debian/changelog index 49b6e00..af24327 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,13 +1,321 @@ -w3m (0.1.10+0.1.11pre+kokb23-4) stable; urgency=high +w3m (0.3-2.4) stable-security; urgency=high - * [SECURITY FIX] backport fix of mime header buffer overflow - SNS Advisory No.32 - w3m malformed MIME header Buffer Overflow Vulnerability - http://www.lac.co.jp/security/snsadv/32.html (Japanese) - * dont install w3m.el in emacs dir because it wont work well. - closes: Bug#96385 + * Non-maintainer upload by the security team + * Rebuilt for security.debian.org - -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 20 Jun 2001 11:15:03 +0900 + -- Martin Schulze <joey@infodrom.org> Wed, 29 Jan 2003 19:38:40 +0100 + +w3m (0.3-2.3) stable; urgency=high + + * security fix upload to stable + - fix the code to allow internal tags from remote html pages + that would make it possible for remote attacker to get local information + * Backport security fixes from w3m-0.3.2.2 for the following issues + - html_quote for img alt attribute + * Backport security fixes from w3m-0.3.2.1 for the following issues + - html_quote for frame contents + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 26 Dec 2002 15:37:17 +0000 + +w3m (0.3-2.2) stable-security; urgency=high + + * Backport security fixes from w3m-0.3.2.2 for the following issues + - html_quote for img alt attribute + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 5 Dec 2002 17:32:38 +0000 + +w3m (0.3-2.1) stable-security; urgency=high + + * Backport security fixes from w3m-0.3.2.1 for the following issues + - html_quote for frame contents + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 27 Nov 2002 06:54:26 +0000 + +w3m (0.3-2) unstable; urgency=low + + * add man-db to suggests: + add w3mman.1, closes: Bug#138101 + * add w3m-img/README.Debian, closes: Bug#142123 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 10 Apr 2002 23:54:38 +0900 + +w3m (0.3-1) unstable; urgency=low + + * new upstream release + * w3m-img merged. closes: Bug#106841 + * recognize file:/uris, closes: Bug#132934 + * fix http auth login information upon reload, closes: Bug#134350 + * if mailer set, it will be used instead of w3mmail. closes: Bug#134419 + * change default of password for anon ftp in w3mconfig, closes: Bug#133868 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 6 Mar 2002 02:34:21 +0900 + +w3m (0.2.5.1-1) unstable; urgency=low + + * new stable upstream release + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 5 Feb 2002 02:04:35 +0900 + +w3m (0.2.5-1) unstable; urgency=low + + * new upstream release + * debian/w3mconfig: + - add: default_url 1 + - fix: mailcap, mime_types: use ~/.w3m/ instead of ~/. + - add: urimethodmap ~/.w3m//urimethodmap, /etc/w3m/urimethodmap + - add: migemo_command, use_migemo + * debian/mailcap: add for application/xhtml+xml + * check WWW-Authenticate: correctory, closes: Bug#82765 + * debian/control: add suggests: migemo + + -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 1 Feb 2002 01:06:50 +0900 + +w3m (0.2.4-2) unstable; urgency=low + + * debian/patches/04-configure-ipv6-enabled: + force enabled IPv6 support even if build machine doesn't have IPv6 support + * debian/config.param: add use_ipv6=y + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 17 Jan 2002 02:14:32 +0900 + +w3m (0.2.4-1) unstable; urgency=high + + * new upstream version + - RFC2818 server identity check (for w3m-ssl) + - incremental search (C-s, C-r) + * dont ignore SIGWINCH while downloading, closes: Bug#102445 + * default image viewer is display, closes: Bug#127883 + but i highly recommend you install mime-support package + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 8 Jan 2002 00:27:31 +0900 + +w3m (0.2.3.2-1) unstable; urgency=high + + * new upstream version + * security fix in support scripts + - Hironori Sakamoto found some vulnerabilities in w3m support scripts, + such as multipart.cgi, w3mman2html.cgi and w3mhelp.cgi. Attacker + could run arbitrary commands on user's machine with user's priviledge + by using malicious html pages. + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 22 Dec 2001 22:25:11 +0900 + +w3m (0.2.3-0.1) unstable; urgency=low + + * new upstream version + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 20 Dec 2001 15:01:22 +0900 + +w3m (0.2.2+20011209-2) unstable; urgency=low + + * fix xterm resize problem, closes: Bug#123938 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 16 Dec 2001 03:15:39 +0900 + +w3m (0.2.2+20011209-1) unstable; urgency=low + + * new upstream version + + -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 10 Dec 2001 01:05:57 +0900 + +w3m (0.2.2+20011130-4) unstable; urgency=low + + * mime.types should be /etc/mime.types + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 5 Dec 2001 03:03:07 +0900 + +w3m (0.2.2+20011130-3) unstable; urgency=low + + * config.param was ignored on other hosts. closes: Bug#122213 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 4 Dec 2001 01:01:54 +0900 + +w3m (0.2.2+20011130-2) unstable; urgency=low + + * dont create /usr/share/emacs/site-lisp/w3m/, closes: Bug#122043 + * kanji_symbols should be off when lang is not JA, closes: Bug#122046 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 2 Dec 2001 17:32:32 +0900 + +w3m (0.2.2+20011130-1) unstable; urgency=low + + * w3m cvs current release + * debian/control: URL update + * < and > inside table render incorrectly fixed, closes: Bug#93981 + * VIEW_IMAGE does nothing for <input type=image> fixed, closes: Bug#81554 + * Goto URL behaves incorrectly and U would accept URL without leading http:// + already fixed, `retry_http 1', closes: Bug#81775 + * new configure: closes: Bug#99086, Bug#117631, Bug#117633 + * w3m.sh: simplified, use option `argv_is_url 1' + * /etc/w3m/w3mconfig, closes: Bug#57158, Bug#109288 + * fails searches at http://www.classifieds200.com that lynx handles + unreproducible, closes: Bug#54650 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 1 Dec 2001 03:39:40 +0900 + +w3m (0.2.2-3) unstable; urgency=low + + * debian/patches/06-w3m-dev-02503: (backport from w3m-cvs) + accept invalid entity usage in URL, closes: Bug#120540 + * rebuild with new libgpmg1-dev 1.19.6-1 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 23 Nov 2001 02:30:14 +0900 + +w3m (0.2.2-2) unstable; urgency=low + + * debian/patches/05-gpm-close: (backport from w3m-cvs) + fix trashes terminal on exit + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 20 Nov 2001 12:10:18 +0900 + +w3m (0.2.2-1) unstable; urgency=low + + * debian/copyright: w3m is now maintained on sourceforge + * new upstream version 0.2.2 + * debian/patches/04-cvs-20011116: + - fix mouse supports closes: Bug#119707 + - check NULL in search.c closes: Bug#105791 + - mark anchor on mailto: cloess: Bug#85900 + mark anchor on bare email address patch was rejected. + + -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 16 Nov 2001 17:23:44 +0900 + +w3m (0.2.1-17) unstable; urgency=low + + * apply w3m-0.2.1-inu-1.6 (cummulative patch) + http://mi.med.tohoku.ac.jp/~satodai/w3m/inu/200110/w3m-0.2.1-inu-1.6.tar.gz + better URL parser, closes: Bug#92470 + already fixed? textare maxlength attr, closes: Bug#81557 + * debian/menu: add hints + closes: Bug#80037 + * debian/rules (binary-arch): remove CVS directory usr/share/doc/w3m/ja/CVS + closes: Bug#102980 + * debian/rules (build): LC_ALL=C for make + closes: Bug#118809,Bug#118810 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 14 Nov 2001 02:51:36 +0900 + +w3m (0.2.1-16) unstable; urgency=low + + * apply w3m-0.2.1-inu-1.5 (cummulative patch) + http://mi.med.tohoku.ac.jp/~satodai/w3m/inu/200110/w3m-0.2.1-inu-1.5.tar.gz + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 6 Nov 2001 04:51:06 +0900 + +w3m (0.2.1-15) unstable; urgency=low + + * apply w3m-0.2.1-inu-1.4 (cummulative patch) + http://mi.med.tohoku.ac.jp/~satodai/w3m/inusrc/200109/w3m-0.2.1-inu-1.4.tar.gz + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 30 Oct 2001 02:47:20 +0900 + +w3m (0.2.1-14) unstable; urgency=low + + * [w3m-dev 02227] w3m-0.2.1-inu-1.4a2-0915.patch + cummulative patch + * accept: video/*, closes: Bug#112419 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 17 Sep 2001 01:45:32 +0900 + +w3m (0.2.1-13) unstable; urgency=high + + * [w3m-dev 02226] fix security hole to allow arbitrary comand can be executed + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 11 Sep 2001 11:51:26 +0900 + +w3m (0.2.1-12) unstable; urgency=low + + * [w3m-dev 02219] fix strange behavior of radio button form + * [w3m-dev 02221] -cookie enable accept_cookie as well + * [w3m-dev 02224] fix Shift_JIS URL handling + * [w3m-dev 02225] Auto-detection of charset is not used when `-I' option is used. + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 11 Sep 2001 02:48:51 +0900 + +w3m (0.2.1-11) unstable; urgency=low + + * apply w3m-0.2.1-inu-1.4a2-0909.patch (cummulative patch) + from [w3m-dev 02213] + * add zlib1g-dev to build-depends, since inflate subprogram requires -lz + + -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 10 Sep 2001 02:13:20 +0900 + +w3m (0.2.1-10) unstable; urgency=low + + * fix mailcap quoting + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 4 Sep 2001 14:55:18 +0900 + +w3m (0.2.1-9) unstable; urgency=low + + * apply w3m-0.2.1-inu-1.4a2-gc60.tar.gz + from http://mi.med.tohoku.ac.jp/~satodai/w3m/inusrc/200108/ + * install english manpages, closes: Bug#110033, Bug#110507 + * build with libgc6 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 30 Aug 2001 06:22:30 +0900 + +w3m (0.2.1-8) unstable; urgency=low + + * re-enable mouse support on rxvt. closes: Bug#109184 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 19 Aug 2001 17:51:17 +0900 + +w3m (0.2.1-7) unstable; urgency=low + + * fix segfault when back to form page + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 7 Aug 2001 00:31:33 +0900 + +w3m (0.2.1-6) unstable; urgency=low + + * fix mailcap quoting + closes: Bug#107103 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 31 Jul 2001 00:44:38 +0900 + +w3m (0.2.1-5) unstable; urgency=low + + * [w3m-dev 02122] inu.1.3 patch (cummulative patch) + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 28 Jul 2001 02:40:05 +0900 + +w3m (0.2.1-4) unstable; urgency=high + + * [w3m-dev 02066] fix buffer overrun in mime header decoder + possibly security fix. + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 20 Jun 2001 01:37:57 +0900 + +w3m (0.2.1-3) unstable; urgency=low + + * [w3m-dev 01903] new patch for ftp problem (Bug#92261) + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 10 Apr 2001 00:55:14 +0900 + +w3m (0.2.1-2) unstable; urgency=low + + * [w3m-dev 01902] fix onA() when search + * [w3m-dev 01898] eliminate limit for <select> and <textarea> + * [w3m-dev-en 00424] support broken html containing wrong <script> tag + * [w3m-dev 01894] fix for term op != me + * [w3m-dev 01891] fix ftp problem (for wu-ftpd?) (Bug#92261) + * apply patch: w3m-0.2.1-mnc.patch for better w3m-el support + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 7 Apr 2001 01:34:19 +0900 + +w3m (0.2.1-1) unstable; urgency=low + + * new upstream version + + -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 23 Mar 2001 15:39:00 +0900 + +w3m (0.2.0-1) unstable; urgency=low + + * new upstream release + * separate w3m.el + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 22 Mar 2001 18:42:27 +0900 w3m (0.1.10+0.1.11pre+kokb23-3) unstable; urgency=low @@ -807,7 +1115,4 @@ w3m (0.0.19990309-1) unstable; urgency=low -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 9 Mar 1999 19:08:08 +0900 -Local variables: -mode: debian-changelog -add-log-mailing-address: "ukai@debian.or.jp" -End: + diff --git a/debian/changelog-ssl b/debian/changelog-ssl index 4085e0c..9d9a148 100644 --- a/debian/changelog-ssl +++ b/debian/changelog-ssl @@ -1,11 +1,328 @@ -w3m-ssl (0.1.10+0.1.11pre+kokb23-4) stable; urgency=high +w3m-ssl (0.3-2.4) stable-security; urgency=high - * [SECURITY FIX] backport fix of mime header buffer overflow - SNS Advisory No.32 - w3m malformed MIME header Buffer Overflow Vulnerability - http://www.lac.co.jp/security/snsadv/32.html (Japanese) + * Non-maintainer upload by the security team + * Rebuilt for security.debian.org - -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 20 Jun 2001 11:15:03 +0900 + -- Martin Schulze <joey@infodrom.org> Wed, 29 Jan 2003 19:38:40 +0100 + +w3m-ssl (0.3-2.3) stable; urgency=high + + * security fix upload to stable + - fix the code to allow internal tags from remote html pages + that would make it possible for remote attacker to get local information + * Backport security fixes from w3m-0.3.2.2 for the following issues + - html_quote for img alt attribute + * Backport security fixes from w3m-0.3.2.1 for the following issues + - html_quote for frame contents + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 26 Dec 2002 15:37:17 +0000 + +w3m-ssl (0.3-2.2) stable-security; urgency=high + + * Backport security fixes from w3m-0.3.2.2 for the following issues + - html_quote for img alt attribute + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 5 Dec 2002 17:32:38 +0000 + +w3m-ssl (0.3-2.1) stable-security; urgency=high + + * Backport security fixes from w3m-0.3.2.1 for the following issues + - html_quote for frame contents + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 27 Nov 2002 06:54:26 +0000 + +w3m (0.3-2) unstable; urgency=low + + * add w3mman.1, closes: Bug#138101 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 10 Apr 2002 23:54:38 +0900 + +w3m-ssl (0.3-1cia) unstable; urgency=low + + * Moved from non-US to main now that openssl has moved there. + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 24 Mar 2002 03:27:05 +0900 + +w3m-ssl (0.3-1) unstable; urgency=low + + * new upstream release + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 6 Mar 2002 02:34:21 +0900 + +w3m-ssl (0.2.5.1-1) unstable; urgency=low + + * new stable upstream release + * fix -dump https problem, closes: Bug#132043 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 5 Feb 2002 02:04:35 +0900 + +w3m-ssl (0.2.5-1) unstable; urgency=low + + * new upstream release + * debian/w3mconfig: + - add: default_url 1 + - fix: mailcap, mime_types: use ~/.w3m/ instead of ~/. + - add: urimethodmap ~/.w3m//urimethodmap, /etc/w3m/urimethodmap + - add: migemo_command, use_migemo + * debian/mailcap: add for application/xhtml+xml + * check WWW-Authenticate: correctory, closes: Bug#82765 + * debian/control: add suggests: migemo + * retry_http accept URL without leading http:// in GOTO, closes: Bug#114984 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 1 Feb 2002 01:06:50 +0900 + +w3m-ssl (0.2.4-2) unstable; urgency=low + + * debian/patches/04-configure-ipv6-enabled: + force enabled IPv6 support even if build machine doesn't have IPv6 support + * debian/config.param: add use_ipv6=y + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 17 Jan 2002 02:14:32 +0900 + +w3m-ssl (0.2.4-1) unstable; urgency=high + + * new upstream version + - RFC2818 server identity check (for w3m-ssl) + - incremental search (C-s, C-r) + * add recommends: ca-certificate for https + * check port for password auth, closes: Bug#126381 + * dont ignore SIGWINCH while downloading, closes: Bug#102445 + * default image viewer is display, closes: Bug#127883 + but i highly recommend you install mime-support package + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 8 Jan 2002 00:27:31 +0900 + +w3m-ssl (0.2.3.2-1) unstable; urgency=high + + * new upstream version + * security fix in support scripts + - Hironori Sakamoto found some vulnerabilities in w3m support scripts, + such as multipart.cgi, w3mman2html.cgi and w3mhelp.cgi. Attacker + could run arbitrary commands on user's machine with user's priviledge + by using malicious html pages. + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 22 Dec 2001 22:25:11 +0900 + +w3m-ssl (0.2.3-0.1) unstable; urgency=low + + * new upstream version + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 20 Dec 2001 15:01:22 +0900 + +w3m-ssl (0.2.2+20011209-2) unstable; urgency=low + + * fix xterm resize problem, closes: Bug#123938 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 16 Dec 2001 03:15:39 +0900 + +w3m-ssl (0.2.2+20011209-1) unstable; urgency=low + + * new upstream version + + -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 10 Dec 2001 01:05:57 +0900 + +w3m-ssl (0.2.2+20011130-4) unstable; urgency=low + + * mime.types should be /etc/mime.types + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 5 Dec 2001 03:03:07 +0900 + +w3m-ssl (0.2.2+20011130-3) unstable; urgency=low + + * config.param was ignored on other hosts. closes: Bug#122213 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 4 Dec 2001 01:01:54 +0900 + +w3m-ssl (0.2.2+20011130-2) unstable; urgency=low + + * dont create /usr/share/emacs/site-lisp/w3m/, closes: Bug#122043 + * kanji_symbols should be off when lang is not JA, closes: Bug#122046 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 2 Dec 2001 17:32:32 +0900 + +w3m-ssl (0.2.2+20011130-1) unstable; urgency=low + + * w3m cvs current release + * debian/control: URL update + * < and > inside table render incorrectly fixed, closes: Bug#93981 + * VIEW_IMAGE does nothing for <input type=image> fixed, closes: Bug#81554 + * Goto URL behaves incorrectly and U would accept URL without leading http:// + already fixed, `retry_http 1', closes: Bug#81775 + * new configure: closes: Bug#99086, Bug#117631, Bug#117633 + * w3m.sh: simplified, use option `argv_is_url 1' + * /etc/w3m/w3mconfig, closes: Bug#57158, Bug#109288 + * fails searches at http://www.classifieds200.com that lynx handles + unreproducible, closes: Bug#54650 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 1 Dec 2001 03:39:40 +0900 + +w3m-ssl (0.2.2-3) unstable; urgency=low + + * debian/patches/06-w3m-dev-02503: (backport from w3m-cvs) + accept invalid entity usage in URL, closes: Bug#120540 + * rebuild with new libgpmg1-dev 1.19.6-1 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 23 Nov 2001 02:15:50 +0900 + +w3m-ssl (0.2.2-2) unstable; urgency=low + + * debian/patches/05-gpm-close: (backport from w3m-cvs) + fix trashes terminal on exit, closes: Bug#120221 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 20 Nov 2001 12:10:18 +0900 + +w3m-ssl (0.2.2-1) unstable; urgency=low + + * debian/copyright: w3m is now maintained on sourceforge + * new upstream version 0.2.2 + * url.c (openSSLHandle): remove atexit() already, closes: Bug#98087 + * debian/patches/04-cvs-20011116: + - fix mouse supports closes: Bug#119707 + - check NULL in search.c closes: Bug#105791 + - mark anchor on mailto: cloess: Bug#85900 + mark anchor on bare email address patch was rejected. + + -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 16 Nov 2001 17:23:44 +0900 + +w3m-ssl (0.2.1-17) unstable; urgency=low + + * apply w3m-0.2.1-inu-1.6 (cummulative patch) + http://mi.med.tohoku.ac.jp/~satodai/w3m/inu/200110/w3m-0.2.1-inu-1.6.tar.gz + better URL parser, closes: Bug#92470 + already fixed? textare maxlength attr, closes: Bug#81557 + * debian/menu: add hints + closes: Bug#80037 + * debian/rules (binary-arch): remove CVS directory usr/share/doc/w3m/ja/CVS + closes: Bug#102980 + * debian/rules (build): LC_ALL=C for make + closes: Bug#118809,Bug#118810 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 14 Nov 2001 02:51:36 +0900 + +w3m-ssl (0.2.1-16) unstable; urgency=low + + * apply w3m-0.2.1-inu-1.5 (cummulative patch) + http://mi.med.tohoku.ac.jp/~satodai/w3m/inu/200110/w3m-0.2.1-inu-1.5.tar.gz + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 6 Nov 2001 04:51:06 +0900 + +w3m-ssl (0.2.1-15) unstable; urgency=low + + * apply w3m-0.2.1-inu-1.4 (cummulative patch) + http://mi.med.tohoku.ac.jp/~satodai/w3m/inusrc/200109/w3m-0.2.1-inu-1.4.tar.gz + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 30 Oct 2001 02:47:20 +0900 + +w3m-ssl (0.2.1-14) unstable; urgency=low + + * [w3m-dev 02227] w3m-0.2.1-inu-1.4a2-0915.patch + cummulative patch + * accept: video/*, closes: Bug#112419 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 17 Sep 2001 01:45:32 +0900 + +w3m-ssl (0.2.1-13) unstable; urgency=high + + * [w3m-dev 02226] fix security hole to allow arbitrary comand can be executed + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 11 Sep 2001 11:51:26 +0900 + +w3m-ssl (0.2.1-12) unstable; urgency=low + + * [w3m-dev 02219] fix strange behavior of radio button form + * [w3m-dev 02221] -cookie enable accept_cookie as well + * [w3m-dev 02224] fix Shift_JIS URL handling + * [w3m-dev 02225] Auto-detection of charset is not used when `-I' option is used. + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 11 Sep 2001 02:48:51 +0900 + +w3m-ssl (0.2.1-11) unstable; urgency=low + + * apply w3m-0.2.1-inu-1.4a2-0909.patch (cummulative patch) + from [w3m-dev 02213] + * add zlib1g-dev to build-depends, since inflate subprogram requires -lz + + -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 10 Sep 2001 02:13:20 +0900 + +w3m-ssl (0.2.1-10) unstable; urgency=low + + * fix mailcap quoting + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 4 Sep 2001 14:55:18 +0900 + +w3m-ssl (0.2.1-9) unstable; urgency=low + + * apply w3m-0.2.1-inu-1.4a2-gc60.tar.gz + from http://mi.med.tohoku.ac.jp/~satodai/w3m/inusrc/200108/ + * install english manpages, closes: Bug#110033, Bug#110507 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 30 Aug 2001 06:22:30 +0900 + +w3m-ssl (0.2.1-8) unstable; urgency=low + + * re-enable mouse support on rxvt. closes: Bug#109184 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 19 Aug 2001 17:51:17 +0900 + +w3m-ssl (0.2.1-7) unstable; urgency=low + + * fix segfault when back to form page + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 7 Aug 2001 00:31:33 +0900 + +w3m-ssl (0.2.1-6) unstable; urgency=low + + * fix mailcap quoting + closes: Bug#107103 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 31 Jul 2001 00:44:38 +0900 + +w3m-ssl (0.2.1-5) unstable; urgency=low + + * [w3m-dev 02122] inu.1.3 patch (cummulative patch) + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 28 Jul 2001 02:40:05 +0900 + +w3m-ssl (0.2.1-4) unstable; urgency=high + + * [w3m-dev 02066] fix buffer overrun in mime header decoder + possibly security fix. + * change dependency recommends -> suggests + closes: Bug#101057 + + -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 20 Jun 2001 01:37:57 +0900 + +w3m-ssl (0.2.1-3) unstable; urgency=low + + * fix dangling symlinks, closes: Bug#100733 + * [w3m-dev 01903] new patch for ftp problem (Bug#92261) + + -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 10 Apr 2001 00:55:14 +0900 + +w3m-ssl (0.2.1-2) unstable; urgency=low + + * (debian/control) build-depends libssl-dev + * [w3m-dev 01902] fix onA() when search + * [w3m-dev 01898] eliminate limit for <select> and <textarea> + * [w3m-dev-en 00424] support broken html containing wrong <script> tag + * [w3m-dev 01894] fix for term op != me + * [w3m-dev 01891] fix ftp problem (for wu-ftpd?) (Bug#92261) + * apply patch: w3m-0.2.1-mnc.patch for better w3m-el support + + -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 7 Apr 2001 01:34:19 +0900 + +w3m-ssl (0.2.1-1) unstable; urgency=low + + * new upstream version + + -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 23 Mar 2001 15:39:00 +0900 + +w3m-ssl (0.2.0-1) unstable; urgency=low + + * new upstream release + * separate w3m.el + + -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 22 Mar 2001 18:42:27 +0900 w3m-ssl (0.1.10+0.1.11pre+kokb23-3) unstable; urgency=low @@ -803,8 +1120,3 @@ w3m (0.0.19990309-1) unstable; urgency=low * Initial Release. -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 9 Mar 1999 19:08:08 +0900 - -Local variables: -mode: debian-changelog -add-log-mailing-address: "ukai@debian.or.jp" -End: diff --git a/debian/config.h-en b/debian/config.h-en deleted file mode 100644 index b947097..0000000 --- a/debian/config.h-en +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Configuration for w3m - */ - -#ifndef _CONFIGURED_ -#define _CONFIGURED_ - -/* User Configuration */ - -/* - If you define DICT, you can use dictionary look-up function - in w3m. See README.dict for detail. -*/ -#define DICT - -/* - If you define USE_MARK, you can use set-mark (C-SPC), - goto-next-mark (ESC p), goto-next-mark (ESC n) and - mark-by-regexp ("). -*/ -#define USE_MARK - -/* - If you want to use IPv6, define this symbol. - */ -#define INET6 - -/* - If you want to load and save URL history. - */ -#define USE_HISTORY - -/* - BG_COLOR enables w3m to set background color. - */ -#define BG_COLOR - -/* - VIEW_UNSEENOBJECTS enables w3m to make a link to unseen objects. - e.g. background image. - */ -#define VIEW_UNSEENOBJECTS - -/* - VI_PREC_NUM enables vi-like behavior for '2 SPC' or '2 b' - */ -#define VI_PREC_NUM - -/* - * Do word fill - */ -#undef FORMAT_NICE - -/* - * Support Gopher protocol - */ -#define USE_GOPHER - -/* - * Support NNTP - */ -#define USE_NNTP - -/**********************************************************/ -#ifdef makefile_parameter - -BIN_DIR = /usr/bin -LIB_DIR = /usr/lib/w3m -HELP_DIR = /usr/share/w3m -HELP_FILE = w3mhelp-w3m_en.html -SYS_LIBRARIES = -lnsl -lncurses -lgpm -LOCAL_LIBRARIES = -CC = gcc -MYCFLAGS = -Wall -g -I/usr/include/gc -DDEBIAN -KEYBIND_SRC = keybind.c -KEYBIND_OBJ = keybind.o -EXT= -MATHLIB=-lm -GCLIB=-lgc -GCTARGET= -AR=ar -RANLIB=ranlib -MKDIR=mkdir -p -VERSION=0.1.11-pre+kokb19.1 -MODEL=Linux-monster-en -#else - -#define DISPLAY_CODE 'E' - -#define JA 0 -#define EN 1 -#define LANG EN -#undef KANJI_SYMBOLS -#define COLOR -#define MOUSE -#define USE_GPM -#undef USE_SYSMOUSE -#define MENU -#define USE_COOKIE -#undef USE_SSL -#define USE_SSL_VERIFY -#undef FTPPASS_HOSTNAMEGEN - -#define DEF_EDITOR "sensible-editor" -#define DEF_MAILER "mailx" -#define DEF_EXT_BROWSER "lynx" - -#define LIB_DIR "/usr/lib/w3m" -#define HELP_DIR "/usr/share/w3m" -#define HELP_FILE "w3mhelp-w3m_en.html" -#define W3MCONFIG "w3mconfig" - -#define RC_DIR "~/.w3m/" -#define BOOKMARK "bookmark.html" -#define CONFIG_FILE "config" -#define KEYMAP_FILE "keymap" -#define MENU_FILE "menu" -#define COOKIE_FILE "cookie" -#define HISTORY_FILE "history" - -#define USER_MAILCAP "~/.mailcap" -#define SYS_MAILCAP "/etc/mailcap" -#define USER_MIMETYPES "~/.mime.types" -#define SYS_MIMETYPES "/etc/mime.types" -#define DEF_SAVE_FILE "index.html" - -#define TERMIOS -#define DIRENT -#define STRCASECMP -#define STRCHR -#define STRERROR -#define SYS_ERRLIST -#undef NOBCOPY -#define HAVE_WAITPID -#define HAVE_STRFTIME - -#define GETCWD -#define GETWD -#define READLINK -#define HAVE_SETENV -#define HAVE_PUTENV -#define READLINK - - -#define SETJMP(env) sigsetjmp(env,1) -#define LONGJMP(env,val) siglongjmp(env,val) -#define JMP_BUF sigjmp_buf - -typedef void MySignalHandler; -#define SIGNAL_ARG int _dummy -#define SIGNAL_ARGLIST 0 -#define SIGNAL_RETURN return - -#undef TABLE_EXPAND -#define NOWRAP 1 -#define NEW_FORM 1 -#define MATRIX 1 -#undef NO_FLOAT_H - -#endif /* makefile_parameter */ -#endif /* _CONFIGURED_ */ - diff --git a/debian/config.h-ja b/debian/config.h-ja deleted file mode 100644 index 97274bc..0000000 --- a/debian/config.h-ja +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Configuration for w3m - */ - -#ifndef _CONFIGURED_ -#define _CONFIGURED_ - -/* User Configuration */ - -/* - If you define DICT, you can use dictionary look-up function - in w3m. See README.dict for detail. -*/ -#define DICT - -/* - If you define USE_MARK, you can use set-mark (C-SPC), - goto-next-mark (ESC p), goto-next-mark (ESC n) and - mark-by-regexp ("). -*/ -#define USE_MARK - -/* - If you want to use IPv6, define this symbol. - */ -#define INET6 - -/* - If you want to load and save URL history. - */ -#define USE_HISTORY - -/* - BG_COLOR enables w3m to set background color. - */ -#define BG_COLOR - -/* - VIEW_UNSEENOBJECTS enables w3m to make a link to unseen objects. - e.g. background image. - */ -#define VIEW_UNSEENOBJECTS - -/* - VI_PREC_NUM enables vi-like behavior for '2 SPC' or '2 b' - */ -#define VI_PREC_NUM - - /* - * Do word fill - */ -#undef FORMAT_NICE - -/* - * Support Gopher protocol - */ -#define USE_GOPHER - -/* - * Support NNTP - */ -#define USE_NNTP - -/**********************************************************/ -#ifdef makefile_parameter - -BIN_DIR = /usr/bin -LIB_DIR = /usr/lib/w3m -HELP_DIR = /usr/share/w3m -HELP_FILE = w3mhelp-w3m_en.html -SYS_LIBRARIES = -lnsl -lncurses -lgpm -LOCAL_LIBRARIES = -CC = gcc -MYCFLAGS = -Wall -g -I/usr/include/gc -DDEBIAN -KEYBIND_SRC = keybind.c -KEYBIND_OBJ = keybind.o -EXT= -MATHLIB=-lm -GCLIB=-lgc -GCTARGET= -AR=ar -RANLIB=ranlib -MKDIR=mkdir -p -VERSION=0.1.11-pre+kokb19.1 -MODEL=Linux-monster-ja -#else - -#define DISPLAY_CODE 'E' - -#define JA 0 -#define EN 1 -#define LANG JA -#define KANJI_SYMBOLS -#define COLOR -#define MOUSE -#define USE_GPM -#undef USE_SYSMOUSE -#define MENU -#define USE_COOKIE -#undef USE_SSL -#define USE_SSL_VERIFY -#undef FTPPASS_HOSTNAMEGEN - -#define DEF_EDITOR "sensible-editor" -#define DEF_MAILER "mailx" -#define DEF_EXT_BROWSER "lynx" - -#define LIB_DIR "/usr/lib/w3m" -#define HELP_DIR "/usr/share/w3m" -#define HELP_FILE "w3mhelp-w3m_ja.html" -#define W3MCONFIG "w3mconfig" - -#define RC_DIR "~/.w3m/" -#define BOOKMARK "bookmark.html" -#define CONFIG_FILE "config" -#define KEYMAP_FILE "keymap" -#define MENU_FILE "menu" -#define COOKIE_FILE "cookie" -#define HISTORY_FILE "history" - -#define USER_MAILCAP "~/.mailcap" -#define SYS_MAILCAP "/etc/mailcap" -#define USER_MIMETYPES "~/.mime.types" -#define SYS_MIMETYPES "/etc/mime.types" -#define DEF_SAVE_FILE "index.html" - -#define TERMIOS -#define DIRENT -#define STRCASECMP -#define STRCHR -#define STRERROR -#define SYS_ERRLIST -#undef NOBCOPY -#define HAVE_WAITPID -#define HAVE_STRFTIME - -#define GETCWD -#define GETWD -#define READLINK -#define HAVE_SETENV -#define HAVE_PUTENV -#define READLINK - - -#define SETJMP(env) sigsetjmp(env,1) -#define LONGJMP(env,val) siglongjmp(env,val) -#define JMP_BUF sigjmp_buf - -typedef void MySignalHandler; -#define SIGNAL_ARG int _dummy -#define SIGNAL_ARGLIST 0 -#define SIGNAL_RETURN return - -#undef TABLE_EXPAND -#define NOWRAP 1 -#define NEW_FORM 1 -#define MATRIX 1 -#undef NO_FLOAT_H - -#endif /* makefile_parameter */ -#endif /* _CONFIGURED_ */ - diff --git a/debian/config.param b/debian/config.param new file mode 100644 index 0000000..1a53e21 --- /dev/null +++ b/debian/config.param @@ -0,0 +1,57 @@ +bindir='/usr/bin' +libdir='/usr/lib/w3m' +helpdir='/usr/share/w3m' +sysconfdir='/etc/w3m' +lang=JA +display_code=E +system_code=E +use_lynx_key=n +kanji_symbols=y +use_ansi_color=y +dmodel=5 +use_color=y +use_mouse=y +use_menu=y +use_cookie=y +use_ssl=y +use_ssl_verify=y +use_nntp=y +use_gopher=y +use_alarm=y +use_mark=y +use_dict=y +use_history=y +use_migemo=y +use_external_uri_loader=y +use_w3mmailer=y +use_bg_color=y +format_nice=n +id_ext=y +use_bufinfo=y +use_egd=y +enable_remove_trailingspaces=n +menu_thin_frame=n +emacs_like_lineedit=y +vi_prec_num=y +label_topline=y +nextpage_topline=y +ftppass_hostnamegen=y +table_expand=n +table_no_compact=n +nowrap=y +matrix=y +ded='/usr/bin/vi' +dmail='/usr/bin/mailx' +dbrowser='/usr/X11R6/bin/netscape' +dcc='gcc' +dcflags='-O2 -DDEBIAN' +dtermlib='-lncurses' +dldflags='' +use_help_cgi=y +use_bundled_gclib=n +def_audio_player='showaudio' +def_image_viewer='display' +def_migemo_command='migemo -t egrep /usr/share/migemo/migemo-dict' +use_ipv6=y +use_image=y + diff --git a/debian/config.ssl.sed b/debian/config.ssl.sed deleted file mode 100644 index c8f40b4..0000000 --- a/debian/config.ssl.sed +++ /dev/null @@ -1,3 +0,0 @@ -s/\(SYS_LIBRARIES.*\)/\1 -lssl -lcrypto/ -s/\(MYCFLAGS.*\)/\1 -I\/usr\/include\/openssl/ -s/#undef USE_SSL/#define USE_SSL/ diff --git a/debian/control b/debian/control index 9fad7e8..7b9c028 100644 --- a/debian/control +++ b/debian/control @@ -2,22 +2,30 @@ Source: w3m Section: text Priority: optional Maintainer: Fumitoshi UKAI <ukai@debian.or.jp> -Build-Depends: libgc5-dev, libncurses5-dev, libgpmg1-dev, debhelper, awk -Standards-Version: 3.1.1 +Build-Depends: libgc6-dev, libncurses5-dev, libgpmg1-dev, zlib1g-dev, debhelper, gawk | awk, imlib-dev +Standards-Version: 3.5.6 Package: w3m Architecture: any Depends: ${shlibs:Depends} Provides: www-browser -Suggests: w3m-ssl (>= ${Source-Version}), mime-support, menu (>> 1.5), emacsen-common +Suggests: w3m-img, w3m-ssl (>= ${Source-Version}), mime-support, menu (>> 1.5), w3m-el, migemo, man-db Description: WWW browsable pager with excellent tables/frames support w3m is a text-based World Wide Web browser with IPv6 support. It features excellent support for tables and frames. It can be used as a standalone file pager, too. . * You can follow links and/or view images in HTML. - * Internet message prewview mode, you can browse HTML mail. + * Internet message preview mode, you can browse HTML mail. * You can follow links in plain text if it includes URL forms. + * With w3m-img, you can view image inline. . For more information, - see http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/index.html + see http://sourceforge.net/projects/w3m + +Package: w3m-img +Architecture: any +Depends: w3m (= ${Source-Version}) | w3m-ssl (= ${Source-Version}), ${shlibs:Depends} +Description: inline image extension support utilities for w3m + w3m-img provides some utilities to support inline images for w3m + on terminal emulator in X Window System environments. diff --git a/debian/control-ssl b/debian/control-ssl index 669511c..f47aa25 100644 --- a/debian/control-ssl +++ b/debian/control-ssl @@ -1,26 +1,27 @@ Source: w3m-ssl -Section: non-US/main +Section: main Priority: optional Maintainer: Fumitoshi UKAI <ukai@debian.or.jp> -Build-Depends: libgc5-dev, libncurses5-dev, libgpmg1-dev, libssl09-dev, debhelper, awk -Standards-Version: 3.1.1 +Build-Depends: libgc6-dev, libncurses5-dev, libgpmg1-dev, zlib1g-dev, libssl-dev, debhelper, gawk | awk, imlib-dev +Standards-Version: 3.5.6 Package: w3m-ssl Architecture: any Depends: ${shlibs:Depends}, w3m -Recommends: w3m (= ${Source-Version}) +Recommends: ca-certificates Provides: www-browser -Suggests: mime-support, menu (>> 1.5) +Suggests: w3m (= ${Source-Version}), w3m-img, mime-support, menu (>> 1.5), migemo Description: WWW browsable pager with SSL support w3m is a text-based World Wide Web browser with IPv6 support. It features excellent support for tables and frames. It can be used as a standalone file pager, too. . * You can follow links and/or view images in HTML. - * Internet message prewview mode, you can browse HTML mail. + * Internet message preview mode, you can browse HTML mail. * You can follow links in plain text if it includes URL forms. + * With w3m-img, you can view image inline. . This package is built with SSL support. . For more information, - see http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/index.html + see http://sourceforge.net/projects/w3m diff --git a/debian/copyright b/debian/copyright index e699fc3..e752018 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,13 +1,7 @@ This package was debianized by Fumitoshi UKAI ukai@debian.or.jp on Tue, 9 Mar 1999 19:08:08 +0900. -It was downloaded from http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/ -ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/ -development version can be downloaded from -ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/dev/ - -Okabe patch can be downloaded from -http://www4.ocn.ne.jp/~okabek/w3m.html +It was downloaded from http://sourceforge.net/projects/w3m Upstream Author(s): Akinori ITO <aito@ei5sun.yz.yamagata-u.ac.jp> diff --git a/debian/dirs b/debian/dirs index e4c35f4..ceb3920 100644 --- a/debian/dirs +++ b/debian/dirs @@ -5,4 +5,6 @@ usr/share/w3m usr/share/doc/w3m/examples usr/share/doc/w3m/ja usr/share/doc/w3m/ja/examples -usr/share/emacs/site-lisp/w3m/ +usr/share/man/ja/man1 +etc/w3m + diff --git a/debian/emacsen-startup b/debian/emacsen-startup deleted file mode 100644 index eba463f..0000000 --- a/debian/emacsen-startup +++ /dev/null @@ -1,5 +0,0 @@ -;; w3m-init.el -(setq load-path (cons "/usr/share/emacs/site-lisp/w3m/" load-path)) -(autoload 'w3m "w3m" "Interface for w3m on Emacs." t) -(autoload 'w3m-browse-url "w3m" "w3m interface function for browse-url.el." t) -(autoload 'w3m-find-file "w3m" "w3m Interface function for local file." t) diff --git a/debian/mailcap b/debian/mailcap new file mode 100644 index 0000000..21603a6 --- /dev/null +++ b/debian/mailcap @@ -0,0 +1 @@ +application/xhtml+xml; cat %s; x-htmloutput diff --git a/debian/menu b/debian/menu index 6dd3586..c0e326c 100644 --- a/debian/menu +++ b/debian/menu @@ -1,2 +1,2 @@ ?package(w3m):needs=text section=Apps/Net\ - title="w3m" command="/usr/bin/w3m /usr/share/doc/w3m/MANUAL.html" + title="w3m" command="/usr/bin/w3m /usr/share/doc/w3m/MANUAL.html" hints="Web browsers" diff --git a/debian/patches/00-rxvt-mouse-support b/debian/patches/00-rxvt-mouse-support deleted file mode 100644 index be1aff7..0000000 --- a/debian/patches/00-rxvt-mouse-support +++ /dev/null @@ -1,17 +0,0 @@ -PATCH: -p0 - ---- terms.c.orig Mon Oct 30 12:16:31 2000 -+++ terms.c Thu Nov 2 18:45:58 2000 -@@ -240,7 +240,12 @@ - TerminalGet(tty, &d_ioval); - #ifdef MOUSE - term = getenv("TERM"); -+#ifdef DEBIAN -+ if (!strncmp(term, "kterm", 5) || !strncmp(term, "xterm", 5) -+ || !strncmp(term, "rxvt", 4)) { -+#else - if (!strncmp(term, "kterm", 5) || !strncmp(term, "xterm", 5)) { -+#endif - is_xterm = 1; - } - #endif diff --git a/debian/patches/01-w3m-dev-01500 b/debian/patches/01-w3m-dev-01500 deleted file mode 100644 index 9781ab9..0000000 --- a/debian/patches/01-w3m-dev-01500 +++ /dev/null @@ -1,152 +0,0 @@ -PATCH: -p0 -To: w3m-dev@mi.med.tohoku.ac.jp -Subject: [w3m-dev 01500] fix risky code in url.c -From: Hironori Sakamoto <h-saka@lsi.nec.co.jp> -Delivered-To: ukai@ukai.org -Delivered-To: ukai@debian.or.jp -Date: Wed, 13 Dec 2000 12:02:11 +0900 (JST) -Reply-To: w3m-dev@mi.med.tohoku.ac.jp -Message-Id: <200012130302.MAA21605@udlew10.uldev.lsi.nec.co.jp> -X-ML-Name: w3m-dev -X-Mail-Count: 01500 -X-MLServer: fml [fml 3.0]; post only (only members can post) -X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address w3m-dev-ctl@mi.med.tohoku.ac.jp; help=<mailto:w3m-dev-ctl@mi.med.tohoku.ac.jp?body=help> -X-Sender: w3m-dev-admin@mi.med.tohoku.ac.jp - -$B:dK\$G$9!#(B - -url.c $B$K$"$C$?4m81@-$N$"$k%3!<%I$r=$@5$7$^$7$?!#(B -local.c $B$O$*$^$1$N=$@5$G$9!#(B - -# m18n $B$G(B URL $B$d(B file $BL>$NJ8;z%3!<%I$r??LLL\$K%A%'%C%/$7$F$$$k2aDx$G(B -# $B8+$D$1$?$N$G$9$,!"$+$J$jBgJQ!#K\Ev$O%*%j%8%J%kHG$G$b$d$i$J$$$H(B -# $B$$$1$J$$$1$I!#(B ------------------------------------ -$B:dK\(B $B9@B'(B <hsaka@mth.biglobe.ne.jp> - http://www2u.biglobe.ne.jp/~hsaka/ - ---- url.c.orig Wed Dec 13 10:39:47 2000 -+++ url.c Wed Dec 13 10:46:33 2000 -@@ -517,7 +517,7 @@ - parseURL(char *url, ParsedURL * p_url, ParsedURL * current) - { - char *p, *q; -- char tmp[LINELEN]; -+ Str tmp; - int i; - - p = url; -@@ -548,10 +548,10 @@ - ++url; - } - if (IS_ALPHA(*url) && (url[1] == ':' || url[1] == '|')) { -- if(url[1]=='|') -- url[1]=':'; - p_url->scheme = SCM_LOCAL; -- p_url->file = allocStr(url, 0); -+ p_url->file = p = allocStr(url, 0); -+ if(p[1]=='|') -+ p[1]=':'; - } - if (p_url->scheme == SCM_LOCAL) - goto analyze_file; -@@ -626,9 +626,8 @@ - p_url->host = NULL; - goto analyze_url; - } -- strncpy(tmp, q, p - q); -- tmp[p - q] = '\0'; -- p_url->port = atoi(tmp); -+ tmp = Strnew_charp_n(q, p - q); -+ p_url->port = atoi(tmp->ptr); - if (*p == '\0') { /* scheme://host:port */ - /* scheme://user@host:port */ - /* scheme://user:pass@host:port */ -@@ -675,14 +674,14 @@ - #ifdef USE_GOPHER - if (p_url->scheme == SCM_GOPHER && *p == 'R') { - p++; -- q = tmp; -- *q++ = *p++; -+ tmp = Strnew(); -+ Strcat_char(tmp, *(p++)); - while (*p && *p != '/') - p++; -+ Strcat_charp(tmp, p); - while (*p) -- *q++ = *p++; -- *q = '\0'; -- p_url->file = copyPath(tmp, -1, COPYPATH_SPC_IGNORE); -+ p++; -+ p_url->file = copyPath(tmp->ptr, -1, COPYPATH_SPC_IGNORE); - } - else - #endif /* USE_GOPHER */ ---- local.c.orig Wed Dec 13 10:39:44 2000 -+++ local.c Wed Dec 13 11:55:40 2000 -@@ -19,7 +19,7 @@ - Directory *dir; - struct stat st; - char **flist; -- char *p, *qdir, *q; -+ char *p, *qdir; - Str fbuf = Strnew(); - #ifdef READLINK - struct stat lst; -@@ -29,10 +29,10 @@ - int nfile, nfile_max = 100; - Str dirname; - -- dirname = Strnew_charp(dname); -- d = opendir(dirname->ptr); -+ d = opendir(dname); - if (d == NULL) - return NULL; -+ dirname = Strnew_charp(dname); - qdir = htmlquote_str(dirname->ptr); - tmp = Sprintf("<title>Directory list of %s</title><h1>Directory list of %s</h1>\n", qdir, qdir); - flist = New_N(char *, nfile_max); -@@ -65,7 +65,7 @@ - if (strcmp(p, ".") == 0) - continue; - Strcopy(fbuf, dirname); -- if (Strlastchar(dirname) != '/') -+ if (Strlastchar(fbuf) != '/') - Strcat_char(fbuf, '/'); - Strcat_charp(fbuf, p); - #ifdef READLINK -@@ -76,7 +76,7 @@ - continue; - if (multicolList) { - if (n == 1) -- Strcat_charp(tmp, "<TD>"); -+ Strcat_charp(tmp, "<TD><NOBR>"); - } - else { - if (S_ISDIR(st.st_mode)) -@@ -88,20 +88,16 @@ - else - Strcat_charp(tmp, "[FILE] "); - } -- q = htmlquote_str(p); -- Strcat_m_charp(tmp, "<A HREF=\"file://", qdir, NULL); -- if (dirname->ptr[dirname->length - 1] != '/') -- Strcat_char(tmp, '/'); -- Strcat_charp(tmp, q); -+ Strcat_m_charp(tmp, "<A HREF=\"", htmlquote_str(fbuf->ptr), NULL); - if (S_ISDIR(st.st_mode)) - Strcat_char(tmp, '/'); -- Strcat_m_charp(tmp, "\">", q, NULL); -+ Strcat_m_charp(tmp, "\">", htmlquote_str(p), NULL); - if (S_ISDIR(st.st_mode)) - Strcat_char(tmp, '/'); - Strcat_charp(tmp, "</a>"); - if (multicolList) { - if (n++ == nrow) { -- Strcat_charp(tmp, "</TD>\n"); -+ Strcat_charp(tmp, "</NOBR></TD>\n"); - n = 1; - } - else { - - diff --git a/debian/patches/01-w3m-dev-01509 b/debian/patches/01-w3m-dev-01509 deleted file mode 100644 index 471e8d8..0000000 --- a/debian/patches/01-w3m-dev-01509 +++ /dev/null @@ -1,214 +0,0 @@ -PATCH: -p1 -To: w3m-dev@mi.med.tohoku.ac.jp -Subject: [w3m-dev 01509] Forward: Bug#79689: No way to view information on SSL certificates -From: Fumitoshi UKAI <ukai@debian.or.jp> -Delivered-To: ukai@ukai.org -Delivered-To: ukai@debian.or.jp -Date: Sat, 16 Dec 2000 04:28:07 +0900 -Reply-To: w3m-dev@mi.med.tohoku.ac.jp -Message-Id: <87u2854h88.wl@lichee.ukai.org> -X-ML-Name: w3m-dev -X-Mail-Count: 01509 -X-MLServer: fml [fml 3.0]; post only (only members can post) -X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address w3m-dev-ctl@mi.med.tohoku.ac.jp; help=<mailto:w3m-dev-ctl@mi.med.tohoku.ac.jp?body=help> -User-Agent: Wanderlust/2.2.15 (More Than Words) EMIKO/1.13.9 - (Euglena tripteris) FLIM/1.13.2 (Kasanui) APEL/10.2 Emacs/20.7 - (i386-debian-linux-gnu) MULE/4.0 (HANANOEN) -Organization: Debian JP Project -Mime-Version: 1.0 (generated by EMIKO 1.13.9 - "Euglena tripteris") -X-Sender: w3m-dev-admin@mi.med.tohoku.ac.jp - -[1 <text/plain; ISO-2022-JP (7bit)>] -w3m $B$G(B #define USE_SSL ($B$H$+(B #define USE_SSL_VERIFY )$B$7$?;~$G$b(B -$B8=>u$G$O(B https $B$G$D$J$,$C$F$k$+$I$&$+!"$I$3$H$D$J$,$C$F$+$I$&$+$N(B -$B>pJs$r8+$k$3$H$,$G$-$J$$$N$r$J$s$H$+$7$F$[$7$$$H$$$&%l%]!<%H$G$9!#(B - -$B8=%I%-%e%a%s%H$N>pJs$rI=<((B('=')$B$G8+$F$b(B SSL$B$K4X$9$k>ZL@=q>pJs$r(B -$B$_$i$l$J$$$N$O3N$+$KHa$7$$$J$!(B $B$H;W$C$F$$$?$N$G(B $BE,Ev$J%Q%C%A(B -$B$D$/$C$F$_$^$7$?!#(B($B$+$J$j$$$$$+$2$s(B) - --- -$B1-;tJ8IR(B - -[2 <message/rfc822 (7bit)>] -To: Debian Bug Tracking System <submit@bugs.debian.org> -Subject: Bug#79689: No way to view information on SSL certificates -From: Richard Braakman <dark@dark.wapit.fi> -Date: Fri, 15 Dec 2000 19:39:16 +0200 -Message-Id: <E146ypA-0005Ud-00@dark.wapit.com> -MIME-Version: 1.0 - -Package: w3m -Version: 0.1.10+0.1.11pre+kokb22-1 -Severity: wishlist - -When I'm about to submit sensitive information over a https connection, -I would like to inspect the information in the server's SSL certificate, -and ideally also the chain of trust that was used to verify that -certificate. w3m doesn't seem to have a way to do this. - -Verifying this information would give me a lot more confidence in the -security of a link. - -Richard Braakman - - --- System Information -Debian Release: woody -Architecture: i386 -Kernel: Linux dark 2.3.49 #1 Tue Mar 7 10:37:21 EET 2000 i686 - -Versions of packages w3m depends on: -ii libc6 2.2-5 GNU C Library: Shared libraries an -ii libgc5 1:5.0.alpha4-8 Conservative garbage collector for -ii libgpmg1 1.19.3-4 General Purpose Mouse Library [lib -ii libncurses5 5.0-8 Shared libraries for terminal hand - -[3 w3m-0.1.11-pre-kokb23-ssl-cert.patch <text/plain; US-ASCII (7bit)>] -diff -Nru w3m-0.1.11-pre/buffer.c w3m-0.1.11-pre-ja/buffer.c ---- w3m-0.1.11-pre/buffer.c Thu Dec 14 01:17:21 2000 -+++ w3m-0.1.11-pre-ja/buffer.c Sat Dec 16 03:58:44 2000 -@@ -40,6 +40,9 @@ - *n->clone = 1; - n->linelen = 0; - n->trbyte = 0; -+#ifdef USE_SSL -+ n->ssl_certificate = NULL; -+#endif - return n; - } - -diff -Nru w3m-0.1.11-pre/file.c w3m-0.1.11-pre-ja/file.c ---- w3m-0.1.11-pre/file.c Thu Dec 14 01:17:22 2000 -+++ w3m-0.1.11-pre-ja/file.c Sat Dec 16 04:17:42 2000 -@@ -971,6 +971,13 @@ - } - if (t_buf == NULL) - t_buf = newBuffer(INIT_BUFFER_WIDTH); -+#ifdef USE_SSL -+ if (IStype(f.stream) == IST_SSL) { -+ Str s = ssl_get_certificate(f.stream); -+ if (s != NULL) -+ t_buf->ssl_certificate = s->ptr; -+ } -+#endif - readHeader(&f, t_buf, FALSE, &pu); - t = checkContentType(t_buf); - if (t == NULL) -@@ -1214,6 +1221,13 @@ - t_buf = newBuffer(INIT_BUFFER_WIDTH); - t_buf->bufferprop |= BP_FRAME; - } -+#ifdef USE_SSL -+ if (IStype(f.stream) == IST_SSL) { -+ Str s = ssl_get_certificate(f.stream); -+ if (s != NULL) -+ t_buf->ssl_certificate = s->ptr; -+ } -+#endif - b = loadSomething(&f, pu.file, proc, t_buf); - UFclose(&f); - if (b) { -diff -Nru w3m-0.1.11-pre/fm.h w3m-0.1.11-pre-ja/fm.h ---- w3m-0.1.11-pre/fm.h Thu Dec 14 01:17:22 2000 -+++ w3m-0.1.11-pre-ja/fm.h Sat Dec 16 03:58:08 2000 -@@ -343,6 +343,9 @@ - FormItemList *form_submit; - char *savecache; - char *edit; -+#ifdef USE_SSL -+ char *ssl_certificate; -+#endif - } Buffer; - - #define NO_BUFFER ((Buffer*)1) -diff -Nru w3m-0.1.11-pre/html.h w3m-0.1.11-pre-ja/html.h ---- w3m-0.1.11-pre/html.h Thu Dec 14 01:17:22 2000 -+++ w3m-0.1.11-pre-ja/html.h Sat Dec 16 03:54:34 2000 -@@ -2,6 +2,8 @@ - #ifndef _HTML_H - #define _HTML_H - #ifdef USE_SSL -+#include <bio.h> -+#include <x509.h> - #include <ssl.h> - #endif /* USE_SSL */ - -diff -Nru w3m-0.1.11-pre/istream.c w3m-0.1.11-pre-ja/istream.c ---- w3m-0.1.11-pre/istream.c Thu Dec 14 01:17:22 2000 -+++ w3m-0.1.11-pre-ja/istream.c Sat Dec 16 04:19:59 2000 -@@ -328,6 +328,33 @@ - } - } - -+#ifdef USE_SSL -+Str -+ssl_get_certificate(InputStream stream) -+{ -+ BIO *bp; -+ X509 *x; -+ char *p; -+ int len; -+ Str s; -+ if (stream == NULL) -+ return NULL; -+ if (IStype(stream) != IST_SSL) -+ return NULL; -+ if (stream->ssl.handle == NULL) -+ return NULL; -+ x = SSL_get_peer_certificate(stream->ssl.handle->ssl); -+ if (x == NULL) -+ return NULL; -+ bp = BIO_new(BIO_s_mem()); -+ X509_print(bp, x); -+ len = (int)BIO_ctrl(bp, BIO_CTRL_INFO,0,(char *)&p); -+ s = Strnew_charp_n(p, len); -+ BIO_free_all(bp); -+ return s; -+} -+#endif -+ - /* Raw level input stream functions */ - - static void -diff -Nru w3m-0.1.11-pre/istream.h w3m-0.1.11-pre-ja/istream.h ---- w3m-0.1.11-pre/istream.h Thu Dec 14 01:17:22 2000 -+++ w3m-0.1.11-pre-ja/istream.h Sat Dec 16 03:54:52 2000 -@@ -4,6 +4,8 @@ - - #include <stdio.h> - #ifdef USE_SSL -+#include <bio.h> -+#include <x509.h> - #include <ssl.h> - #endif - #include "Str.h" -@@ -121,6 +123,9 @@ - extern Str StrmyISgets(InputStream stream); - extern int ISread(InputStream stream, Str buf, int count); - extern int ISfileno(InputStream stream); -+#ifdef USE_SSL -+extern Str ssl_get_certificate(InputStream stream); -+#endif - - #define IST_BASIC 0 - #define IST_FILE 1 -diff -Nru w3m-0.1.11-pre/map.c w3m-0.1.11-pre-ja/map.c ---- w3m-0.1.11-pre/map.c Thu Dec 14 01:17:22 2000 -+++ w3m-0.1.11-pre-ja/map.c Sat Dec 16 03:59:50 2000 -@@ -179,6 +179,14 @@ - append_frame_info(tmp, f_set, 0); - Strcat_charp(tmp, "</pre>"); - } -+#ifdef USE_SSL -+ if (buf->ssl_certificate == NULL) -+ goto end; -+ Strcat_charp(tmp, "<h1>SSL certificate</h1>\n"); -+ Strcat_charp(tmp, "<pre>\n"); -+ Strcat_charp(tmp, buf->ssl_certificate); -+ Strcat_charp(tmp, "</pre>\n"); -+#endif - end: - Strcat_charp(tmp, "</body></html>"); - return loadHTMLString(tmp); -[4 <text/plain; US-ASCII (7bit)>] diff --git a/debian/patches/02-w3m-dev-01739 b/debian/patches/02-w3m-dev-01739 deleted file mode 100644 index 2004d9e..0000000 --- a/debian/patches/02-w3m-dev-01739 +++ /dev/null @@ -1,123 +0,0 @@ -PATCH: -p0 -To: w3m-dev@mi.med.tohoku.ac.jp -Cc: kiwamu <kiwamu@ecomp.metro-u.ac.jp> -Subject: [w3m-dev 01739] $B%[%$!<%k%^%&%9BP1~(B patch -From: kiwamu <kiwamu@debian.or.jp> -Delivered-To: ukai@ukai.org -Delivered-To: ukai@debian.or.jp -Date: Sun, 18 Feb 2001 02:24:27 +0900 -Reply-To: w3m-dev@mi.med.tohoku.ac.jp -Message-Id: <20010218022427.A3347@casper.m01.htmnet.ne.jp> -X-ML-Name: w3m-dev -X-Mail-Count: 01739 -X-MLServer: fml [fml 3.0]; post only (only members can post) -X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address w3m-dev-ctl@mi.med.tohoku.ac.jp; help=<mailto:w3m-dev-ctl@mi.med.tohoku.ac.jp?body=help> -Resent-From: kiwamu@misterdosv.eei.metro-u.ac.jp -Content-Disposition: inline -User-Agent: Mutt/1.2.5i-jp0 -Resent-Date: Sun, 18 Feb 2001 04:39:48 +0900 -Resent-To: w3m-dev@mi.med.tohoku.ac.jp -Mime-Version: 1.0 -Content-Transfer-Encoding: 7bit -Resent-Sender: w3m-dev-admin@mi.med.tohoku.ac.jp - - $B$3$s$K$A$O!#2,It5f$H?=$7$^$9!#(B -$B$"$N2,It9nLi$5$s$H$OJL?M$G$9!#(B(^^;; - -w3m$B$r%[%$!<%k%^%&%9BP1~$5$;$F$_$^$7$?!#(B -rxvt$B$H(Bxterm$B$G;HMQ$G$-$^$9!#(B -kterm$B$@$H%[%$!<%k$N>e2<$,F1$8%3%s%H%m!<%k%3!<%I$rJV$7$F$7$^$&$N$G(B -$B<B8=IT2DG=$_$?$$$G$9!#(B - ------------------------------- w3m-wheel.patch ------------------------------ - ---- main.c Wed Feb 7 01:53:49 2001 -+++ main.c Sun Feb 18 02:05:41 2001 -@@ -3461,14 +3461,19 @@ - #define MOUSE_BTN1_DOWN 0 - #define MOUSE_BTN2_DOWN 1 - #define MOUSE_BTN3_DOWN 2 -+#define MOUSE_BTN4_DOWN_RXVT 3 -+#define MOUSE_BTN5_DOWN_RXVT 4 -+#define MOUSE_BTN4_DOWN_XTERM 64 -+#define MOUSE_BTN5_DOWN_XTERM 65 - #define MOUSE_BTN_UP 3 -- -+#define MOUSE_BTN_RESET -1 -+#define MOUSE_SCROLL_LINE 5 - - static void - process_mouse(int btn, int x, int y) - { -- int delta_x, delta_y; -- static int press_btn, press_x, press_y; -+ int delta_x, delta_y, i; -+ static int press_btn = MOUSE_BTN_RESET, press_x, press_y; - - if (btn == MOUSE_BTN_UP) { - switch (press_btn) { -@@ -3547,12 +3552,29 @@ - mainMenu(x, y); - #endif /* MENU */ - break; -+ case MOUSE_BTN4_DOWN_RXVT: -+ for (i = 0; i < MOUSE_SCROLL_LINE; i++) -+ ldown1(); -+ break; -+ case MOUSE_BTN5_DOWN_RXVT: -+ for (i = 0; i < MOUSE_SCROLL_LINE; i++) -+ lup1(); -+ break; - } -+ } else if (btn == MOUSE_BTN4_DOWN_XTERM) { -+ for (i = 0; i < MOUSE_SCROLL_LINE; i++) -+ ldown1(); -+ } else if (btn == MOUSE_BTN5_DOWN_XTERM) { -+ for (i = 0; i < MOUSE_SCROLL_LINE; i++) -+ lup1(); - } -- else { -+ -+ if (btn != MOUSE_BTN4_DOWN_RXVT || press_btn == MOUSE_BTN_RESET) { - press_btn = btn; - press_x = x; - press_y = y; -+ } else { -+ press_btn = MOUSE_BTN_RESET; - } - } - ---- menu.c Wed Feb 7 01:53:49 2001 -+++ menu.c Sun Feb 18 02:05:50 2001 -@@ -1067,14 +1067,20 @@ - #define MOUSE_BTN1_DOWN 0 - #define MOUSE_BTN2_DOWN 1 - #define MOUSE_BTN3_DOWN 2 -+#define MOUSE_BTN4_DOWN_RXVT 3 -+#define MOUSE_BTN5_DOWN_RXVT 4 -+#define MOUSE_BTN4_DOWN_XTERM 64 -+#define MOUSE_BTN5_DOWN_XTERM 65 - #define MOUSE_BTN_UP 3 -+#define MOUSE_BTN_RESET -1 -+#define MOUSE_SCROLL_LINE 5 - - static int - process_mMouse(int btn, int x, int y) - { - Menu *menu; - int select; -- static int press_btn, press_x, press_y; -+ static int press_btn = MOUSE_BTN_RESET, press_x, press_y; - char c = ' '; - - menu = CurrentMenu; - ------------------------------- w3m-wheel.patch ------------------------------ - --- -Tokyo Metropolitan University Kiwamu Okabe - Mail: kiwamu@debian.or.jp - URL: http://silica.eei.metro-u.ac.jp/~kiwamu/ - - - diff --git a/debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-02066 b/debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-02066 deleted file mode 100644 index 7c47d04..0000000 --- a/debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-02066 +++ /dev/null @@ -1,28 +0,0 @@ ---- mimehead.c.orig Tue Jun 6 14:39:13 2000 -+++ mimehead.c Wed Jun 20 11:21:02 2001 -@@ -166,21 +166,20 @@ - Str - decodeWord(char **ow) - { -- char charset[32]; - char *p, *w = *ow; - char method; - Str a = Strnew(); -+ Str charset = Strnew(); - - if (*w != '=' || *(w + 1) != '?') - goto convert_fail; - w += 2; -- for (p = charset; *w != '?'; w++) { -+ for (; *w != '?'; w++) { - if (*w == '\0') - goto convert_fail; -- *(p++) = *w; -+ Strcat_char(charset, *w); - } -- *p = '\0'; -- if (strcasecmp(charset, J_CHARSET) != 0) { -+ if (Strcasecmp_charp(charset, J_CHARSET) != 0) { - /* NOT ISO-2022-JP encoding ... don't convert */ - goto convert_fail; - } diff --git a/debian/patches/03-w3m.1-debian-fix b/debian/patches/03-w3m.1-debian-fix new file mode 100644 index 0000000..f364b6b --- /dev/null +++ b/debian/patches/03-w3m.1-debian-fix @@ -0,0 +1,56 @@ +PATCH: -p1 + +--- w3m/doc/w3m.1 Wed Nov 21 14:56:35 2001 ++++ w3m-2/doc/w3m.1 Sat Dec 1 03:43:55 2001 +@@ -53,15 +53,6 @@ + .B -l line + # of preserved line (default 10000) + .TP +-.B -s +-Shift_JIS +-.TP +-.B -j +-JIS +-.TP +-.B -e +-EUC-JP +-.TP + .B -B + load bookmark + .TP +@@ -126,7 +117,7 @@ + .B -pauth user:pass + proxy authentication + .TP +-.B -S ++.B -s + squeeze multiple blank lines + .TP + .B -W +--- w3m/doc-jp/w3m.1 Wed Nov 21 14:56:36 2001 ++++ w3m-2/doc-jp/w3m.1 Sat Dec 1 03:44:14 2001 +@@ -39,15 +39,6 @@ + 標準入力の内容を表示するときに保存される最大行数を指定する. + デフォルトは10000. + .TP +-.B \-s +-Shift_JISコードで表示する. +-.TP +-.B \-e +-EUCコードで表示する. +-.TP +-.B \-j +-JIS (ISO-2022-JP)コードで表示する. +-.TP + .BI \-I\ e|s + 入力文書の文字コードを指定する. + .TP +@@ -87,7 +78,7 @@ + .B \-F + フレームを自動表示する. + .TP +-.B \-S ++.B \-s + 連続する空行を1行にまとめて表示する. + .TP + .B \-X diff --git a/debian/patches/04-w3m-0.3.2.1-frame-fix-backport b/debian/patches/04-w3m-0.3.2.1-frame-fix-backport new file mode 100644 index 0000000..a6180cb --- /dev/null +++ b/debian/patches/04-w3m-0.3.2.1-frame-fix-backport @@ -0,0 +1,53 @@ +PATCH: -p1 + + +--- w3m-0.3.orig/frame.c Sat Feb 9 15:27:14 2002 ++++ w3m-0.3/frame.c Wed Nov 27 06:46:03 2002 +@@ -535,14 +535,15 @@ + frame.body->attr = F_UNLOADED; + if (frame.body->flags & FB_NO_BUFFER) + fprintf(f1, "Open %s with other method", +- frame.body->url); ++ html_quote(frame.body->url)); + else if (frame.body->url) +- fprintf(f1, "Can't open %s", frame.body->url); ++ fprintf(f1, "Can't open %s", ++ html_quote(frame.body->url)); + else + fprintf(f1, + "This frame (%s) contains no src attribute", +- frame.body->name ? frame.body-> +- name : "(no name)"); ++ frame.body->name ? ++ html_quote(frame.body->name) : "(no name)"); + break; + } + parseURL2(frame.body->url, &base, currentURL); +@@ -636,7 +637,7 @@ + /* prohibit_tags */ + Strshrinkfirst(tok, 1); + Strshrink(tok, 1); +- fprintf(f1, "<!-- %s -->", tok->ptr); ++ fprintf(f1, "<!-- %s -->", html_quote(tok->ptr)); + goto token_end; + case HTML_TABLE: + t_stack++; +@@ -649,7 +650,7 @@ + Strshrink(tok, 1); + fprintf(f1, + "<!-- table stack underflow: %s -->", +- tok->ptr); ++ html_quote(tok->ptr)); + goto token_end; + } + break; +@@ -669,7 +670,8 @@ + if (!t_stack) { + Strshrinkfirst(tok, 1); + Strshrink(tok, 1); +- fprintf(f1, "<!-- %s -->", tok->ptr); ++ fprintf(f1, "<!-- %s -->", ++ html_quote(tok->ptr)); + goto token_end; + + } diff --git a/debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport b/debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport new file mode 100644 index 0000000..6b30c1c --- /dev/null +++ b/debian/patches/05-w3m-0.3.2.2-img-alt-fix-backport @@ -0,0 +1,27 @@ +PATCH: -p1 + +--- w3m-0.3/file.c Tue Mar 5 16:58:09 2002 ++++ w3m-0.3-ja/file.c Thu Dec 5 17:30:30 2002 +@@ -2975,11 +2975,11 @@ + Strcat_charp(tmp, html_quote(Strnew_charp_n(q, nw)->ptr)); + } + else +- Strcat_charp(tmp, q); ++ Strcat_charp(tmp, html_quote(q)); + } + else + #endif +- Strcat_charp(tmp, q); ++ Strcat_charp(tmp, html_quote(q)); + goto img_end; + } + if (w > 0 && i > 0) { +@@ -6105,7 +6105,7 @@ + HTMLlineproc0(lineBuf2->ptr, &htmlenv1, internal); + } + if (obuf.status != R_ST_NORMAL) +- HTMLlineproc1(correct_irrtag(obuf.status)->ptr, &htmlenv1); ++ HTMLlineproc0(correct_irrtag(obuf.status)->ptr, &htmlenv1, internal); + obuf.status = R_ST_NORMAL; + completeHTMLstream(&htmlenv1, &obuf); + flushline(&htmlenv1, &obuf, 0, 2, htmlenv1.limit); diff --git a/debian/rules b/debian/rules index b06880b..91ee9ce 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export DH_COMPAT=3 + nossl: @echo already nossl version environments @@ -23,20 +25,22 @@ ssl: include debian/rules.mk build: build-stamp -build-stamp: setup-ja setup-en +build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. - cp -p debian/config.h-ja $(buildjadir)/config.h - cd $(buildjadir) && $(MAKE) - cp -p debian/config.h-en $(buildendir)/config.h - cd $(buildendir) && $(MAKE) + (echo "# Configuration at "`hostname`; cat debian/config.param) > $(buildjadir)/config.param + cd $(buildjadir) && ./configure -yes -model=cookie -lang=JA -cflags="-O2 -DDEBIAN" -code=E --gc-includedir=/usr/include/gc --mimetypes=/etc/mime.types + cd $(buildjadir) && LC_ALL=C $(MAKE) OPTS="-Wall -g" + (echo "# Configuration at "`hostname`; cat debian/config.param) > $(buildendir)/config.param + cd $(buildendir) && ./configure -yes -model=cookie -lang=EN -cflags="-O2 -DDEBIAN" --gc-includedir=/usr/include/gc --mimetypes=/etc/mime.types + cd $(buildendir) && LC_ALL=C $(MAKE) OPTS="-Wall -g" touch build-stamp clean: dh_testdir dh_testroot rm -rf $(buildtree) - rm -f extract-stamp patch-stamp build-stamp install-stamp + rm -f extract-stamp patch-stamp configure-stamp build-stamp install-stamp rm -f debian/docs debian/examples dh_clean @@ -47,70 +51,72 @@ install-stamp: build-stamp dh_clean -k dh_installdirs - # Add here commands to install the package into debian/tmp. - cd $(buildendir) && $(MAKE) install DESTDIR=`pwd`/../../debian/tmp + # Add here commands to install the package into debian/w3m. + cd $(buildendir) && $(MAKE) install DESTDIR=`pwd`/../../debian/w3m cd $(buildendir)/Bonus && find . -type f -perm 0100 -print | \ while read i; \ do \ sed -e 's:/usr/local/bin/ruby:/usr/bin/ruby:' \ -e 's:/bin/env:/usr/bin/env:' \ $$i \ - > `pwd`/../../../debian/tmp/usr/share/doc/w3m/examples/$$i ; \ - done - cd `pwd`/debian/tmp/usr/lib/w3m && for i in dirlist.cgi; \ - do \ - perl -i -ple 's:^#!/usr/local/bin/perl:#!/usr/bin/perl:' $$i; \ + > `pwd`/../../../debian/w3m/usr/share/doc/w3m/examples/$$i ; \ done - cd `pwd`/debian/tmp && mv usr/bin/w3m usr/bin/w3m-en - cd `pwd`/debian/tmp && mv usr/lib/w3m/w3mbookmark usr/lib/w3m/w3mbookmark-en - cd `pwd`/debian/tmp && mv usr/lib/w3m/w3mhelperpanel usr/lib/w3m/w3mhelperpanel-en - install -m 755 debian/w3m.sh `pwd`/debian/tmp/usr/bin/w3m - install -m 755 debian/w3mbookmark.sh `pwd`/debian/tmp/usr/lib/w3m/w3mbookmark - install -m 755 debian/w3mhelperpanel.sh `pwd`/debian/tmp/usr/lib/w3m/w3mhelperpanel - install -m 755 $(buildjadir)/w3m `pwd`/debian/tmp/usr/bin/w3m-ja - install -m 755 $(buildjadir)/w3mbookmark `pwd`/debian/tmp/usr/lib/w3m/w3mbookmark-ja - install -m 755 $(buildjadir)/w3mhelperpanel `pwd`/debian/tmp/usr/lib/w3m/w3mhelperpanel-ja - # install -m 644 lisp/w3m.el `pwd`/debian/tmp/usr/share/emacs/site-lisp/w3m/ - install -m 644 lisp/w3m.el `pwd`/debian/tmp/usr/share/doc/w3m/examples/ + cd `pwd`/debian/w3m && mv usr/bin/w3m usr/bin/w3m-en + cd `pwd`/debian/w3m && mv usr/lib/w3m/w3mbookmark usr/lib/w3m/w3mbookmark-en + cd `pwd`/debian/w3m && mv usr/lib/w3m/w3mhelperpanel usr/lib/w3m/w3mhelperpanel-en + install -m 755 debian/w3m.sh `pwd`/debian/w3m/usr/bin/w3m + install -m 755 debian/w3mbookmark.sh `pwd`/debian/w3m/usr/lib/w3m/w3mbookmark + install -m 755 debian/w3mhelperpanel.sh `pwd`/debian/w3m/usr/lib/w3m/w3mhelperpanel + install -m 755 $(buildjadir)/w3m `pwd`/debian/w3m/usr/bin/w3m-ja + install -m 755 $(buildjadir)/w3mbookmark `pwd`/debian/w3m/usr/lib/w3m/w3mbookmark-ja + install -m 755 $(buildjadir)/w3mhelperpanel `pwd`/debian/w3m/usr/lib/w3m/w3mhelperpanel-ja + install -m 644 debian/w3mconfig `pwd`/debian/w3m/etc/w3m/w3mconfig + install -m 644 debian/mailcap `pwd`/debian/w3m/etc/w3m/mailcap + dh_movefiles --sourcedir=debian/w3m touch install-stamp # Build architecture-independent files here. -binary-indep: build install +binary-indep: build-stamp install-stamp # We have nothing to do by default. # Build architecture-dependent files here. -binary-arch: build install +binary-arch: build-stamp install-stamp # dh_testversion - dh_testdir - dh_testroot + dh_testdir -a + dh_testroot -a sed -e 's:^:$(builddir)/:' debian/docs.in > debian/docs - dh_installdocs - cp -a $(builddir)/doc-jp/* `pwd`/debian/tmp/usr/share/doc/w3m/ja/ + dh_installdocs -a + cp -a $(builddir)/doc-jp/* `pwd`/debian/w3m/usr/share/doc/w3m/ja/ + rm -f `pwd`/debian/w3m/usr/share/doc/w3m/ja/README.kokb + -rm -rf `pwd`/debian/w3m/usr/share/doc/w3m/ja/CVS sed -e 's:^:$(builddir)/:' debian/examples.in > debian/examples - dh_installexamples - cd `pwd`/debian/tmp/usr/share/doc/w3m && \ + cp debian/README.Debian.w3m-img `pwd`/debian/w3m-img/usr/share/doc/w3m-img/README.Debian + dh_installexamples -a + cd `pwd`/debian/w3m/usr/share/doc/w3m && \ mv ja/keymap.* ja/examples; mv ja/menu.* ja/examples dh_installmenu dh_installmime dh_installemacsen # dh_installinit dh_installcron - dh_installmanpages - install -m 644 $(builddir)/doc-jp/HISTORY.kokb `pwd`/debian/tmp/usr/share/doc/w3m/changelog.w3m-kokb - dh_installchangelogs $(builddir)/doc/HISTORY - install -m 644 lisp/ChangeLog `pwd`/debian/tmp/usr/share/doc/w3m/changelog.w3m.el - dh_strip - dh_compress + dh_installman $(builddir)/doc/w3m.1 + dh_installman debian/w3mman.1 + install -m 644 $(builddir)/doc-jp/w3m.1 `pwd`/debian/w3m/usr/share/man/ja/man1/w3m.1 + # dh_installchangelogs $(builddir)/doc/HISTORY + dh_installchangelogs -a $(builddir)/ChangeLog + dh_strip -a + dh_compress -a dh_link usr/share/man/man1/w3m.1.gz usr/share/man/man1/w3m-ja.1.gz dh_link usr/share/man/man1/w3m.1.gz usr/share/man/man1/w3m-en.1.gz - dh_fixperms - dh_suidregister - dh_installdeb - dh_shlibdeps - dh_gencontrol -# dh_makeshlibs - dh_md5sums - dh_builddeb + dh_link usr/share/man/ja/man1/w3m.1.gz usr/share/man/ja/man1/w3m-ja.1.gz + dh_link usr/share/man/ja/man1/w3m.1.gz usr/share/man/ja/man1/w3m-en.1.gz + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a +# dh_makeshlibs -a + dh_md5sums -a + dh_builddeb -a source diff: @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false diff --git a/debian/rules-ssl b/debian/rules-ssl index 8697624..423a978 100644 --- a/debian/rules-ssl +++ b/debian/rules-ssl @@ -6,6 +6,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +export DH_COMPAT=3 + nossl: @echo change to nossl version... @cd debian && for i in *-nossl; do \ @@ -23,19 +25,21 @@ ssl: include debian/rules.mk build: build-stamp -build-stamp: setup-ja setup-en +build-stamp: configure-stamp dh_testdir - sed -f debian/config.ssl.sed < debian/config.h-ja > $(buildjadir)/config.h - cd $(buildjadir) && $(MAKE) - sed -f debian/config.ssl.sed < debian/config.h-en > $(buildendir)/config.h - cd $(buildendir) && $(MAKE) + (echo "# Configuration at "`hostname`; cat debian/config.param) > $(buildjadir)/config.param + cd $(buildjadir) && ./configure -yes -model=monster -lang=JA -clfags="-O2 -DDEBIAN" -code=E --gc-includedir=/usr/include/gc --ssl-includedir=/usr/include/openssl --mimetypes=/etc/mime.types + cd $(buildjadir) && LC_ALL=C $(MAKE) OPTS="-Wall -g" + (echo "# Configuration at "`hostname`; cat debian/config.param) > $(buildendir)/config.param + cd $(buildendir) && ./configure -yes -model=monster -lang=EN -cflags="-O2 -DDEBIAN" --gc-includedir=/usr/include/gc --ssl-includedir=/usr/include/openssl --mimetypes=/etc/mime.types + cd $(buildendir) && LC_ALL=C $(MAKE) OPTS="-Wall -g" touch build-stamp clean: dh_testdir dh_testroot rm -rf $(buildtree) - rm -f extract-stamp patch-stamp build-stamp install-stamp + rm -f extract-stamp patch-stamp configure-stamp build-stamp install-stamp rm -f debian/docs debian/examples dh_clean @@ -45,16 +49,16 @@ install-stamp: build-stamp dh_testroot dh_clean -k dh_installdirs - install -m 755 -s $(buildendir)/w3m `pwd`/debian/tmp/usr/bin/w3m-ssl-en - install -m 755 -s $(buildjadir)/w3m `pwd`/debian/tmp/usr/bin/w3m-ssl-ja + install -m 755 -s $(buildendir)/w3m `pwd`/debian/w3m-ssl/usr/bin/w3m-ssl-en + install -m 755 -s $(buildjadir)/w3m `pwd`/debian/w3m-ssl/usr/bin/w3m-ssl-ja touch install-stamp # Build architecture-independent files here. -binary-indep: build install +binary-indep: build-stamp install-stamp # We have nothing to do by default. # Build architecture-dependent files here. -binary-arch: build install +binary-arch: build-stamp install-stamp # dh_testversion dh_testdir dh_testroot @@ -64,23 +68,25 @@ binary-arch: build install # dh_installemacsen # dh_installinit # dh_installcron -# dh_installmanpages - install -m 644 $(builddir)/doc-jp/HISTORY.kokb `pwd`/debian/tmp/usr/share/doc/w3m-ssl/changelog.w3m-kokb - dh_installchangelogs $(builddir)/doc/HISTORY +# dh_installman $(builddir)/doc/w3m.1 +# install -m 644 $(builddir)/doc-jp/HISTORY.kokb `pwd`/debian/w3m-ssl/usr/share/doc/w3m-ssl/changelog.w3m-kokb + #dh_installchangelogs $(builddir)/doc/HISTORY + dh_installchangelogs $(builddir)/ChangeLog dh_strip dh_compress - (cd debian/tmp/usr/share/doc/w3m-ssl; ls -1) | while read file; do \ + (cd debian/w3m-ssl/usr/share/doc/w3m-ssl; ls -1) | while read file; do \ case $$file in changelog*|copyright*|README.Debian) continue;; esac;\ - test -d debian/tmp/usr/share/doc/w3m-ssl/$$file && continue; \ - rm -f debian/tmp/usr/share/doc/w3m-ssl/$$file; \ + test -d debian/w3m-ssl/usr/share/doc/w3m-ssl/$$file && continue; \ + rm -f debian/w3m-ssl/usr/share/doc/w3m-ssl/$$file; \ dh_link usr/share/doc/w3m/$$file usr/share/doc/w3m-ssl/$$file; \ done - dh_link usr/share/w3m/examples usr/share/w3m-ssl/examples - dh_link usr/share/w3m/ja usr/share/w3m-ssl/ja + dh_link usr/share/doc/w3m/examples usr/share/doc/w3m-ssl/examples + dh_link usr/share/doc/w3m/ja usr/share/doc/w3m-ssl/ja dh_link usr/share/man/man1/w3m.1.gz usr/share/man/man1/w3m-ssl-ja.1.gz dh_link usr/share/man/man1/w3m.1.gz usr/share/man/man1/w3m-ssl-en.1.gz + dh_link usr/share/man/ja/man1/w3m.1.gz usr/share/man/ja/man1/w3m-ssl-ja.1.gz + dh_link usr/share/man/ja/man1/w3m.1.gz usr/share/man/ja/man1/w3m-ssl-en.1.gz dh_fixperms - dh_suidregister dh_installdeb dh_shlibdeps dh_gencontrol diff --git a/debian/rules.mk b/debian/rules.mk index 12a6046..69e60bb 100644 --- a/debian/rules.mk +++ b/debian/rules.mk @@ -1,16 +1,14 @@ # -*- Makefile -*- # buildtree=build-tree/ -sourcedir=w3m-0.1.11-pre +sourcedir=w3m-0.3 builddir=$(buildtree)/$(sourcedir) extract: extract-stamp extract-stamp: -rm -rf $(buildtree) mkdir $(buildtree) - tar zxfC upstream/w3m-0.1.11-pre.tar.gz $(buildtree) - # gunzip < upstream/w3m-0.1.11-pre+.diff.gz | (cd $(builddir) && patch -p0) - gunzip < upstream/w3m-0.1.11-pre-kokb23.patch.gz | (cd $(builddir) && patch -p1) + tar zxfC upstream/w3m-0.3.tar.gz $(buildtree) touch extract-stamp patch: patch-stamp @@ -40,3 +38,7 @@ $(buildendir)/setup-stamp: extract-stamp patch-stamp cp -a $(builddir) $(buildendir) touch $(buildendir)/setup-stamp +configure: configure-stamp +configure-stamp: setup-ja setup-en + touch configure-stamp + diff --git a/debian/w3m-img.dirs b/debian/w3m-img.dirs new file mode 100644 index 0000000..2037964 --- /dev/null +++ b/debian/w3m-img.dirs @@ -0,0 +1 @@ +usr/lib/w3m diff --git a/debian/w3m-img.files b/debian/w3m-img.files new file mode 100644 index 0000000..5e1f43e --- /dev/null +++ b/debian/w3m-img.files @@ -0,0 +1,2 @@ +usr/lib/w3m/w3mimgdisplay +usr/lib/w3m/w3mimgsize diff --git a/debian/w3m.sh b/debian/w3m.sh index bc9588d..7c9c47b 100644 --- a/debian/w3m.sh +++ b/debian/w3m.sh @@ -1,30 +1,8 @@ -#!/bin/bash +#!/bin/sh # Copyright (c) 1999 Fumitoshi UKAI <ukai@debian.or.jp> # Copyright (c) 1999 Jacobo Tarrio Barreiro <jtarrio@iname.com> # This program is covered by the GNU General Public License version 2 # -unset params - -while [ $# -gt 0 ] -do - case "$1" in - -t | -l | -T | -bookmark | -cols | -ppc | -o | -config) - params[${#params[@]}]="$1" - params[${#params[@]}]="$2" - shift ;; - -* | +* | *://*) - params[${#params[@]}]="$1" - ;; - *) - if [ -f "$1" -o -d "$1" ] - then - params[${#params[@]}]="$1" - else - params[${#params[@]}]="http://$1" - fi ;; - esac - shift -done ## for I18N variants, not yet: try w3mmee #W3M=${W3M:-/usr/bin/w3m-ssl-i18n} @@ -49,4 +27,5 @@ case X"$locale" in [ -x /usr/bin/w3m-ssl-en ] && W3M=/usr/bin/w3m-ssl-en ;; esac -exec $W3M "${params[@]}" +exec $W3M "$@" + diff --git a/debian/w3mconfig b/debian/w3mconfig new file mode 100644 index 0000000..9201a88 --- /dev/null +++ b/debian/w3mconfig @@ -0,0 +1,59 @@ +cookie_accept_domains +cookie_reject_domains +accept_bad_cookie 0 +accept_cookie 1 +use_cookie 1 +ssl_ca_file +ssl_ca_path /etc/ssl/certs +ssl_key_file +ssl_cert_file +ssl_verify_server 1 +ssl_forbid_method +no_cache 0 +noproxy_netaddr 0 +no_proxy +meta_refresh 1 +follow_redirection 10 +default_url 1 +retry_http 1 +argv_is_url 1 +no_referer 0 +use_lessopen 0 +bgextviewer 1 +editor sensible-editor +mailcap ~/.w3m/mailcap, /etc/w3m/mailcap, /etc/mailcap +mime_types ~/.w3m/mime.types, /etc/mime.types +urimethodmap ~/.w3m//urimethodmap, /etc/w3m/urimethodmap +use_mouse 1 +migemo_command migemo -t egrep /usr/share/migemo/migemo-dict +use_migemo 1 +ignorecase_search 1 +wrap_search 0 +confirm_qq 1 +save_hist 1 +history 100 +pagerline 10000 +visited_color magenta +visited_anchor 0 +active_color cyan +active_style 0 +bg_color terminal +form_color red +image_color green +anchor_color blue +basic_color terminal +color 1 +show_lnum 0 +view_unseenobject 1 +ignore_null_img_alt 1 +alt_entity 0 +multicol 0 +dirlist_cmd file:///$LIB/dirlist.cgi +ext_dirlist 1 +display_link 0 +target_self 0 +frame 0 +tabstop 8 +ftppasswd anonymous@ +ftppass_hostnamegen 0 +display_image 1 diff --git a/debian/w3mman.1 b/debian/w3mman.1 new file mode 100644 index 0000000..9bb9116 --- /dev/null +++ b/debian/w3mman.1 @@ -0,0 +1,50 @@ +.TH W3MMAN 1 +.SH NAME +w3mman \- read man pages with hyperlinks in w3m +.SH SYNOPSIS +.B w3mman +.RB [ \-M +.IR path ] +.RI [[ section ] +.IR command ] +.br +.B w3mman +.RB [ \-M +.IR path ] +.RB [ \-k +.IR keyword ] +.SH DESCRIPTION +.I w3mman +displays manual pages using +.I w3m +as a pager. +It understands references to other man pages, C header files (via #include), +ordinary URLs, and local files, and renders them as hyperlinks. +.SH OPTIONS +In ordinary use, +.I w3mman +is given the name of a man page to display, optionally preceded by a manual +section. +It may also take the following command-line options: +.TP +.B \-k keyword +Perform a keyword search on the short descriptions of installed man pages, +and display the results with each name in the list of results rendered as a +hyperlink. +.TP +.B \-M path +Use an alternate manpath. +The manpath must be the root of a man page hierarchy, such as +.IR /usr/share/man . +.SH EXAMPLES +.TP +To view the man page for the shell: +.br +$ w3mman sh +.TP +To view a list of all man pages related to w3m: +.br +$ w3mman -k w3m +.SH AUTHOR +This manual page was written by Colin Watson <cjwatson@debian.org> for the +Debian Project, but may be used by others. |