Hello community, here is the log from the commit of package lynx checked in at Tue Apr 3 21:42:28 CEST 2007. -------- --- lynx/lynx.changes 2007-03-29 13:20:40.000000000 +0200 +++ /mounts/work_src_done/STABLE/lynx/lynx.changes 2007-04-03 20:13:40.754864000 +0200 @@ -1,0 +2,6 @@ +Tue Apr 3 20:12:18 CEST 2007 - kssingvo@suse.de + +- upgrade to final version of 2.8.6 +- removed patch with final changes + +------------------------------------------------------------------- Old: ---- lynx-2.8.6-final_version.patch lynx2.8.6rel.2.tar.bz2 New: ---- lynx2.8.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lynx.spec ++++++ --- /var/tmp/diff_new_pack.K13691/_old 2007-04-03 21:41:50.000000000 +0200 +++ /var/tmp/diff_new_pack.K13691/_new 2007-04-03 21:41:50.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package lynx (Version 2.8.6_rel2) +# spec file for package lynx (Version 2.8.6) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -19,17 +19,16 @@ Prereq: /bin/cp Requires: xli Autoreqprov: on -Version: 2.8.6_rel2 -Release: 30 +Version: 2.8.6 +Release: 1 URL: http://lynx.isc.org Summary: A Text-Based WWW Browser -Source: http://lynx.isc.org/current/lynx2.8.6rel.2.tar.bz2 +Source: http://lynx.isc.org/lynx2.8.6/lynx2.8.6.tar.bz2 # Source1: po.tar.bz2 Patch100: lynx-2.8.5.dif Patch101: lynx-2.8.5-charset.patch Patch102: lynx-2.8.6-ipv6.patch Patch103: lynx-2.8.6-enable_xli.patch -Patch104: lynx-2.8.6-final_version.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -172,7 +171,6 @@ %patch101 -p0 %patch102 -p1 %patch103 -p1 -%patch104 -p1 # containing a few test msg's only: # rm -f po/{es,fr,it,ko,no,pl,pt}.po @@ -223,6 +221,9 @@ %doc lynx_help samples scripts %changelog +* Tue Apr 03 2007 - kssingvo@suse.de +- upgrade to final version of 2.8.6 +- removed patch with final changes * Thu Mar 29 2007 - dmueller@suse.de - add ncurses-devel BuildRequires * Mon Nov 20 2006 - kssingvo@suse.de ++++++ lynx2.8.6rel.2.tar.bz2 -> lynx2.8.6.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/lynx2-8-6/CHANGES new/lynx2-8-6/CHANGES --- old/lynx2-8-6/CHANGES 2006-10-13 01:00:01.000000000 +0200 +++ new/lynx2-8-6/CHANGES 2006-11-16 01:42:22.000000000 +0100 @@ -1,6 +1,20 @@ Changes since Lynx 2.8 release =============================================================================== +2006-11-15 (2.8.6rel.4 diverges from 2.8.7dev.4) +* limit files set via PERSONAL_EXTENSION_MAP and PERSONAL_MAILCAP to be found + relative to the user's home directory. This change is less flexible than the + development version, but simpler to implement. The check to ensure that + the files are controlled by the user is retained (Redhat #214205) -TD + +2006-11-06 (2.8.6rel.3 from 2.8.7dev.2) +* ensure that the configured values for GLOBAL_EXTENSION_MAP and GLOBAL_MAILCAP + are absolute pathnames -TD +* modify logic for reading PERSONAL_EXTENSION_MAP and PERSONAL_MAILCAP to + ensure that they are files that are controlled only by the user. The + default values for these allow lynx to read configuration information + from the user's current directory at lynx's startup (Debian #396949) -TD + 2006-10-12 (2.8.6rel.2) * update version numbers in documentation -TD * change embedded URL for HTML'ized lynx.cfg to point to example in current diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/lynx2-8-6/configure new/lynx2-8-6/configure --- old/lynx2-8-6/configure 2006-10-11 01:39:50.000000000 +0200 +++ new/lynx2-8-6/configure 2006-10-11 01:39:50.000000000 +0200 @@ -1228,7 +1228,7 @@ PACKAGE=lynx # $Format: "VERSION=$ProjectVersion$"$ -VERSION=2.8.6rel.2 +VERSION=2.8.6rel.4 test -z "$ALL_LINGUAS" && ALL_LINGUAS=`test -d $srcdir/po && cd $srcdir/po && echo *.po|sed -e 's/\.po//g' -e 's/*//'` diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/lynx2-8-6/configure.in new/lynx2-8-6/configure.in --- old/lynx2-8-6/configure.in 2006-10-11 01:39:50.000000000 +0200 +++ new/lynx2-8-6/configure.in 2006-10-11 01:39:50.000000000 +0200 @@ -25,7 +25,7 @@ dnl dnl ask PRCS to plug-in the project-version for the configure-script. dnl $Format: "AC_REVISION($ProjectVersion$)"$ -AC_REVISION(2.8.6rel.2) +AC_REVISION(2.8.6rel.4) # Save the original $CFLAGS so we can distinguish whether the user set those # in the environment, or whether autoconf added -O and -g options: @@ -57,7 +57,7 @@ PACKAGE=lynx dnl ask PRCS to plug-in the project-version for the packages. # $Format: "VERSION=$ProjectVersion$"$ -VERSION=2.8.6rel.2 +VERSION=2.8.6rel.4 AC_SUBST(PACKAGE) AC_SUBST(VERSION) AC_SUBST(DESTDIR) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/lynx2-8-6/lynx.cfg new/lynx2-8-6/lynx.cfg --- old/lynx2-8-6/lynx.cfg 2006-09-19 02:28:28.000000000 +0200 +++ new/lynx2-8-6/lynx.cfg 2006-09-19 02:28:28.000000000 +0200 @@ -3,10 +3,10 @@ # or Lynx_Dir:lynx.cfg (VMS) # # $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$ -#PRCS LYNX_VERSION "2.8.6rel.2" +#PRCS LYNX_VERSION "2.8.6rel.4" # # $Format: "#PRCS LYNX_DATE \"$ProjectDate$\""$ -#PRCS LYNX_DATE "Thu, 12 Oct 2006 16:00:01 -0700" +#PRCS LYNX_DATE "Wed, 15 Nov 2006 16:42:22 -0800" # # Definition pairs are of the form VARIABLE:DEFINITION # NO spaces are allowed between the pair items. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/lynx2-8-6/src/HTInit.c new/lynx2-8-6/src/HTInit.c --- old/lynx2-8-6/src/HTInit.c 2006-10-02 21:56:53.000000000 +0200 +++ new/lynx2-8-6/src/HTInit.c 2006-11-16 01:42:22.000000000 +0100 @@ -153,22 +153,21 @@ SET_INTERNL("text/html", "www/present", HTMLPresent, 1.0); SET_INTERNL("text/xml", "www/present", HTMLPresent, 2.0); - /* - * These should override the default types as necessary. - */ - HTLoadTypesConfigFile(global_type_map, mediaSYS); + if (LYisAbsPath(global_type_map)) { + /* These should override the default types as necessary. */ + HTLoadTypesConfigFile(global_type_map, mediaSYS); + } /* * Load the local maps. */ - if (LYCanReadFile(personal_type_map)) { - /* These should override everything else. */ - HTLoadTypesConfigFile(personal_type_map, mediaUSR); - } else { + { char buffer[LY_MAXPATH]; LYAddPathToHome(buffer, sizeof(buffer), personal_type_map); - HTLoadTypesConfigFile(buffer, mediaUSR); + if (IsOurFile(buffer) + && LYCanReadFile(buffer)) + HTLoadTypesConfigFile(buffer, mediaUSR); } /* @@ -1332,18 +1331,21 @@ SET_SUFFIX1(".html", "text/html", "8bit"); #endif /* BUILTIN_SUFFIX_MAPS */ - /* These should override the default extensions as necessary. */ - HTLoadExtensionsConfigFile(global_extension_map); + if (LYisAbsPath(global_extension_map)) { + /* These should override the default extensions as necessary. */ + HTLoadExtensionsConfigFile(global_extension_map); + } - if (LYCanReadFile(personal_extension_map)) { - /* These should override everything else. */ - HTLoadExtensionsConfigFile(personal_extension_map); - } else { + /* + * Load the local maps. + */ + { char buffer[LY_MAXPATH]; LYAddPathToHome(buffer, sizeof(buffer), personal_extension_map); - /* These should override everything else. */ - HTLoadExtensionsConfigFile(buffer); + if (IsOurFile(buffer) + && LYCanReadFile(buffer)) + HTLoadExtensionsConfigFile(buffer); } } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/lynx2-8-6/src/LYUtils.c new/lynx2-8-6/src/LYUtils.c --- old/lynx2-8-6/src/LYUtils.c 2006-10-02 21:56:53.000000000 +0200 +++ new/lynx2-8-6/src/LYUtils.c 2006-11-07 02:27:15.000000000 +0100 @@ -5789,28 +5789,20 @@ } #endif -/* - * Default, for single-user systems such as Cygwin and OS/2 EMX: - */ -#define IsOurFile(name) TRUE -#define OpenHiddenFile(name, mode) fopen(name, mode) - #if defined(MULTI_USER_UNIX) - -#undef IsOurFile -#undef OpenHiddenFile - /* * Verify if this is really a file, not accessed by a link, except for the * special case of its directory being pointed to by a link from a directory * owned by root and not writable by other users. */ -static BOOL IsOurFile(const char *name) +BOOL IsOurFile(const char *name) { + BOOL result = FALSE; struct stat data; if (lstat(name, &data) == 0 && S_ISREG(data.st_mode) + && (data.st_mode & (S_IWOTH | S_IWGRP)) == 0 && data.st_nlink == 1 && data.st_uid == getuid()) { int linked = FALSE; @@ -5860,9 +5852,10 @@ } while (leaf != path); FREE(path); #endif - return !linked; + result = !linked; } - return FALSE; + CTRACE2(TRACE_CFG, (tfp, "IsOurFile(%s) %d\n", name, result)); + return result; } /* @@ -5922,6 +5915,8 @@ } return fp; } +#else +#define OpenHiddenFile(name, mode) fopen(name, mode) #endif /* MULTI_USER_UNIX */ FILE *LYNewBinFile(const char *name) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/lynx2-8-6/src/LYUtils.h new/lynx2-8-6/src/LYUtils.h --- old/lynx2-8-6/src/LYUtils.h 2005-10-17 02:17:20.000000000 +0200 +++ new/lynx2-8-6/src/LYUtils.h 2006-11-07 02:27:15.000000000 +0100 @@ -196,6 +196,12 @@ extern void statusline(const char *text); extern void toggle_novice_line(void); +#if defined(MULTI_USER_UNIX) + extern BOOL IsOurFile(const char *name); +#else +#define IsOurFile(name) TRUE +#endif + #ifdef EXP_ASCII_CTYPES extern int ascii_tolower(int i); extern int ascii_toupper(int i); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/lynx2-8-6/userdefs.h new/lynx2-8-6/userdefs.h --- old/lynx2-8-6/userdefs.h 2004-12-30 13:11:59.000000000 +0100 +++ new/lynx2-8-6/userdefs.h 2004-12-30 13:11:59.000000000 +0100 @@ -1360,11 +1360,11 @@ * the version definition with the Project Version on checkout. Just * ignore it. - kw */ /* $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$ */ -#define LYNX_VERSION "2.8.6rel.2" +#define LYNX_VERSION "2.8.6rel.4" #define LYNX_WWW_HOME "http://lynx.isc.org/" #define LYNX_WWW_DIST "http://lynx.isc.org/current/" /* $Format: "#define LYNX_DATE \"$ProjectDate$\""$ */ -#define LYNX_DATE "Thu, 12 Oct 2006 16:00:01 -0700" +#define LYNX_DATE "Wed, 15 Nov 2006 16:42:22 -0800" #define LYNX_DATE_OFF 5 /* truncate the automatically-generated date */ #define LYNX_DATE_LEN 11 /* truncate the automatically-generated date */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org