aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/README.Debian20
-rw-r--r--debian/changelog813
-rw-r--r--debian/changelog-ssl810
-rw-r--r--debian/config.h-en162
-rw-r--r--debian/config.h-ja162
-rw-r--r--debian/config.ssl.sed3
-rw-r--r--debian/control23
-rw-r--r--debian/control-ssl26
-rw-r--r--debian/copyright49
-rw-r--r--debian/dirs8
-rw-r--r--debian/dirs-ssl2
-rw-r--r--debian/docs.in7
-rw-r--r--debian/emacsen-startup5
-rw-r--r--debian/examples.in4
-rw-r--r--debian/menu2
-rw-r--r--debian/mime2
-rw-r--r--debian/patches/00-rxvt-mouse-support17
-rw-r--r--debian/patches/01-w3m-dev-01500152
-rw-r--r--debian/patches/01-w3m-dev-01509214
-rw-r--r--debian/patches/02-w3m-dev-01739123
-rw-r--r--debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-0206628
-rw-r--r--debian/postinst14
-rw-r--r--debian/postrm4
-rw-r--r--debian/prerm11
-rwxr-xr-xdebian/rules119
-rw-r--r--debian/rules-ssl95
-rw-r--r--debian/rules.mk42
-rw-r--r--debian/w3m.1118
-rw-r--r--debian/w3m.sh52
-rw-r--r--debian/w3mbookmark.sh15
-rw-r--r--debian/w3mhelperpanel.sh15
31 files changed, 3117 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..f2b782e
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,20 @@
+w3m for DEBIAN
+----------------------
+
+Difference between pure w3m and Debian package:
+
+ * -s option means squeeze multiple blank lines in order to work
+ as pager alternatives.
+ If you want to specify terminal coding system as Shift_JIS
+ (original w3m uses -s option for this), you can use
+ -o kanjicode=S
+ In addition, -e and -j option is disabled. Use
+ -o kanjicode=E or -o kanjicode=j respectively.
+
+ * /usr/bin/w3m is wrapper script
+ w3m-en - ASCII or Latin version of w3m (default)
+ w3m-ja - Japanese version of w3m (if LANG=ja*)
+ w3m-ssl-en - ASCII or Latin version with SSL (if w3m-ssl installed)
+ w3m-ssl-ja - Japanese version with SSL (if w3m-ssl installed)
+
+Fumitoshi UKAI <ukai@debian.or.jp>, Mon Oct 30 11:40:54 2000 +0900
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..49b6e00
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,813 @@
+w3m (0.1.10+0.1.11pre+kokb23-4) stable; 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
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 20 Jun 2001 11:15:03 +0900
+
+w3m (0.1.10+0.1.11pre+kokb23-3) unstable; urgency=low
+
+ * don't remove pager alternative when upgrading, closes: Bug#87331
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 25 Feb 2001 00:27:58 +0900
+
+w3m (0.1.10+0.1.11pre+kokb23-2) unstable; urgency=high
+
+ * w3m-dev-01739
+ Add wheel mouse patch
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 19 Feb 2001 01:42:37 +0900
+
+w3m (0.1.10+0.1.11pre+kokb23-1) stable unstable; urgency=high
+
+ * new upstream pre release
+ more security fixes
+ - fix table stack overflow
+ - more internal tag and attribute check
+ - fix some buffer overflow bug
+ null character handling
+ * w3m-dev-01500
+ fix risky code in url.c
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 14 Dec 2000 01:10:10 +0900
+
+w3m (0.1.10+0.1.11pre+kokb22-1) stable unstable; urgency=high
+
+ * new upstream pre release
+ including important security fix
+ * apply patches on w3m-dev
+ w3m-dev-01432,01437,01443,01445
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 3 Dec 2000 01:36:42 +0900
+
+w3m (0.1.10+0.1.11pre+kokb21-3) unstable; urgency=high
+
+ * SECURITY FIX:
+ more checking internal tag
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 1 Dec 2000 11:46:50 +0900
+
+w3m (0.1.10+0.1.11pre+kokb21-2) unstable; urgency=HIGH
+
+ * SECURITY FIX:
+ check internal tag
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 1 Dec 2000 10:48:21 +0900
+
+w3m (0.1.10+0.1.11pre+kokb21-1) unstable; urgency=low
+
+ * new upstream pre release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 28 Nov 2000 10:59:02 +0900
+
+w3m (0.1.10+0.1.11pre+kokb20-1) unstable; urgency=low
+
+ * new upstream pre release
+ * fix mailcap handling, closes: Bug#77679
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 23 Nov 2000 05:47:03 +0900
+
+w3m (0.1.10+0.1.11pre+kokb19-2) unstable; urgency=low
+
+ * for JIS output, kanjicode=j instead of kanjicode=J, closes: Bug#76605
+ * fix configuration. no block in sig_chld(), closes: Bug#77167
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 19 Nov 2000 00:53:37 +0900
+
+w3m (0.1.10+0.1.11pre+kokb19-1) unstable; urgency=low
+
+ * new upstream pre release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 10 Nov 2000 00:27:36 +0900
+
+w3m (0.1.10+0.1.11pre+kokb18-3) unstable; urgency=low
+
+ * fix again rxvt mouse support, closes: Bug#76036
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 2 Nov 2000 18:47:13 +0900
+
+w3m (0.1.10+0.1.11pre+kokb18-2) unstable; urgency=low
+
+ * fix pager alternatives' slave
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 31 Oct 2000 10:28:15 +0900
+
+w3m (0.1.10+0.1.11pre+kokb18-1) unstable; urgency=low
+
+ * new upstream pre release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 30 Oct 2000 11:46:55 +0900
+
+w3m (0.1.10+0.1.11pre+kokb17-3) unstable; urgency=low
+
+ * apply patches
+ w3m-dev:01258 filename/URI input line completion
+ w3m-dev:01263 setting user mailcap and mime.type
+ w3m-dev:01269 news: URL fix
+ w3m-dev:01273 USE_NNTP fix
+ w3m-dev:01274 support nntp:
+ w3m-dev:01275 change squeeze multiple blank line option to -s
+ closes: Bug#75527
+ w3m-dev:01276 fix URL in visual mode
+ closes: Bug#75573
+ w3m-dev:01277 add Accept-Encoding: gzip
+ closes: Bug#74695
+ * (config.h-*) add USE_GOPHER, USE_NNTP
+ * w3m.sh: fix for -ppc, -o, -config
+ * w3m.1: update
+ * emacsen-startup: remove extra right paren, closes: Bug#75795
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 26 Oct 2000 21:42:45 +0900
+
+w3m (0.1.10+0.1.11pre+kokb17-2) unstable; urgency=low
+
+ * apply patches
+ w3m-dev:01240: fix segfault, incompatible pointer, closes: Bug#75513
+ w3m-dev:01247: cummulative menu patch
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 25 Oct 2000 12:38:14 +0900
+
+w3m (0.1.10+0.1.11pre+kokb17-1) unstable; urgency=low
+
+ * new upstream pre release with several patches
+ - can't reproduce "run in an xterm gets trashed by the \x96 character"
+ closes: Bug#53048
+ - fixed: w3m in xterm horribly confused by Japanese in title
+ closes: Bug#62474
+ - fixed: Won't warn if can't understand config files.
+ closes: Bug#74069
+ - apply keymap.lynx example could be better.
+ closes: Bug#74070
+ * include w3m.el
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 24 Oct 2000 13:37:53 +0900
+
+w3m (0.1.10-3) unstable; urgency=low
+
+ * several bug fixes:
+ - resize on rxvt works fine, closes: Bug#64678, #71597
+ - No segfault from history page in 0.1.10, closes: Bug#65101
+ - As bug submitter said, download problem was fixed in 0.1.10,
+ closes: Bug#66235
+ - no nbsp leaks with 0.1.10, closes: Bug#67581
+ - fix debian/rules to check -perm 0100 instead of -perm 0111,
+ closes: Bug#72100
+ - support rxvt mouse support: closes: Bug#71380, Bug#58280
+ - mailcap test, closes: Bug#63309
+ - quote space in form submit: closes: Bug#60825, Bug#67466
+ - ignore space in leading blanks: closes: Bug#66887
+ If you claim not yet fixed, please reopen
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 1 Oct 2000 04:15:08 +0900
+
+w3m (0.1.10-2) stable unstable; urgency=medium
+
+ * proposed-updates release
+ since I believe 0.1.10-1 (in woody) is more stable than 0.9.5-5 (in potato)
+ and I plan w3m move to next unstable/experimental release for woody,
+ so I'd like to put it in stable(proposed-updates)
+ I'd not like to backport to 0.9.5 from 0.1.10, because it might include
+ some bugs, so I think 0.1.10 (proven stable) is better than backported
+ 0.9.5
+ Followings are already fixed in 0.1.10 (and trivial fix to #72100),
+ - resize on rxvt works fine, closes: Bug#64678, #71597
+ - No segfault from history page in 0.1.10, closes: Bug#65101
+ - As bug submitter said, download problem was fixed in 0.1.10,
+ closes: Bug#66235
+ - no nbsp leaks with 0.1.10, closes: Bug#67581
+ - fix debian/rules to check -perm 0100 instead of -perm 0111,
+ closes: Bug#72100
+ If you claim not yet fixed, please reopen
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 27 Sep 2000 16:46:47 +0900
+
+w3m (0.1.10-1) unstable; urgency=low
+
+ * new upstream version
+ * apply patches in w3m-dev mailing-lists (until [w3m-dev 00899])
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 13 Jun 2000 17:17:25 +0900
+
+w3m (0.1.9-5) frozen unstable; urgency=medium
+
+ * fix bug of Segfaults on certain pages: 'http://www.linuxshop.cz/hardware.php3?typ=8&stranka=0&navrat=', closes: Bug#63937
+ * fixes Bug#64142: w3m and w3m-ssl doesn't work with zero length string proxy host.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 16 May 2000 02:00:28 +0900
+
+w3m (0.1.9-4) frozen unstable; urgency=medium
+
+ * Fix RC bug#63274, thanks Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>, closes: Bug#63274, Bug#62718.
+ * Fix RC bug#63721, closes: Bug#63423, Bug#63612, Bug#63721
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 8 May 2000 19:13:26 +0900
+
+w3m (0.1.9-3) frozen unstable; urgency=medium
+
+ * Fix RC bug#63274, thanks Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>, closes: Bug#63274, Bug#62718.
+ * I think this version also closes: Bug#63423, Bug#63612,
+ if not yet fixed, please reopen it
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 8 May 2000 01:06:15 +0900
+
+w3m (0.1.9-2) frozen unstable; urgency=HIGH
+
+ * security fix: remote exploit
+ - When viewing image by `I', web author can run arbitrary command in
+ user's environment, because of mishandling image URL.
+ This revision fixes this problem (from [w3m-dev 00518] Security hole)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 26 Apr 2000 01:24:11 +0900
+
+w3m (0.1.9-1) unstable; urgency=low
+
+ * new upstream version
+ * apply patches in w3m-dev mailing-lists
+ [w3m-dev 00482] [w3m-dev 00487] [w3m-dev 00483] [w3m-dev 00488]
+ * closes: Bug#62569
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 22 Apr 2000 04:22:03 +0900
+
+w3m (0.1.8-1) frozen unstable; urgency=medium
+
+ * apply patches in w3m-dev mailing-lists
+ * new upstream version
+ - security fix potential buffer overflow exploit
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 13 Apr 2000 00:49:49 +0900
+
+w3m (0.1.7-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 29 Jan 2000 02:27:00 +0900
+
+w3m (0.1.6-2) frozen unstable; urgency=high
+
+ * remove dependency (suggests) to libc6-bin
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 29 Jan 2000 01:10:04 +0900
+
+w3m (0.1.6-1) frozen unstable; urgency=high
+
+ * new upstream release fixing several bugs
+ - fix HTTP Auth mecanism, closes: Bug#51258
+ - When '<' is used as other than start of a tag, let the '<'
+ be displayed., closes: Bug#52566
+ - modify GPM support, closes: Bug#55735
+ - don't use graphics character for progress bar, closes: Bug#53053
+ - http://www.egreetings.com/v/spEJQDu7Zm doesn't causes an unstoppable
+ loop of cookies any more, closes: Bug#54334
+ - Accept discard attribute of Set-Cookie2.
+ - insert a blank line just after </dl>.
+ - <table> Geometry calculation bugfix.
+ - Bugfix of inputLineHist().
+ - fix handling the very strange frameset with only one frame.
+ <frameset rows="100%,*" ... >
+ - When no scheme is specified in the URL, w3m tries to open local file,
+ and when it fails w3m prepends "http://".
+ - target="_parent" support, frame-relatex bugfixes.
+ - Screen redraw bugfix.
+ * fix segfault aborting to send mail, closes: Bug#55833
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 22 Jan 2000 22:29:30 +0900
+
+w3m (0.1.4-4) frozen unstable; urgency=HIGH
+
+ * fix build-depends, libncurses4-dev -> libncurses5-dev
+ * do symlink usr/share/doc/w3m-ssl, instead of install it
+ closes: Bug#55215, Bug#55699
+ * (security) fix bug: password auth leaks passwords (both w3m and w3m-ssl
+ have the same bug), closes: Bug#55655
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 21 Jan 2000 01:32:51 +0900
+
+w3m (0.1.4-3) unstable; urgency=low
+
+ * apply patch [w3m-dev 00176] Right justification bug
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 15 Jan 2000 03:06:22 +0900
+
+w3m (0.1.4-2) unstable; urgency=low
+
+ * rebuild with latest version of libncurses5-dev and libgpmg1-dev
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 15 Jan 2000 01:38:42 +0900
+
+w3m (0.1.4-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 13 Jan 2000 00:38:11 +0900
+
+w3m (0.1.1-2) unstable; urgency=low
+
+ * bug in comment parsing
+ - apply patch from Bonard B.Timmons III <timmons@delanet.com>
+ closes: Bug#54703
+ * script interpreter should be /usr/bin/perl not /usr/local/bin/perl
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 12 Jan 2000 01:45:56 +0900
+
+w3m (0.1.1-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 6 Jan 2000 00:18:21 +0900
+
+w3m (0.0.19991203-4) unstable; urgency=low
+
+ * fix infinite loop in parse HTML, closes: Bug#53855
+ * apply wrapper patch from Jacobo Tarrio <jtarrio@ceu.fi.udc.es>
+ * English page for w3m already available, closes: Bug#52292
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 3 Jan 2000 02:33:22 +0900
+
+w3m (0.0.19991203-3) unstable; urgency=low
+
+ * Add option to configure ALT="" handling, closes: Bug#47001
+ (but it might be refused by upstream author...)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 7 Dec 1999 01:12:43 +0900
+
+w3m (0.0.19991203-2) unstable; urgency=low
+
+ * oops, fix bug in w3m shell wrapper, thanks Jacobo Tarrio <jtarrio@ctv.es>
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 5 Dec 1999 18:02:42 +0900
+
+w3m (0.0.19991203-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 3 Dec 1999 21:36:40 +0900
+
+w3m (0.0.19991126-5) unstable; urgency=low
+
+ * import wrapper script from Jacobo Tarrio <jtarrio@ceu.fi.udc.es>, thanks.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 3 Dec 1999 01:03:07 +0900
+
+w3m (0.0.19991126-4) unstable; urgency=low
+
+ * arrow keys available when TERM=xterm, closes: Bug#51582.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 1 Dec 1999 23:59:06 +0900
+
+w3m (0.0.19991126-3) unstable; urgency=low
+
+ * fix segfault with -v option, closes: Bug#51532
+ * recognize Content-Type:text/html (no space)
+ * fix out of order of anchor lists with nested table. (w3m-dev)
+ * fix some array out of range access to cause random segfault.
+ * apply Tsutomu Okada <okada@furuno.co.jp> patch in w3m-dev
+ * new w3m wrapper based on Jacobo Tarrio <jtarrio@ceu.fi.udc.es>,
+ closes: Bug#48474
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 1 Dec 1999 00:33:12 +0900
+
+w3m (0.0.19991126-2) unstable; urgency=low
+
+ * fixed fail to load help file
+ * fixed segfault bug in form selection
+ * apply patch to fix w3m crash with $WWW_HOME
+ by hsaka@mth.biglobe.ne.jp (Hironori Sakamoto) on w3m-dev ML
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 27 Nov 1999 18:00:43 +0900
+
+w3m (0.0.19991126-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 26 Nov 1999 23:44:26 +0900
+
+w3m (0.0.19991117-5) unstable; urgency=low
+
+ * fix mySystem() to handle quote in arguments
+ * fix memory allocation error, closes: Bug#51046
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 26 Nov 1999 02:25:10 +0900
+
+w3m (0.0.19991117-4) unstable; urgency=low
+
+ * build w3mbookmark both english version and japanese version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 22 Nov 1999 03:46:33 +0900
+
+w3m (0.0.19991117-3) unstable; urgency=medium
+
+ * help file loaded from /usr/share/w3m, closes: Bug#50774
+ * back changes wrapper scripts, closes: Bug#50737, Bug#50782, Bug#50738
+ but repoen Bug#48474
+ * w3mbookmark should be installed in /usr/lib/w3m
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 22 Nov 1999 02:49:21 +0900
+
+w3m (0.0.19991117-2) unstable; urgency=medium
+
+ * apply various patches reported in w3m-dev mailing-list, closes: Bug#50603
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 19 Nov 1999 16:14:23 +0900
+
+w3m (0.0.19991117-1) unstable; urgency=high
+
+ * apply patches, already reported in w3m-dev mailing-list
+ * new upstream version
+ - fix security problem, closes: Bug#50192
+ - add http:// when command line argument is not file, closes: Bug#48474
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 18 Nov 1999 17:08:27 +0900
+
+w3m (0.0.19991028.2-7) unstable; urgency=low
+
+ * fix check_no_proxy() possibly infinite loop?
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 13 Nov 1999 15:04:43 +0900
+
+w3m (0.0.19991028.2-6) unstable; urgency=low
+
+ * add dns_order, noproxy_netaddr for more good IPv6 support
+ thanks Takuo KITAME <kitame@northeye.org>, closes:47788
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 11 Nov 1999 01:39:14 +0900
+
+w3m (0.0.19991028.2-5) unstable; urgency=low
+
+ * (ftp.c) fix ftp login problem against proftpd.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 3 Nov 1999 04:20:42 +0900
+
+w3m (0.0.19991028.2-4) unstable; urgency=low
+
+ * (Str.c) Strgrow() must grow at least 2 bytes.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 1 Nov 1999 03:08:49 +0900
+
+w3m (0.0.19991028.2-3) unstable; urgency=low
+
+ * (Str.h) fix Strcat_char() macro, closes: Bug#48750.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 31 Oct 1999 23:38:36 +0900
+
+w3m (0.0.19991028.2-2) unstable; urgency=low
+
+ * need GC_stackbottom initialization in main.c, it closes Bug#48549,
+ segmentation fault on sparc architecture.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 30 Oct 1999 00:24:31 +0900
+
+w3m (0.0.19991028.2-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 29 Oct 1999 01:47:34 +0900
+
+w3m (0.0.19991027-1) unstable; urgency=low
+
+ * new upstream version
+ - fix check_expired_cookies, closes: Bug#48039
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 28 Oct 1999 00:38:21 +0900
+
+w3m (0.0.19991015-3) unstable; urgency=low
+
+ * probable bug in use of IS_SPACE() macro. closes: Bug#48211
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 26 Oct 1999 00:20:32 +0900
+
+w3m (0.0.19991015-2) unstable; urgency=low
+
+ * add -dump option for text/html copiousoutput in mime mailcap. closes: Bug#47558
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 16 Oct 1999 23:29:04 +0900
+
+w3m (0.0.19991015-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 15 Oct 1999 23:36:31 +0900
+
+w3m (0.0.19991008-3) unstable; urgency=low
+
+ * fix segfault for "w3m http:" with http_proxy
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 15 Oct 1999 01:29:36 +0900
+
+w3m (0.0.19991008-2) unstable; urgency=low
+
+ * apply file.c patch to fix Incorrect line breaking by upstream author
+ in w3m-dev ML. closes: Bug#47087
+ * change `#ifdef TIOCGWINSZ' to `#ifndef TIOCGWINSZ'.
+ closes: Bug#47153.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 14 Oct 1999 00:55:46 +0900
+
+w3m (0.0.19991008-1) unstable; urgency=low
+
+ * dont quote %s in debian/mime, closes: Bug#45920
+ * new upstream version.
+ - Never hangup if a page has when too much links. closes: Bug#46381
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 9 Oct 1999 02:33:27 +0900
+
+w3m (0.0.19991007-1) unstable; urgency=low
+
+ * add copiousoutput type mime hander like lynx, closes: Bug#46416
+ * apply patch to fix some enbug in new upstream (from w3m-dev)
+ * new upstream version
+ add support cookie and SSL.
+ but SSl is not configured by this debian package (todo)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 8 Oct 1999 01:31:00 +0900
+
+w3m (0.0.19990928-2) unstable; urgency=low
+
+ * recompiled with libgc5-dev
+ * w3m is pager alternatives, closes: Bug#46192
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 29 Sep 1999 13:15:57 +0900
+
+w3m (0.0.19990928-1) unstable; urgency=low
+
+ * new upstream release
+ * apply Hironori Sakamoto <h-saka@lsi.nec.co.jp> patch
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 29 Sep 1999 00:35:14 +0900
+
+w3m (0.0.19990916-1) unstable; urgency=low
+
+ * new upstream release
+ * adapt to FHS
+ * available ~/.w3m/keymap (see /usr/share/doc/w3m/examples/keymap.lynx), closes: Bug#44421
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 21 Sep 1999 02:34:16 +0900
+
+w3m (0.0.19990820-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 21 Aug 1999 02:44:14 +0900
+
+w3m (0.0.19990817-1) unstable; urgency=low
+
+ * new development release
+ * display ISO-8859-1 characters probably, closes: Bug#41988
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 18 Aug 1999 02:23:15 +0900
+
+w3m (0.0.19990815-2) unstable; urgency=low
+
+ * (url.c, ftp.c) fix INET6 patch; explicit port number in URL is ignored
+ * build both w3m-en and w3m-ja. These are dispatched in w3m by locale configurations.
+ * (file.c) fix ullevel chars (gt;)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 17 Aug 1999 00:40:53 +0900
+
+w3m (0.0.19990815-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 16 Aug 1999 00:29:16 +0900
+
+w3m (0.0.19990814-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 14 Aug 1999 22:07:34 +0900
+
+w3m (0.0.19990716-3) unstable; urgency=low
+
+ * Applied IPv6 patch (from kitame@debian.gr.jp)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 14 Aug 1999 00:31:23 +0900
+
+w3m (0.0.19990716-2) unstable; urgency=low
+
+ * auto decompress gzip file
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 5 Aug 1999 18:07:47 +0000
+
+w3m (0.0.19990716-1) unstable; urgency=low
+
+ * new upstream version
+ * link with libgc.so.4 again
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 18 Jul 1999 17:01:58 +0900
+
+w3m (0.0.19990625-1) unstable; urgency=low
+
+ * Backspace is ^?
+ * build with bundled libgc4 instead of libgc4 package, because
+ with libgc.so.4, w3m hangs up when resizing
+ * apply <hsaka@mth.biglobe.ne.jp> <19990707102422@ei5nazha> patch
+ * apply aito <19990701100806@ei5nazha> patch fix <P> behavior
+ * apply w3m-990625-30.diff.gz
+ * New upsteam version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 10 Jul 1999 13:51:04 +0900
+
+w3m (0.0.19990609-2) unstable; urgency=low
+
+ * (debian/mime) remove text/plain entry, because netscape navigator
+ will hang up by this entry.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 15 Jun 1999 03:05:46 +0900
+
+w3m (0.0.19990609-1) unstable; urgency=low
+
+ * New upstream version
+ - fix <dl compact> handling, thanks hsaka@mth.biglobe.ne.jp
+ - (new option) -no-mouse
+ - fix bugs about nested <nobr>,<pre>
+ - fix table width calculation when <table> has <nobr> and <br> or <p> in it
+ thanks, okabe@okaibm.hep.okayama-u.ac.jp
+ - fix password handling
+ - (portability) `char == unsigned char' environments
+ - fix bug when unclosed comments in table.
+ thanks okabe@okaibm.hep.okayama-u.ac.jp
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 11 Jun 1999 03:34:59 +0900
+
+w3m (0.0.19990604-1) unstable; urgency=low
+
+ * New upstream version
+ - page up/down, previous page by mouse
+ - fix handling of '#' in filename
+ - better support for mouse
+ - fix password handling
+ - support mouse drag
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 6 Jun 1999 05:03:26 +0900
+
+w3m (0.0.19990526-1) unstable; urgency=low
+
+ * apply patch
+ http://ei5nazha.yz.yamagata-u.ac.jp/BBS/spool/log.html
+ <19990527130634@ei5nazha>
+ * New upsteam version
+ - fix interpretation of `#' of filename
+ - (new feature) line number display
+ - add new option -no-proxy
+ - mouse support, thanks ytake@phys2.med.osaka-u.ac.jp
+ - fix width calculation when `&...;' thanks okabe@okaibm.hep.okayama-u.ac.jp
+ - (new feature) 1 line horizontal scroll, thanks shim@nw.bs1.fc.nec.co.jp
+ - support <wbr>
+ - fix space handling in table
+ - fix width calculation <nobr>..</nobr> in table
+ - use ARTICLE instead of article to get article via NNTP, thanks patakuti@t3.rim.or.jp
+ - fix openURL() initialization
+ - fix invalid character entity in table, thanks mituharu@math.s.chiba-u.ac.jp
+ - view source if it's not HTML
+ - display character entity as much as possible
+ - fix compile error
+ - add new option +line-number, thanks shim@nw.bs1.fc.nec.co.jp
+ - fix <nobr>..</nobr> handling
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 29 May 1999 01:15:03 +0900
+
+w3m (0.0.19990512-1) unstable; urgency=low
+
+ * New upstream version
+ - save cursor position when scrolling by J or K (by shim@nw.bs1.fc.nec.co.jp)
+ - display reading status at bottom line when text/plain
+ - fix justification by <div><center>
+ - display progress bar when Content-Length available.
+ - display HTTP header information by '='
+ - fix successful empty line when </OL></UL> are continued.
+ - newline by <LI> outside <OL><UL>
+ - print abolute pathname by 'u' (by tnh@aurora.dti.ne.jp)
+ - break C-c
+ - enhance save link destination by yukihiko@yk.rim.or.jp
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 13 May 1999 02:53:13 +0900
+
+w3m (0.0.19990430-1) unstable; urgency=low
+
+ * don't install html2latex, because it will conflicts with html2latex package
+ closes bug#36707.
+ * New upstream version
+ - keep HTTP header information in buffer
+ - "Last Modified" in information screen by `='
+ - don't add "Referer:" if ftp with user or password specified
+ - enhance newline judgement
+ - can specify count for command
+ - new feature: save document of link destination
+ - ftp order
+ - new feature: ftp://username@hostname/file
+ - ftp can be put in bookmark
+ - fix bug: getpwuid() in ftp
+ - enable align attribute in <Hn>, <P>
+ - fix leading space
+ - fix bug in resizing
+ - edit by ESC e
+ - support ftp://user:password@host/file
+ - default is current URL when `U'
+ - support EUC X0201 Kana
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 1 May 1999 01:45:23 +0900
+
+w3m (0.0.19990421-1) unstable; urgency=low
+
+ * remove reference to info page from w3m.1 because this package
+ does not have info pages, closes Bug#35093.
+ * New upstream version
+ - fix order of include "config.h" in term.c
+ - fix bug to dump core when URL is ""
+ - fix english message symbol in rc.c
+ - new feature: ftp password
+ - fix <tag attr=> parsing
+ - don't put character at right bottom edge to prevent scrolling on
+ some terminal emulators.
+ - buffer overrun bug fix
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 21 Apr 1999 20:54:56 +0900
+
+w3m (0.0.19990406-1) unstable; urgency=low
+
+ * buffer overrun bug fix
+ * New upstream version
+ - add Bonus scripts (ruby package can be found in Debian JP)
+ - add supports to browse pages with password.
+ - new feature: local CGI
+ - new feature: local directory index
+ - fix imagemap for Kanji map name
+ - fix width calculation for HTML elements
+ - add -halfdump option
+ - fix parseURL2 for "#label" type of URL
+ - deal with stuid Kanji URL
+ - (configure): 'pxvt' -> 'rxvt'
+ - fix for <base href=""> handling
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 9 Apr 1999 23:57:36 +0900
+
+w3m (0.0.19990330-1) unstable; urgency=low
+
+ * New upstream version
+ - ':' commands treats ',' as URL character.
+ - use sigsetjmp()/siglongjmp()
+ - fix color reset problems
+ * close Bug#35093, w3m has no Info pages.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 5 Apr 1999 20:04:34 +0900
+
+w3m (0.0.19990323-1) unstable; urgency=low
+
+ * New upstream version
+ - fix redirected POST method
+ - fix <nobr> in nested table
+ - reorganized option screen
+ - auto URL display mode
+ - send CRLF in POST
+ - `M' invoke external viewer
+ - fix color bugs
+ - fix bug about relative path
+ - fix "&" in <img alt="...">
+ - enable -F (frame rendering) with -dump option
+ - newline surroudings of <ADDRESS>
+ - fix core dump when cursor move in empty buffer
+ - can be used IP address for NO_PROXY
+ - support multiple IP hosts
+ - fix <pre> in frame
+ - fix cbreak return from loadGeneralFile()
+ - fix <caption> bug
+ - fix &hoge;
+ - fix cell width bug when COLSPAN > 2
+ - fix -dump
+ - add support Accept-Language
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 24 Mar 1999 19:46:05 +0900
+
+w3m (0.0.19990313-1) unstable; urgency=low
+
+ * New upstream version
+ - fix external viewer invokation
+ - add "=" command to show information about document
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 14 Mar 1999 01:39:41 +0900
+
+w3m (0.0.19990310-1) unstable; urgency=low
+
+ * New upstream version
+ - support resize
+ - fix setlinescols
+ - Pragma: no-cache
+ - fix table rendering for 2byte chars
+ - <style> parse fix
+ - fix configure
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 11 Mar 1999 00:30:25 +0900
+
+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/changelog-ssl b/debian/changelog-ssl
new file mode 100644
index 0000000..4085e0c
--- /dev/null
+++ b/debian/changelog-ssl
@@ -0,0 +1,810 @@
+w3m-ssl (0.1.10+0.1.11pre+kokb23-4) stable; 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)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 20 Jun 2001 11:15:03 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb23-3) unstable; urgency=low
+
+ * don't remove pager alternative when upgrading, (same as Bug#87331)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 25 Feb 2001 00:27:58 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb23-2) unstable; urgency=high
+
+ * link with libssl096, closes: Bug#66306, Bug#86387, Bug#83681, Bug#82271
+ * view information on SSL certificates, closes: Bug#79689
+ * w3m-dev-01739
+ Add wheel mouse patch
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 19 Feb 2001 01:42:37 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb23-1) stable unstable; urgency=high
+
+ * new upstream pre release
+ more security fixes
+ - fix table stack overflow
+ - more internal tag and attribute check
+ - fix some buffer overflow bug
+ null character handling
+ * w3m-dev-01500
+ fix risky code in url.c
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 14 Dec 2000 01:10:10 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb22-1) stable unstable; urgency=high
+
+ * new upstream pre release
+ including important security fix
+ * apply patches on w3m-dev
+ w3m-dev-01432,01437,01443,01445
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 3 Dec 2000 01:36:42 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb21-3) unstable; urgency=high
+
+ * SECURITY FIX:
+ more checking internal tag
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 1 Dec 2000 11:46:50 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb21-2) unstable; urgency=HIGH
+
+ * SECURITY FIX:
+ check internal tag
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 1 Dec 2000 10:48:21 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb21-1) unstable; urgency=low
+
+ * new upstream pre release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 28 Nov 2000 10:59:02 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb20-1) unstable; urgency=low
+
+ * new upstream pre release
+ * fix mailcap handling, closes: Bug#77679
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 23 Nov 2000 05:47:03 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb19-2) unstable; urgency=low
+
+ * for JIS output, kanjicode=j instead of kanjicode=J, closes: Bug#76605
+ * fix configuration. no block in sig_chld(), closes: Bug#77167
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 19 Nov 2000 00:53:37 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb19-1) unstable; urgency=low
+
+ * new upstream pre release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 10 Nov 2000 00:27:36 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb18-3) unstable; urgency=low
+
+ * fix again rxvt mouse support, closes: Bug#76036
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 2 Nov 2000 18:47:13 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb18-2) unstable; urgency=low
+
+ * fix pager alternatives' slave
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 31 Oct 2000 10:28:15 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb18-1) unstable; urgency=low
+
+ * new upstream pre release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 30 Oct 2000 11:46:55 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb17-3) unstable; urgency=low
+
+ * apply patches
+ w3m-dev:01258 filename/URI input line completion
+ w3m-dev:01263 setting user mailcap and mime.type
+ w3m-dev:01269 news: URL fix
+ w3m-dev:01273 USE_NNTP fix
+ w3m-dev:01274 support nntp:
+ w3m-dev:01275 change squeeze multiple blank line option to -s
+ closes: Bug#75527
+ w3m-dev:01276 fix URL in visual mode
+ closes: Bug#75573
+ w3m-dev:01277 add Accept-Encoding: gzip
+ closes: Bug#74695
+ * (config.h-*) add USE_GOPHER, USE_NNTP
+ * w3m.sh: fix for -ppc, -o, -config
+ * w3m.1: update
+ * emacsen-startup: remove extra right paren, closes: Bug#75795
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 26 Oct 2000 21:42:45 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb17-2) unstable; urgency=low
+
+ * apply patches
+ w3m-dev:01240: fix segfault, incompatible pointer, closes: Bug#75513
+ w3m-dev:01247: cummulative menu patch
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 25 Oct 2000 12:38:30 +0900
+
+w3m-ssl (0.1.10+0.1.11pre+kokb17-1) unstable; urgency=low
+
+ * new upstream pre release with several patches
+ - can't reproduce "run in an xterm gets trashed by the \x96 character"
+ closes: Bug#53048
+ - fixed: w3m in xterm horribly confused by Japanese in title
+ closes: Bug#62474
+ - fixed: Won't warn if can't understand config files.
+ closes: Bug#74069
+ - apply keymap.lynx example could be better.
+ closes: Bug#74070
+ * include w3m.el
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 24 Oct 2000 13:37:53 +0900
+
+w3m-ssl (0.1.10-3) unstable; urgency=low
+
+ * several bug fixes:
+ - resize on rxvt works fine, closes: Bug#64678, #71597
+ - No segfault from history page in 0.1.10, closes: Bug#65101
+ - As bug submitter said, download problem was fixed in 0.1.10,
+ closes: Bug#66235
+ - no nbsp leaks with 0.1.10, closes: Bug#67581
+ - fix debian/rules to check -perm 0100 instead of -perm 0111,
+ closes: Bug#72100
+ - support rxvt mouse support: closes: Bug#71380, Bug#58280
+ - mailcap test, closes: Bug#63309
+ - quote space in form submit: closes: Bug#60825, Bug#67466
+ - ignore space in leading blanks: closes: Bug#66887
+ If you claim not yet fixed, please reopen
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 1 Oct 2000 04:15:08 +0900
+
+w3m-ssl (0.1.10-2) stable unstable; urgency=medium
+
+ * proposed-updates release
+ since I believe 0.1.10-1 (in woody) is more stable than 0.9.5-5 (in potato)
+ and I plan w3m move to next unstable/experimental release for woody,
+ so I'd like to put it in stable(proposed-updates)
+ I'd not like to backport to 0.9.5 from 0.1.10, because it might include
+ some bugs, so I think 0.1.10 (proven stable) is better than backported
+ 0.9.5
+ Followings are already fixed in 0.1.10 (and trivial fix to #72100),
+ - resize on rxvt works fine, closes: Bug#64678, #71597
+ - No segfault from history page in 0.1.10, closes: Bug#65101
+ - As bug submitter said, download problem was fixed in 0.1.10,
+ closes: Bug#66235
+ - no nbsp leaks with 0.1.10, closes: Bug#67581
+ - fix debian/rules to check -perm 0100 instead of -perm 0111,
+ closes: Bug#72100
+ If you claim not yet fixed, please reopen
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 27 Sep 2000 16:46:47 +0900
+
+w3m-ssl (0.1.10-1) unstable; urgency=low
+
+ * new upstream version
+ * apply patches in w3m-dev mailing-lists (until [w3m-dev 00899])
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 13 Jun 2000 17:35:31 +0900
+
+w3m-ssl (0.1.9-5) frozen unstable; urgency=high
+
+ * fix bug of Segfaults on certain pages: 'http://www.linuxshop.cz/hardware.php3?typ=8&stranka=0&navrat=', closes: Bug#63937
+ * closes: Bug#64142: w3m and w3m-ssl doesn't work with zero length string proxy host.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 16 May 2000 01:58:23 +0900
+
+w3m-ssl (0.1.9-4) frozen unstable; urgency=high
+
+ * Fix RC bug#63274, thanks Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>, closes: Bug#63274, Bug#62718.
+ * Fix RC bug#63721, closes: Bug#63423, Bug#63612, Bug#63721
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 8 May 2000 19:14:35 +0900
+
+w3m-ssl (0.1.9-3) frozen unstable; urgency=high
+
+ * Fix RC bug#63274, thanks Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>, closes: Bug#63274, Bug#62718.
+ * I think this version also closes: Bug#63423, Bug#63612,
+ if not yet fixed, please reopen it
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 8 May 2000 01:10:48 +0900
+
+w3m-ssl (0.1.9-2) frozen unstable; urgency=HIGH
+
+ * security fix: remote exploit
+ - When viewing image by `I', web author can run arbitrary command in
+ user's environment, because of mishandling image URL.
+ This revision fixes this problem (from [w3m-dev 00518] Security hole)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 26 Apr 2000 01:38:58 +0900
+
+w3m-ssl (0.1.9-1) unstable; urgency=low
+
+ * new upstream version
+ * apply patches in w3m-dev mailing-lists
+ [w3m-dev 00482] [w3m-dev 00487] [w3m-dev 00483] [w3m-dev 00488]
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 22 Apr 2000 03:58:27 +0900
+
+w3m-ssl (0.1.8-1) frozen unstable; urgency=medium
+
+ * apply patches in w3m-dev mailing-lists
+ * new upstream version
+ - security fix potential buffer overflow exploit
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 13 Apr 2000 00:52:01 +0900
+
+w3m-ssl (0.1.7-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 29 Jan 2000 02:27:18 +0900
+
+w3m-ssl (0.1.6-2) frozen unstable; urgency=high
+
+ * do doc file symlink instead of doc directory symlinks,
+ closes: Bug#56401, Bug#56405.
+ I do symlink because almost of all documents of w3m and w3m-ssl
+ is identical. Difference between w3m and w3m-ssl is only
+ that w3m-ssl is built with SSL library
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 29 Jan 2000 01:29:11 +0900
+
+w3m-ssl (0.1.6-1) frozen unstable; urgency=high
+
+ * This fix also apply to w3m-ssl too, because difference between w3m
+ and w3m-ssl is only ssl supports.
+ * new upstream release fixing several bugs
+ - fix HTTP Auth mecanism, closes: Bug#51258
+ - When '<' is used as other than start of a tag, let the '<'
+ be displayed., closes: Bug#52566
+ - modify GPM support, closes: Bug#55735
+ - don't use graphics character for progress bar, closes: Bug#53053
+ - http://www.egreetings.com/v/spEJQDu7Zm doesn't causes an unstoppable
+ loop of cookies any more, closes: Bug#54334
+ - Accept discard attribute of Set-Cookie2.
+ - insert a blank line just after </dl>.
+ - <table> Geometry calculation bugfix.
+ - Bugfix of inputLineHist().
+ - fix handling the very strange frameset with only one frame.
+ <frameset rows="100%,*" ... >
+ - When no scheme is specified in the URL, w3m tries to open local file,
+ and when it fails w3m prepends "http://".
+ - target="_parent" support, frame-relatex bugfixes.
+ - Screen redraw bugfix.
+ * fix segfault aborting to send mail, closes: Bug#55833
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 22 Jan 2000 23:26:49 +0900
+
+w3m-ssl (0.1.4-4) frozen unstable; urgency=HIGH
+
+ * fix build-depends, libncurses4-dev -> libncurses5-dev
+ * do symlink usr/share/doc/w3m-ssl, instead of install it
+ closes: Bug#55215, Bug#55699
+ * (security) fix bug: password auth leaks passwords (both w3m and w3m-ssl
+ have the same bug), closes: Bug#55655
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 20 Jan 2000 19:21:27 +0900
+
+w3m-ssl (0.1.4-3) unstable; urgency=low
+
+ * apply patch [w3m-dev 00176] Right justification bug
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 15 Jan 2000 03:06:43 +0900
+
+w3m-ssl (0.1.4-2) unstable; urgency=low
+
+ * rebuild with latest version of libncurses5-dev and libgpmg1-dev
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 15 Jan 2000 01:39:28 +0900
+
+w3m-ssl (0.1.4-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 13 Jan 2000 00:38:33 +0900
+
+w3m-ssl (0.1.1-2) unstable; urgency=low
+
+ * bug in comment parsing
+ - apply patch from Bonard B.Timmons III <timmons@delanet.com>
+ closes: Bug#54703
+ * script interpreter should be /usr/bin/perl not /usr/local/bin/perl
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 12 Jan 2000 01:48:15 +0900
+
+w3m-ssl (0.1.1-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 6 Jan 2000 00:18:39 +0900
+
+w3m-ssl (0.0.19991203-4) unstable; urgency=low
+
+ * fix infinite loop in parse HTML, closes: Bug#53855
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 3 Jan 2000 02:16:58 +0900
+
+w3m-ssl (0.0.19991203-3) unstable; urgency=low
+
+ * Add option to configure ALT="" handling, closes: Bug#47001
+ (but it might be refused by upstream author...)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 7 Dec 1999 01:14:21 +0900
+
+w3m-ssl (0.0.19991203-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 3 Dec 1999 21:37:13 +0900
+
+w3m-ssl (0.0.19991126-4) unstable; urgency=low
+
+ * arrow keys available when TERM=xterm, closes: Bug#51582.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 2 Dec 1999 00:00:46 +0900
+
+w3m-ssl (0.0.19991126-3) unstable; urgency=low
+
+ * fix segfault with -v option, closes: Bug#51532
+ * recognize Content-Type:text/html (no space)
+ * fix out of order of anchor lists with nested table. (w3m-dev)
+ * fix some array out of range access to cause random segfault.
+ * apply Tsutomu Okada <okada@furuno.co.jp> patch in w3m-dev
+ * new w3m wrapper based on Jacobo Tarrio <jtarrio@ceu.fi.udc.es>,
+ closes: Bug#48474
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 1 Dec 1999 00:51:14 +0900
+
+w3m-ssl (0.0.19991126-2) unstable; urgency=low
+
+ * fixed fail to load help file
+ * fixed segfault bug in form selection
+ * apply patch to fix w3m crash with $WWW_HOME
+ by hsaka@mth.biglobe.ne.jp (Hironori Sakamoto) on w3m-dev ML
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 27 Nov 1999 18:08:32 +0900
+
+w3m-ssl (0.0.19991126-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 26 Nov 1999 23:46:35 +0900
+
+w3m-ssl (0.0.19991117-5) unstable; urgency=low
+
+ * fix mySystem() to handle quote in arguments
+ * fix memory allocation error, closes: Bug#51046
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 26 Nov 1999 02:33:57 +0900
+
+w3m-ssl (0.0.19991117-4) unstable; urgency=low
+
+ * should depends: w3m (>= 0.0.19991117-4) for w3mbookmark
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 22 Nov 1999 03:47:15 +0900
+
+w3m-ssl (0.0.19991117-3) unstable; urgency=medium
+
+ * help file loaded from /usr/share/w3m, closes: Bug#50774
+ * back changes wrapper scripts, closes: Bug#50737, Bug#50782, Bug#50738
+ but repoen Bug#48474
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 22 Nov 1999 02:49:56 +0900
+
+w3m-ssl (0.0.19991117-2) unstable; urgency=medium
+
+ * apply various patches reported in w3m-dev mailing-list, closes: Bug#50603
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 19 Nov 1999 16:15:05 +0900
+
+w3m-ssl (0.0.19991117-1) unstable; urgency=high
+
+ * apply patches, already reported in w3m-dev mailing-list
+ * new upstream version
+ - fix security problem, closes: Bug#50192
+ - add http:// when command line argument is not file, closes: Bug#48474
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 18 Nov 1999 17:08:27 +0900
+
+w3m-ssl (0.0.19991028.2-7) unstable; urgency=low
+
+ * fix check_no_proxy() possibly infinite loop?
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 13 Nov 1999 15:05:41 +0900
+
+w3m-ssl (0.0.19991028.2-6) unstable; urgency=low
+
+ * add dns_order, noproxy_netaddr for more good IPv6 support
+ thanks Takuo KITAME <kitame@northeye.org>, closes:47788
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 11 Nov 1999 01:42:53 +0900
+
+w3m-ssl (0.0.19991028.2-5.1) unstable; urgency=low
+
+ * add dependency w3m (>= 0.0.19991015-1) because old version of
+ /usr/bin/w3m does not support w3m-ssl, closes: Bug#49665
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 10 Nov 1999 01:20:16 +0900
+
+w3m-ssl (0.0.19991028.2-5) unstable; urgency=low
+
+ * (ftp.c) fix ftp login problem against proftpd.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 3 Nov 1999 04:21:54 +0900
+
+w3m-ssl (0.0.19991028.2-4) unstable; urgency=low
+
+ * (Str.c) Strgrow() must grow at least 2 bytes.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 1 Nov 1999 03:15:54 +0900
+
+w3m-ssl (0.0.19991028.2-3) unstable; urgency=low
+
+ * (Str.h) fix Strcat_char() macro.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 31 Oct 1999 23:43:22 +0900
+
+w3m-ssl (0.0.19991028.2-2) unstable; urgency=low
+
+ * need GC_stackbottom initialization in main.c, it closes Bug#48549,
+ segmentation fault on sparc architecture.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 30 Oct 1999 00:31:31 +0900
+
+w3m-ssl (0.0.19991028.2-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 29 Oct 1999 01:47:55 +0900
+
+w3m-ssl (0.0.19991027-1) unstable; urgency=low
+
+ * new upstream version
+ - fix check_expired_cookies, closes: Bug#48039
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 28 Oct 1999 00:41:21 +0900
+
+w3m-ssl (0.0.19991015-3) unstable; urgency=low
+
+ * probable bug in use of IS_SPACE() macro. closes: Bug#48211
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 26 Oct 1999 00:20:32 +0900
+
+w3m-ssl (0.0.19991015-1) unstable; urgency=low
+
+ * Initial release with SSL
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 15 Oct 1999 23:36:51 +0900
+
+w3m (0.0.19991015-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 15 Oct 1999 23:36:31 +0900
+
+w3m (0.0.19991008-3) unstable; urgency=low
+
+ * fix segfault for "w3m http:" with http_proxy
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 15 Oct 1999 01:29:36 +0900
+
+w3m (0.0.19991008-2) unstable; urgency=low
+
+ * apply file.c patch to fix Incorrect line breaking by upstream author
+ in w3m-dev ML. closes: Bug#47087
+ * change `#ifdef TIOCGWINSZ' to `#ifndef TIOCGWINSZ'.
+ closes: Bug#47153.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 14 Oct 1999 00:55:46 +0900
+
+w3m (0.0.19991008-1) unstable; urgency=low
+
+ * dont quote %s in debian/mime, closes: Bug#45920
+ * new upstream version.
+ - Never hangup if a page has when too much links. closes: Bug#46381
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 9 Oct 1999 02:33:27 +0900
+
+w3m (0.0.19991007-1) unstable; urgency=low
+
+ * add copiousoutput type mime hander like lynx, closes: Bug#46416
+ * apply patch to fix some enbug in new upstream (from w3m-dev)
+ * new upstream version
+ add support cookie and SSL.
+ but SSl is not configured by this debian package (todo)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 8 Oct 1999 01:31:00 +0900
+
+w3m (0.0.19990928-2) unstable; urgency=low
+
+ * recompiled with libgc5-dev
+ * w3m is pager alternatives, closes: Bug#46192
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 29 Sep 1999 13:15:57 +0900
+
+w3m (0.0.19990928-1) unstable; urgency=low
+
+ * new upstream release
+ * apply Hironori Sakamoto <h-saka@lsi.nec.co.jp> patch
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 29 Sep 1999 00:35:14 +0900
+
+w3m (0.0.19990916-1) unstable; urgency=low
+
+ * new upstream release
+ * adapt to FHS
+ * available ~/.w3m/keymap (see /usr/share/doc/w3m/examples/keymap.lynx), closes: Bug#44421
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 21 Sep 1999 02:34:16 +0900
+
+w3m (0.0.19990820-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 21 Aug 1999 02:44:14 +0900
+
+w3m (0.0.19990817-1) unstable; urgency=low
+
+ * new development release
+ * display ISO-8859-1 characters probably, closes: Bug#41988
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 18 Aug 1999 02:23:15 +0900
+
+w3m (0.0.19990815-2) unstable; urgency=low
+
+ * (url.c, ftp.c) fix INET6 patch; explicit port number in URL is ignored
+ * build both w3m-en and w3m-ja. These are dispatched in w3m by locale configurations.
+ * (file.c) fix ullevel chars (gt;)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 17 Aug 1999 00:40:53 +0900
+
+w3m (0.0.19990815-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 16 Aug 1999 00:29:16 +0900
+
+w3m (0.0.19990814-1) unstable; urgency=low
+
+ * new upstream version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 14 Aug 1999 22:07:34 +0900
+
+w3m (0.0.19990716-3) unstable; urgency=low
+
+ * Applied IPv6 patch (from kitame@debian.gr.jp)
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 14 Aug 1999 00:31:23 +0900
+
+w3m (0.0.19990716-2) unstable; urgency=low
+
+ * auto decompress gzip file
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 5 Aug 1999 18:07:47 +0000
+
+w3m (0.0.19990716-1) unstable; urgency=low
+
+ * new upstream version
+ * link with libgc.so.4 again
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 18 Jul 1999 17:01:58 +0900
+
+w3m (0.0.19990625-1) unstable; urgency=low
+
+ * Backspace is ^?
+ * build with bundled libgc4 instead of libgc4 package, because
+ with libgc.so.4, w3m hangs up when resizing
+ * apply <hsaka@mth.biglobe.ne.jp> <19990707102422@ei5nazha> patch
+ * apply aito <19990701100806@ei5nazha> patch fix <P> behavior
+ * apply w3m-990625-30.diff.gz
+ * New upsteam version
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 10 Jul 1999 13:51:04 +0900
+
+w3m (0.0.19990609-2) unstable; urgency=low
+
+ * (debian/mime) remove text/plain entry, because netscape navigator
+ will hang up by this entry.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Tue, 15 Jun 1999 03:05:46 +0900
+
+w3m (0.0.19990609-1) unstable; urgency=low
+
+ * New upstream version
+ - fix <dl compact> handling, thanks hsaka@mth.biglobe.ne.jp
+ - (new option) -no-mouse
+ - fix bugs about nested <nobr>,<pre>
+ - fix table width calculation when <table> has <nobr> and <br> or <p> in it
+ thanks, okabe@okaibm.hep.okayama-u.ac.jp
+ - fix password handling
+ - (portability) `char == unsigned char' environments
+ - fix bug when unclosed comments in table.
+ thanks okabe@okaibm.hep.okayama-u.ac.jp
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 11 Jun 1999 03:34:59 +0900
+
+w3m (0.0.19990604-1) unstable; urgency=low
+
+ * New upstream version
+ - page up/down, previous page by mouse
+ - fix handling of '#' in filename
+ - better support for mouse
+ - fix password handling
+ - support mouse drag
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 6 Jun 1999 05:03:26 +0900
+
+w3m (0.0.19990526-1) unstable; urgency=low
+
+ * apply patch
+ http://ei5nazha.yz.yamagata-u.ac.jp/BBS/spool/log.html
+ <19990527130634@ei5nazha>
+ * New upsteam version
+ - fix interpretation of `#' of filename
+ - (new feature) line number display
+ - add new option -no-proxy
+ - mouse support, thanks ytake@phys2.med.osaka-u.ac.jp
+ - fix width calculation when `&...;' thanks okabe@okaibm.hep.okayama-u.ac.jp
+ - (new feature) 1 line horizontal scroll, thanks shim@nw.bs1.fc.nec.co.jp
+ - support <wbr>
+ - fix space handling in table
+ - fix width calculation <nobr>..</nobr> in table
+ - use ARTICLE instead of article to get article via NNTP, thanks patakuti@t3.rim.or.jp
+ - fix openURL() initialization
+ - fix invalid character entity in table, thanks mituharu@math.s.chiba-u.ac.jp
+ - view source if it's not HTML
+ - display character entity as much as possible
+ - fix compile error
+ - add new option +line-number, thanks shim@nw.bs1.fc.nec.co.jp
+ - fix <nobr>..</nobr> handling
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 29 May 1999 01:15:03 +0900
+
+w3m (0.0.19990512-1) unstable; urgency=low
+
+ * New upstream version
+ - save cursor position when scrolling by J or K (by shim@nw.bs1.fc.nec.co.jp)
+ - display reading status at bottom line when text/plain
+ - fix justification by <div><center>
+ - display progress bar when Content-Length available.
+ - display HTTP header information by '='
+ - fix successful empty line when </OL></UL> are continued.
+ - newline by <LI> outside <OL><UL>
+ - print abolute pathname by 'u' (by tnh@aurora.dti.ne.jp)
+ - break C-c
+ - enhance save link destination by yukihiko@yk.rim.or.jp
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 13 May 1999 02:53:13 +0900
+
+w3m (0.0.19990430-1) unstable; urgency=low
+
+ * don't install html2latex, because it will conflicts with html2latex package
+ closes bug#36707.
+ * New upstream version
+ - keep HTTP header information in buffer
+ - "Last Modified" in information screen by `='
+ - don't add "Referer:" if ftp with user or password specified
+ - enhance newline judgement
+ - can specify count for command
+ - new feature: save document of link destination
+ - ftp order
+ - new feature: ftp://username@hostname/file
+ - ftp can be put in bookmark
+ - fix bug: getpwuid() in ftp
+ - enable align attribute in <Hn>, <P>
+ - fix leading space
+ - fix bug in resizing
+ - edit by ESC e
+ - support ftp://user:password@host/file
+ - default is current URL when `U'
+ - support EUC X0201 Kana
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sat, 1 May 1999 01:45:23 +0900
+
+w3m (0.0.19990421-1) unstable; urgency=low
+
+ * remove reference to info page from w3m.1 because this package
+ does not have info pages, closes Bug#35093.
+ * New upstream version
+ - fix order of include "config.h" in term.c
+ - fix bug to dump core when URL is ""
+ - fix english message symbol in rc.c
+ - new feature: ftp password
+ - fix <tag attr=> parsing
+ - don't put character at right bottom edge to prevent scrolling on
+ some terminal emulators.
+ - buffer overrun bug fix
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 21 Apr 1999 20:54:56 +0900
+
+w3m (0.0.19990406-1) unstable; urgency=low
+
+ * buffer overrun bug fix
+ * New upstream version
+ - add Bonus scripts (ruby package can be found in Debian JP)
+ - add supports to browse pages with password.
+ - new feature: local CGI
+ - new feature: local directory index
+ - fix imagemap for Kanji map name
+ - fix width calculation for HTML elements
+ - add -halfdump option
+ - fix parseURL2 for "#label" type of URL
+ - deal with stuid Kanji URL
+ - (configure): 'pxvt' -> 'rxvt'
+ - fix for <base href=""> handling
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Fri, 9 Apr 1999 23:57:36 +0900
+
+w3m (0.0.19990330-1) unstable; urgency=low
+
+ * New upstream version
+ - ':' commands treats ',' as URL character.
+ - use sigsetjmp()/siglongjmp()
+ - fix color reset problems
+ * close Bug#35093, w3m has no Info pages.
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Mon, 5 Apr 1999 20:04:34 +0900
+
+w3m (0.0.19990323-1) unstable; urgency=low
+
+ * New upstream version
+ - fix redirected POST method
+ - fix <nobr> in nested table
+ - reorganized option screen
+ - auto URL display mode
+ - send CRLF in POST
+ - `M' invoke external viewer
+ - fix color bugs
+ - fix bug about relative path
+ - fix "&" in <img alt="...">
+ - enable -F (frame rendering) with -dump option
+ - newline surroudings of <ADDRESS>
+ - fix core dump when cursor move in empty buffer
+ - can be used IP address for NO_PROXY
+ - support multiple IP hosts
+ - fix <pre> in frame
+ - fix cbreak return from loadGeneralFile()
+ - fix <caption> bug
+ - fix &hoge;
+ - fix cell width bug when COLSPAN > 2
+ - fix -dump
+ - add support Accept-Language
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Wed, 24 Mar 1999 19:46:05 +0900
+
+w3m (0.0.19990313-1) unstable; urgency=low
+
+ * New upstream version
+ - fix external viewer invokation
+ - add "=" command to show information about document
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Sun, 14 Mar 1999 01:39:41 +0900
+
+w3m (0.0.19990310-1) unstable; urgency=low
+
+ * New upstream version
+ - support resize
+ - fix setlinescols
+ - Pragma: no-cache
+ - fix table rendering for 2byte chars
+ - <style> parse fix
+ - fix configure
+
+ -- Fumitoshi UKAI <ukai@debian.or.jp> Thu, 11 Mar 1999 00:30:25 +0900
+
+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
new file mode 100644
index 0000000..b947097
--- /dev/null
+++ b/debian/config.h-en
@@ -0,0 +1,162 @@
+/*
+ * 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
new file mode 100644
index 0000000..97274bc
--- /dev/null
+++ b/debian/config.h-ja
@@ -0,0 +1,162 @@
+/*
+ * 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.ssl.sed b/debian/config.ssl.sed
new file mode 100644
index 0000000..c8f40b4
--- /dev/null
+++ b/debian/config.ssl.sed
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 0000000..9fad7e8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+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
+
+Package: w3m
+Architecture: any
+Depends: ${shlibs:Depends}
+Provides: www-browser
+Suggests: w3m-ssl (>= ${Source-Version}), mime-support, menu (>> 1.5), emacsen-common
+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.
+ * You can follow links in plain text if it includes URL forms.
+ .
+ For more information,
+ see http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/index.html
diff --git a/debian/control-ssl b/debian/control-ssl
new file mode 100644
index 0000000..669511c
--- /dev/null
+++ b/debian/control-ssl
@@ -0,0 +1,26 @@
+Source: w3m-ssl
+Section: non-US/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
+
+Package: w3m-ssl
+Architecture: any
+Depends: ${shlibs:Depends}, w3m
+Recommends: w3m (= ${Source-Version})
+Provides: www-browser
+Suggests: mime-support, menu (>> 1.5)
+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.
+ * You can follow links in plain text if it includes URL forms.
+ .
+ This package is built with SSL support.
+ .
+ For more information,
+ see http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng/index.html
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e699fc3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,49 @@
+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
+
+Upstream Author(s): Akinori ITO <aito@ei5sun.yz.yamagata-u.ac.jp>
+
+Copyright:
+
+(C) Copyright 1994-1999 by Akinori Ito. All rights reserved.
+ Permission is hereby granted to use or copy this program
+ for any purpose, provided the above notices are retained on all copies
+ and you accept that there is no warranty for this software.
+ Permission to modify the code and to distribute modified code is granted,
+ provided the above notices are retained, and a notice that the code was
+ modified is included with the above copyright notice and you accept
+ that there is no warranty for this software.
+
+ This software may be redistributed freely for this purpose, in full
+ or in part, provided that this entire copyright notice is included
+ on any copies of this software and applications and derivations thereof.
+
+ This software is provided on an "as is" basis, without warranty of any
+ kind, either expressed or implied, as to any matter including, but not
+ limited to warranty of fitness of purpose, or merchantability, or
+ results obtained from use of this software.
+
+And source archive includes Boehm GC, which is already debianized
+as libgc5 and libgc5-dev, so this Debian binary package uses it
+instead of libgc which comes with w3m sources.
+
+Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
+Copyright (c) 1991-1996 by Xerox Corporation. All rights reserved.
+Copyright (c) 1996-1998 by Silicon Graphics. All rights reserved.
+
+THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
+OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
+
+Permission is hereby granted to use or copy this program
+for any purpose, provided the above notices are retained on all copies.
+Permission to modify the code and to distribute modified code is granted,
+provided the above notices are retained, and a notice that the code was
+modified is included with the above copyright notice.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e4c35f4
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,8 @@
+usr/bin
+usr/lib/mime/packages
+usr/lib/w3m
+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/
diff --git a/debian/dirs-ssl b/debian/dirs-ssl
new file mode 100644
index 0000000..45dc959
--- /dev/null
+++ b/debian/dirs-ssl
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/doc/w3m-ssl
diff --git a/debian/docs.in b/debian/docs.in
new file mode 100644
index 0000000..cf9e704
--- /dev/null
+++ b/debian/docs.in
@@ -0,0 +1,7 @@
+doc/FAQ.html
+doc/MANUAL.html
+doc/README
+doc/README.cygwin
+doc/README.dict
+doc/README.func
+doc/STORY.html
diff --git a/debian/emacsen-startup b/debian/emacsen-startup
new file mode 100644
index 0000000..eba463f
--- /dev/null
+++ b/debian/emacsen-startup
@@ -0,0 +1,5 @@
+;; 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/examples.in b/debian/examples.in
new file mode 100644
index 0000000..764c196
--- /dev/null
+++ b/debian/examples.in
@@ -0,0 +1,4 @@
+doc/keymap.default
+doc/keymap.lynx
+doc/menu.default
+doc/menu.submenu
diff --git a/debian/menu b/debian/menu
new file mode 100644
index 0000000..6dd3586
--- /dev/null
+++ b/debian/menu
@@ -0,0 +1,2 @@
+?package(w3m):needs=text section=Apps/Net\
+ title="w3m" command="/usr/bin/w3m /usr/share/doc/w3m/MANUAL.html"
diff --git a/debian/mime b/debian/mime
new file mode 100644
index 0000000..5c5310c
--- /dev/null
+++ b/debian/mime
@@ -0,0 +1,2 @@
+text/html; /usr/bin/w3m -T text/html %s; needsterminal; description=HTML Text; nametemplate=%s.html; priority=4
+text/html; /usr/bin/w3m -dump -T text/html %s; copiousoutput; description=HTML Text; nametemplate=%s.html; priority=3
diff --git a/debian/patches/00-rxvt-mouse-support b/debian/patches/00-rxvt-mouse-support
new file mode 100644
index 0000000..be1aff7
--- /dev/null
+++ b/debian/patches/00-rxvt-mouse-support
@@ -0,0 +1,17 @@
+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
new file mode 100644
index 0000000..9781ab9
--- /dev/null
+++ b/debian/patches/01-w3m-dev-01500
@@ -0,0 +1,152 @@
+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
new file mode 100644
index 0000000..471e8d8
--- /dev/null
+++ b/debian/patches/01-w3m-dev-01509
@@ -0,0 +1,214 @@
+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
new file mode 100644
index 0000000..2004d9e
--- /dev/null
+++ b/debian/patches/02-w3m-dev-01739
@@ -0,0 +1,123 @@
+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
new file mode 100644
index 0000000..7c47d04
--- /dev/null
+++ b/debian/patches/03-w3m-mime-buffer-overflow-fix-backport-from-w3m-dev-02066
@@ -0,0 +1,28 @@
+--- 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/postinst b/debian/postinst
new file mode 100644
index 0000000..2d2f4aa
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+#
+
+case "$1" in
+ configure)
+ update-alternatives --quiet --install /usr/bin/pager pager \
+ /usr/bin/w3m 25 \
+ --slave /usr/share/man/man1/pager.1.gz pager.1.gz \
+ /usr/share/man/man1/w3m.1.gz
+ ;;
+ *)
+esac
+
+#DEBHELPER#
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..f503871
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+#
+
+#DEBHELPER#
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..fd1411c
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+
+case "$1" in
+ remove|deconfigure)
+ update-alternatives --quiet --remove pager /usr/bin/w3m
+ ;;
+ *)
+esac
+
+#DEBHELPER#
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b06880b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,119 @@
+#!/usr/bin/make -f
+# Made with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Cristoph Lameter.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+nossl:
+ @echo already nossl version environments
+
+ssl:
+ @echo change to ssl version...
+ @cd debian && for i in *-ssl; do \
+ f=`echo $$i | sed -e 's/-ssl//'`; \
+ mv $$f $$f-nossl; \
+ mv $$i $$f; \
+ echo -n "$$f "; \
+ done
+ @chmod +x debian/rules
+ @echo done
+
+include debian/rules.mk
+
+build: build-stamp
+build-stamp: setup-ja setup-en
+ 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)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -rf $(buildtree)
+ rm -f extract-stamp patch-stamp build-stamp install-stamp
+ rm -f debian/docs debian/examples
+ dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp.
+ cd $(buildendir) && $(MAKE) install DESTDIR=`pwd`/../../debian/tmp
+ 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; \
+ 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/
+ touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# dh_testversion
+ dh_testdir
+ dh_testroot
+ sed -e 's:^:$(builddir)/:' debian/docs.in > debian/docs
+ dh_installdocs
+ cp -a $(builddir)/doc-jp/* `pwd`/debian/tmp/usr/share/doc/w3m/ja/
+ sed -e 's:^:$(builddir)/:' debian/examples.in > debian/examples
+ dh_installexamples
+ cd `pwd`/debian/tmp/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_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
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
diff --git a/debian/rules-ssl b/debian/rules-ssl
new file mode 100644
index 0000000..8697624
--- /dev/null
+++ b/debian/rules-ssl
@@ -0,0 +1,95 @@
+#!/usr/bin/make -f
+# MAde with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Cristoph Lameter.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+nossl:
+ @echo change to nossl version...
+ @cd debian && for i in *-nossl; do \
+ f=`echo $$i | sed -e 's/-nossl//'`; \
+ mv $$f $$f-ssl; \
+ mv $$i $$f; \
+ echo -n "$$f "; \
+ done
+ @chmod +x debian/rules
+ @echo done
+
+ssl:
+ @echo already ssl version environments
+
+include debian/rules.mk
+
+build: build-stamp
+build-stamp: setup-ja setup-en
+ 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)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -rf $(buildtree)
+ rm -f extract-stamp patch-stamp build-stamp install-stamp
+ rm -f debian/docs debian/examples
+ dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ 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
+ touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# dh_testversion
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+# 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-ssl/changelog.w3m-kokb
+ dh_installchangelogs $(builddir)/doc/HISTORY
+ dh_strip
+ dh_compress
+ (cd debian/tmp/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; \
+ 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/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_fixperms
+ dh_suidregister
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+# dh_makeshlibs
+ dh_md5sums
+ dh_builddeb
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
diff --git a/debian/rules.mk b/debian/rules.mk
new file mode 100644
index 0000000..12a6046
--- /dev/null
+++ b/debian/rules.mk
@@ -0,0 +1,42 @@
+# -*- Makefile -*-
+#
+buildtree=build-tree/
+sourcedir=w3m-0.1.11-pre
+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)
+ touch extract-stamp
+
+patch: patch-stamp
+patch-stamp: extract-stamp
+ for p in debian/patches/[0-9]*; \
+ do \
+ test -f $$p || continue; \
+ patchopt=`sed -ne '1s/PATCH: \(.*\)/\1/p' $$p`; \
+ echo "Patch: $$p ($$patchopt)"; \
+ cat $$p | (cd $(builddir) && patch $$patchopt); \
+ done
+ touch patch-stamp
+
+
+buildjadir=$(buildtree)/$(sourcedir)-ja
+buildendir=$(buildtree)/$(sourcedir)-en
+
+setup-ja: $(buildjadir)/setup-stamp
+$(buildjadir)/setup-stamp: extract-stamp patch-stamp
+ -rm -rf $(buildjadir)
+ cp -a $(builddir) $(buildjadir)
+ touch $(buildjadir)/setup-stamp
+
+setup-en: $(buildendir)/setup-stamp
+$(buildendir)/setup-stamp: extract-stamp patch-stamp
+ -rm -rf $(buildendir)
+ cp -a $(builddir) $(buildendir)
+ touch $(buildendir)/setup-stamp
+
diff --git a/debian/w3m.1 b/debian/w3m.1
new file mode 100644
index 0000000..2f2ef30
--- /dev/null
+++ b/debian/w3m.1
@@ -0,0 +1,118 @@
+.TH W3M 1
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH NAME
+w3m \- WWW wo Miru Tool, WWW browsing Tool
+.SH SYNOPSIS
+.B w3m
+.I "[options] [files or URL] ..."
+.br
+.SH "DESCRIPTION"
+This manual page documents briefly the
+.BR w3m
+commands.
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+.\" Instead, it has documentation in the GNU Info format; see below.
+.PP
+.B w3m
+is a program that browse text files, and also browse WWW pages.
+.SH OPTIONS
+A summary of options are included below.
+.\" For a complete description, see the Info files.
+.TP
+.B \-h
+Show summary of options.
+.TP
+.B \-t [tab]
+set tab width
+.TP
+.B \-r
+Ignore backspace effect
+.TP
+.B \-l [line]
+# of preserved line (default 10000)
+.\" disabled in debian
+.\" .TP
+.\" .B \-s
+.\" Shift_JIS
+\." .TP
+.\" .B \-j
+.\" JIS
+.\" .TP
+.\" .B \-e
+.\" EUC-JP
+.TP
+.B \-B
+load bookmark
+.TP
+.B \-T [type]
+specify content-type
+.TP
+.B \-m
+internet message mode
+.TP
+.B \-v
+visual startup mode
+.TP
+.B \-M
+monochrome display
+.TP
+.B \-F
+automatically render frame
+.TP
+.B \-dump
+dump formatted page into stdout
+.TP
+.B \-cols [width]
+specify column width (used with -dump)
+.TP
+.B \-ppc [count]
+specify the number of pixels per character (4.0...32.0)
+.TP
+.B \-dump_source
+dump page source into stdout
+.TP
+.B \-dump_head
+dump response of HEAD request into stdout
+.TP
+.B +[num]
+goto <num> line
+.TP
+.B \-num
+show line number
+.TP
+.B \-no-proxy
+don't use proxy
+.TP
+.B \-no-mouse
+don't use mouse
+.TP
+.B \-cookie
+use cookie
+.TP
+.B \-no-cookie
+don't use cookie
+.TP
+.B \-s
+squeeze multiple blank lines
+.TP
+.B \-W
+toggle wrap search mode
+.TP
+.B \-X
+don't use termcap init/deinit
+.TP
+.B \-o [opt]=[value]
+assign value to config option
+.TP
+.B \-config [file]
+specify config file
+.SH "SEE ALSO"
+You can see keymaps by pressing `H' key while browsing
+or /usr/share/w3m/w3mhelp.html.
+Also, there are some documents in /usr/share/doc/w3m but it is
+written in Japanese.
+.SH AUTHOR
+This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>,
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/debian/w3m.sh b/debian/w3m.sh
new file mode 100644
index 0000000..bc9588d
--- /dev/null
+++ b/debian/w3m.sh
@@ -0,0 +1,52 @@
+#!/bin/bash
+# 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}
+#test -x $W3M && exec $W3M "${params[@]}"
+#
+#for W3M in /usr/bin/w3m-ssl-i18n /usr/bin/w3m-ssl
+#do
+# test -x $W3M && exec $W3M "${params[@]}"
+#done
+
+W3M=/usr/bin/w3m-en
+if [ -x /usr/bin/locale ]; then
+ eval `locale`
+fi
+locale=${LC_ALL:-$LANG}
+case X"$locale" in
+ Xja|Xja_JP|Xja_JP.*)
+ [ -x /usr/bin/w3m-ja ] && W3M=/usr/bin/w3m-ja
+ [ -x /usr/bin/w3m-ssl-ja ] && W3M=/usr/bin/w3m-ssl-ja
+ ;;
+ *)
+ [ -x /usr/bin/w3m-ssl-en ] && W3M=/usr/bin/w3m-ssl-en
+ ;;
+esac
+exec $W3M "${params[@]}"
diff --git a/debian/w3mbookmark.sh b/debian/w3mbookmark.sh
new file mode 100644
index 0000000..a8f9872
--- /dev/null
+++ b/debian/w3mbookmark.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+# Copyright (c) 1999 Fumitoshi UKAI <ukai@debian.or.jp>
+#
+
+W3MBOOKMARK=/usr/lib/w3m/w3mbookmark-en
+eval `locale`
+locale=${LC_ALL:-$LANG}
+case X"$locale" in
+ Xja|Xja_JP|Xja_JP.*)
+ [ -x /usr/lib/w3m/w3mbookmark-ja ] && W3MBOOKMARK=/usr/lib/w3m/w3mbookmark-ja
+ ;;
+ *)
+ ;;
+esac
+exec $W3MBOOKMARK "$@"
diff --git a/debian/w3mhelperpanel.sh b/debian/w3mhelperpanel.sh
new file mode 100644
index 0000000..fd74f1c
--- /dev/null
+++ b/debian/w3mhelperpanel.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+# Copyright (c) 1999 Fumitoshi UKAI <ukai@debian.or.jp>
+#
+
+W3MHELPERPANEL=/usr/lib/w3m/w3mhelperpanel-en
+eval `locale`
+locale=${LC_ALL:-$LANG}
+case X"$locale" in
+ Xja|Xja_JP|Xja_JP.*)
+ [ -x /usr/lib/w3m/w3mhelperpanel-ja ] && W3MHELPERPANEL=/usr/lib/w3m/w3mhelperpanel-ja
+ ;;
+ *)
+ ;;
+esac
+exec $W3MHELPERPANEL "$@"