From 510ed32cfbffa6148018869f5ade416505a450b3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 22:21:21 +0200 Subject: Adding upstream version 2.9.0rel.0. Signed-off-by: Daniel Baumann --- PACKAGE/debian/changelog | 71 +++++++++++ PACKAGE/debian/compat | 1 + PACKAGE/debian/control | 21 ++++ PACKAGE/debian/copyright | 103 ++++++++++++++++ PACKAGE/debian/doc-base | 10 ++ PACKAGE/debian/lynx-dev.lintian-overrides | 15 +++ PACKAGE/debian/menu | 2 + PACKAGE/debian/mime | 2 + PACKAGE/debian/postinst | 27 +++++ PACKAGE/debian/prerm | 12 ++ PACKAGE/debian/rules | 195 ++++++++++++++++++++++++++++++ PACKAGE/debian/source/format | 1 + PACKAGE/debian/watch | 4 + 13 files changed, 464 insertions(+) create mode 100644 PACKAGE/debian/changelog create mode 100644 PACKAGE/debian/compat create mode 100644 PACKAGE/debian/control create mode 100644 PACKAGE/debian/copyright create mode 100644 PACKAGE/debian/doc-base create mode 100644 PACKAGE/debian/lynx-dev.lintian-overrides create mode 100644 PACKAGE/debian/menu create mode 100644 PACKAGE/debian/mime create mode 100644 PACKAGE/debian/postinst create mode 100644 PACKAGE/debian/prerm create mode 100755 PACKAGE/debian/rules create mode 100644 PACKAGE/debian/source/format create mode 100644 PACKAGE/debian/watch (limited to 'PACKAGE/debian') diff --git a/PACKAGE/debian/changelog b/PACKAGE/debian/changelog new file mode 100644 index 0000000..048e3cf --- /dev/null +++ b/PACKAGE/debian/changelog @@ -0,0 +1,71 @@ +lynx-dev (2.9.0) unstable; urgency=high + + * new release + + -- Thomas E. Dickey Sun, 14 Jan 2024 17:15:53 -0500 + +lynx-dev (2.8.8dev.16) unstable; urgency=high + + * changes for dev.16 + + -- Thomas E. Dickey Tue, 30 Apr 2013 04:32:34 -0400 + +lynx-dev (2.8.8dev.15) unstable; urgency=high + + * changes for dev.15 + + -- Thomas E. Dickey Thu, 08 Nov 2012 17:39:36 -0500 + +lynx-dev (2.8.8dev.14) unstable; urgency=high + + * fix regression in dev.13 + + -- Thomas E. Dickey Wed, 22 Aug 2012 06:22:28 -0400 + +lynx-dev (2.8.8dev.13) unstable; urgency=low + + * changes for dev.13 + + -- Thomas E. Dickey Sat, 07 Jul 2012 10:55:34 -0400 + +lynx-dev (2.8.8dev.12) unstable; urgency=low + + * changes for dev.12 + + -- Thomas E. Dickey Wed, 22 Feb 2012 20:23:20 -0500 + +lynx-dev (2.8.8dev.11) unstable; urgency=low + + * changes for dev.11 + + -- Thomas E. Dickey Wed, 15 Feb 2012 18:43:49 -0500 + +lynx-dev (2.8.8dev.10) unstable; urgency=low + + * changes for dev.10 + + -- Thomas E. Dickey Thu, 06 Oct 2011 18:19:01 -0400 + +lynx-dev (2.8.8dev.9) unstable; urgency=low + + * changes for dev.9 + + -- Thomas E. Dickey Wed, 27 Apr 2011 19:38:05 -0400 + +lynx-dev (2.8.8dev.8) unstable; urgency=low + + * changes for dev.8 + + -- Thomas E. Dickey Sun, 19 Dec 2010 18:49:04 -0500 + +lynx-dev (2.8.8dev.7) unstable; urgency=low + + * changes for dev.7 + + -- Thomas E. Dickey Mon, 01 Nov 2010 17:32:06 -0400 + +lynx-dev (2.8.8dev.6) unstable; urgency=low + + * add build-script for testing, adapted from Debian lynx-cur package. + + -- Thomas E. Dickey Sat, 18 Sep 2010 07:14:46 -0400 diff --git a/PACKAGE/debian/compat b/PACKAGE/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/PACKAGE/debian/compat @@ -0,0 +1 @@ +10 diff --git a/PACKAGE/debian/control b/PACKAGE/debian/control new file mode 100644 index 0000000..1875ece --- /dev/null +++ b/PACKAGE/debian/control @@ -0,0 +1,21 @@ +Source: lynx-dev +Section: web +Priority: optional +Maintainer: Thomas E. Dickey +Homepage: https://invisible-island.net/lynx/ +Build-Depends: debhelper (>= 7), dpatch, po-debconf, libncursesw5-dev, zlib1g-dev, gettext, libgnutls-dev, sharutils, telnet, openssh-client, libbsd-dev, libidn11-dev +Standards-Version: 3.8.2 + +Package: lynx-dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: www-browser, news-reader +Recommends: mime-support +Description: Text-mode WWW Browser with NLS support (development version) + Lynx is a fully-featured World Wide Web (WWW) client for users running + cursor-addressable, character-cell display devices. It is very fast and easy + to use. It will display 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. + . + This package contains a development version of lynx. diff --git a/PACKAGE/debian/copyright b/PACKAGE/debian/copyright new file mode 100644 index 0000000..0a4f461 --- /dev/null +++ b/PACKAGE/debian/copyright @@ -0,0 +1,103 @@ +Upstream source https://lynx.invisible-island.net/current/ + +Current maintainer: Thomas Dickey + +------------------------------------------------------------------------------- + +Copyright 1997-2023,2024 Thomas E. Dickey +Copyright (C) 1995 University of Kansas. + +Most of the content of the lynx release (and corresponding copyright) is +the work of developers on the lynx-dev mailing list, who have agreed to +distribute their work under the terms and conditions of the GNU General +Public License (Version 2). Note that the License text after the terms +and conditions is advisory in nature, and contains neither terms nor +conditions. You may choose to follow that advice. + +Any licensing questions should be directed to the mailing list: + + lynx-dev@nongnu.org + +or to the maintainer (Thomas E. Dickey): + + dickey@invisible-island.net + +------------------------------------------------------------------------------- + +Files: aclocal.m4 +License: other-BSD +Copyright: 1997-2023,2024 by Thomas E. Dickey + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of the above listed + copyright holder(s) not be used in advertising or publicity pertaining + to distribution of the software without specific, written prior + permission. + + THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD + TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE + LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +Files: install-sh +Copyright: 1994 X Consortium +License: other-BSD + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + + FSF changes to this file are in the public domain. + + Calling this script install-sh is preferred over install.sh, to prevent + `make' implicit rules from creating a file called install from it + when there is no Makefile. + + This script is compatible with the BSD install script, but was written + from scratch. It can only install one file at a time, a restriction + shared with many OS's install programs. + +Files: debian/* +Copyright: 2010-2019,2020 Thomas E. Dickey +License: other-BSD + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of the above listed + copyright holder(s) not be used in advertising or publicity pertaining + to distribution of the software without specific, written prior + permission. + + THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD + TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE + LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +On Debian systems, the complete text of the GNU General +Public License can be found in '/usr/share/common-licenses/GPL-2' diff --git a/PACKAGE/debian/doc-base b/PACKAGE/debian/doc-base new file mode 100644 index 0000000..ef651b7 --- /dev/null +++ b/PACKAGE/debian/doc-base @@ -0,0 +1,10 @@ +Document: lynx-dev +Title: Debian Lynx Manual +Author: Michael Grobe et al. +Abstract: This manual describes what lynx-dev is + and how it can be used on Debian systems. +Section: Network/Web Browsing + +Format: HTML +Index: /usr/share/doc/lynx-dev/help_dir/lynx_help_main.html.gz +Files: /usr/share/doc/lynx-dev/help_dir/*.html.gz diff --git a/PACKAGE/debian/lynx-dev.lintian-overrides b/PACKAGE/debian/lynx-dev.lintian-overrides new file mode 100644 index 0000000..9b0aa40 --- /dev/null +++ b/PACKAGE/debian/lynx-dev.lintian-overrides @@ -0,0 +1,15 @@ +# This is intentional because it is referenced from the documentation. +lynx-dev: extra-license-file usr/share/doc/lynx-dev/COPYING + +lynx-dev: national-encoding usr/share/doc/lynx-dev/test/ALT88592.html +lynx-dev: national-encoding usr/share/doc/lynx-dev/test/iso-8859-1.html +lynx-dev: national-encoding usr/share/doc/lynx-dev/test/iso-8859-2.html + +# These are a known problem with lintian: +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891301 +lynx-dev: privacy-breach-generic usr/share/doc/lynx-dev/test/ALT88592.html [] (http://mail.gnu.org/mailman/listinfo/lynx-dev/) +lynx-dev: privacy-breach-generic usr/share/doc/lynx-dev/test/bad-html.html [] (http://mail.gnu.org/mailman/listinfo/lynx-dev/) +lynx-dev: privacy-breach-generic usr/share/doc/lynx-dev/test/cp-1252.html [] (http://mail.gnu.org/mailman/listinfo/lynx-dev/) +lynx-dev: privacy-breach-generic usr/share/doc/lynx-dev/test/cp-1252a.html [] (http://mail.gnu.org/mailman/listinfo/lynx-dev/) +lynx-dev: privacy-breach-generic usr/share/doc/lynx-dev/test/iso-8859-2.html [] (http://mail.gnu.org/mailman/listinfo/lynx-dev/) +lynx-dev: privacy-breach-generic usr/share/doc/lynx-dev/test/iso-8859-2a.html [] (http://mail.gnu.org/mailman/listinfo/lynx-dev/) diff --git a/PACKAGE/debian/menu b/PACKAGE/debian/menu new file mode 100644 index 0000000..6421345 --- /dev/null +++ b/PACKAGE/debian/menu @@ -0,0 +1,2 @@ +?package(lynx-dev):needs="text" section="Applications/Network/Web Browsing"\ + title="Lynx-dev" command="lynx-dev" diff --git a/PACKAGE/debian/mime b/PACKAGE/debian/mime new file mode 100644 index 0000000..4777956 --- /dev/null +++ b/PACKAGE/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 diff --git a/PACKAGE/debian/postinst b/PACKAGE/debian/postinst new file mode 100644 index 0000000..89955d4 --- /dev/null +++ b/PACKAGE/debian/postinst @@ -0,0 +1,27 @@ +#! /bin/sh +# postinst script for lynx + +set -e + +PRI=50 +ALT=lynx +PKG=lynx-dev + +BINDIR=/usr/bin +MANDIR=/usr/share/man/man1 + +if [ $1 != "upgrade" ] +then + + update-alternatives \ + --install \ + $BINDIR/$ALT $ALT \ + $BINDIR/$PKG $PRI \ + --slave $MANDIR/$ALT.1.gz $ALT.1.gz \ + $MANDIR/$PKG.1.gz + +fi + +#DEBHELPER# + +exit 0 diff --git a/PACKAGE/debian/prerm b/PACKAGE/debian/prerm new file mode 100644 index 0000000..a79bf38 --- /dev/null +++ b/PACKAGE/debian/prerm @@ -0,0 +1,12 @@ +#! /bin/sh +# prerm script for lynx + +set -e + +if [ $1 != "upgrade" ]; then + update-alternatives --remove lynx /usr/bin/lynx-dev +fi + +#DEBHELPER# + +exit 0 diff --git a/PACKAGE/debian/rules b/PACKAGE/debian/rules new file mode 100755 index 0000000..908ed5e --- /dev/null +++ b/PACKAGE/debian/rules @@ -0,0 +1,195 @@ +#!/usr/bin/make -f +# $LynxId: rules,v 1.19 2024/01/15 01:16:07 tom Exp $ + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +PKG_SUFFIX = -dev + +PACKAGE := $(shell dpkg-parsechangelog| \ + sed -n 's/^Source: \(.*\)$$/\1/p') + +docdir := /usr/share/doc/$(PACKAGE) +helpdir := $(docdir)/help_dir + +DSTDIR := $(CURDIR)/debian/$(PACKAGE) +DOCDIR := $(DSTDIR)$(docdir) + +CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) +CFLAGS := $(shell dpkg-buildflags --get CFLAGS) +LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +DEBOP=--enable-debug +else +DEBOP= +endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +# This package adds the following not in Debian lynx-cur: +# --enable-htmlized-cfg +# --enable-local-docs +# --with-cfg-path + +configure: configure-stamp +configure-stamp: + dh_testdir + + CPPFLAGS="$(CPPFLAGS)" \ + CFLAGS="$(CFLAGS)" \ + LDFLAGS="$(LDFLAGS)" \ + env cf_cv_SYSTEM_MAIL=/usr/sbin/sendmail \ + COMPRESS=/usr/bin/compress \ + BZIP2=/bin/bzip2 \ + UNZIP=/usr/bin/unzip \ + ZIP=/usr/bin/zip \ + LIBS="-lbsd" \ + ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --program-suffix=$(PKG_SUFFIX) \ + --prefix=/usr \ + --libexecdir=\$${prefix}/lib \ + --mandir=\$${prefix}/share/man \ + --sysconfdir=/etc/$(PACKAGE) \ + --with-cfg-path=/etc/$(PACKAGE):$(docdir)/samples \ + --localstatedir=/var \ + --disable-rpath-hack \ + --libdir=/etc/$(PACKAGE) \ + --enable-8bit-toupper \ + --enable-cgi-links \ + --enable-change-exec \ + --enable-charset-choice \ + --enable-cjk \ + --enable-default-colors \ + --enable-exec-links \ + --enable-exec-scripts \ + --enable-externs \ + --enable-font-switch \ + --enable-forms-options \ + --enable-gzip-help \ + --enable-htmlized-cfg \ + --enable-internal-links \ + --enable-ipv6 \ + --enable-chinese-utf8 \ + --enable-japanese-utf8 \ + --enable-justify-elts \ + --enable-kbd-layout \ + --enable-local-docs \ + --enable-nested-tables \ + --enable-nls \ + --enable-nsl-fork \ + --enable-partial \ + --enable-persistent-cookies \ + --enable-prettysrc \ + --enable-read-eta \ + --enable-scrollbar \ + --enable-source-cache \ + --enable-syslog \ + --enable-warnings \ + --with-gnutls=/usr \ + --with-screen=ncursesw6dev \ + --with-textdomain=$(PACKAGE) \ + --without-included-gettext \ + ${DEBOP} + + $(MAKE) preinstall \ + docdir=$(docdir) \ + helpdir=$(helpdir) + + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + $(MAKE) \ + docdir=$(docdir) \ + helpdir=$(helpdir) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + [ ! -f Makefile ] || $(MAKE) clean + + rm -f configure-stamp build-stamp install-stamp \ + config.cache config.h config.status config.log makefile + + rm -f *.o lynx + + dh_clean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) install \ + DESTDIR=$(CURDIR)/debian/$(PACKAGE) \ + docdir=$(docdir) \ + helpdir=$(helpdir) + + touch install-stamp + +install: install-indep install-arch +install-indep: + +install-arch: + dh_testdir + dh_testroot + dh_prep -s + dh_installdirs -s + + $(MAKE) install-full \ + DESTDIR=$(DSTDIR) \ + docdir=$(docdir) \ + helpdir=$(helpdir) + + cd $(DOCDIR) && rm -f COPY*.asc CHANGES + +# Build architecture-independent files here. +binary-indep: build install +# No binary-indep target. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_lintian + dh_installdebconf + dh_installdocs + dh_installmenu + dh_installmime + dh_installexamples + dh_installchangelogs CHANGES + dh_install + dh_link + dh_strip + dh_compress -XCOPY -X.lss + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install install-stamp diff --git a/PACKAGE/debian/source/format b/PACKAGE/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/PACKAGE/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/PACKAGE/debian/watch b/PACKAGE/debian/watch new file mode 100644 index 0000000..f833931 --- /dev/null +++ b/PACKAGE/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts=passive https://invisible-island.net/lynx/archives/lynx-cur\.tgz \ + debian uupdate -- cgit v1.2.3