From 8051ebb9a3db51debedf3391ab25104a4b98448b Mon Sep 17 00:00:00 2001 From: "caomeng5@huawei.com" Date: Tue, 17 Dec 2019 17:31:46 +0800 Subject: [PATCH] update patch files --- lynx-2.8.8-locale.patch | 493 +-------------------------------- lynx-2.8.9-build.patch | 577 ++++----------------------------------- lynx-2.8.9-redhat.patch | 535 ++---------------------------------- lynx-CVE-2008-4690.patch | 493 +-------------------------------- 4 files changed, 87 insertions(+), 2011 deletions(-) diff --git a/lynx-2.8.8-locale.patch b/lynx-2.8.8-locale.patch index 0c22595..d049171 100644 --- a/lynx-2.8.8-locale.patch +++ b/lynx-2.8.8-locale.patch @@ -1,358 +1,7 @@ - - - - - - Tree - rpms/lynx - src.fedoraproject.org - - - - - - - - - - - - - - - - - - -
- - -
-
-
-
-
-
-

-

-
-
-

-rpms / lynx -

-
-
-
-
-
-
- - - Clone - - - -
-
-
-
- - -
-
- -
-
-
-
-
- -
-
- -
- -
-
-
- - -
- - Blob - - Blame - - Raw -
- -
From d8a64ed1d63710ad764fbf3b1fb28d08204f9e72 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
+From d8a64ed1d63710ad764fbf3b1fb28d08204f9e72 Mon Sep 17 00:00:00 2001
+From: Kamil Dudka 
 Date: Wed, 13 Feb 2013 15:28:36 +0100
-Subject: [PATCH] avoid build failure caused by mistakenly excluded <locale.h>
+Subject: [PATCH] avoid build failure caused by mistakenly excluded 
 
 ---
  src/LYMain.c |    2 +-
@@ -363,144 +12,14 @@ index 9528be2..aaddb7b 100644
 --- a/src/LYMain.c
 +++ b/src/LYMain.c
 @@ -58,7 +58,7 @@
- #include <io.h>
+ #include 
  #endif
  
--#if defined(LOCALE) && (!defined(HAVE_LIBINTL_H) || !defined(LC_ALL))
+-#if defined(LOCALE) && (!defined(HAVE_LIBINTL_H) || !defined(LC_ALL))
 +#if defined(LOCALE)
  #undef gettext			/* Solaris locale.h prototypes gettext() */
- #include <locale.h>
+ #include 
  #ifndef HAVE_GETTEXT
 -- 
 1.7.1
 
-
-
-
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/lynx-2.8.9-build.patch b/lynx-2.8.9-build.patch index f58c282..bff8088 100644 --- a/lynx-2.8.9-build.patch +++ b/lynx-2.8.9-build.patch @@ -1,356 +1,5 @@ - - - - - - Tree - rpms/lynx - src.fedoraproject.org - - - - - - - - - - - - - - - - - - -
- - -
-
-
-
-
-
-

-

-
-
-

-rpms / lynx -

-
-
-
-
-
-
- - - Clone - - - -
-
-
-
- - -
-
- -
-
-
-
-
- -
-
- -
- -
-
-
- - -
- - Blob - - Blame - - Raw -
- -
From e6f2bec676f7abb4962821475fbc7cf918503e00 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
+From e6f2bec676f7abb4962821475fbc7cf918503e00 Mon Sep 17 00:00:00 2001
+From: Kamil Dudka 
 Date: Wed, 13 Feb 2013 15:25:00 +0100
 Subject: [PATCH] prepare upstream sources for parallel make
 
@@ -367,7 +16,7 @@ index ad78441..0fd8b1e 100644
  # Path of scripts directory
  scripts_dir=$(srcdir)/scripts
  
--MAKE_RECUR = $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)"
+-MAKE_RECUR = $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)"
 -
  @LYNXCFG_MAKE@CFG2HTML = alphatoc.html body.html cattoc.html
  
@@ -375,28 +24,28 @@ index ad78441..0fd8b1e 100644
 @@ -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@	$(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)" $@
+-	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) $@
+-	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) $@
@@ -407,12 +56,12 @@ index ad78441..0fd8b1e 100644
  clean:
  	rm -f WWW/Library/*/*.[aoib]
  	rm -f WWW/Library/*/.created
--	cd $(WWW_DIR) && $(MAKE_RECUR) $@
--	cd $(SRC_DIR) && $(MAKE_RECUR) $@
+-	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@	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)
@@ -420,8 +69,8 @@ index ad78441..0fd8b1e 100644
  	rm -f core *.core
  
  depend: cfg_defs.h LYHelp.h
--	cd $(WWW_DIR) && $(MAKE_RECUR) $@
--	cd $(SRC_DIR) && $(MAKE_RECUR) $@
+-	cd $(WWW_DIR) && $(MAKE_RECUR) $@
+-	cd $(SRC_DIR) && $(MAKE_RECUR) $@
 +	$(MAKE) -C $(WWW_DIR) $@
 +	$(MAKE) -C $(SRC_DIR) $@
  
@@ -429,10 +78,10 @@ index ad78441..0fd8b1e 100644
  	-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) $@
+-	-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) $@
@@ -444,25 +93,25 @@ index ad78441..0fd8b1e 100644
  	@echo Full installation complete.
  
  install-bin: $(BINDIR) lynx$x
--@MSG_DIR_MAKE@	cd $(PO_DIR) && $(MAKE_RECUR) install
+-@MSG_DIR_MAKE@	cd $(PO_DIR) && $(MAKE_RECUR) install
 +@MSG_DIR_MAKE@	$(MAKE) -C $(PO_DIR) install
- 	@ECHO_CC@$(SHELL) -c "P=$(binary_PROG); \
+ 	@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/'
+ 	      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@	@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/' | \
+ @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
+ 	@$(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@	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
@@ -471,11 +120,11 @@ index ad78441..0fd8b1e 100644
  
  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) $@
+-	test -f $(PO_SRCDIR)/makefile && cd $(PO_SRCDIR) && $(MAKE_RECUR) $@
++	test -f $(PO_SRCDIR)/makefile && $(MAKE) -C $(PO_SRCDIR) $@
  
  preinstall :
- 	@ echo ''
+ 	@ echo ''
 diff --git a/src/makefile.in b/src/makefile.in
 index 55611da..7cceaa8 100644
 --- a/src/makefile.in
@@ -484,25 +133,25 @@ index 55611da..7cceaa8 100644
  BUILD_LDFLAGS	= @BUILD_LDFLAGS@
  BUILD_LIBS	= @BUILD_LIBS@
  
--MAKE_RECUR	= $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)"
+-MAKE_RECUR	= $(MAKE) @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" CC="$(CC)"
 -
  YACC		= @YACC@
  WINDRES		= @WINDRES@
  
 @@ -118,7 +116,7 @@ message:
- 	@echo "Compiling Lynx sources"
+ 	@echo "Compiling Lynx sources"
  
  do_chartrans_stuff:
--	-cd chrtrans && $(MAKE_RECUR) \
+-	-cd chrtrans && $(MAKE_RECUR) \
 +	-$(MAKE) -C chrtrans \
- 		SITE_DEFS="$(SITE_DEFS)" \
- 		BUILD_CFLAGS="$(BUILD_CFLAGS)" \
- 		BUILD_CPPFLAGS="$(BUILD_CPPFLAGS)" \
+ 		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
+-	cd chrtrans && $(MAKE_RECUR) clean
 +	$(MAKE) -C chrtrans clean
  
  tags:
@@ -511,7 +160,7 @@ index 55611da..7cceaa8 100644
   $(CHRTR)viscii_uni.h
  
  $(TABLES):
--	-cd chrtrans && $(MAKE_RECUR) tables
+-	-cd chrtrans && $(MAKE_RECUR) tables
 +	-$(MAKE) -C chrtrans tables
  
  UCdomap$o :	UCdomap.c \
@@ -520,7 +169,7 @@ index 55611da..7cceaa8 100644
  	UCdomap.h $(CMN)UCMap.h $(TABLES) $(top_srcdir)/userdefs.h
  
  chrtrans/makeuctb$(BUILD_EXEEXT):
--	cd chrtrans && $(MAKE_RECUR) 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
@@ -528,133 +177,3 @@ index 55611da..7cceaa8 100644
 -- 
 1.8.3.1
 
-
-
-
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/lynx-2.8.9-redhat.patch b/lynx-2.8.9-redhat.patch index 7a1a4e5..047b0c9 100644 --- a/lynx-2.8.9-redhat.patch +++ b/lynx-2.8.9-redhat.patch @@ -1,356 +1,5 @@ - - - - - - Tree - rpms/lynx - src.fedoraproject.org - - - - - - - - - - - - - - - - - - -
- - -
-
-
-
-
-
-

-

-
-
-

-rpms / lynx -

-
-
-
-
-
-
- - - Clone - - - -
-
-
-
- - -
-
- -
-
-
-
-
- -
-
- -
- -
-
-
- - -
- - Blob - - Blame - - Raw -
- -
From bccfb8ac43da56cb1f53c4b421e09dcac1fd1af0 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
+From bccfb8ac43da56cb1f53c4b421e09dcac1fd1af0 Mon Sep 17 00:00:00 2001
+From: Kamil Dudka 
 Date: Wed, 13 Feb 2013 15:17:08 +0100
 Subject: [PATCH] lynx-2.8.6-redhat.patch rebased for 2.8.9
 
@@ -370,11 +19,11 @@ index f01782f..ccc0846 100644
 -#                                     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
++# 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"
+ # $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
@@ -383,7 +32,7 @@ index f01782f..ccc0846 100644
 +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:
+ # 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.
@@ -413,7 +62,7 @@ index f01782f..ccc0846 100644
  # 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
+ #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
@@ -437,8 +86,8 @@ index 40a954b..4afe835 100644
   * 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"
+-#define LYNX_CFG_FILE "Lynx_Dir:lynx.cfg"
++#define LYNX_CFG_FILE "/etc/lynx.cfg"
  #endif /* LYNX_CFG_FILE */
  
  #ifndef LYNX_CFG_PATH
@@ -446,10 +95,10 @@ index 40a954b..4afe835 100644
   * 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"
+-#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
@@ -457,19 +106,19 @@ index 40a954b..4afe835 100644
   * 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"
+-#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"
+ #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"
+-#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 */
@@ -477,17 +126,17 @@ index 40a954b..4afe835 100644
   * 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 &"
+-#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)
+  * the "TMPDIR" (unix), or "TEMP" or "TMP" (Windows,DOS,OS/2)
   * variable.
   */
--#define TEMP_SPACE "/tmp/"
-+#define TEMP_SPACE "~"
+-#define TEMP_SPACE "/tmp/"
++#define TEMP_SPACE "~"
  
  /********************************
   * Comment this line out to disable code that implements command logging
@@ -503,133 +152,3 @@ index 40a954b..4afe835 100644
 -- 
 2.9.4
 
-
-
-
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/lynx-CVE-2008-4690.patch b/lynx-CVE-2008-4690.patch index c2d4eff..914b42d 100644 --- a/lynx-CVE-2008-4690.patch +++ b/lynx-CVE-2008-4690.patch @@ -1,356 +1,5 @@ - - - - - - Tree - rpms/lynx - src.fedoraproject.org - - - - - - - - - - - - - - - - - - -
- - -
-
-
-
-
-
-

-

-
-
-

-rpms / lynx -

-
-
-
-
-
-
- - - Clone - - - -
-
-
-
- - -
-
- -
-
-
-
-
- -
-
- -
- -
-
-
- - -
- - Blob - - Blame - - Raw -
- -
From c60c227ab9a36246730d7454e33d40d2c66c88b3 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
+From c60c227ab9a36246730d7454e33d40d2c66c88b3 Mon Sep 17 00:00:00 2001
+From: Kamil Dudka 
 Date: Wed, 13 Feb 2013 15:26:22 +0100
 Subject: [PATCH] fix CVE-2008-4690
 
@@ -380,14 +29,14 @@ index 360be68..8eca013 100644
 +
  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
+ * 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".
+ # The default TRUSTED_LYNXCGI rule is "none".
  #
 -#TRUSTED_LYNXCGI:none
 +TRUSTED_LYNXCGI:none
@@ -403,140 +52,10 @@ index 832bb89..0ae8a7e 100644
  	/* exec_ok gives out msg. */
  	result = FALSE;
 -    } else {
-+    } else if (user_mode < ADVANCED_MODE) {
++    } else if (user_mode < ADVANCED_MODE) {
  	StrAllocCopy(command, linktext);
  	if (non_empty(linkargs)) {
- 	    HTSprintf(&command, " %s", linkargs);
+ 	    HTSprintf(&command, " %s", linkargs);
 -- 
 1.7.1
 
-
-
-
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file