Toshaan Bharvani
1 year ago
commit
dc682a55c8
8 changed files with 1560 additions and 0 deletions
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
From d8a64ed1d63710ad764fbf3b1fb28d08204f9e72 Mon Sep 17 00:00:00 2001 |
||||
From: Kamil Dudka <kdudka@redhat.com> |
||||
Date: Wed, 13 Feb 2013 15:28:36 +0100 |
||||
Subject: [PATCH] avoid build failure caused by mistakenly excluded <locale.h> |
||||
|
||||
--- |
||||
src/LYMain.c | 2 +- |
||||
1 files changed, 1 insertions(+), 1 deletions(-) |
||||
|
||||
diff --git a/src/LYMain.c b/src/LYMain.c |
||||
index 9528be2..aaddb7b 100644 |
||||
--- a/src/LYMain.c |
||||
+++ b/src/LYMain.c |
||||
@@ -58,7 +58,7 @@ |
||||
#include <io.h> |
||||
#endif |
||||
|
||||
-#if defined(LOCALE) && (!defined(HAVE_LIBINTL_H) || !defined(LC_ALL)) |
||||
+#if defined(LOCALE) |
||||
#undef gettext /* Solaris locale.h prototypes gettext() */ |
||||
#include <locale.h> |
||||
#ifndef HAVE_GETTEXT |
||||
-- |
||||
1.7.1 |
||||
|
@ -0,0 +1,51 @@
@@ -0,0 +1,51 @@
|
||||
From e786483fb4b6fd2460c9a58ad7074e82ecf91747 Mon Sep 17 00:00:00 2001 |
||||
From: Tomas Hoger <thoger@redhat.com> |
||||
Date: Thu, 19 Aug 2021 16:50:02 +0200 |
||||
Subject: [PATCH] Upstream patch for CVE-2021-38165 |
||||
|
||||
Extracted from lynx 2.9.0dev.9. |
||||
|
||||
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1994998#c2 |
||||
--- |
||||
WWW/Library/Implementation/HTTP.c | 18 ++++++++++++++++++ |
||||
1 file changed, 18 insertions(+) |
||||
|
||||
diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c |
||||
index 41ab849..4a50b41 100644 |
||||
--- a/WWW/Library/Implementation/HTTP.c |
||||
+++ b/WWW/Library/Implementation/HTTP.c |
||||
@@ -762,6 +762,23 @@ static char *StripIpv6Brackets(char *host) |
||||
} |
||||
#endif |
||||
|
||||
+/* |
||||
+ * Remove user/password, if any, from the given host-string. |
||||
+ */ |
||||
+#ifdef USE_SSL |
||||
+static char *StripUserAuthents(char *host) |
||||
+{ |
||||
+ char *p = strchr(host, '@'); |
||||
+ |
||||
+ if (p != NULL) { |
||||
+ char *q = host; |
||||
+ |
||||
+ while ((*q++ = *++p) != '\0') ; |
||||
+ } |
||||
+ return host; |
||||
+} |
||||
+#endif |
||||
+ |
||||
/* Load Document from HTTP Server HTLoadHTTP() |
||||
* ============================== |
||||
* |
||||
@@ -957,6 +974,7 @@ static int HTLoadHTTP(const char *arg, |
||||
/* get host we're connecting to */ |
||||
ssl_host = HTParse(url, "", PARSE_HOST); |
||||
ssl_host = StripIpv6Brackets(ssl_host); |
||||
+ ssl_host = StripUserAuthents(ssl_host); |
||||
#if defined(USE_GNUTLS_FUNCS) |
||||
ret = gnutls_server_name_set(handle->gnutls_state, |
||||
GNUTLS_NAME_DNS, |
||||
-- |
||||
2.31.1 |
||||
|
@ -0,0 +1,179 @@
@@ -0,0 +1,179 @@
|
||||
From e6f2bec676f7abb4962821475fbc7cf918503e00 Mon Sep 17 00:00:00 2001 |
||||
From: Kamil Dudka <kdudka@redhat.com> |
||||
Date: Wed, 13 Feb 2013 15:25:00 +0100 |
||||
Subject: [PATCH] prepare upstream sources for parallel make |
||||
|
||||
--- |
||||
makefile.in | 48 +++++++++++++++++++++++------------------------- |
||||
src/makefile.in | 10 ++++------ |
||||
2 files changed, 27 insertions(+), 31 deletions(-) |
||||
|
||||
diff --git a/makefile.in b/makefile.in |
||||
index ad78441..0fd8b1e 100644 |
||||
--- a/makefile.in |
||||
+++ b/makefile.in |
||||
@@ -108,8 +108,6 @@ COMPRESS_EXT=@COMPRESS_EXT@ |
||||
# Path of scripts directory |
||||
scripts_dir=$(srcdir)/scripts |
||||
|
||||
-MAKE_RECUR = $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" |
||||
- |
||||
@LYNXCFG_MAKE@CFG2HTML = alphatoc.html body.html cattoc.html |
||||
|
||||
# !!!!!!!!!!! SUN resolv LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
||||
@@ -200,20 +198,20 @@ binary_PROG = $(actual_PROG)$x |
||||
|
||||
all lynx$x: cfg_defs.h LYHelp.h |
||||
@MSG_DIR_MAKE@ $(SHELL) $(scripts_dir)/fixtext.sh $(srcdir)/LYMessages_en.h >LYMessages.c |
||||
-@MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR) |
||||
- cd $(WWW_DIR) && $(MAKE_RECUR) $(WWW_CFLAGS) |
||||
- cd $(CHR_DIR) && $(MAKE_RECUR) all $(CHR_CFLAGS) |
||||
- cd $(SRC_DIR) && $(MAKE_RECUR) all $(SRC_CFLAGS) |
||||
+@MSG_DIR_MAKE@ $(MAKE) -C $(PO_DIR) |
||||
+ $(MAKE) -C $(WWW_DIR) $(WWW_CFLAGS) |
||||
+ $(MAKE) -C $(CHR_DIR) all $(CHR_CFLAGS) |
||||
+ $(MAKE) -C $(SRC_DIR) all $(SRC_CFLAGS) |
||||
|
||||
lint: |
||||
- cd $(WWW_DIR) && $(MAKE_RECUR) LINT="$(LINT)" $(WWW_CFLAGS) $@ |
||||
- cd $(SRC_DIR) && $(MAKE_RECUR) LINT="$(LINT)" $(SRC_CFLAGS) $@ |
||||
- cd $(CHR_DIR) && $(MAKE_RECUR) LINT="$(LINT)" $@ |
||||
+ $(MAKE) -C $(WWW_DIR) LINT="$(LINT)" $(WWW_CFLAGS) $@ |
||||
+ $(MAKE) -C $(SRC_DIR) LINT="$(LINT)" $(SRC_CFLAGS) $@ |
||||
+ $(MAKE) -C $(CHR_DIR) LINT="$(LINT)" $@ |
||||
|
||||
tags: |
||||
- cd $(WWW_DIR) && $(MAKE_RECUR) $(WWW_CFLAGS) $@ |
||||
- cd $(SRC_DIR) && $(MAKE_RECUR) $(SRC_CFLAGS) $@ |
||||
- cd $(CHR_DIR) && $(MAKE_RECUR) $@ |
||||
+ $(MAKE) -C $(WWW_DIR) $(WWW_CFLAGS) $@ |
||||
+ $(MAKE) -C $(SRC_DIR) $(SRC_CFLAGS) $@ |
||||
+ $(MAKE) -C $(CHR_DIR) $@ |
||||
|
||||
etags: |
||||
$(ETAGS) *.[ch] */*.[ch] */*/*.[ch] */*/*/*.[ch] |
||||
@@ -231,27 +229,27 @@ help: |
||||
clean: |
||||
rm -f WWW/Library/*/*.[aoib] |
||||
rm -f WWW/Library/*/.created |
||||
- cd $(WWW_DIR) && $(MAKE_RECUR) $@ |
||||
- cd $(SRC_DIR) && $(MAKE_RECUR) $@ |
||||
+ $(MAKE) -C $(WWW_DIR) $@ |
||||
+ $(MAKE) -C $(SRC_DIR) $@ |
||||
@MSG_DIR_MAKE@ rm -f LYMessages.c |
||||
-@MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR) $@ |
||||
+@MSG_DIR_MAKE@ $(MAKE) -C $(PO_DIR) $@ |
||||
rm -f *.b $(SRC_DIR)/lynx$x *.leaks cfg_defs.h LYHelp.h lint.* |
||||
@LYNXCFG_MAKE@ -rm -f $(CFG2HTML) |
||||
rm -f help_files.sed |
||||
rm -f core *.core |
||||
|
||||
depend: cfg_defs.h LYHelp.h |
||||
- cd $(WWW_DIR) && $(MAKE_RECUR) $@ |
||||
- cd $(SRC_DIR) && $(MAKE_RECUR) $@ |
||||
+ $(MAKE) -C $(WWW_DIR) $@ |
||||
+ $(MAKE) -C $(SRC_DIR) $@ |
||||
|
||||
distclean: clean |
||||
-rm -f WWW/Library/*/*~ |
||||
-rm -f WWW/Library/*/*.bak |
||||
-rm -rf $(SRC_DIR)/obsolete |
||||
- -cd $(WWW_DIR) && $(MAKE_RECUR) $@ |
||||
- -cd $(SRC_DIR) && $(MAKE_RECUR) $@ |
||||
- -cd $(CHR_DIR) && $(MAKE_RECUR) $@ |
||||
-@MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR) $@ |
||||
+ -$(MAKE) -C $(WWW_DIR) $@ |
||||
+ -$(MAKE) -C $(SRC_DIR) $@ |
||||
+ -$(MAKE) -C $(CHR_DIR) $@ |
||||
+@MSG_DIR_MAKE@ $(MAKE) -C $(PO_DIR) $@ |
||||
@MSG_DIR_MAKE@ -rmdir $(PO_DIR) |
||||
-rm -f *~ *.bak *.sav tags TAGS |
||||
-rm -f $(WWW_DIR)/makefile $(SRC_DIR)/makefile $(CHR_DIR)/makefile |
||||
@@ -297,7 +295,7 @@ install-full: install install-help install-doc |
||||
@echo Full installation complete. |
||||
|
||||
install-bin: $(BINDIR) lynx$x |
||||
-@MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR) install |
||||
+@MSG_DIR_MAKE@ $(MAKE) -C $(PO_DIR) install |
||||
@ECHO_CC@$(SHELL) -c "P=$(binary_PROG); \ |
||||
if test -f $(BINDIR)/$$P ; then \ |
||||
mv -f $(BINDIR)/$$P $(BINDIR)/$$P.old; fi" |
||||
@@ -338,7 +336,7 @@ LYNXHELP_URL='$(LYNX_URL)/lynx_help/' |
||||
|
||||
@LYNXCFG_MAKE@$(CFG2HTML) : |
||||
@LYNXCFG_MAKE@ @echo 'Making htmlized lynx.cfg' |
||||
-@LYNXCFG_MAKE@ cd $(SRC_DIR) && $(MAKE_RECUR) LYReadCFG.i |
||||
+@LYNXCFG_MAKE@ $(MAKE) -C $(SRC_DIR) LYReadCFG.i |
||||
@LYNXCFG_MAKE@ @-rm -f $(CFG2HTML) |
||||
@LYNXCFG_MAKE@ sed -n -e '/Config_Type *Config_Table/,/{0, *0, *0}/ p' $(SRC_DIR)/LYReadCFG.i | \ |
||||
@LYNXCFG_MAKE@ sed -e 's/ *{ *"\([^"]*\)".*/\1/' | \ |
||||
@@ -436,7 +434,7 @@ install-lss : $(SYSCONFDIR) |
||||
@$(SHELL) $(scripts_dir)/install-lss.sh "$(INSTALL_DATA)" $(srcdir)/samples/lynx.lss $(SYSCONFDIR)/lynx.lss |
||||
|
||||
uninstall :: |
||||
-@MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR) uninstall |
||||
+@MSG_DIR_MAKE@ $(MAKE) -C $(PO_DIR) uninstall |
||||
-rm -f $(BINDIR)/$(binary_PROG) |
||||
-rm -f $(MANDIR)/$(actual_PROG).1 |
||||
-rm -f $(SYSCONFDIR)/lynx.cfg |
||||
@@ -469,7 +467,7 @@ uninstall-doc :: |
||||
|
||||
update-po: |
||||
rsync -Lrtvz translationproject.org::tp/latest/lynx/ $(PO_SRCDIR) |
||||
- test -f $(PO_SRCDIR)/makefile && cd $(PO_SRCDIR) && $(MAKE_RECUR) $@ |
||||
+ test -f $(PO_SRCDIR)/makefile && $(MAKE) -C $(PO_SRCDIR) $@ |
||||
|
||||
preinstall : |
||||
@ echo '' |
||||
diff --git a/src/makefile.in b/src/makefile.in |
||||
index 55611da..7cceaa8 100644 |
||||
--- a/src/makefile.in |
||||
+++ b/src/makefile.in |
||||
@@ -37,8 +37,6 @@ BUILD_EXEEXT = @BUILD_EXEEXT@ |
||||
BUILD_LDFLAGS = @BUILD_LDFLAGS@ |
||||
BUILD_LIBS = @BUILD_LIBS@ |
||||
|
||||
-MAKE_RECUR = $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)" |
||||
- |
||||
YACC = @YACC@ |
||||
WINDRES = @WINDRES@ |
||||
|
||||
@@ -118,7 +116,7 @@ message: |
||||
@echo "Compiling Lynx sources" |
||||
|
||||
do_chartrans_stuff: |
||||
- -cd chrtrans && $(MAKE_RECUR) \ |
||||
+ -$(MAKE) -C chrtrans \ |
||||
SITE_DEFS="$(SITE_DEFS)" \ |
||||
BUILD_CFLAGS="$(BUILD_CFLAGS)" \ |
||||
BUILD_CPPFLAGS="$(BUILD_CPPFLAGS)" \ |
||||
@@ -131,7 +129,7 @@ lint: |
||||
|
||||
clean: |
||||
rm -f lynx$x core *.core *.leaks *.i *$o *.bak tags TAGS test_* |
||||
- cd chrtrans && $(MAKE_RECUR) clean |
||||
+ $(MAKE) -C chrtrans clean |
||||
|
||||
tags: |
||||
$(CTAGS) *.[ch] |
||||
@@ -210,7 +208,7 @@ TABLES= \ |
||||
$(CHRTR)viscii_uni.h |
||||
|
||||
$(TABLES): |
||||
- -cd chrtrans && $(MAKE_RECUR) tables |
||||
+ -$(MAKE) -C chrtrans tables |
||||
|
||||
UCdomap$o : UCdomap.c \ |
||||
chrtrans/UCkd.h \ |
||||
@@ -219,7 +217,7 @@ UCdomap$o : UCdomap.c \ |
||||
UCdomap.h $(CMN)UCMap.h $(TABLES) $(top_srcdir)/userdefs.h |
||||
|
||||
chrtrans/makeuctb$(BUILD_EXEEXT): |
||||
- cd chrtrans && $(MAKE_RECUR) makeuctb$(BUILD_EXEEXT) |
||||
+ $(MAKE) -C chrtrans makeuctb$(BUILD_EXEEXT) |
||||
|
||||
UCAux$o : UCAux.c $(CMN)UCAux.h $(CMN)UCDefs.h |
||||
LYCookie$o : $(top_srcdir)/userdefs.h |
||||
-- |
||||
1.8.3.1 |
||||
|
@ -0,0 +1,327 @@
@@ -0,0 +1,327 @@
|
||||
From 3af65474cbec9485534ad00d604c442e42095ee5 Mon Sep 17 00:00:00 2001 |
||||
From: Kamil Dudka <kdudka@redhat.com> |
||||
Date: Mon, 21 Mar 2022 15:57:49 +0100 |
||||
Subject: [PATCH] backport IDN2 support from lynx2.9.0dev.10 |
||||
|
||||
--- |
||||
WWW/Library/Implementation/HTParse.c | 49 +++++++++++++++++++++++++--- |
||||
WWW/Library/Implementation/HTParse.h | 12 +++++++ |
||||
aclocal.m4 | 31 ++++++++++++++---- |
||||
config.hin | 1 + |
||||
src/LYMain.c | 3 ++ |
||||
src/LYOptions.c | 33 +++++++++++++++++++ |
||||
src/LYrcFile.c | 14 ++++++++ |
||||
src/LYrcFile.h | 1 + |
||||
8 files changed, 132 insertions(+), 12 deletions(-) |
||||
|
||||
diff --git a/WWW/Library/Implementation/HTParse.c b/WWW/Library/Implementation/HTParse.c |
||||
index c5d947f..f1f8208 100644 |
||||
--- a/WWW/Library/Implementation/HTParse.c |
||||
+++ b/WWW/Library/Implementation/HTParse.c |
||||
@@ -22,9 +22,14 @@ |
||||
#endif /* __MINGW32__ */ |
||||
#endif |
||||
|
||||
-#ifdef USE_IDNA |
||||
+#ifdef USE_IDN2 |
||||
+#include <idn2.h> |
||||
+#define FreeIdna(out) idn2_free(out) |
||||
+#elif defined(USE_IDNA) |
||||
#include <idna.h> |
||||
#include <idn-free.h> |
||||
+#define FreeIdna(out) idn_free(out) |
||||
+#define IDN2_OK IDNA_SUCCESS |
||||
#endif |
||||
|
||||
#define HEX_ESCAPE '%' |
||||
@@ -242,7 +247,7 @@ char *HTParsePort(char *host, int *portp) |
||||
return result; |
||||
} |
||||
|
||||
-#ifdef USE_IDNA |
||||
+#if defined(USE_IDNA) || defined(USE_IDN2) |
||||
static int hex_decode(int ch) |
||||
{ |
||||
int result = -1; |
||||
@@ -299,8 +304,42 @@ static void convert_to_idna(char *host) |
||||
} |
||||
if (code) { |
||||
*dst = '\0'; |
||||
+#ifdef USE_IDN2 |
||||
+#if (!defined(IDN2_VERSION_NUMBER) || IDN2_VERSION_NUMBER < 0x02000003) |
||||
+ /* |
||||
+ * Older libidn2 mishandles STD3, stripping underscores. |
||||
+ */ |
||||
+ if (strchr(buffer, '_') != NULL) { |
||||
+ code = -1; |
||||
+ } else |
||||
+#endif |
||||
+ switch (LYidnaMode) { |
||||
+ case LYidna2003: |
||||
+ code = idn2_to_ascii_8z(buffer, &output, IDN2_TRANSITIONAL); |
||||
+ break; |
||||
+ case LYidna2008: |
||||
+ /* IDNA2008 rules without the TR46 amendments */ |
||||
+ code = idn2_to_ascii_8z(buffer, &output, 0); |
||||
+ break; |
||||
+ case LYidnaTR46: |
||||
+ code = idn2_to_ascii_8z(buffer, &output, IDN2_NONTRANSITIONAL |
||||
+ | IDN2_NFC_INPUT); |
||||
+ break; |
||||
+ case LYidnaCompat: |
||||
+ /* IDNA2008 */ |
||||
+ code = idn2_to_ascii_8z(buffer, &output, IDN2_NONTRANSITIONAL |
||||
+ | IDN2_NFC_INPUT); |
||||
+ if (code == IDN2_DISALLOWED) { |
||||
+ /* IDNA2003 - compatible */ |
||||
+ code = idn2_to_ascii_8z(buffer, &output, IDN2_TRANSITIONAL); |
||||
+ } |
||||
+ break; |
||||
+ } |
||||
+#else |
||||
code = idna_to_ascii_8z(buffer, &output, IDNA_USE_STD3_ASCII_RULES); |
||||
- if (code == IDNA_SUCCESS) { |
||||
+#endif |
||||
+ if (code == IDN2_OK) { |
||||
+ CTRACE((tfp, "convert_to_idna: `%s' -> `%s': OK\n", buffer, output)); |
||||
strcpy(host, output); |
||||
strcat(host, params); |
||||
} else { |
||||
@@ -309,7 +348,7 @@ static void convert_to_idna(char *host) |
||||
idna_strerror((Idna_rc) code))); |
||||
} |
||||
if (output) |
||||
- idn_free(output); |
||||
+ FreeIdna(output); |
||||
} |
||||
} |
||||
free(buffer); |
||||
@@ -539,7 +578,7 @@ char *HTParse(const char *aName, |
||||
} |
||||
} |
||||
} |
||||
-#ifdef USE_IDNA |
||||
+#if defined(USE_IDNA) || defined(USE_IDN2) |
||||
/* |
||||
* Depending on locale-support, we could have a literal UTF-8 |
||||
* string as a host name, or a URL-encoded form of that. |
||||
diff --git a/WWW/Library/Implementation/HTParse.h b/WWW/Library/Implementation/HTParse.h |
||||
index ce1bff6..5496d82 100644 |
||||
--- a/WWW/Library/Implementation/HTParse.h |
||||
+++ b/WWW/Library/Implementation/HTParse.h |
||||
@@ -49,6 +49,18 @@ extern "C" { |
||||
#define URL_XALPHAS UCH(1) |
||||
#define URL_XPALPHAS UCH(2) |
||||
#define URL_PATH UCH(4) |
||||
+ |
||||
+#ifdef USE_IDN2 |
||||
+ typedef enum { |
||||
+ LYidna2003 = 1, |
||||
+ LYidna2008, |
||||
+ LYidnaTR46, |
||||
+ LYidnaCompat |
||||
+ } HTIdnaModes; |
||||
+ |
||||
+ extern int LYidnaMode; |
||||
+#endif |
||||
+ |
||||
/* Strip white space off a string. HTStrip() |
||||
* ------------------------------- |
||||
* |
||||
diff --git a/aclocal.m4 b/aclocal.m4 |
||||
index 41139f9..4c68aec 100644 |
||||
--- a/aclocal.m4 |
||||
+++ b/aclocal.m4 |
||||
@@ -3341,11 +3341,12 @@ test -d "$oldincludedir" && { |
||||
$1="[$]$1 $cf_header_path_list" |
||||
])dnl |
||||
dnl --------------------------------------------------------------------------- |
||||
-dnl CF_HELP_MESSAGE version: 3 updated: 1998/01/14 10:56:23 |
||||
+dnl CF_HELP_MESSAGE version: 4 updated: 2019/12/31 08:53:54 |
||||
dnl --------------- |
||||
dnl Insert text into the help-message, for readability, from AC_ARG_WITH. |
||||
AC_DEFUN([CF_HELP_MESSAGE], |
||||
-[AC_DIVERT_HELP([$1])dnl |
||||
+[CF_ACVERSION_CHECK(2.53,[],[ |
||||
+AC_DIVERT_HELP($1)])dnl |
||||
])dnl |
||||
dnl --------------------------------------------------------------------------- |
||||
dnl CF_INET_ADDR version: 7 updated: 2013/10/08 17:47:05 |
||||
@@ -6600,25 +6601,41 @@ if test "$with_dmalloc" = yes ; then |
||||
fi |
||||
])dnl |
||||
dnl --------------------------------------------------------------------------- |
||||
-dnl CF_WITH_IDNA version: 10 updated: 2015/04/15 19:08:48 |
||||
+dnl CF_WITH_IDNA version: 11 updated: 2021/07/05 09:09:42 |
||||
dnl ------------ |
||||
-dnl Check for libidn, use it if found. |
||||
+dnl Check for libidn2, use it if found. Otherwise, check for libidn, use that. |
||||
dnl |
||||
dnl $1 = optional path for headers/library |
||||
AC_DEFUN([CF_WITH_IDNA],[ |
||||
- CF_ADD_OPTIONAL_PATH($1) |
||||
+CF_ADD_OPTIONAL_PATH($1) |
||||
|
||||
- CF_FIND_LINKAGE([ |
||||
+CF_FIND_LINKAGE([ |
||||
+#include <stdio.h> |
||||
+#include <idn2.h> |
||||
+],[ |
||||
+ char *output = 0; |
||||
+ int code = idn2_to_ascii_8z("name", &output, IDN2_USE_STD3_ASCII_RULES); |
||||
+ (void) code; |
||||
+],idn2,,[CF_VERBOSE([unsuccessful, will try idn (older)])],,[$LIBICONV]) |
||||
+ |
||||
+if test "x$cf_cv_find_linkage_idn2" = xyes ; then |
||||
+ CF_VERBOSE(found idn2 library) |
||||
+ AC_DEFINE(USE_IDN2,1,[Define to 1 if we should use IDN2 library]) |
||||
+else |
||||
+ CF_FIND_LINKAGE([ |
||||
#include <stdio.h> |
||||
#include <idna.h> |
||||
],[ |
||||
char *output = 0; |
||||
- int code = idna_to_ascii_8z("name", &output, IDNA_USE_STD3_ASCII_RULES); |
||||
+ int code = idna_to_ascii_8z("name", &output, IDNA_USE_STD3_ASCII_RULES); |
||||
+ (void) code; |
||||
],idn,,,,[$LIBICONV]) |
||||
|
||||
if test "x$cf_cv_find_linkage_idn" = xyes ; then |
||||
+ CF_VERBOSE(found idn library) |
||||
AC_DEFINE(USE_IDNA,1,[Define to 1 if we should use IDNA library]) |
||||
fi |
||||
+fi |
||||
])dnl |
||||
dnl --------------------------------------------------------------------------- |
||||
dnl CF_WITH_PATH version: 11 updated: 2012/09/29 15:04:19 |
||||
diff --git a/config.hin b/config.hin |
||||
index fb0e4d3..58051bb 100644 |
||||
--- a/config.hin |
||||
+++ b/config.hin |
||||
@@ -271,6 +271,7 @@ |
||||
#undef USE_FILE_UPLOAD /* CF_ARG_DISABLE(file-upload) */ |
||||
#undef USE_GNUTLS_FUNCS /* CF_GNUTLS */ |
||||
#undef USE_GNUTLS_INCL /* CF_GNUTLS */ |
||||
+#undef USE_IDN2 /* CF_ARG_DISABLE(idna) */ |
||||
#undef USE_IDNA /* CF_ARG_DISABLE(idna) */ |
||||
#undef USE_JUSTIFY_ELTS /* CF_ARG_DISABLE(justify-elts) */ |
||||
#undef USE_LOCALE_CHARSET /* CF_ARG_DISABLE(locale-charset) */ |
||||
diff --git a/src/LYMain.c b/src/LYMain.c |
||||
index d36707e..ecfbe69 100644 |
||||
--- a/src/LYMain.c |
||||
+++ b/src/LYMain.c |
||||
@@ -178,6 +178,9 @@ lynx_list_item_type *externals = NULL; |
||||
|
||||
/* linked list of external options */ |
||||
#endif |
||||
+#ifdef USE_IDN2 |
||||
+int LYidnaMode = LYidnaTR46; |
||||
+#endif |
||||
|
||||
lynx_list_item_type *uploaders = NULL; |
||||
int LYShowColor = SHOW_COLOR_UNKNOWN; /* to show or not */ |
||||
diff --git a/src/LYOptions.c b/src/LYOptions.c |
||||
index 6b4b0e0..e0e4732 100644 |
||||
--- a/src/LYOptions.c |
||||
+++ b/src/LYOptions.c |
||||
@@ -2356,6 +2356,18 @@ static const char *assume_char_set_string = RC_ASSUME_CHARSET; |
||||
static const char *display_char_set_string = RC_CHARACTER_SET; |
||||
static const char *raw_mode_string = RC_RAW_MODE; |
||||
|
||||
+#ifdef USE_IDN2 |
||||
+static const char *idna_mode_string = RC_IDNA_MODE; |
||||
+static OptValues idna_values[] = |
||||
+{ |
||||
+ {LYidna2003, N_("IDNA 2003"), "idna2003"}, |
||||
+ {LYidna2008, N_("IDNA 2008"), "idna2008"}, |
||||
+ {LYidnaTR46, N_("IDNA TR46"), "idnaTR46"}, |
||||
+ {LYidnaCompat, N_("IDNA Compatible"), "idnaCompat"}, |
||||
+ END_OPTIONS |
||||
+}; |
||||
+#endif |
||||
+ |
||||
#ifdef USE_LOCALE_CHARSET |
||||
static const char *locale_charset_string = RC_LOCALE_CHARSET; |
||||
#endif |
||||
@@ -3233,6 +3245,13 @@ int postoptions(DocInfo *newdoc) |
||||
current_char_set = newval; |
||||
} |
||||
} |
||||
+#ifdef USE_IDN2 |
||||
+ /* Internationalized Domain Names: SELECT */ |
||||
+ if (!strcmp(data[i].tag, idna_mode_string) |
||||
+ && GetOptValues(idna_values, data[i].value, &code)) { |
||||
+ LYidnaMode = code; |
||||
+ } |
||||
+#endif |
||||
|
||||
/* Raw Mode: ON/OFF */ |
||||
if (!strcmp(data[i].tag, raw_mode_string) |
||||
@@ -3933,6 +3952,20 @@ static int gen_options(char **newfile) |
||||
EndSelect(fp0); |
||||
} |
||||
|
||||
+#ifdef USE_IDN2 |
||||
+ /* Internationalized Domain Names: SELECT */ |
||||
+ { |
||||
+ PutLabel(fp0, gettext("Internationalized domain names"), idna_mode_string); |
||||
+ BeginSelect(fp0, idna_mode_string); |
||||
+ for (i = 0; idna_values[i].value != 0; i++) { |
||||
+ PutOption(fp0, idna_values[i].value == LYidnaMode, |
||||
+ idna_values[i].HtmlName, |
||||
+ idna_values[i].LongName); |
||||
+ } |
||||
+ EndSelect(fp0); |
||||
+ } |
||||
+#endif |
||||
+ |
||||
/* Raw Mode: ON/OFF */ |
||||
if (LYHaveCJKCharacterSet) { |
||||
/* |
||||
diff --git a/src/LYrcFile.c b/src/LYrcFile.c |
||||
index 1754f12..b98bfc2 100644 |
||||
--- a/src/LYrcFile.c |
||||
+++ b/src/LYrcFile.c |
||||
@@ -71,6 +71,16 @@ static Config_Enum tbl_file_sort[] = { |
||||
{ NULL, -1 }, |
||||
}; |
||||
|
||||
+#ifdef USE_IDN2 |
||||
+static Config_Enum tbl_idna_mode[] = { |
||||
+ { "IDNA2003", LYidna2003 }, |
||||
+ { "IDNA2008", LYidna2008 }, |
||||
+ { "TR46", LYidnaTR46 }, |
||||
+ { "Compatible", LYidnaCompat }, |
||||
+ { NULL, -1 }, |
||||
+}; |
||||
+#endif |
||||
+ |
||||
Config_Enum tbl_keypad_mode[] = { |
||||
{ "FIELDS_ARE_NUMBERED", FIELDS_ARE_NUMBERED }, |
||||
{ "LINKS_AND_FIELDS_ARE_NUMBERED", LINKS_AND_FIELDS_ARE_NUMBERED }, |
||||
@@ -462,6 +472,10 @@ file lists such as FTP directories. The options are:\n\ |
||||
MAYBE_SET(RC_HTML5_CHARSETS, html5_charsets, MSG_ENABLE_LYNXRC), |
||||
MAYBE_FUN(RC_HTTP_PROTOCOL, get_http_protocol, put_http_protocol, |
||||
MSG_ENABLE_LYNXRC), |
||||
+#ifdef USE_IDN2 |
||||
+ MAYBE_ENU(RC_IDNA_MODE, LYidnaMode, tbl_idna_mode, |
||||
+ MSG_ENABLE_LYNXRC), |
||||
+#endif |
||||
#ifdef EXP_KEYBOARD_LAYOUT |
||||
PARSE_ARY(RC_KBLAYOUT, current_layout, LYKbLayoutNames, NULL), |
||||
#endif |
||||
diff --git a/src/LYrcFile.h b/src/LYrcFile.h |
||||
index 3cf07c0..cd41a0f 100644 |
||||
--- a/src/LYrcFile.h |
||||
+++ b/src/LYrcFile.h |
||||
@@ -110,6 +110,7 @@ |
||||
#define RC_HTTPS_PROXY "https_proxy" |
||||
#define RC_HTTP_PROTOCOL "http_protocol" |
||||
#define RC_HTTP_PROXY "http_proxy" |
||||
+#define RC_IDNA_MODE "idna_mode" |
||||
#define RC_INCLUDE "include" |
||||
#define RC_INFLATE_PATH "inflate_path" |
||||
#define RC_INFOSECS "infosecs" |
||||
-- |
||||
2.34.1 |
||||
|
@ -0,0 +1,154 @@
@@ -0,0 +1,154 @@
|
||||
From bccfb8ac43da56cb1f53c4b421e09dcac1fd1af0 Mon Sep 17 00:00:00 2001 |
||||
From: Kamil Dudka <kdudka@redhat.com> |
||||
Date: Wed, 13 Feb 2013 15:17:08 +0100 |
||||
Subject: [PATCH] lynx-2.8.6-redhat.patch rebased for 2.8.9 |
||||
|
||||
--- |
||||
lynx.cfg | 18 ++++++++++++------ |
||||
userdefs.h | 18 +++++++++--------- |
||||
2 files changed, 21 insertions(+), 15 deletions(-) |
||||
|
||||
diff --git a/lynx.cfg b/lynx.cfg |
||||
index f01782f..ccc0846 100644 |
||||
--- a/lynx.cfg |
||||
+++ b/lynx.cfg |
||||
@@ -1,7 +1,9 @@ |
||||
# $LynxId: lynx.cfg,v 1.302 2018/07/08 15:22:44 tom Exp $ |
||||
# lynx.cfg file. |
||||
-# The default placement for this file is /usr/local/lib/lynx.cfg (Unix) |
||||
-# or Lynx_Dir:lynx.cfg (VMS) |
||||
+# The default placement for this file is /etc/lynx.cfg |
||||
+# |
||||
+# Please don't edit this file directly (it is updated with every Red Hat |
||||
+# Linux update, overwriting your changes). Instead, edit /etc/lynx-site.cfg. |
||||
# |
||||
# $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$ |
||||
#PRCS LYNX_VERSION "2.8.9rel.1" |
||||
@@ -108,7 +110,7 @@ |
||||
# |
||||
# Normally we expect you will connect to a remote site, e.g., the Lynx starting |
||||
# site: |
||||
-STARTFILE:https://lynx.invisible-island.net/ |
||||
+STARTFILE:https://start.fedoraproject.org/ |
||||
# |
||||
# As an alternative, you may want to use a local URL. A good choice for this is |
||||
# the user's home directory: |
||||
@@ -142,7 +144,7 @@ HELPFILE:https://lynx.invisible-island.net/lynx_help/lynx_help_main.html |
||||
# An index to your CWIS can be placed here or a document containing |
||||
# pointers to lots of interesting places on the web. |
||||
# |
||||
-DEFAULT_INDEX_FILE:http://scout.wisc.edu/ |
||||
+DEFAULT_INDEX_FILE:http://www.google.com/ |
||||
|
||||
.h1 Interaction |
||||
|
||||
@@ -454,7 +456,7 @@ DEFAULT_INDEX_FILE:http://scout.wisc.edu/ |
||||
# Find RFC 1345 at |
||||
.url http://tools.ietf.org/html/rfc1345 |
||||
# |
||||
-#CHARACTER_SET:iso-8859-1 |
||||
+CHARACTER_SET:utf-8 |
||||
|
||||
.h2 LOCALE_CHARSET |
||||
# LOCALE_CHARSET overrides CHARACTER_SET if true, using the current locale to |
||||
@@ -467,7 +469,7 @@ DEFAULT_INDEX_FILE:http://scout.wisc.edu/ |
||||
# values and their relationship to the locale value is not. GNU libiconv |
||||
# happens to give useful values, but other implementations are not guaranteed |
||||
# to do this. |
||||
-#LOCALE_CHARSET:FALSE |
||||
+LOCALE_CHARSET:TRUE |
||||
|
||||
.h2 HTML5_CHARSETS |
||||
# HTML5_CHARSETS is an alternative to ASSUME_CHARSET and ASSUME_LOCAL_CHARSET. |
||||
@@ -1847,6 +1849,9 @@ DEFAULT_INDEX_FILE:http://scout.wisc.edu/ |
||||
.ex |
||||
#DOWNLOADER:Save OS/390 binary file: iconv -f IBM-1047 -t ISO8859-1 %s >%s:FALSE |
||||
|
||||
+# Added by Red Hat: |
||||
+DOWNLOADER:View with less:less %s:TRUE |
||||
+ |
||||
.h1 Interaction |
||||
|
||||
.h2 NO_DOT_FILES |
||||
@@ -3451,6 +3456,7 @@ COLOR:6:brightred:black |
||||
#ENABLE_LYNXRC:VI_KEYS:ON |
||||
#ENABLE_LYNXRC:VISITED_LINKS:ON |
||||
.fi |
||||
+INCLUDE:/etc/lynx-site.cfg |
||||
|
||||
.h1 External Programs |
||||
# Any of the compiled-in pathnames of external programs can be overridden |
||||
diff --git a/userdefs.h b/userdefs.h |
||||
index 40a954b..4afe835 100644 |
||||
--- a/userdefs.h |
||||
+++ b/userdefs.h |
||||
@@ -105,7 +105,7 @@ |
||||
* mailcap files (see the examples in the samples directory). |
||||
*/ |
||||
#ifndef LYNX_CFG_FILE |
||||
-#define LYNX_CFG_FILE "Lynx_Dir:lynx.cfg" |
||||
+#define LYNX_CFG_FILE "/etc/lynx.cfg" |
||||
#endif /* LYNX_CFG_FILE */ |
||||
|
||||
#ifndef LYNX_CFG_PATH |
||||
@@ -119,8 +119,8 @@ |
||||
* Mappings in these global and personal files override any SUFFIX |
||||
* definitions in lynx.cfg and built-in defaults from src/HTInit.c. |
||||
*/ |
||||
-#define GLOBAL_EXTENSION_MAP "Lynx_Dir:mime.types" |
||||
-#define PERSONAL_EXTENSION_MAP "mime.types" |
||||
+#define GLOBAL_EXTENSION_MAP "/etc/mime.types" |
||||
+#define PERSONAL_EXTENSION_MAP ".mime.types" |
||||
|
||||
/************************** |
||||
* The MAILCAP file allows you to map file MIME types to |
||||
@@ -129,7 +129,7 @@ |
||||
* Mappings in these global and personal files override any VIEWER |
||||
* definitions in lynx.cfg and built-in defaults from src/HTInit.c. |
||||
*/ |
||||
-#define GLOBAL_MAILCAP "Lynx_Dir:mailcap" |
||||
+#define GLOBAL_MAILCAP "/etc/mailcap" |
||||
#define PERSONAL_MAILCAP ".mailcap" |
||||
|
||||
/************************** |
||||
@@ -300,8 +300,8 @@ |
||||
#define LYNX_CFG_PATH "." |
||||
#define LYNX_CFG_FILE "./lynx.cfg" |
||||
#else |
||||
-#define LYNX_CFG_PATH "/usr/local/lib" |
||||
-#define LYNX_CFG_FILE "/usr/local/lib/lynx.cfg" |
||||
+#define LYNX_CFG_PATH "/etc" |
||||
+#define LYNX_CFG_FILE "/etc/lynx.cfg" |
||||
#endif /* DOSPATH */ |
||||
#endif /* LYNX_CFG_FILE */ |
||||
#endif /* HAVE_CONFIG_H */ |
||||
@@ -345,7 +345,7 @@ |
||||
* use any default viewers for image types. Note that open is used as |
||||
* the default for NeXT, instead of the XLOADIMAGE_COMMAND definition. |
||||
*/ |
||||
-#define XLOADIMAGE_COMMAND "xli %s &" |
||||
+#define XLOADIMAGE_COMMAND "display %s &" |
||||
|
||||
/************************** |
||||
* For UNIX systems, SYSTEM_MAIL and SYSTEM_MAIL_FLAGS are set by the |
||||
@@ -366,7 +366,7 @@ |
||||
* the "TMPDIR" (unix), or "TEMP" or "TMP" (Windows,DOS,OS/2) |
||||
* variable. |
||||
*/ |
||||
-#define TEMP_SPACE "/tmp/" |
||||
+#define TEMP_SPACE "~" |
||||
|
||||
/******************************** |
||||
* Comment this line out to disable code that implements command logging |
||||
@@ -1175,7 +1175,7 @@ |
||||
* OSU server distribution. |
||||
*/ |
||||
#ifndef HAVE_CONFIG_H |
||||
-/* #define LYNXCGI_LINKS */ |
||||
+#define LYNXCGI_LINKS |
||||
#endif |
||||
|
||||
/********************************* |
||||
-- |
||||
2.9.4 |
||||
|
@ -0,0 +1,105 @@
@@ -0,0 +1,105 @@
|
||||
From 0bd3f2aa9bd75263901e1f57a6cd9c4015084408 Mon Sep 17 00:00:00 2001 |
||||
From: Kamil Dudka <kdudka@redhat.com> |
||||
Date: Tue, 6 Nov 2018 12:32:04 +0100 |
||||
Subject: [PATCH] lynx: fix bugs detected by static analysis |
||||
|
||||
--- |
||||
WWW/Library/Implementation/HTGopher.c | 1 + |
||||
samples/lynxdump | 1 + |
||||
src/LYBookmark.c | 2 ++ |
||||
src/LYDownload.c | 1 + |
||||
src/LYLeaks.c | 24 ++++-------------------- |
||||
5 files changed, 9 insertions(+), 20 deletions(-) |
||||
|
||||
diff --git a/WWW/Library/Implementation/HTGopher.c b/WWW/Library/Implementation/HTGopher.c |
||||
index a9ad41e..36ff592 100644 |
||||
--- a/WWW/Library/Implementation/HTGopher.c |
||||
+++ b/WWW/Library/Implementation/HTGopher.c |
||||
@@ -1651,6 +1651,7 @@ static int HTLoadCSO(const char *arg, |
||||
(*Target->isa->put_block) (Target, buf, (int) strlen(buf)); |
||||
(*Target->isa->_free) (Target); |
||||
free_CSOfields(); |
||||
+ BStrFree(command); |
||||
return HT_LOADED; |
||||
} |
||||
/* |
||||
diff --git a/samples/lynxdump b/samples/lynxdump |
||||
index f79be2f..a0e9ae2 100755 |
||||
--- a/samples/lynxdump |
||||
+++ b/samples/lynxdump |
||||
@@ -12,4 +12,5 @@ if test $HOME/.lynxrc ; then |
||||
fi |
||||
echo 'keypad_mode=NUMBERS_AS_ARROWS' >> $MYTMP/.lynxrc |
||||
HOME=$MYTMP; export HOME |
||||
+umask $oldmask |
||||
lynx -justify -dump -force_html -with_backspaces -nolist $* |
||||
diff --git a/src/LYBookmark.c b/src/LYBookmark.c |
||||
index c3116ef..6464d96 100644 |
||||
--- a/src/LYBookmark.c |
||||
+++ b/src/LYBookmark.c |
||||
@@ -303,6 +303,7 @@ void save_bookmark_link(const char *address, |
||||
LYMBM_statusline(CANCELLED); |
||||
LYSleepMsg(); |
||||
FREE(bookmark_URL); |
||||
+ BStrFree(tmp_data); |
||||
return; |
||||
} |
||||
} while (!havevisible(string_data->str)); |
||||
@@ -347,6 +348,7 @@ void save_bookmark_link(const char *address, |
||||
LYSleepAlert(); |
||||
FREE(Title); |
||||
FREE(bookmark_URL); |
||||
+ BStrFree(tmp_data); |
||||
return; |
||||
} |
||||
|
||||
diff --git a/src/LYDownload.c b/src/LYDownload.c |
||||
index cf1ea98..9cf712d 100644 |
||||
--- a/src/LYDownload.c |
||||
+++ b/src/LYDownload.c |
||||
@@ -456,6 +456,7 @@ void LYDownload(char *line) |
||||
cleanup: |
||||
FREE(Line); |
||||
BStrFree(buffer); |
||||
+ BStrFree(command); |
||||
return; |
||||
} |
||||
|
||||
diff --git a/src/LYLeaks.c b/src/LYLeaks.c |
||||
index 2f2de28..8c236ff 100644 |
||||
--- a/src/LYLeaks.c |
||||
+++ b/src/LYLeaks.c |
||||
@@ -1090,26 +1090,10 @@ static char *LYLeakSAVsprintf(char **dest, |
||||
mark_realloced(ALp_old, *dest, strlen(*dest) + 1, cp_File, ssi_Line); |
||||
return (*dest); |
||||
} |
||||
- if (vp_realloced == vp_oldAlloced) { |
||||
- ALp_new->SL_memory.cp_FileName = old_cp_File; |
||||
- ALp_new->SL_memory.ssi_LineNumber = old_ssi_Line; |
||||
- ALp_new->SL_realloc.cp_FileName = cp_File; |
||||
- ALp_new->SL_realloc.ssi_LineNumber = ssi_Line; |
||||
- return (*dest); |
||||
- } |
||||
- /* Look up again, list may have changed! - kw */ |
||||
- ALp_old = FindInList(vp_oldAlloced); |
||||
- if (ALp_old == NULL) { |
||||
- ALp_new->SL_memory.cp_FileName = old_cp_File; |
||||
- ALp_new->SL_memory.ssi_LineNumber = old_ssi_Line; |
||||
- ALp_new->SL_realloc.cp_FileName = cp_File; |
||||
- ALp_new->SL_realloc.ssi_LineNumber = ssi_Line; |
||||
- } else { |
||||
- ALp_new->SL_memory.cp_FileName = old_cp_File; |
||||
- ALp_new->SL_memory.ssi_LineNumber = old_ssi_Line; |
||||
- ALp_new->SL_realloc.cp_FileName = cp_File; |
||||
- ALp_new->SL_realloc.ssi_LineNumber = ssi_Line; |
||||
- } |
||||
+ ALp_new->SL_memory.cp_FileName = old_cp_File; |
||||
+ ALp_new->SL_memory.ssi_LineNumber = old_ssi_Line; |
||||
+ ALp_new->SL_realloc.cp_FileName = cp_File; |
||||
+ ALp_new->SL_realloc.ssi_LineNumber = ssi_Line; |
||||
} |
||||
return (*dest); |
||||
} |
||||
-- |
||||
2.17.2 |
||||
|
@ -0,0 +1,61 @@
@@ -0,0 +1,61 @@
|
||||
From c60c227ab9a36246730d7454e33d40d2c66c88b3 Mon Sep 17 00:00:00 2001 |
||||
From: Kamil Dudka <kdudka@redhat.com> |
||||
Date: Wed, 13 Feb 2013 15:26:22 +0100 |
||||
Subject: [PATCH] fix CVE-2008-4690 |
||||
|
||||
prompt user before executing command via a lynxcgi link even in advanced mode, |
||||
as the actual URL may not be shown but hidden behind an HTTP redirect and set |
||||
TRUSTED_LYNXCGI:none in lynx.cfg to disable all lynxcgi URLs by default |
||||
--- |
||||
CHANGES | 7 +++++++ |
||||
lynx.cfg | 2 +- |
||||
src/LYCgi.c | 2 +- |
||||
3 files changed, 9 insertions(+), 2 deletions(-) |
||||
|
||||
diff --git a/CHANGES b/CHANGES |
||||
index 360be68..8eca013 100644 |
||||
--- a/CHANGES |
||||
+++ b/CHANGES |
||||
@@ -1355,6 +1355,13 @@ Changes since Lynx 2.8 release |
||||
* update win32 makefiles/build scripts to add LYmktime, parsdate modules -TD |
||||
* update config.guess (2008-04-14), config.sub (2008-06-16) |
||||
|
||||
+2008-10-26 |
||||
+* modify patch for CVE-2005-2929 to prompt user before executing command via |
||||
+ a lynxcgi link even in advanced mode, as the actual URL may not be shown but |
||||
+ hidden behind an HTTP redirect |
||||
+* set TRUSTED_LYNXCGI:none in lynx.cfg to disable all lynxcgi URLs by default |
||||
+ [CVE-2008-4690] |
||||
+ |
||||
2008-09-21 (2.8.7dev.10) |
||||
* remove rw.po, since the translation project no longer supplies it -TD |
||||
* implement "readonly" attribute for TEXTAREA and TEXT fields -TD |
||||
diff --git a/lynx.cfg b/lynx.cfg |
||||
index ee2aad3..144050d 100644 |
||||
--- a/lynx.cfg |
||||
+++ b/lynx.cfg |
||||
@@ -1087,7 +1087,7 @@ LOCALE_CHARSET:TRUE |
||||
# |
||||
# The default TRUSTED_LYNXCGI rule is "none". |
||||
# |
||||
-#TRUSTED_LYNXCGI:none |
||||
+TRUSTED_LYNXCGI:none |
||||
|
||||
.h2 LYNXCGI_ENVIRONMENT |
||||
# Unix: |
||||
diff --git a/src/LYCgi.c b/src/LYCgi.c |
||||
index 832bb89..0ae8a7e 100644 |
||||
--- a/src/LYCgi.c |
||||
+++ b/src/LYCgi.c |
||||
@@ -167,7 +167,7 @@ static BOOL can_exec_cgi(const char *linktext, const char *linkargs) |
||||
if (!exec_ok(HTLoadedDocumentURL(), linktext, CGI_PATH)) { |
||||
/* exec_ok gives out msg. */ |
||||
result = FALSE; |
||||
- } else { |
||||
+ } else if (user_mode < ADVANCED_MODE) { |
||||
StrAllocCopy(command, linktext); |
||||
if (non_empty(linkargs)) { |
||||
HTSprintf(&command, " %s", linkargs); |
||||
-- |
||||
1.7.1 |
||||
|
@ -0,0 +1,658 @@
@@ -0,0 +1,658 @@
|
||||
%global devrel 1 |
||||
|
||||
Summary: A text-based Web browser |
||||
Name: lynx |
||||
Version: 2.8.9 |
||||
Release: 19%{?dist} |
||||
License: GPLv2 |
||||
Source: https://invisible-mirror.net/archives/lynx/tarballs/lynx%{version}rel.%{devrel}.tar.bz2 |
||||
URL: http://lynx.browser.org/ |
||||
|
||||
# RH specific tweaks - directory layout, utf-8 by default, misc. configuration |
||||
Patch0: lynx-2.8.9-redhat.patch |
||||
|
||||
# patch preparing upstream sources for rpmbuild, in particular for parallel make |
||||
Patch1: lynx-2.8.9-build.patch |
||||
|
||||
# prompt user before executing command via a lynxcgi link even in advanced mode, |
||||
# as the actual URL may not be shown but hidden behind an HTTP redirect and set |
||||
# TRUSTED_LYNXCGI:none in lynx.cfg to disable all lynxcgi URLs by default |
||||
# [CVE-2008-4690] |
||||
Patch2: lynx-CVE-2008-4690.patch |
||||
|
||||
# avoid build failure caused by mistakenly excluded <locale.h> |
||||
Patch3: lynx-2.8.8-locale.patch |
||||
|
||||
# fix bugs detected by static analysis |
||||
Patch4: lynx-2.8.9-static-analysis.patch |
||||
|
||||
# fix disclosure of HTTP auth credentials via SNI data (CVE-2021-38165) |
||||
Patch5: lynx-2.8.9-CVE-2021-38165.patch |
||||
|
||||
# backport IDN2 support from upstream (#2040124) |
||||
Patch6: lynx-2.8.9-idn2-backport.patch |
||||
|
||||
Provides: webclient |
||||
Provides: text-www-browser |
||||
BuildRequires: autoconf |
||||
BuildRequires: dos2unix |
||||
BuildRequires: gcc |
||||
BuildRequires: gettext |
||||
BuildRequires: libidn2-devel |
||||
BuildRequires: make |
||||
BuildRequires: ncurses-devel |
||||
BuildRequires: openssl-devel |
||||
BuildRequires: telnet |
||||
BuildRequires: unzip |
||||
BuildRequires: zip |
||||
BuildRequires: zlib-devel |
||||
|
||||
# provides /usr/share/doc/HTML/en-US/index.html used as STARTFILE on RHEL |
||||
%if 0%{?rhel} && !0%{?eln} |
||||
Requires: redhat-indexhtml |
||||
%endif |
||||
|
||||
%description |
||||
Lynx is a text-based Web browser. Lynx does not display any images, |
||||
but it does support frames, tables, and most other HTML tags. One |
||||
advantage Lynx has over graphical browsers is speed; Lynx starts and |
||||
exits quickly and swiftly displays web pages. |
||||
|
||||
%prep |
||||
%setup -q -n lynx2.8.9rel.%{devrel} |
||||
|
||||
%patch0 -p1 |
||||
%patch1 -p1 |
||||
%patch2 -p1 |
||||
%patch3 -p1 |
||||
%patch4 -p1 |
||||
%patch5 -p1 |
||||
|
||||
%patch6 -p1 |
||||
autoconf |
||||
|
||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} |
||||
sed -e "s,^HELPFILE:.*,HELPFILE:file://localhost%{_pkgdocdir}/lynx_help/lynx_help_main.html,g" -i lynx.cfg |
||||
%if 0%{?rhel} && !0%{?eln} |
||||
sed -e 's,^STARTFILE:.*,STARTFILE:file:/usr/share/doc/HTML/en-US/index.html,' -i lynx.cfg |
||||
%endif |
||||
|
||||
%build |
||||
%configure --libdir=/etc \ |
||||
--disable-font-switch \ |
||||
--disable-rpath-hack \ |
||||
--enable-addrlist-page \ |
||||
--enable-charset-choice \ |
||||
--enable-cgi-links \ |
||||
--enable-cjk \ |
||||
--enable-debug \ |
||||
--enable-default-colors \ |
||||
--enable-externs \ |
||||
--enable-file-upload \ |
||||
--enable-internal-links \ |
||||
--enable-ipv6 \ |
||||
--enable-japanese-utf8 \ |
||||
--enable-justify-elts \ |
||||
--enable-locale-charset \ |
||||
--enable-kbd-layout \ |
||||
--enable-libjs \ |
||||
--enable-nls \ |
||||
--enable-nsl-fork \ |
||||
--enable-persistent-cookies \ |
||||
--enable-prettysrc \ |
||||
--enable-read-eta \ |
||||
--enable-scrollbar \ |
||||
--enable-source-cache \ |
||||
--enable-warnings \ |
||||
--with-screen=ncursesw \ |
||||
--with-ssl=%{_libdir} \ |
||||
--with-zlib \ |
||||
ac_cv_path_RLOGIN=/usr/bin/rlogin |
||||
|
||||
make -C po |
||||
make %{?_smp_mflags} |
||||
|
||||
# remove zero-length tests files to silence rpmlint |
||||
rm -fv test/X test/nobody |
||||
|
||||
%install |
||||
chmod -x samples/mailto-form.pl |
||||
make install DESTDIR=$RPM_BUILD_ROOT |
||||
|
||||
# remove unneeded files with incompatible encoding |
||||
rm -f docs/{OS-390.announce,README.jp} |
||||
rm -f samples/*.bat |
||||
|
||||
# convert line endings |
||||
dos2unix samples/lynx-demo.cfg |
||||
dos2unix samples/midnight.lss |
||||
|
||||
# Install Lang dependent resources |
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/locale/ja/LC_MESSAGES/ |
||||
|
||||
cat >$RPM_BUILD_ROOT%{_sysconfdir}/lynx-site.cfg <<EOF |
||||
# Place any local lynx configuration options (proxies etc.) here. |
||||
EOF |
||||
|
||||
%find_lang %{name} |
||||
|
||||
%files -f %{name}.lang |
||||
%license COPYING |
||||
%doc docs README INSTALLATION samples |
||||
%doc test lynx.hlp lynx_help |
||||
%{_bindir}/lynx |
||||
%{_mandir}/*/* |
||||
%config(noreplace) %{_sysconfdir}/lynx.cfg |
||||
%config(noreplace) %{_sysconfdir}/lynx.lss |
||||
%config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg |
||||
|
||||
%changelog |
||||
* Mon Mar 21 2022 Kamil Dudka <kdudka@redhat.com> - 2.8.9-19 |
||||
- backport IDN2 support from upstream (#2040124) |
||||
|
||||
* Tue Aug 31 2021 Kamil Dudka <kdudka@redhat.com> - 2.8.9-18 |
||||
- fix disclosure of HTTP auth credentials via SNI data (CVE-2021-38165) |
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.8.9-14.1 |
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags |
||||
Related: rhbz#1991688 |
||||
|
||||
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.8.9-13.1 |
||||
- Rebuilt for RHEL 9 BETA for openssl 3.0 |
||||
Related: rhbz#1971065 |
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.8.9-12.1 |
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 |
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild |
||||
|
||||
* Wed Dec 30 2020 Kamil Dudka <kdudka@redhat.com> - 2.8.9-10 |
||||
- remove unused build-time dependency on slang-devel (#1910966) |
||||
|
||||
* Thu Aug 06 2020 Merlin Mathesius <mmathesi@redhat.com> - 2.8.9-9 |
||||
- Skip RHEL-specific Requires and STARTFILE edit when building for ELN |
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild |
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
||||
|
||||
* Mon Mar 11 2019 Kamil Dudka <kdudka@redhat.com> - 2.8.9-5 |
||||
- include license file in the package (#1686886) |
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
||||
|
||||
* Thu Nov 08 2018 Kamil Dudka <kdudka@redhat.com> - 2.8.9-3 |
||||
- fix bugs detected by static analysis |
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
||||
|
||||
* Tue Jul 10 2018 Kamil Dudka <kdudka@redhat.com> - 2.8.9-1 |
||||
- update to the latest upstream release |
||||
|
||||
* Wed May 23 2018 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.23.dev19 |
||||
- do not require 'rsh' installed at build time (#1581747) |
||||
- update to the latest upstream pre-release |
||||
|
||||
* Mon Feb 19 2018 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.22.dev16 |
||||
- add explicit BR for the gcc compiler |
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-0.21.dev16 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-0.20.dev16 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
||||
|
||||
* Mon Jul 31 2017 Florian Weimer <fweimer@redhat.com> - 2.8.9-0.19.dev16 |
||||
- Rebuild with binutils fix for ppc64le (#1475636) |
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-0.18.dev16 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
||||
|
||||
* Tue Jul 25 2017 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.17.dev16 |
||||
- fix rpmlint warnings |
||||
- do not depend on perl |
||||
- update upstream project URL |
||||
- update to the latest upstream pre-release |
||||
|
||||
* Wed May 17 2017 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.16.dev14 |
||||
- update to the latest upstream pre-release |
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-0.15.dev11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
||||
|
||||
* Tue Jan 24 2017 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.14.dev11 |
||||
- update to the latest upstream pre-release (fixes CVE-2016-9179) |
||||
|
||||
* Thu Oct 20 2016 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.13.dev9 |
||||
- fix compatibility with OpenSSL 1.1 |
||||
|
||||
* Wed Oct 12 2016 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.12.dev9 |
||||
- update to the latest upstream pre-release |
||||
|
||||
* Sat Feb 06 2016 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.11.dev6 |
||||
- avoid using rpath for the lynx executable |
||||
- remove zero-length tests files to silence rpmlint |
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.9-0.10.dev6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
||||
|
||||
* Mon Nov 09 2015 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.9.dev6 |
||||
- update to the latest upstream pre-release |
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.9-0.8.dev5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
||||
|
||||
* Tue Apr 28 2015 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.7.dev5 |
||||
- update to the latest upstream pre-release |
||||
|
||||
* Wed Feb 11 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.8.9-0.6.dev4 |
||||
- do not remove -g from our CFLAGS (#1191706) |
||||
|
||||
* Wed Jan 28 2015 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.5.dev4 |
||||
- update to the latest upstream pre-release |
||||
- drop a compiler wrapper no longer needed |
||||
- do not override compiler/linker flags given by the build system |
||||
|
||||
* Mon Jan 05 2015 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.4.dev2 |
||||
- update to the latest upstream pre-release |
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.9-0.3.dev1 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.9-0.2.dev1 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Mon Apr 28 2014 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.1.dev1 |
||||
- update to the latest upstream pre-release |
||||
|
||||
* Fri Aug 09 2013 Kamil Dudka <kdudka@redhat.com> - 2.8.8-0.3.dev16 |
||||
- update to the latest upstream pre-release |
||||
- make the help working with unversioned docdir (#993909) |
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.8-0.2.dev15 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
||||
|
||||
* Wed Feb 13 2013 Kamil Dudka <kdudka@redhat.com> - 2.8.8-0.1.dev15 |
||||
- update to the latest upstream pre-release |
||||
- drop applied patches |
||||
- drop lynx-2.8.6-backgrcolor.patch (#908449) |
||||
|
||||
* Tue Sep 11 2012 Kamil Dudka <kdudka@redhat.com> - 2.8.7-12 |
||||
- set STARTFILE to a local file when building for RHEL |
||||
|
||||
* Fri Sep 07 2012 Kamil Dudka <kdudka@redhat.com> - 2.8.7-11 |
||||
- fix typo in the man page (#854574) |
||||
|
||||
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> - 2.8.7-10 |
||||
- sync the upstream tarball with the current upstream version |
||||
- fix specfile issues reported by the fedora-review script |
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.7-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.7-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Fri May 27 2011 Kamil Dudka <kdudka@redhat.com> - 2.8.7-7 |
||||
- include read-only text fields on form submission (#679266) |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.7-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Wed Jul 07 2010 Kamil Dudka <kdudka@redhat.com> - 2.8.7-5 |
||||
- upstream patch that limits length of parsed URIs (#605286) |
||||
|
||||
* Thu Apr 08 2010 Kamil Dudka <kdudka@redhat.com> - 2.8.7-4 |
||||
- allow IPv6 addresses without http:// prefix (#425879) |
||||
|
||||
* Wed Apr 07 2010 Kamil Dudka <kdudka@redhat.com> - 2.8.7-3 |
||||
- avoid build failure caused by mistakenly excluded <locale.h> |
||||
|
||||
* Wed Jan 13 2010 Kamil Dudka <kdudka@redhat.com> - 2.8.7-2 |
||||
- make it possible to delete a bookmark when ~/lynx_bookmarks.html is writable |
||||
by group (#486070) |
||||
|
||||
* Tue Jan 05 2010 Kamil Dudka <kdudka@redhat.com> - 2.8.7-1 |
||||
- new upstream release |
||||
- dropped applied patches |
||||
- fixed regression from #533004 |
||||
- cleanup in BuildRequires |
||||
|
||||
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.8.6-22 |
||||
- rebuilt with new openssl |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.6-21 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.6-20 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 2.8.6-19 |
||||
- rebuild with new openssl |
||||
|
||||
* Fri Nov 7 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 2.8.6-18 |
||||
- Fixed CVE-2008-4690 lynx: remote arbitrary command execution. |
||||
via a crafted lynxcgi: URL (thoger) |
||||
|
||||
* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.8.6-17 |
||||
- fix license tag |
||||
|
||||
* Thu May 29 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 2.8.6-16 |
||||
- updated to latest stable version 2.8.6rel5 |
||||
- Resolves: #214205 |
||||
- added build patches from Dennis Gilmore |
||||
- skipped 2 releases to correct the NVR path |
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.8.6-13 |
||||
- Autorebuild for GCC 4.3 |
||||
|
||||
* Wed Jan 30 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 2.8.6-12 |
||||
- added telnet, rsh, zip and unzip to BuildRequires |
||||
- Resolves: #430508 |
||||
|
||||
* Tue Jan 8 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 2.8.6-11 |
||||
- fixed crash when using formatting character '$' in translation |
||||
- Resolves: #426449 |
||||
|
||||
* Tue Dec 11 2007 Ivana Varekova <varekova@redhat.com> - 2.8.6-10 |
||||
- add default-colors option, change default setting (#409211) |
||||
|
||||
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.8.6-9 |
||||
- Rebuild for openssl bump |
||||
|
||||
* Wed Dec 5 2007 Ivana Varekova <varekova@redhat.com> - 2.8.6-8 |
||||
- rebuild |
||||
|
||||
* Fri Oct 12 2007 Ivana Varekova <varekova@redhat.com> - 2.8.6-7 |
||||
- add provides:text-www-browser flag |
||||
|
||||
* Tue Oct 2 2007 Ivana Varekova <varekova@redhat.com> - 2.8.6-6 |
||||
- fix 311031 - fix argument parsing |
||||
|
||||
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.8.6-5 |
||||
- Rebuild for selinux ppc32 issue. |
||||
|
||||
* Tue Jul 17 2007 Ivana Varekova <varekova@redhat.com> - 2.8.6-4 |
||||
- remove default-colors option |
||||
|
||||
* Fri Feb 23 2007 Ivana Varekova <varekova@redhat.com> - 2.8.6-3 |
||||
- incorporate package review feedback (#226113) |
||||
|
||||
* Wed Oct 25 2006 Ivana Varekova <varekova@redhat.com> - 2.8.6-2 |
||||
- add japanese unicode support (#143787) |
||||
|
||||
* Tue Oct 24 2006 Ivana Varekova <varekova@redhat.com> - 2.8.6-1 |
||||
- update to 2.8.6 |
||||
|
||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.8.5-28.1 |
||||
- rebuild |
||||
|
||||
* Tue May 30 2006 Ivana Varekova <varekova@redhat.com> - 2.8.5-28 |
||||
- add buildreq gettext (#193515) |
||||
|
||||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.8.5-27.2.1 |
||||
- bump again for double-long bug on ppc(64) |
||||
|
||||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.8.5-27.2 |
||||
- rebuilt for new gcc4.1 snapshot and glibc changes |
||||
|
||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
||||
- rebuilt |
||||
|
||||
* Sun Nov 13 2005 Tim Waugh <twaugh@redhat.com> 2.8.5-27 |
||||
- Apply patch to fix CVE-2005-2929 (bug #172973). |
||||
|
||||
* Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> 2.8.5-26 |
||||
- rebuilt against new openssl |
||||
|
||||
* Wed Nov 9 2005 Tim Waugh <twaugh@redhat.com> 2.8.5-25 |
||||
- Rebuild for new openssl. |
||||
|
||||
* Mon Oct 17 2005 Tim Waugh <twaugh@redhat.com> 2.8.5-24 |
||||
- Apply patch to fix CAN-2005-3120 (bug #170253). |
||||
|
||||
* Tue Mar 29 2005 Tim Waugh <twaugh@redhat.com> 2.8.5-23 |
||||
- Fixed fix for bug #90302 (bug #152146). |
||||
|
||||
* Wed Mar 2 2005 Tim Waugh <twaugh@redhat.com> 2.8.5-22 |
||||
- Rebuild for new GCC. |
||||
|
||||
* Thu Jan 6 2005 Tim Waugh <twaugh@redhat.com> 2.8.5-21 |
||||
- Fixed <option> handling (bug #90302). |
||||
|
||||
* Thu Dec 30 2004 Tim Waugh <twaugh@redhat.com> 2.8.5-20 |
||||
- Added --enable-locale-charset compilation option, set LOCALE_CHARSET |
||||
on in the config file and removed i18ncfg patch (bug #124849). |
||||
|
||||
* Fri Nov 19 2004 Tim Waugh <twaugh@redhat.com> 2.8.5-19 |
||||
- 2.8.5rel1. Fixes bug #139783. |
||||
|
||||
* Thu Jul 8 2004 Tim Waugh <twaugh@redhat.com> 2.8.5-18 |
||||
- Removed perl dependencies (bug #127423). |
||||
|
||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
||||
- rebuilt |
||||
|
||||
* Tue May 25 2004 Tim Waugh <twaugh@redhat.com> 2.8.5-16 |
||||
- No longer need lynx-284-ipv6-salen.patch. |
||||
- No longer need lynx2-8-2-telnet.patch. |
||||
|
||||
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> 2.8.5-15 |
||||
- rebuilt |
||||
|
||||
* Mon Dec 1 2003 Tim Waugh <twaugh@redhat.com> 2.8.5-14 |
||||
- Updated to dev16, fixing bug #110196. |
||||
- No longer need crlf patch. |
||||
- Use shipped ja translations. |
||||
- Use %%find_lang. |
||||
- Default config file now sets UTF-8 (bug #110986). |
||||
|
||||
* Fri Jun 06 2003 Adrian Havill <havill@redhat.com> 2.8.5-13 |
||||
- use wide version of ncurses for UTF-8 |
||||
|
||||
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
||||
- rebuilt |
||||
|
||||
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> |
||||
- rebuilt |
||||
|
||||
* Wed Jan 22 2003 Tim Waugh <twaugh@redhat.com> 2.8.5-10 |
||||
- Fix CRLF issue. |
||||
|
||||
* Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 2.8.5-9 |
||||
- rebuild |
||||
|
||||
* Fri Dec 20 2002 Elliot Lee <sopwith@redhat.com> 2.8.5-8 |
||||
- _smp_mflags |
||||
|
||||
* Thu Dec 12 2002 Nalin Dahyabhai <nalin@redhat.com> |
||||
- use openssl pkg-config data, if available |
||||
|
||||
* Wed Nov 20 2002 Tim Powers <timp@redhat.com> |
||||
- rebuild on all arches |
||||
|
||||
* Thu Aug 08 2002 Karsten Hopp <karsten@redhat.de> |
||||
- remove menu entry (#69457) |
||||
|
||||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
||||
- automated rebuild |
||||
|
||||
* Thu May 23 2002 Tim Powers <timp@redhat.com> |
||||
- automated rebuild |
||||
|
||||
* Mon May 13 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.8.5-3 |
||||
- Fix build with current toolchain |
||||
|
||||
* Thu Nov 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.8.5-2 |
||||
- Update (dev5) |
||||
|
||||
* Wed Oct 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.8.5-1 |
||||
- Update (dev3) |
||||
- Use "display" as image viewer (#54184) |
||||
|
||||
* Tue Jul 31 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.8.4-17 |
||||
- 2.8.4 release - no need to ship prerelease code... |
||||
|
||||
* Thu Jul 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.8.4-16 |
||||
- update to 2.8.4p5 (bugfix release) |
||||
|
||||
* Tue Jul 10 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.8.4-15 |
||||
- Add site-cfg file (#43841) |
||||
|
||||
* Sun Jun 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.8.4-14 |
||||
- 2.8.4p2 |
||||
|
||||
* Thu Jun 07 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
||||
- support newer gettext version |
||||
|
||||
* Thu May 3 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.8.4-12 |
||||
- --with-display=ncurses, fixes #37481 |
||||
|
||||
* Wed May 2 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.8.4-11 |
||||
- Add Czech/Slovak patches from milan.kerslager@spsselib.hiedu.cz (RFE#38334) |
||||
|
||||
* Sun Apr 15 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
||||
- dev20 |
||||
- Add ipv6 patches from Pekka Savola <pekkas@netcore.fi>: |
||||
- enable ipv6, patch for missing sockaddr sa_len |
||||
- buildrequires: slang-devel, zlib-devel |
||||
(Bug #35644) |
||||
|
||||
* Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com> |
||||
- rebuild in new environment |
||||
|
||||
* Thu Jan 4 2001 Nalin Dahyabhai <nalin@redhat.com> |
||||
- Fix up more of the i18ncfg patch |
||||
|
||||
* Wed Jan 3 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
||||
- 2.8.4dev16 |
||||
- Fix up the i18ncfg patch - segfaulting on startup is not exactly |
||||
a nice feature. |
||||
- Mark locale related files as such |
||||
- Mark /etc/lynx.cfg.ja as %%lang(ja) |
||||
- Add BuildRequires |
||||
|
||||
* Thu Dec 21 2000 Yukihiro Nakai <ynakai@redhat.com> |
||||
- Add -enable-nls --with-included-gettext |
||||
- Add i18ncfg patch |
||||
- Add Japanese resources |
||||
|
||||
* Thu Oct 5 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
||||
- Update build URL |
||||
- Fix help (Bug #18394) |
||||
- Replace the "index page link" (pointing to a Mosaic site with thousands |
||||
of dead links) with a link to Google |
||||
|
||||
* Sat Sep 23 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
||||
- Add https:// support (#17554) |
||||
- Update to dev10 |
||||
|
||||
* Fri Aug 4 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
||||
- Add Swedish and German translations to desktop file, Bug 15322 |
||||
|
||||
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
||||
- automatic rebuild |
||||
|
||||
* Tue Jul 11 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
||||
- 2.8.4.dev.4 |
||||
|
||||
* Mon Jul 10 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
||||
- Fix up location of standard page and help page in lynx.cfg (still |
||||
pointed at /usr/doc instead of /usr/share/doc, Bug #13227) |
||||
|
||||
* Thu Jun 8 2000 Tim Powers <timp@redhat.com> |
||||
- fixed man page lolcation to be FHS compliant |
||||
- use predefined RPM macros wherever possible |
||||
- use %%makeinstall |
||||
- cleaned up files list |
||||
|
||||
* Wed Apr 26 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
||||
- 2.8.3rel.1 |
||||
|
||||
* Tue Mar 28 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
||||
- 2.8.3dev23 |
||||
- add URL header |
||||
|
||||
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com> |
||||
- wmconfig -> desktop |
||||
|
||||
* Sat Feb 05 2000 Cristian Gafton <gafton@redhat.com> |
||||
- version 2.8.3dev18 |
||||
- drop the RFC compliance patch - they seemed to have done theiir own |
||||
- pray that ported patches are okay |
||||
|
||||
* Mon Jan 31 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
||||
- Add "passive mode ftp" option, activated by PASSIVE:TRUE in /etc/lynx.cfg |
||||
- turn on "PASSIVE:TRUE" by default |
||||
- deal with the fact that RPM compresses man pages. |
||||
|
||||
* Sun Jan 16 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
||||
- Add "view with less" download option |
||||
|
||||
* Wed Nov 3 1999 Bernhard Rosenkraenzer <bero@redhat.com> |
||||
- Fix compliance with RFCs describing FTP. |
||||
We can now connect to wu-ftpd >= 2.6.0 based servers. |
||||
|
||||
* Wed Aug 25 1999 Bill Nottingham <notting@redhat.com> |
||||
- fix path to help file. |
||||
- turn off font switching |
||||
- disable args to telnet. |
||||
|
||||
* Tue Jun 15 1999 Bill Nottingham <notting@redhat.com> |
||||
- update to 2.8.2 |
||||
|
||||
* Mon Mar 29 1999 Bill Nottingham <notting@redhat.com> |
||||
- apply some update patches from the lynx folks |
||||
- set user's TEMP dir to their home dir to avoid /tmp races |
||||
|
||||
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
||||
- auto rebuild in the new build environment (release 10) |
||||
|
||||
* Wed Feb 24 1999 Bill Nottingham <notting@redhat.com> |
||||
- return of wmconfig |
||||
|
||||
* Mon Nov 30 1998 Bill Nottingham <notting@redhat.com> |
||||
- create cookie file 0600 |
||||
|
||||
* Fri Nov 6 1998 Bill Nottingham <notting@redhat.com> |
||||
- update to 2.8.1rel2 |
||||
|
||||
* Thu Oct 29 1998 Bill Nottingham <notting@redhat.com> |
||||
- build for Raw Hide (slang-1.2.2) |
||||
|
||||
* Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com> |
||||
- 2.8.1pre9 |
||||
- strip binaries |
||||
|
||||
* Mon Oct 05 1998 Cristian Gafton <gafton@redhat.com> |
||||
- updated to lynx2.8.1pre.7.tar.gz |
||||
|
||||
* Fri May 08 1998 Prospector System <bugs@redhat.com> |
||||
- translations modified for de, fr, tr |
||||
|
||||
* Mon May 04 1998 Cristian Gafton <gafton@redhat.com> |
||||
- upgraded to 2.8rel3 |
||||
- fixed mailto: buffer overflow (used Alan's patch) |
||||
|
||||
* Fri Mar 20 1998 Cristian Gafton <gafton@redhat.com> |
||||
- updated to 2.8 |
||||
- added buildroot |
||||
|
||||
* Tue Jan 13 1998 Erik Troan <ewt@redhat.com> |
||||
- updated to 2.7.2 |
||||
- enabled lynxcgi |
||||
|
||||
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com> |
||||
- updated from 2.6 to 2.7.1 |
||||
- moved /usr/lib/lynx.cfg to /etc/lynx.cfg |
||||
- build with slang instead of ncurses |
||||
- made default startup file be file:/usr/doc/HTML/index.html |
||||
|
Loading…
Reference in new issue