diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2005-03-15 14:20:32 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2005-03-15 14:20:32 +0000 |
commit | bc08e3dd2d0c76889a2f40bf2d14d1a777360e7b (patch) | |
tree | bfebc15afabe56c331f500fc75f1b4a778fd5193 /www-client/lynx | |
parent | failure (diff) | |
download | historical-bc08e3dd2d0c76889a2f40bf2d14d1a777360e7b.tar.gz historical-bc08e3dd2d0c76889a2f40bf2d14d1a777360e7b.tar.bz2 historical-bc08e3dd2d0c76889a2f40bf2d14d1a777360e7b.zip |
Moved from net-www/lynx to www-client/lynx.
Diffstat (limited to 'www-client/lynx')
-rw-r--r-- | www-client/lynx/ChangeLog | 166 | ||||
-rw-r--r-- | www-client/lynx/Manifest | 14 | ||||
-rw-r--r-- | www-client/lynx/files/digest-lynx-2.8.4.1c | 4 | ||||
-rw-r--r-- | www-client/lynx/files/digest-lynx-2.8.4.1d | 5 | ||||
-rw-r--r-- | www-client/lynx/files/digest-lynx-2.8.4.1d-r1 | 5 | ||||
-rw-r--r-- | www-client/lynx/files/digest-lynx-2.8.5 | 1 | ||||
-rw-r--r-- | www-client/lynx/files/lynx-2.8.4.1c-gentoo.patch | 8 | ||||
-rw-r--r-- | www-client/lynx/files/lynx-2.8.4.1d-gentoo.patch | 8 | ||||
-rw-r--r-- | www-client/lynx/files/lynx-2.8.4a-LYStrings.c-gentoo.patch | 8 | ||||
-rw-r--r-- | www-client/lynx/files/lynx2.8.4rel.1a.patch | 247 | ||||
-rw-r--r-- | www-client/lynx/lynx-2.8.4.1c.ebuild | 79 | ||||
-rw-r--r-- | www-client/lynx/lynx-2.8.4.1d-r1.ebuild | 85 | ||||
-rw-r--r-- | www-client/lynx/lynx-2.8.4.1d.ebuild | 81 | ||||
-rw-r--r-- | www-client/lynx/lynx-2.8.5.ebuild | 67 | ||||
-rw-r--r-- | www-client/lynx/metadata.xml | 8 |
15 files changed, 786 insertions, 0 deletions
diff --git a/www-client/lynx/ChangeLog b/www-client/lynx/ChangeLog new file mode 100644 index 000000000000..ff13182c5ec2 --- /dev/null +++ b/www-client/lynx/ChangeLog @@ -0,0 +1,166 @@ +# ChangeLog for net-www/lynx +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/ChangeLog,v 1.3 2005/03/15 14:20:32 seemant Exp $ + +*lynx-2.8.5 (15 Mar 2005) +*lynx-2.8.4.1d-r1 (15 Mar 2005) +*lynx-2.8.4.1d (15 Mar 2005) +*lynx-2.8.4.1c (15 Mar 2005) + + 15 Mar 2005; Seemant Kulleen <seemant@gentoo.org> + +files/lynx-2.8.4.1c-gentoo.patch, +files/lynx-2.8.4.1d-gentoo.patch, + +files/lynx-2.8.4a-LYStrings.c-gentoo.patch, +files/lynx2.8.4rel.1a.patch, + +metadata.xml, +lynx-2.8.4.1c.ebuild, +lynx-2.8.4.1d.ebuild, + +lynx-2.8.4.1d-r1.ebuild, +lynx-2.8.5.ebuild: + Moved from net-www/lynx to www-client/lynx. + + 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 04 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> lynx-2.8.5.ebuild: + Masked lynx-2.8.5.ebuild stable for ppc + + 13 Aug 2004; Rob Holland <tigger@gentoo.org> lynx-2.8.4.1c.ebuild, + lynx-2.8.4.1d-r1.ebuild, lynx-2.8.4.1d.ebuild, lynx-2.8.5.ebuild: + Fix SRC_URIs + + 11 Jun 2004; Bryan Ăstergaard <kloeri@gentoo.org> lynx-2.8.5.ebuild: + Stable on alpha. + + 05 Jun 2004; <tuxus@gentoo.org> lynx-2.8.5.ebuild: + Stable on mips + + 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> lynx-2.8.4.1d-r1.ebuild, + lynx-2.8.5.ebuild: + Add inherit eutils + + 13 Apr 2004; Guy Martin <gmsoft@gentoo.org> lynx-2.8.5.ebuild: + Marked stable on hppa. + + 11 Apr 2004; Gustavo Zacarias <gustavoz@gentoo.org> lynx-2.8.5.ebuild: + stable on sparc + + 08 Apr 2004; Deedra Waters,,, <dmwaters@gentoo.org> lynx-2.8.5.ebuild: + Marked 2.8.5 2.8.5 stable on x86. Gave it a metadata.xml listing me as the + maintainer since it doesn't have a regular maintainer. Added + --enable-EXP_PERSISTENT_COOKIES--enable-EXP_PERSISTENT_COOKIES in the econf + part of the ebuild so that lynx could handle certain webpages's cookies. + + 15 Mar 2004; Joshua Kinard <kumba@gentoo.org> lynx-2.8.4.1d-r1.ebuild: + Marked stable on mips. + + 07 Mar 2004; Tom Gall <tgall@gentoo.org> lynx-2.8.5.ebuild: + stable on ppc64 + +*lynx-2.8.5 (11 Feb 2004) + + 11 Feb 2004; Brian Jackson <iggy@gentoo.org> lynx-2.8.5.ebuild: + version bump + + 10 Feb 2004; Gustavo Zacarias <gustavoz@gentoo.org> lynx-2.8.4.1d-r1.ebuild: + stable on sparc + + 07 Feb 2004; Brian Jackson <iggy@gentoo.org> lynx-2.8.4.1c.ebuild, + lynx-2.8.4.1d-r1.ebuild, lynx-2.8.4.1d.ebuild: + marking x86 + + 19 Jan 2004; Daniel Ahlberg <aliz@gentoo.org> lynx-2.8.4.1d-r1.ebuild: + Various updates, removed an old version so that I could remove an old entry + from packages.mask. + + 18 Sep 2003; Jon Portnoy <avenj@gentoo.org> lynx-2.8.4.1d-r1.ebuild : + ia64 keywords. + +*lynx-2.8.4.1d-r1 (04 Jul 2003) + + 06 Jul 2003; Guy Martin <gmsoft@gentoo.org> lynx-2.8.4.1d-r1.ebuild : + Marked stable on hppa. + + 04 Jul 2003; Patrick Kursawe <phosphan@gentoo.org> lynx-2.8.4.1d-r1.ebuild: + fixing bug 23898 + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + + +*lynx-2.8.4.1d (20 Nov 2002) + + 16 Jul 2003; Jan Seidel <tuxus@gentoo.org> lynx-2.8.4.1d-r1.ebuild : + Marked stable on mips + + 01 Jun 2003; Joshua Kinard <kumba@gentoo.org> lynx-2.8.4.1d.ebuild: + Added ~mips to KEYWORDS + + 16 Apr 2003; Guy Martin <gmsoft@gentoo.org> lynx-2.8.4.1d.ebuild : + Marked stable on hppa. + + 03 Mar 2003; Aron Griffis <agriffis@gentoo.org> lynx-2.8.4.1d.ebuild: + Mark stable on alpha + + 03 Dec 2002; Will Woods <wwoods@gentoo.org> : + Added ~alpha to keywords. + + 20 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> : + Version bump + +*lynx-2.8.4.1c (26 Aug 2002) + + 11 Feb 2003; Guy Martin <gmsoft@gentoo.org> lynx-2.8.4.1c.ebuild : + Added hppa to keywords. + + 14 Sept 2002; Maarten Thibaut <murphy@gentoo.org> lynx-2.8.4.1c.ebuild : + Added sparc/sparc64 to keywords. + + 07 Sept 2002; Calum Selkirk <cselkirk@gentoo.org> lynx-2.8.4.1c.ebuild : + Added ppc to KEYWORDS. + + 28 Aug 2002; Seemant Kulleen <seemant@gentoo.org> lynx-2.8.4.1c.ebuild + lynx-2.8.4a-r4.ebuild : + PROVIDE=virtual/textbrowser + + 26 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> lynx-2.8.4.1c.ebuild : + Updated to latest patchlevel to fix CRLF injection. More info availabe + at http://online.securityfocus.com/archive/1/288054/2002-08-16/2002-08-22/0 + and http://online.securityfocus.com/archive/1/288620/2002-08-16/2002-08-22/0 + +*lynx-2.8.4a-r4 (2 June 2002) + + 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> lynx-2.8.4a-r4.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 2 June 2002; Matthew Kennedy <mkennedy@gentoo.org> lynx-2.8.4a-r4.ebuild, + files/digest-lynx-2.8.4a-r4, files/lynx-2.8.4a-LYStrings.c-gentoo.patch, ChangeLog : + Patch for GCC3.1 support. Some users report success with -r3, some + don't. + +*lynx-2.8.4a-r3 (29 May 2002) + + 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> lynx-2.8.4a-r3.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 29 May 2002; Preston A. Elder <prez@gentoo.org> lynx-2.8.4a-r3.ebuild : + Fixed the ebuild to just pass --with-ssl=yes, not --with-ssl=/usr. + The configure fails to do the right thing with the path version. + +*lynx-2.8.4a-r3 (08 May 2002) + + 08 May 2002; Carl Perry <edolnx@gentoo.org> lynx-2.8.4a-r3.ebuild : + Fixed the alternate SRC_URI link so that it works. Found during + ibiblio.org outage yesterday. + +*lynx-2.8.4a-r3 (21 Mar 2002) + + 21 Mar 2002; Seemant Kulleen <seemant@gentoo.org> lynx-2.8.4a-r3.ebuild : + HTML documentation will no longer be gzipped. This bug located by + stefan@mdy.univie.ac.at + +*lynx-2.8.4a-r2 (1 Feb 2002) + + 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> lynx-2.8.4a-r2.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/www-client/lynx/Manifest b/www-client/lynx/Manifest new file mode 100644 index 000000000000..72ddcc02dfaa --- /dev/null +++ b/www-client/lynx/Manifest @@ -0,0 +1,14 @@ +MD5 399ce834ff1764c06b0d94f6bfecaa2b lynx-2.8.4.1d.ebuild 2296 +MD5 fb0407b936f3cfc98f9eaa08f69d35cf lynx-2.8.4.1c.ebuild 2162 +MD5 0b9486251b1178390120828bef043461 ChangeLog 5530 +MD5 a54f22a6ba1b2bf08f6820e57fb855e3 lynx-2.8.4.1d-r1.ebuild 2395 +MD5 8496095fe677064bdea6665948aa0cca lynx-2.8.5.ebuild 1776 +MD5 acaa86fdf4e340e1180ce324110007cd metadata.xml 224 +MD5 2290b4fe7526899243941069f01d01eb files/lynx-2.8.4.1d-gentoo.patch 196 +MD5 a48ecda8afc164dc0252e8d0ed579d49 files/digest-lynx-2.8.4.1d 324 +MD5 0dacb03b3e82b0069b0b2d8e9706f234 files/lynx-2.8.4a-LYStrings.c-gentoo.patch 188 +MD5 d256ae9121ae1557872c376683b93cc8 files/digest-lynx-2.8.5 63 +MD5 a5a3cf665f0451dfebbbdc90b2d23a89 files/digest-lynx-2.8.4.1c 260 +MD5 b0b269efc9ff697e40a10f99919599ea files/lynx2.8.4rel.1a.patch 7515 +MD5 a48ecda8afc164dc0252e8d0ed579d49 files/digest-lynx-2.8.4.1d-r1 324 +MD5 2290b4fe7526899243941069f01d01eb files/lynx-2.8.4.1c-gentoo.patch 196 diff --git a/www-client/lynx/files/digest-lynx-2.8.4.1c b/www-client/lynx/files/digest-lynx-2.8.4.1c new file mode 100644 index 000000000000..23f1e5954362 --- /dev/null +++ b/www-client/lynx/files/digest-lynx-2.8.4.1c @@ -0,0 +1,4 @@ +MD5 6916c0127839f1e454052b683e4691c4 lynx2.8.4rel.1.tar.bz2 1940531 +MD5 d209e52d8182c7c12d784e90c0890ee4 lynx2.8.4rel.1a.patch 7530 +MD5 a687a3d2465d5fd42ce686485dbf71eb lynx2.8.4rel.1b.patch 8939 +MD5 728c8dfde1484b68940673ccf060707e lynx2.8.4rel.1c.patch 9270 diff --git a/www-client/lynx/files/digest-lynx-2.8.4.1d b/www-client/lynx/files/digest-lynx-2.8.4.1d new file mode 100644 index 000000000000..28f910b2bc5c --- /dev/null +++ b/www-client/lynx/files/digest-lynx-2.8.4.1d @@ -0,0 +1,5 @@ +MD5 6916c0127839f1e454052b683e4691c4 lynx2.8.4rel.1.tar.bz2 1940531 +MD5 d209e52d8182c7c12d784e90c0890ee4 lynx2.8.4rel.1a.patch 7530 +MD5 a687a3d2465d5fd42ce686485dbf71eb lynx2.8.4rel.1b.patch 8939 +MD5 728c8dfde1484b68940673ccf060707e lynx2.8.4rel.1c.patch 9270 +MD5 f710a4b1eac5be0f014816dd48da6ddc lynx2.8.4rel.1d.patch 4688 diff --git a/www-client/lynx/files/digest-lynx-2.8.4.1d-r1 b/www-client/lynx/files/digest-lynx-2.8.4.1d-r1 new file mode 100644 index 000000000000..28f910b2bc5c --- /dev/null +++ b/www-client/lynx/files/digest-lynx-2.8.4.1d-r1 @@ -0,0 +1,5 @@ +MD5 6916c0127839f1e454052b683e4691c4 lynx2.8.4rel.1.tar.bz2 1940531 +MD5 d209e52d8182c7c12d784e90c0890ee4 lynx2.8.4rel.1a.patch 7530 +MD5 a687a3d2465d5fd42ce686485dbf71eb lynx2.8.4rel.1b.patch 8939 +MD5 728c8dfde1484b68940673ccf060707e lynx2.8.4rel.1c.patch 9270 +MD5 f710a4b1eac5be0f014816dd48da6ddc lynx2.8.4rel.1d.patch 4688 diff --git a/www-client/lynx/files/digest-lynx-2.8.5 b/www-client/lynx/files/digest-lynx-2.8.5 new file mode 100644 index 000000000000..5508fae56078 --- /dev/null +++ b/www-client/lynx/files/digest-lynx-2.8.5 @@ -0,0 +1 @@ +MD5 d1e5134e5d175f913c16cb6768bc30eb lynx2.8.5.tar.bz2 2177287 diff --git a/www-client/lynx/files/lynx-2.8.4.1c-gentoo.patch b/www-client/lynx/files/lynx-2.8.4.1c-gentoo.patch new file mode 100644 index 000000000000..0d28397d1b0c --- /dev/null +++ b/www-client/lynx/files/lynx-2.8.4.1c-gentoo.patch @@ -0,0 +1,8 @@ +--- src/LYStrings.c Wed May 29 14:41:43 2002 ++++ src/LYStrings.c~ Wed May 29 14:41:21 2002 +@@ -1,3 +1,4 @@ ++#include <term.h> + #include <HTUtils.h> + #include <HTCJK.h> + #include <UCAux.h> + diff --git a/www-client/lynx/files/lynx-2.8.4.1d-gentoo.patch b/www-client/lynx/files/lynx-2.8.4.1d-gentoo.patch new file mode 100644 index 000000000000..0d28397d1b0c --- /dev/null +++ b/www-client/lynx/files/lynx-2.8.4.1d-gentoo.patch @@ -0,0 +1,8 @@ +--- src/LYStrings.c Wed May 29 14:41:43 2002 ++++ src/LYStrings.c~ Wed May 29 14:41:21 2002 +@@ -1,3 +1,4 @@ ++#include <term.h> + #include <HTUtils.h> + #include <HTCJK.h> + #include <UCAux.h> + diff --git a/www-client/lynx/files/lynx-2.8.4a-LYStrings.c-gentoo.patch b/www-client/lynx/files/lynx-2.8.4a-LYStrings.c-gentoo.patch new file mode 100644 index 000000000000..563fb881b97a --- /dev/null +++ b/www-client/lynx/files/lynx-2.8.4a-LYStrings.c-gentoo.patch @@ -0,0 +1,8 @@ +--- LYStrings.c Wed May 29 14:41:43 2002 ++++ LYStrings.c~ Wed May 29 14:41:21 2002 +@@ -1,3 +1,4 @@ ++#include <term.h> + #include <HTUtils.h> + #include <HTCJK.h> + #include <UCAux.h> + diff --git a/www-client/lynx/files/lynx2.8.4rel.1a.patch b/www-client/lynx/files/lynx2.8.4rel.1a.patch new file mode 100644 index 000000000000..7c662bb5fcec --- /dev/null +++ b/www-client/lynx/files/lynx2.8.4rel.1a.patch @@ -0,0 +1,247 @@ +# ------------------------------------------------------------------------------ +# CHANGES | 17 +++++++++++++++++ +# config.hin | 1 + +# configure | 2 +- +# configure.in | 2 +- +# src/LYCurses.c | 2 +- +# src/LYEdit.c | 4 ++++ +# src/LYMainLoop.c | 2 +- +# src/LYStrings.c | 32 +++++++++++++++++++++++++++++++- +# src/LYStyle.c | 14 ++++++++++---- +# 9 files changed, 67 insertions(+), 9 deletions(-) +# ------------------------------------------------------------------------------ +Index: CHANGES +--- lynx2.8.4rel.1+/CHANGES Tue Jul 17 17:04:37 2001 ++++ lynx2.8.4rel.1a/CHANGES Mon Jul 23 21:43:12 2001 +@@ -1,6 +1,23 @@ + Changes since Lynx 2.8 release + =============================================================================== + ++2001-07-24 (2.8.5dev.1) ++* modify GetChar() definition for PDCurses to ignore key-modifiers which are ++ passed back from getch() as if they were key codes. Those interfere with ++ shifted commands such as 'Q' -TD ++* modify parse_style() function to operate on a copy of its parameter, to avoid ++ changing it. Otherwise, when parse_style() is executed as a side effect of ++ start_curses(), its data is modified and not valid on successive calls. ++ This bug existed prior to 2.8.4dev.17 -TD ++* set return value of edit_current_file() to true if the file is edited. This ++ forces a reload for example if one edits the current html file, and is needed ++ to make PDCurses repaint the screen as well (report by vtailor@gte.net, ++ bug introduced in 2.8.4dev.21) -TD ++* add ifdef for wresize() to accommodate FreeBSD 3.x which has resizeterm() but ++ not wresize(). Also, use a 'long' rather than 'attr_t'. These changes are ++ needed to build with the 1.8.6ache patches to ncurses (report by Matt ++ <matt@greenviolet.net>) -TD ++ + 2001-07-17 (2.8.4rel.1) + * remove comment in README.ssl directing people to + http://www.moxienet.com/lynx/, since that page is moot with 2.8.4 (report by +Index: config.hin +--- lynx2.8.4rel.1+/config.hin Sun Jun 3 17:17:35 2001 ++++ lynx2.8.4rel.1a/config.hin Mon Jul 23 20:56:21 2001 +@@ -150,6 +150,7 @@ + #undef HAVE_WAITPID + #undef HAVE_WBORDER + #undef HAVE_WREDRAWLN ++#undef HAVE_WRESIZE + #undef HAVE_XCURSES /* CF_PDCURSES_X11 */ + #undef HAVE___ARGZ_COUNT /* defined by AM_GNU_GETTEXT */ + #undef HAVE___ARGZ_NEXT /* defined by AM_GNU_GETTEXT */ +Index: configure +--- lynx2.8.4rel.1+/configure Tue Jul 17 17:04:37 2001 ++++ lynx2.8.4rel.1a/configure Mon Jul 23 20:55:50 2001 +@@ -12241,7 +12241,7 @@ + newpad \ + newterm \ + pnoutrefresh \ +- resizeterm \ ++ wresize resizeterm \ + touchline \ + touchwin \ + use_default_colors \ +Index: configure.in +--- lynx2.8.4rel.1+/configure.in Tue Jul 17 17:04:37 2001 ++++ lynx2.8.4rel.1a/configure.in Mon Jul 23 20:55:50 2001 +@@ -610,7 +610,7 @@ + newpad \ + newterm \ + pnoutrefresh \ +- resizeterm \ ++ wresize resizeterm \ + touchline \ + touchwin \ + use_default_colors \ +Index: src/LYCurses.c +--- lynx2.8.4rel.1+/src/LYCurses.c Sat Jul 7 21:41:23 2001 ++++ lynx2.8.4rel.1a/src/LYCurses.c Mon Jul 23 20:55:50 2001 +@@ -1538,7 +1538,7 @@ + LYsubwindow(form_window); + # ifdef USE_COLOR_STYLE + { +- attr_t b; ++ long b; + + /* Get a proper value for the attribute */ + LynxWChangeStyle(form_window, s_menu_bg, STACK_ON); +Index: src/LYEdit.c +--- lynx2.8.4rel.1+/src/LYEdit.c Sun Jun 3 17:17:35 2001 ++++ lynx2.8.4rel.1a/src/LYEdit.c Mon Jul 23 19:56:42 2001 +@@ -156,6 +156,7 @@ + sprintf(position, "%d", lineno); + + edit_temporary_file(filename, position, NULL); ++ result = TRUE; + + done: + /* +@@ -165,6 +166,7 @@ + *number_sign = '#'; + + FREE(filename); ++ CTRACE((tfp, "edit_current_file returns %d\n", result)); + return (result); + } + +@@ -173,7 +175,9 @@ + char *, position, + char *, message) + { ++#ifdef UNIX + struct stat stat_info; ++#endif + char *format = "%s %s"; + char *command = NULL; + char *editor_arg = ""; +Index: src/LYMainLoop.c +--- lynx2.8.4rel.1+/src/LYMainLoop.c Sat Jul 7 21:41:23 2001 ++++ lynx2.8.4rel.1a/src/LYMainLoop.c Mon Jul 23 20:55:50 2001 +@@ -6143,7 +6143,7 @@ + * WINDOW structures are already filled based on the old size. + * So we notify the ncurses library directly here. - kw + */ +-#if defined(NCURSES) && defined(HAVE_RESIZETERM) ++#if defined(NCURSES) && defined(HAVE_RESIZETERM) && defined(HAVE_WRESIZE) + resizeterm(LYlines, LYcols); + wresize(LYwin, LYlines, LYcols); + #else +Index: src/LYStrings.c +--- lynx2.8.4rel.1+/src/LYStrings.c Sun Jun 10 21:14:52 2001 ++++ lynx2.8.4rel.1a/src/LYStrings.c Mon Jul 23 19:32:48 2001 +@@ -703,6 +703,36 @@ + #define GetChar() wgetch(my_subwindow ? my_subwindow : LYwin) + #endif + ++#if !defined(GetChar) && defined(PDCURSES) ++/* PDCurses sends back key-modifiers that we don't use, but would waste time ++ * upon, e.g., repainting the status line ++ */ ++PRIVATE int myGetChar NOARGS ++{ ++ int c; ++ BOOL done = FALSE; ++ ++ do { ++ switch (c = wgetch(LYwin)) ++ { ++ case KEY_SHIFT_L : ++ case KEY_SHIFT_R : ++ case KEY_CONTROL_L : ++ case KEY_CONTROL_R : ++ case KEY_ALT_L : ++ case KEY_ALT_R : ++ case KEY_RESIZE : ++ break; ++ default: ++ done = TRUE; ++ break; ++ } ++ } while (!done); ++ return c; ++} ++#define GetChar() myGetChar() ++#endif ++ + #if !defined(GetChar) && defined(SNAKE) + #define GetChar() wgetch(LYwin) + #endif +@@ -713,7 +743,7 @@ + + #if !defined(GetChar) + #if HAVE_KEYPAD +-#define GetChar getch ++#define GetChar() getch() + #else + #ifndef USE_GETCHAR + #define USE_GETCHAR +Index: src/LYStyle.c +--- lynx2.8.4rel.1+/src/LYStyle.c Sat Jul 7 21:41:23 2001 ++++ lynx2.8.4rel.1a/src/LYStyle.c Mon Jul 23 20:24:32 2001 +@@ -190,7 +190,7 @@ + curPair = our_pairs[!!(cA & A_BOLD)][!!(cA & M_BLINK)][fA][bA] - 1; + else { + curPair = ++colorPairs; +- init_pair(curPair, fA, bA); ++ init_pair((short)curPair, (short)fA, (short)bA); + if (fA < MAX_COLOR + && bA < MAX_COLOR + && curPair < 255) +@@ -216,7 +216,7 @@ + /* parse a style option of the format + * STYLE:<OBJECT>:FG:BG + */ +-PRIVATE void parse_style ARGS1(char*,buffer) ++PRIVATE void parse_style ARGS1(char*, param) + { + static struct { + char *name; +@@ -254,6 +254,7 @@ + unsigned n; + BOOL found = FALSE; + ++ char *buffer = strdup(param); + char *tmp = strchr(buffer, ':'); + char *element, *mono, *fg, *bg; + +@@ -339,6 +340,7 @@ + else + parse_attributes(mono,fg,bg, DSTYLE_ELEMENTS,element); + } ++ FREE(buffer); + } + + #ifdef LY_FIND_LEAKS +@@ -366,6 +368,7 @@ + }; + unsigned n; + char temp[80]; ++ CTRACE((tfp, "initialize_default_stylesheet\n")); + for (n = 0; n < TABLESIZE(table); n++) { + parse_style(strcpy(temp, table[n])); + } +@@ -410,10 +413,11 @@ + * need to remember the STYLE: lines we encounter and parse them + * after curses has started + */ +-HTList *lss_styles = NULL; ++PRIVATE HTList *lss_styles = NULL; + + PUBLIC void parse_userstyles NOARGS + { ++ static BOOL first = TRUE; + char *name; + HTList *cur = lss_styles; + +@@ -453,9 +457,11 @@ + /* Add a STYLE: option line to our list. Process "default:" early + for it to have the same semantic as other lines: works at any place + of the style file, the first line overrides the later ones. */ +-PRIVATE void HStyle_addStyle ARGS1(char*,buffer) ++PRIVATE void HStyle_addStyle ARGS1(char*, buffer) + { + char *name = NULL; ++ ++ CTRACE((tfp, "HStyle_addStyle(%s)\n", buffer)); + StrAllocCopy(name, buffer); + if (lss_styles == NULL) + lss_styles = HTList_new(); diff --git a/www-client/lynx/lynx-2.8.4.1c.ebuild b/www-client/lynx/lynx-2.8.4.1c.ebuild new file mode 100644 index 000000000000..630087d8c753 --- /dev/null +++ b/www-client/lynx/lynx-2.8.4.1c.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.4.1c.ebuild,v 1.3 2005/03/15 14:20:32 seemant Exp $ + +IUSE="ssl nls ipv6" + +MY_PV=${PV/.1c/rel.1} +S=${WORKDIR}/${PN}2-8-4 +DESCRIPTION="An excellent console-based web browser with ssl support" +HOMEPAGE="http://lynx.browser.org/" +SRC_URI="ftp://lynx.isc.org/${PN}2.8.4/${PN}${MY_PV}.tar.bz2 + ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}a.patch + ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}b.patch + ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}c.patch" +KEYWORDS="x86 ppc sparc hppa" +SLOT="0" +LICENSE="GPL-2" + +DEPEND=">=sys-libs/ncurses-5.1 + >=sys-libs/zlib-1.1.3 + nls? ( sys-devel/gettext ) + ssl? ( >=dev-libs/openssl-0.9.6 )" + +PROVIDE="virtual/textbrowser" + +src_unpack() { + unpack ${PN}${MY_PV}.tar.bz2 + cd ${S} + + patch -p1 < ${DISTDIR}/${PN}${MY_PV}a.patch || die + patch -p1 < ${DISTDIR}/${PN}${MY_PV}b.patch || die + patch -p1 < ${DISTDIR}/${PN}${MY_PV}c.patch || die + + # GCC3.1 support -- check if it's really needed in + # future. Some users report complete success with -r3 -- + # credit to lostlogix and carpaski. Resolves #3172 + patch -p0 < ${FILESDIR}/${P}-gentoo.patch || die +} + +src_compile() { + local myconf + use nls && myconf="${myconf} --enable-nls" + use ssl && myconf="${myconf} --with-ssl=yes" + use ipv6 && myconf="${myconf} --enable-ipv6" + + CFLAGS="${CFLAGS} -DANSI_VARARGS" + + econf \ + --libdir=/etc/lynx \ + --enable-cgi-links \ + --enable-prettysrc \ + --enable-nsl-fork \ + --enable-file-upload \ + --enable-read-eta \ + --enable-libjs \ + --enable-color-style \ + --enable-scrollbar \ + --enable-included-msgs \ + --with-zlib \ + ${myconf} || die + + emake || die "compile problem" +} + +src_install() { + make prefix=${D}/usr datadir=${D}/usr/share mandir=${D}/usr/share/man \ + libdir=${D}/etc/lynx install || die + + dodoc CHANGES COPYHEADER COPYING INSTALLATION PROBLEMS README + docinto docs + dodoc docs/* + docinto lynx_help + dodoc lynx_help/*.txt + dohtml -r lynx_help + + # small little manpage glitch + rm ${D}/usr/share/man/lynx.1 + newman lynx.man lynx.1 +} diff --git a/www-client/lynx/lynx-2.8.4.1d-r1.ebuild b/www-client/lynx/lynx-2.8.4.1d-r1.ebuild new file mode 100644 index 000000000000..7424489df444 --- /dev/null +++ b/www-client/lynx/lynx-2.8.4.1d-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.4.1d-r1.ebuild,v 1.3 2005/03/15 14:20:32 seemant Exp $ + +inherit eutils + +IUSE="ssl nls ipv6" + +MY_PV=${PV/.1d/rel.1} +S=${WORKDIR}/${PN}2-8-4 +DESCRIPTION="An excellent console-based web browser with ssl support" +HOMEPAGE="http://lynx.browser.org/" +SRC_URI="ftp://lynx.isc.org/${PN}2.8.4/${PN}${MY_PV}.tar.bz2 + ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}a.patch + ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}b.patch + ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}c.patch + ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}d.patch" +KEYWORDS="x86 ppc sparc alpha hppa mips ia64 ~amd64" +SLOT="0" +LICENSE="GPL-2" + +DEPEND=">=sys-libs/ncurses-5.1 + >=sys-libs/zlib-1.1.3 + nls? ( sys-devel/gettext ) + ssl? ( >=dev-libs/openssl-0.9.6 )" + +PROVIDE="virtual/textbrowser" + +src_unpack() { + unpack ${PN}${MY_PV}.tar.bz2 + cd ${S} + + epatch ${DISTDIR}/${PN}${MY_PV}a.patch + epatch ${DISTDIR}/${PN}${MY_PV}b.patch + epatch ${DISTDIR}/${PN}${MY_PV}c.patch + epatch ${DISTDIR}/${PN}${MY_PV}d.patch + + # GCC3.1 support -- check if it's really needed in + # future. Some users report complete success with -r3 -- + # credit to lostlogix and carpaski. Resolves #3172 + epatch ${FILESDIR}/${P}-gentoo.patch +} + +src_compile() { + local myconf + use nls && myconf="${myconf} --enable-nls" + use ssl && myconf="${myconf} --with-ssl=yes" + use ipv6 && myconf="${myconf} --enable-ipv6" + + CFLAGS="${CFLAGS} -DANSI_VARARGS" + + econf \ + --libdir=/etc/lynx \ + --enable-cgi-links \ + --enable-prettysrc \ + --enable-nsl-fork \ + --enable-file-upload \ + --enable-read-eta \ + --enable-libjs \ + --enable-color-style \ + --enable-scrollbar \ + --enable-included-msgs \ + --with-zlib \ + ${myconf} || die + + emake || die "compile problem" +} + +src_install() { + make prefix=${D}/usr datadir=${D}/usr/share mandir=${D}/usr/share/man \ + libdir=${D}/etc/lynx install || die + + dosed "s|^HELPFILE.*$|HELPFILE:file://localhost/usr/share/doc/${PF}/lynx_help/lynx_help/lynx_help_main.html|" \ + /etc/lynx/lynx.cfg + dodoc CHANGES COPYHEADER COPYING INSTALLATION PROBLEMS README + docinto docs + dodoc docs/* + docinto lynx_help + dodoc lynx_help/*.txt + dohtml -r lynx_help + + # small little manpage glitch + rm ${D}/usr/share/man/lynx.1 + newman lynx.man lynx.1 +} diff --git a/www-client/lynx/lynx-2.8.4.1d.ebuild b/www-client/lynx/lynx-2.8.4.1d.ebuild new file mode 100644 index 000000000000..eff8879325e4 --- /dev/null +++ b/www-client/lynx/lynx-2.8.4.1d.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.4.1d.ebuild,v 1.3 2005/03/15 14:20:32 seemant Exp $ + +IUSE="ssl nls ipv6" + +MY_PV=${PV/.1d/rel.1} +S=${WORKDIR}/${PN}2-8-4 +DESCRIPTION="An excellent console-based web browser with ssl support" +HOMEPAGE="http://lynx.browser.org/" +SRC_URI="ftp://lynx.isc.org/${PN}2.8.4/${PN}${MY_PV}.tar.bz2 + ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}a.patch + ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}b.patch + ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}c.patch + ftp://lynx.isc.org/lynx/lynx2.8.4/patches/${PN}${MY_PV}d.patch" +KEYWORDS="x86 ppc ~sparc alpha hppa mips amd64" +SLOT="0" +LICENSE="GPL-2" + +DEPEND=">=sys-libs/ncurses-5.1 + >=sys-libs/zlib-1.1.3 + nls? ( sys-devel/gettext ) + ssl? ( >=dev-libs/openssl-0.9.6 )" + +PROVIDE="virtual/textbrowser" + +src_unpack() { + unpack ${PN}${MY_PV}.tar.bz2 + cd ${S} + + patch -p1 < ${DISTDIR}/${PN}${MY_PV}a.patch || die + patch -p1 < ${DISTDIR}/${PN}${MY_PV}b.patch || die + patch -p1 < ${DISTDIR}/${PN}${MY_PV}c.patch || die + patch -p1 < ${DISTDIR}/${PN}${MY_PV}d.patch || die + + # GCC3.1 support -- check if it's really needed in + # future. Some users report complete success with -r3 -- + # credit to lostlogix and carpaski. Resolves #3172 + patch -p0 < ${FILESDIR}/${P}-gentoo.patch || die +} + +src_compile() { + local myconf + use nls && myconf="${myconf} --enable-nls" + use ssl && myconf="${myconf} --with-ssl=yes" + use ipv6 && myconf="${myconf} --enable-ipv6" + + CFLAGS="${CFLAGS} -DANSI_VARARGS" + + econf \ + --libdir=/etc/lynx \ + --enable-cgi-links \ + --enable-prettysrc \ + --enable-nsl-fork \ + --enable-file-upload \ + --enable-read-eta \ + --enable-libjs \ + --enable-color-style \ + --enable-scrollbar \ + --enable-included-msgs \ + --with-zlib \ + ${myconf} || die + + emake || die "compile problem" +} + +src_install() { + make prefix=${D}/usr datadir=${D}/usr/share mandir=${D}/usr/share/man \ + libdir=${D}/etc/lynx install || die + + dodoc CHANGES COPYHEADER COPYING INSTALLATION PROBLEMS README + docinto docs + dodoc docs/* + docinto lynx_help + dodoc lynx_help/*.txt + dohtml -r lynx_help + + # small little manpage glitch + rm ${D}/usr/share/man/lynx.1 + newman lynx.man lynx.1 +} diff --git a/www-client/lynx/lynx-2.8.5.ebuild b/www-client/lynx/lynx-2.8.5.ebuild new file mode 100644 index 000000000000..986321e25c1f --- /dev/null +++ b/www-client/lynx/lynx-2.8.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/lynx/lynx-2.8.5.ebuild,v 1.3 2005/03/15 14:20:32 seemant Exp $ + +inherit eutils flag-o-matic + +#MY_PV=${PV/.1d/rel.1} +DESCRIPTION="An excellent console-based web browser with ssl support" +HOMEPAGE="http://lynx.browser.org/" +SRC_URI="ftp://lynx.isc.org/${PN}2.8.5/${PN}${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc-macos s390 sparc x86" +IUSE="ssl nls ipv6" + +DEPEND=">=sys-libs/ncurses-5.1 + >=sys-libs/zlib-1.1.3 + nls? ( sys-devel/gettext ) + ssl? ( >=dev-libs/openssl-0.9.6 )" +PROVIDE="virtual/textbrowser" + +S=${WORKDIR}/${PN}${PV//./-} + +src_compile() { + local myconf + use nls && myconf="${myconf} --enable-nls" + use ssl && myconf="${myconf} --with-ssl=yes" + use ipv6 && myconf="${myconf} --enable-ipv6" + + append-flags -DANSI_VARARGS + + econf \ + --libdir=/etc/lynx \ + --enable-cgi-links \ + --enable-EXP_PERSISTENT_COOKIES \ + --enable-prettysrc \ + --enable-nsl-fork \ + --enable-file-upload \ + --enable-read-eta \ + --enable-libjs \ + --enable-color-style \ + --enable-scrollbar \ + --enable-included-msgs \ + --with-zlib \ + ${myconf} || die + + emake || die "compile problem" +} + +src_install() { + make prefix=${D}/usr datadir=${D}/usr/share mandir=${D}/usr/share/man \ + libdir=${D}/etc/lynx install || die + + dosed "s|^HELPFILE.*$|HELPFILE:file://localhost/usr/share/doc/${PF}/lynx_help/lynx_help/lynx_help_main.html|" \ + /etc/lynx/lynx.cfg + dodoc CHANGES COPYHEADER INSTALLATION PROBLEMS README + docinto docs + dodoc docs/* + docinto lynx_help + dodoc lynx_help/*.txt + dohtml -r lynx_help + + # small little manpage glitch + rm ${D}/usr/share/man/lynx.1 + newman lynx.man lynx.1 +} diff --git a/www-client/lynx/metadata.xml b/www-client/lynx/metadata.xml new file mode 100644 index 000000000000..339bd4505dd1 --- /dev/null +++ b/www-client/lynx/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>dmwaters@gentoo.org</email> +</maintainer> +</pkgmetadata> |