--- lynx-2.8.6.orig/debian/desktop +++ lynx-2.8.6/debian/desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Exec=/usr/bin/lynx %u +Name=Lynx +Terminal=1 +Comment=Lynx +Icon=web-browser +MimeType=text/html +XClassHintResName=Lynx --- lynx-2.8.6.orig/debian/postrm +++ lynx-2.8.6/debian/postrm @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +if [ -x /usr/bin/update-menus ]; then + update-menus +fi + +if [ "$1" = "remove" ] && which update-desktop-database >/dev/null 2>&1 ; then + update-desktop-database -q +fi + +if [ -x /usr/sbin/update-mime ]; then + update-mime +fi + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove lynx /usr/bin/lynx.stable +fi --- lynx-2.8.6.orig/debian/control +++ lynx-2.8.6/debian/control @@ -0,0 +1,23 @@ +Source: lynx +Maintainer: Ubuntu Core developers +XSBC-Original-Maintainer: Zephaniah E. Hull +Standards-Version: 3.6.0 +Section: web +Priority: optional +Build-Depends: libncursesw5-dev, zlib1g-dev, libbz2-dev, gettext, dpatch, sharutils + +Package: lynx +Architecture: any +Depends: ${shlibs:Depends} +Recommends: mime-support +Conflicts: lynx-ssl +Replaces: lynx-ssl +Provides: www-browser, news-reader, lynx-ssl +Description: Text-mode WWW Browser + Lynx is a fully-featured World Wide Web (WWW) client for users + running cursor-addressable, character-cell display devices (e.g., + vt100 terminals, vt100 emulators running on PCs or Macs, or any other + "curses-oriented" display). It will display hypertext markup language + (HTML) documents containing links to files residing on the local + system, as well as files residing on remote systems running Gopher, + HTTP, FTP, WAIS, and NNTP servers. --- lynx-2.8.6.orig/debian/conffiles +++ lynx-2.8.6/debian/conffiles @@ -0,0 +1,2 @@ +/etc/lynx.cfg +/etc/lynx.lss --- lynx-2.8.6.orig/debian/postinst +++ lynx-2.8.6/debian/postinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +if [ "$1" != configure ]; then exit 0; fi + +if [ -x /usr/bin/update-menus ]; then + update-menus +fi + +if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then + update-desktop-database -q +fi + +if [ -x /usr/sbin/update-mime ]; then + update-mime +fi + +update-alternatives --quiet --install /usr/bin/www-browser www-browser \ + /usr/bin/lynx 50 \ + --slave /usr/share/man/man1/www-browser.1.gz www-browser.1.gz \ + /usr/share/man/man1/lynx.1.gz + +update-alternatives --quiet --install /usr/bin/lynx lynx /usr/bin/lynx.stable 20 --- lynx-2.8.6.orig/debian/prerm +++ lynx-2.8.6/debian/prerm @@ -0,0 +1,9 @@ +#!/bin/sh + +case "$1" in + remove|deconfigure) + update-alternatives --quiet --remove www-browser /usr/bin/lynx + update-alternatives --quiet --remove lynx /usr/bin/lynx.stable + ;; + *) +esac --- lynx-2.8.6.orig/debian/lynx.desktop +++ lynx-2.8.6/debian/lynx.desktop @@ -0,0 +1,17 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Lynx Web Browser +Name[ru]=Веб-браузер Lynx +GenericName=Web Browser +GenericName[ru]=Веб-браузер +Comment=Browse the web in the text mode +Comment[ru]=Веб-браузер в текстовом (консольном) режиме +TryExec=lynx +Exec=lynx %u +Terminal=true +MimeType=text/html +Categories=Application;Network;WebBrowser;ConsoleOnly; +NotShowIn=GNOME; +Icon=web-browser +XClassHintResName=Lynx --- lynx-2.8.6.orig/debian/mime +++ lynx-2.8.6/debian/mime @@ -0,0 +1,2 @@ +text/html; /usr/bin/lynx -force_html %s; needsterminal; description=HTML Text; nametemplate=%s.html; priority=3 +text/html; /usr/bin/lynx -dump -force_html %s; copiousoutput; description=HTML Text; nametemplate=%s.html; priority=2 --- lynx-2.8.6.orig/debian/menu +++ lynx-2.8.6/debian/menu @@ -0,0 +1,13 @@ +?package(lynx):\ + needs=text\ + section=Apps/Net\ + title="Lynx"\ + hints="Web Browsers" \ + kderemove=1 \ + command="/usr/bin/lynx" +?package(lynx):\ + needs=dwww\ + section=Apps/Net\ + title="Lynx Manual"\ + hints="Web Browser Manual" \ + command="/usr/share/doc/lynx/lynx_help/lynx_help_main.html" --- lynx-2.8.6.orig/debian/preinst +++ lynx-2.8.6/debian/preinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +# Undo diversions by old (potato) lynx-ssl package +if [ "$1" = upgrade -o "$1" = install ]; then + if dpkg-divert --list | grep -q "/usr/bin/lynx.nossl.*lynx-ssl"; then + dpkg-divert --package lynx-ssl --remove --rename \ + --divert /usr/bin/lynx.nossl /usr/bin/lynx + fi + if dpkg-divert --list | grep -q "/usr/share/man/man1/lynx.nossl.1.gz.*lynx-ssl"; then + dpkg-divert --package lynx-ssl --remove --rename \ + --divert /usr/share/man/man1/lynx.nossl.1.gz /usr/share/man/man1/lynx.1.gz + fi +fi --- lynx-2.8.6.orig/debian/rules +++ lynx-2.8.6/debian/rules @@ -0,0 +1,123 @@ +#! /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-externs \ + --enable-cgi-links --enable-exec-links \ + --enable-exec-scripts \ + --enable-nls \ + --enable-charset-choice \ + --enable-default-colors \ + --enable-ipv6 \ + --enable-nested-tables --enable-read-eta \ + --enable-nsl-fork --enable-justify-elts --enable-color-style \ + --without-gnutls \ + --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 + rm -f debian/icons/web-browser.png + +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_file) samples/lynx.lss 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/applications + $(install_file) debian/lynx.desktop debian/tmp/usr/share/applications/lynx.desktop + + $(install_dir) debian/tmp/usr/lib/mime/packages/ + $(install_file) debian/mime debian/tmp/usr/lib/mime/packages/lynx + + uudecode -o debian/icons/web-browser.png debian/icons/web-browser.png.uue + $(install_dir) debian/tmp/usr/share/icons/hicolor/22x22/apps/ + $(install_file) debian/icons/web-browser.png debian/tmp/usr/share/icons/hicolor/22x22/apps/web-browser.png + + 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.6.orig/debian/README.Debian +++ lynx-2.8.6/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.6.orig/debian/changelog +++ lynx-2.8.6/debian/changelog @@ -0,0 +1,667 @@ +lynx (2.8.6-2.1ubuntu2) intrepid; urgency=low + + * Remove patch file. + + -- Matthias Klose Thu, 26 Jun 2008 00:38:38 +0200 + +lynx (2.8.6-2.1ubuntu1) intrepid; urgency=low + + * Merge with Debian; remaining changes: + - Fixed missing icon in KDE menu (LP: #159580). + - debian/patches/01_default-config.dpatch: Updated HomePage to Ubuntu Default + (Closes LP: #18639). + - debian/control: Updated Maintainer Field. + + -- Matthias Klose Thu, 26 Jun 2008 00:23:54 +0200 + +lynx (2.8.6-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Stop linking against GnuTLS OpenSSL wrapper library, since licenses are + incompatible (GPLv2 vs. GPLv3+). Closes: #468769 + + -- Andreas Metzler Sat, 21 Jun 2008 17:08:19 +0000 + +lynx (2.8.6-2ubuntu2) hardy; urgency=low + + * Fixed missing icon in KDE menu (LP: #159580) + * Updated Standards-Version + + -- Ralph Janke Thu, 20 Dec 2007 03:19:13 +0000 + +lynx (2.8.6-2ubuntu1) gutsy; urgency=low + + * debian/patches/01_default-config.dpatch: Updated HomePage to Ubuntu Default + (Closes LP: #18639) + * debian/control: Updated Maintainer Field + * debian/control: Updated Standards-Version to 3.7.2 + + -- Joseph Jackson IV Fri, 25 May 2007 09:34:00 -0400 + +lynx (2.8.6-2) unstable; urgency=high + + * The 'Oh Crap, how did I miss _that_' release. + * Include the 2.8.5-2-sarge2.2 NMU patch and changelog entry. + (Missed in the last release, since I goofed, this is priority high to get + the security fix back out there.) + * Update and include the 2.8.5-2-sarge2.2 NMU patch as + 03_mailcap_mime_security.dpatch. + * Ack the NMUs. + Closes: #396964, #387279, #387383. + + -- Zephaniah E. Hull Wed, 02 May 2007 03:52:18 -0400 + +lynx (2.8.6-1) unstable; urgency=low + + * Hijack the package. I might not be great at it, but I do use it daily. + * New upstream release. + Closes: #254515, #137480, #67184, #99400, #132674, #141158, #40435, + #120451, #157088, #204994, #244871, #248092, #268264, #271048, #318034, + #343049, #390918, #240237, #313789, #171312, #193205, #252915, #265031, + #121520, #152810, #188415, #344275, #374388, #184482, #315853 + * Uses the new upstream defaults. Closes: #325478, #147287. + * Update 01_default-config.dpatch. (Offset changes only.) + * Update 02_default-key-bindings.dpatch. (Upstream formatting changes.) + * Kill 03_newer_gnutls.dpatch entirely. + This was fixed upstream. But this is also a GPL violation as we only ship + the patch to configure, and not to configure.in, the source file. + * Kill 04_CVE-2004-1617.dpatch. (Merged into upstream.) + * Disable 05_FTBFS_on_GNUHurd_and_GNUkBSD (Upstream changes, file new bug if + we FTBFS again.) + * Removed configure arguments: + --enable-8bit-toupper - Removed, no longer exists. + --enable-persistent-cookies - Enabled by default. + --enable-prettysrc - Enabled by default. + --enable-source-cache - Enabled by default. + --enable-read-eta - Enabled by default. + * Added configure arguments: + --enable-nsl-fork - fork NSL requests, allowing them to be aborted + --enable-justify-elts - use element-justification logic + * Update the contents and location of lynx.desktop. Closes: 304989. + * Other things will be handled by later uploads, patches welcome. + + -- Zephaniah E. Hull Tue, 01 May 2007 01:43:17 -0400 + +lynx (2.8.5-2sarge2.2) unstable; urgency=low + + * Non-maintainer upload. + * Read user configuration from home directory, not current + working directory. Closes: #396964 + Thanks to Tom Parker for the patch. + + -- Andreas Barth Mon, 27 Nov 2006 07:43:17 +0100 + +lynx (2.8.5-2sarge2.1) unstable; urgency=low + + * NMU. + * Fixed changelog entry that closes #384725. + * Used a debian version greater than the one in stable-security. + + -- Anibal Monsalve Salazar Thu, 14 Sep 2006 09:15:56 +1000 + +lynx (2.8.5-2sarge1.2) unstable; urgency=high + + * NMU. + * Fixed CVE-2004-1617 (see DSA-1076-1). + [debian/patches/04_CVE-2004-1617.dpatch] + Patch by Thomas E. Dickey . + Closes: #384725. + * Fixed "FTBFS on GNU/Hurd (and GNU/k*BSD)". + [debian/patches/05_FTBFS_on_GNUHurd_and_GNUkBSD] + Patch by Robert Millan . + Closes: #238057. + + -- Anibal Monsalve Salazar Wed, 13 Sep 2006 18:41:49 +1000 + +lynx (2.8.5-2sarge1.1) unstable; urgency=low + + * Non-maintainer upload. + * Now build-depending on libgnutls-dev so libgnutls11 can be + removed (Closes: #335765). + + -- David Moreno Garza Sun, 13 Aug 2006 18:09:34 -0500 + + +lynx (2.8.5-2sarge1) stable-security; urgency=high + + * Non-maintainer upload by the Security Team + * Applied patch by Ulf H?rnhammar to fix buffer overflow that can lead + to arbitrary code execution [WWW/Library/Implementation/HTMIME.c, + CAN-2005-3120] + + -- Martin Schulze Sat, 8 Oct 2005 09:23:11 +0200 + +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