--- lynx-2.8.5.orig/debian/rules +++ lynx-2.8.5/debian/rules @@ -0,0 +1,117 @@ +#! /usr/bin/make -f +# debian/rules file - for lynx (2.8.5) +# Based on sample debian/rules file - for GNU Hello (1.3). +# Copyright 1994, 1995 by Ian Jackson. +# Copyright 2002, 2003, 2004 James Troup +# I hereby give you perpetual unlimited permission to copy, +# modify and relicense this file, provided that you do not remove +# my name from the file itself. (I assert my moral right of +# paternity under the Copyright, Designs and Patents Act 1988.) +# This file may have to be extensively modified + +install_dir=install -d -m 755 +install_file=install -m 644 +install_script=install -m 755 +install_binary=install -m 755 -s + +include /usr/share/dpatch/dpatch.make + +build: patch-stamp + $(checkdir) + ./configure --prefix=/usr \ + --libexecdir=/usr/lib --sysconfdir=/etc \ + --localstatedir=/var --libdir=/etc \ + --enable-warnings \ + --with-screen=ncursesw --enable-8bit-toupper \ + --enable-externs \ + --enable-cgi-links --enable-exec-links \ + --enable-exec-scripts \ + --enable-persistent-cookies --enable-nls \ + --enable-prettysrc --enable-source-cache \ + --enable-charset-choice \ + --enable-default-colors \ + --enable-ipv6 \ + --enable-nested-tables --enable-read-eta \ + --with-gnutls=/usr \ + --with-zlib \ + --with-bzlib + $(MAKE) + touch build + +clean: unpatch + $(checkdir) + -rm -rf build debian/tmp debian/files debian/substvars debian/patched + -(find . -type f -name \*~ | xargs rm) + -$(MAKE) distclean + -rm -f config.cache config.log lynx + +binary-indep: + +binary-arch: checkroot build + $(checkdir) + -rm -rf debian/tmp/ + $(install_dir) debian/tmp/DEBIAN/ + $(install_script) debian/preinst debian/postinst debian/prerm debian/postrm debian/tmp/DEBIAN/ + $(install_file) debian/conffiles debian/tmp/DEBIAN/ + + $(install_dir) debian/tmp/usr/bin/ + $(install_binary) lynx debian/tmp/usr/bin/lynx.stable + + $(install_dir) debian/tmp/etc/ + $(install_file) lynx.cfg debian/tmp/etc/ + + $(install_dir) debian/tmp/usr/share/man/man1/ + $(install_file) lynx.man debian/tmp/usr/share/man/man1/lynx.1 + find debian/tmp/usr/share/man/ -type f -print | xargs gzip -9 + + $(install_dir) debian/tmp/usr/share/locale/ + for f in po/*.gmo; do \ + cat=`basename $$f`; \ + lang=`echo $$cat | sed 's/\.gmo$$//'`; \ + $(install_dir) debian/tmp/usr/share/locale/$$lang/LC_MESSAGES; \ + $(install_file) $$f debian/tmp/usr/share/locale/$$lang/LC_MESSAGES/lynx.mo; \ + done + + $(install_dir) debian/tmp/usr/share/doc/lynx/ + cp -R lynx_help debian/tmp/usr/share/doc/lynx/ + cat CHANGES `ls docs/CHANGES* |sort -t . -rn -k 2,2 -k 3,3` \ + > debian/tmp/usr/share/doc/lynx/changelog + $(install_file) docs/CRAWL.announce docs/FM.announce \ + docs/README.chartrans PROBLEMS README \ + samples/jumpsUnix.html samples/cernrules.txt \ + samples/lynx-keymaps debian/tmp/usr/share/doc/lynx/ + $(install_dir) debian/tmp/usr/share/doc/lynx/test/ + $(install_file) test/* debian/tmp/usr/share/doc/lynx/test/ + $(install_file) debian/changelog debian/tmp/usr/share/doc/lynx/changelog.Debian + $(install_file) debian/README.Debian debian/tmp/usr/share/doc/lynx/README.Debian + find debian/tmp/usr/share/doc/lynx -type f -maxdepth 1 | xargs gzip -9v + $(install_file) debian/copyright debian/tmp/usr/share/doc/lynx/ + + $(install_dir) debian/tmp/usr/lib/menu/ + $(install_file) debian/menu debian/tmp/usr/lib/menu/lynx + + $(install_dir) debian/tmp/usr/share/applnk/Internet + $(install_file) debian/desktop debian/tmp/usr/share/applnk/Internet/lynx.desktop + + $(install_dir) debian/tmp/usr/lib/mime/packages/ + $(install_file) debian/mime debian/tmp/usr/lib/mime/packages/lynx + + dpkg-shlibdeps debian/tmp/usr/bin/lynx.stable + dpkg-gencontrol -isp + chown -R root.root debian/tmp/ + chmod -R go=rX debian/tmp/ + dpkg --build debian/tmp/ .. + +define checkdir + test -f src/LYMain.c -a -f debian/rules +endef + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot patch unpatch --- lynx-2.8.5.orig/debian/desktop +++ lynx-2.8.5/debian/desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Exec=/usr/bin/lynx %u +Name=Lynx +Terminal=1 +Comment=Lynx +Icon=html +MimeType=text/html +XClassHintResName=Lynx --- lynx-2.8.5.orig/debian/README.Debian +++ lynx-2.8.5/debian/README.Debian @@ -0,0 +1,43 @@ +* Why does Lynx not display things in colour? + + If you find that lynx does display things in colour, you may be using + the wrong terminal type. The terminal type "vt100" does not support + colour, but "linux" "xterm-color" and "xterm-debian" do. + + Alternatively, you can invoke lynx as 'lynx -color' or set + the COLORTERM environment variable to force the use of colours. + +* How do I get a white background on black text? + + Use the following 'COLOR' definitions in your /etc/lynx.cfg file: + + COLOR:0:black:white + COLOR:1:blue:white + COLOR:2:yellow:blue + COLOR:3:green:white + COLOR:4:magenta:white + COLOR:5:blue:white + COLOR:6:red:white + COLOR:7:magenta:cyan + +* Very nice, but I run a multi-user system and I want to be able to configure + colours on a per-user basis. + + Quoting from the /etc/lynx.cfg file: + + Starting with Lynx 2.8.1, the lynx.cfg file has a crude "include" + facility. This means that you can take advantage of the global lynx.cfg + while also supplying your own tweaks. + + You can use a command-line argument (-cfg /where/is/lynx.cfg) or an + environment variable (LYNX_CFG=/where/is/lynx.cfg). + For instance, put in your .profile or .login: + + LYNX_CFG=~/lynx.cfg; export LYNX_CFG # in .profile for sh/ksh/bash/etc. + setenv LYNX_CFG ~/lynx.cfg # in .login for [t]csh + + Then in ~/lynx.cfg: + + INCLUDE:/etc/lynx.cfg + + and now your own tweaks. --- lynx-2.8.5.orig/debian/changelog +++ lynx-2.8.5/debian/changelog @@ -0,0 +1,534 @@ +lynx (2.8.5-2) unstable; urgency=low + + * 03_newer_gnutls.dpatch: new patch from Torbjörn Wassberg to add + '-lgnutls-openssl' to LIBS to allow compilation with gnutls11. + * debian/control (Build-Depends): s/gnutls7/gnutls11/. Closes: #264754 + + -- James Troup Sun, 26 Sep 2004 13:36:41 +0100 + +lynx (2.8.5-1) unstable; urgency=low + + * New upstream release. Closes: #210948 + * Should now build on the Hurd. Closes: #140682 + * -auth=id:pw no longer ignored when using -source or -dump. Closes: #156498 + * Default cookie Path is not correct. Closes: #181614 + * Can now switch to bookmarks under 'z'. Closes: #111463 + * Fixes only highlighting the first two lines of a hyperlink. Closes: #114062, #124361 + * Fixed missing space in german localisation. Closes: #116495 + * Fixed problems with wiki-login. Closes: #124025 + * No longer ignores Refresh: in HTTP headers. Closes: #126723 + * Forms now sent using proper encoding. Closes: #156680 + * Fixes confusion of whereis query inside of long