Your message dated Thu, 26 Aug 2010 07:32:10 +0000
with message-id <[email protected]>
and subject line Bug#489360: fixed in lynx-cur 2.8.8dev.5-1
has caused the Debian Bug report #489360,
regarding Patch for NMU 2.8.7dev9-1.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
489360: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489360
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lynx-cur
Version: 2.8.7dev9-1.1

Find attached the patch for my NMU.
diff -u lynx-cur-2.8.7dev9/debian/changelog lynx-cur-2.8.7dev9/debian/changelog
--- lynx-cur-2.8.7dev9/debian/changelog
+++ lynx-cur-2.8.7dev9/debian/changelog
@@ -1,3 +1,23 @@
+lynx-cur (2.8.7dev9-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove local.cfg on purge instead of remove. Closes: #474928
+  * Revamp handling of debconf managed configuration file local.cfg as
+    described in debconf-devel(7).
+    Closes: #474926
+  * lynx-cur-wrapper: Simply ship the /etc/lynx-cur/lynx-??.cfg as dpkg
+    conffiles instead of generating (and removing) them in the
+    maintainerscripts. Closes: #481778,#481774
+  * Add a dummy package lynx, which switches from lynx to lynx-cur. The old
+    stable codebase (lynx) is dead; upstream suggest using the lynx-cur
+    releases.
+    Closes: #369386
+  * lynx-cur does not provide lynx anymore. It is not completely necessary
+    since the dummy package lynx pulls in lynx-cur. The provides broke
+    upgrades from lynx (installed ok) lynx-cur (deinstall ok config-files).
+
+ -- Andreas Metzler <[email protected]>  Sat, 05 Jul 2008 10:21:38 +0200
+
 lynx-cur (2.8.7dev9-1) unstable; urgency=low
 
   * New Upstream Release.
diff -u lynx-cur-2.8.7dev9/debian/config lynx-cur-2.8.7dev9/debian/config
--- lynx-cur-2.8.7dev9/debian/config
+++ lynx-cur-2.8.7dev9/debian/config
@@ -1,5 +1,8 @@
 #!/bin/sh -e
 
+CONFIGFILE=/etc/lynx-cur/local.cfg
+
+
 # Use debconf.
 . /usr/share/debconf/confmodule
 
@@ -7,13 +10,23 @@
 db_version
 db_title 'Lynx-cur Configuration'
 
-# Main
-db_fget lynx-cur/defaulturl seen
-if [ "$RET" = false ]; then
-    if [ ! -z "`dnsdomainname`" ]; then
-	db_set lynx-cur/defaulturl "http://www.`dnsdomainname`/";
-    else
-	db_reset lynx-cur/defaulturl
+if [ -e $CONFIGFILE ]; then
+    # parse configfile
+    if grep -q '^STARTFILE:' $CONFIGFILE ; then
+        defaulturl=`sed -n '/^STARTFILE:/{s/^STARTFILE://p}' < $CONFIGFILE`
+        # Store values from config file into debconf_db
+        db_set lynx-cur/defaulturl "$defaulturl"
+    fi
+else
+    #set a sane default value if no preconfiguration has yet happened
+    # (either by preseeding debconf or by pre-generating local.cfg
+    db_fget lynx-cur/defaulturl seen
+    if [ "$RET" = false ]; then
+        if [ ! -z "`dnsdomainname`" ]; then
+            db_set lynx-cur/defaulturl "http://www.`dnsdomainname`/";
+        else
+            db_reset lynx-cur/defaulturl
+        fi
     fi
 fi
 
@@ -45,0 +59,2 @@
+
+# vim:tabstop=4:expandtab:shiftwidth=4
diff -u lynx-cur-2.8.7dev9/debian/control lynx-cur-2.8.7dev9/debian/control
--- lynx-cur-2.8.7dev9/debian/control
+++ lynx-cur-2.8.7dev9/debian/control
@@ -8,8 +8,8 @@
 Package: lynx-cur
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Provides: lynx, www-browser, news-reader
-Conflicts: lynx, lynx-ssl
+Provides: www-browser, news-reader
+Conflicts: lynx (<< 2.8.7dev9-1.1), lynx-ssl
 Recommends: mime-support
 Suggests: lynx-cur-wrapper
 Description: Text-mode WWW Browser with NLS support (development version)
@@ -32,0 +33,7 @@
+
+Package: lynx
+Architecture: all
+Depends: lynx-cur (>= ${source:Version})
+Description: Text-mode WWW Browser (transitional package)
+ This is a transitional package and can safely be removed; see the
+ lynx-cur package instead.
reverted:
--- lynx-cur-2.8.7dev9/debian/lynx
+++ lynx-cur-2.8.7dev9.orig/debian/lynx
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-cnfdir=/etc/lynx-cur
-binary=lynx.cur
-### default settings
-OPT=""
-
-# nl=dutch no=norwegian pl=polish pt=portuguese sl=slovenia sv=swedish
-# chinese=zh_CN.GB2312 and/or zh_TW.Big5 korean=ko_KR.eucKR
-
-case $LANG in
-	*.utf-8|*.UTF-8)   flg=utf   ;;
-	cs*) flg=cs ;;
-	da*) flg=da ;;
-	de*) flg=de ;;
-	es*) flg=es ;;
-	fr*) flg=fr ;;
-	it*) flg=it ;;
-	ja*) flg=ja ;;
-	ko*) flg=ko ;;
-	nl*) flg=nl ;;
-	no*) flg=no ;;
-	pl*) flg=pl ;;
-	pt*) flg=pt ;;
-	ru*) flg=ru ;;
-	sl*) flg=sl ;;
-	sv*) flg=sv ;;
-	zh*) flg=zh ;;
-	*)   flg=   ;;
-esac
-
-if [ X$LYNX_CFG = X ] ; then
- if [ X$flg = Xja ] ; then
-###
-### Japanese environment
-###
-  if [ X$DISPLAY = X ] ; then
-############ non-X #############
-    if [ X$TERM = Xkon -o X$TERM = Xjfbterm ] ; then
-### kon or jfbterm?
-      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg.blck ${1+"$@"}
-    elif [ X$TERM = Xlinux ] ; then
-### linux console ?
-      export LANG=C
-      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg ${1+"$@"}
-    else
-### unsure, but ...
-      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg.dflt ${1+"$@"}
-    fi
-  else
-########## X Window ############
-    if [ X$TERM = Xkterm ] ; then
-      if [ X$COLORTERM = X -o X$COLORTERM = Xrxvt-xpm -o X$COLORTERM = Xrxvt ]
-### kterm or non-package krxvt ?
-      then
-        exec /usr/bin/${binary} -cfg=${cnfdir}/lynx-ja.cfg ${1+"$@"}
-# If reverse video
-#        exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg.blck ${1+"$@"}
-      fi
-    elif [ X$COLORTERM = Xrxvt-xpm -o X$COLORTERM = Xgnome-terminal ] ; then
-### krxvt or gnome-terminal?
-      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx-ja.cfg ${1+"$@"}
-    elif [ X$COLORTERM = Xrxvt -o X$TERM = Xxterm-debian -o X$TERM = Xxterm ]
-    then
-### rxvt or xterm ?
-      export LANG=C
-      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg ${1+"$@"}
-    else
-### unsure, but ...
-      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg.dflt ${1+"$@"}
-    fi
-  fi
-###
-### Unicode ?
- elif [ X$flg = Xutf ]; then
-    if [ X$TERM = Xmlterm ]
-    then
-### mlterm ?
-      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx-utf.cfg ${1+"$@"}
-    elif [ X$TERM = Xxterm ]
-    then
-### uxterm ?
-      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx-utf.cfg ${1+"$@"}
-    else
-### unsure, but ...
-      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg.dflt ${1+"$@"}
-    fi
-###
-### non-Japanese environment ?
-###
- else
-  if [ X$flg != X ] ; then
-    exec /usr/bin/${binary} -cfg=${cnfdir}/lynx-${flg}.cfg ${1+"$@"}
-  else
-    exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg ${1+"$@"}
-  fi
- fi
-else
-    exec /usr/bin/${binary} ${1+"$@"}
-fi
diff -u lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper.postinst lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper.postinst
--- lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper.postinst
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper.postinst
@@ -17,57 +17,6 @@
     --slave /usr/share/man/man1/lynx.1.gz lynx.1.gz \
        /usr/share/man/man1/lynx-cur.1.gz
 
-# removed po in 2.8.5; es it ko no pl pt zh
-# creating misc cfg files
-for i in cs da de en es fr it ja ko nl no pl pt pt_BR ru sl sv zh utf
-    do rm -f ${cnfdir}/lynx-${i}.cfg
-done
-rm -f ${cnfdir}/lynx.cfg.blck ${cnfdir}/lynx.cfg.dflt
-
-#1 ja
-sed -n -e '/^CHARACTER_SET:/p' -e '/^PREFERRED_LANGUAGE:/p' \
-    < ${cnfdir}/lynx.cfg | \
-    sed -e 's/iso-8859-1/euc-jp/' -e 's/:en/:ja,en;q=0.9,*;q=0.5/' \
-    > ${cnfdir}/lynx-ja_$$ && \
-sed -e '1i\
-# Include all the common options:\
-INCLUDE:/etc/lynx-cur/lynx.cfg\
-# Now override a couple:' < ${cnfdir}/lynx-ja_$$ > ${cnfdir}/lynx-ja.cfg && \
-rm -f ${cnfdir}/lynx-ja_$$
-#2 
-for j in cs da de es fr it nl no pl pt ru sl sv
-do sed -e "s/ja,en/${j},en/" -e 's/euc-jp/iso-8859-1/' \
-    < ${cnfdir}/lynx-ja.cfg > ${cnfdir}/lynx-${j}.cfg
-done
-#3 zh(chinese)
-sed -e 's/ja,en/zh,en/' -e 's/euc-jp/big5/' ${cnfdir}/lynx-ja.cfg > \
-    ${cnfdir}/lynx-zh.cfg
-#4 ko(korean)
-sed -e 's/ja,en/ko,en/' -e 's/euc-jp/euc-kr/' ${cnfdir}/lynx-ja.cfg > \
-    ${cnfdir}/lynx-ko.cfg
-#5 utf-8
-sed -e 's/ja,en/utf-8,en/' -e 's/euc-jp/utf-8/' ${cnfdir}/lynx-ja.cfg > \
-    ${cnfdir}/lynx-utf.cfg
-#6 reverse video
-sed -e '$a\
-COLOR:0:lightgray:black \
-COLOR:1:blue:black \
-COLOR:2:yellow:blue \
-COLOR:3:green:black \
-COLOR:4:magenta:black \
-COLOR:5:blue:black \
-COLOR:6:red:black \
-COLOR:7:magenta:cyan' ${cnfdir}/lynx-ja.cfg > ${cnfdir}/lynx.cfg.blck
-#7 default ?
-sed -e '$a\
-COLOR:0:default:default \
-COLOR:1:blue:default \
-COLOR:2:yellow:blue \
-COLOR:3:green:default \
-COLOR:4:magenta:default \
-COLOR:5:blue:default \
-COLOR:6:red:default \
-COLOR:7:magenta:cyan' ${cnfdir}/lynx-ja.cfg > ${cnfdir}/lynx.cfg.dflt
 
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
reverted:
--- lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper.postrm
+++ lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper.postrm
@@ -1,18 +0,0 @@
-#! /bin/sh
-# postrm script for lynx-cur-wrapper
-pack=lynx-cur
-cnfdir=/etc/${pack}
-
-set -e
-
-if [ "$1" = "remove" ]; then
-    for i in cs da de en es fr it ja ko nl no pl pt pt_BR ru sl sv zh utf
-    do rm -f ${cnfdir}/lynx-${i}.cfg
-    done
-    rm -f ${cnfdir}/lynx.cfg.blck ${cnfdir}/lynx.cfg.dflt
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
diff -u lynx-cur-2.8.7dev9/debian/postinst lynx-cur-2.8.7dev9/debian/postinst
--- lynx-cur-2.8.7dev9/debian/postinst
+++ lynx-cur-2.8.7dev9/debian/postinst
@@ -2,6 +2,7 @@
 # postinst script for lynx-beta
 pack=lynx-cur
 cnfdir=/etc/${pack}
+CONFIGFILE=${cnfdir}/local.cfg
 
 set -e
 
@@ -16,37 +17,39 @@
     --slave /usr/share/man/man1/lynx.1.gz lynx.1.gz \
        /usr/share/man/man1/lynx.cur.1.gz
 
-# First, setup local.cfg
-if [ ! -f ${cnfdir}/local.cfg ] ; then
-cp /usr/share/doc/${pack}/local.cfg.in ${cnfdir}/local.cfg
-fi
-
 # Use debconf.
 . /usr/share/debconf/confmodule
 
-LINE1=`fgrep -n "STARTFILE:Not-Configured-Yet" \
-    ${cnfdir}/local.cfg | awk -F: '{print $1;}'`
-if [ ! -z "$LINE1" ]; then
-    db_get ${pack}/defaulturl
-    URL=`echo "$RET" | sed -e 's|:|\\\\:|g'`
-    sed -e "$LINE1 s:Not-Configured-Yet:$URL:" ${cnfdir}/local.cfg \
-    	> ${cnfdir}/local.cfg-$$-1 && mv -f ${cnfdir}/local.cfg-$$-1 ${cnfdir}/local.cfg
+if [ ! -f $CONFIGFILE ] ; then
+	cat << EOF > $CONFIGFILE
+# local overides for lynx-cur configuration
+STARTFILE:Not-Configured-Yet
+EOF
+	chmod 644 $CONFIGFILE
 fi
 
-LINE2=`fgrep -n "#NNTPSERVER:news.server.dom" \
-    ${cnfdir}/local.cfg | awk -F: '{print $1;}'`
-if [ ! -z "$LINE2" ]; then
-    NNTPSERVER=`grep -s -v '^#' /etc/news/server | head -n 1`;
-    if [ -n "$NNTPSERVER" ]; then
-	sed -e "$LINE2 s/#NNTPSERVER:news.server.dom/NNTPSERVER:$NNTPSERVER/" ${cnfdir}/local.cfg \
-	    > ${cnfdir}/local.cfg-$$-2 && mv -f ${cnfdir}/local.cfg-$$-2 ${cnfdir}/local.cfg
-    fi
-fi
+cp -a $CONFIGFILE $CONFIGFILE.tmp
 
-if [ -f ${cnfdir}/local.cfg-$$-[12] ]; then
-    rm -f ${cnfdir}/local.cfg-$$-[12]
+db_get ${pack}/defaulturl
+# escape colons
+defaulturl=`echo "$RET" | sed -e 's_:_\\\\:_g'`
+
+# Check whether /etc/news/server exists and sync its value to NNTPSERVER setting:
+if [ -e /etc/news/server ] ; then
+	NNTPSERVER=`grep -s -v '^#' /etc/news/server | head -n 1`
 fi
 
+# add missing lines
+test -z "$defaulturl"  || grep -Eq '^STARTFILE:' $CONFIGFILE || \
+	echo "STARTFILE:Not-Configured-Yet" >> $CONFIGFILE
+test -z "$NNTPSERVER" || grep -Eq '^NNTPSERVER:' $CONFIGFILE || \
+	echo "NNTPSERVER:Not-Configured-Yet" >> $CONFIGFILE
+
+sed -e "s:^STARTFILE\\:.*:STARTFILE\\:${defaulturl}:" \
+	-e "s/^NNTPSERVER:.*/NNTPSERVER:${NNTPSERVER}/" \
+	< $CONFIGFILE > $CONFIGFILE.tmp
+mv -f $CONFIGFILE.tmp $CONFIGFILE
+
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
 
diff -u lynx-cur-2.8.7dev9/debian/postrm lynx-cur-2.8.7dev9/debian/postrm
--- lynx-cur-2.8.7dev9/debian/postrm
+++ lynx-cur-2.8.7dev9/debian/postrm
@@ -5,22 +5,10 @@
 
 set -e
 
-if [ "$1" = "remove" ]; then
+if [ "$1" = "purge" ]; then
     rm -f ${cnfdir}/local.cfg
-# handle duplicated lynx.mo
-#    for l in ca cs da de et fr hu it ja nl pt_BR ru sl sv tr uk zh_CN zh_TW
-#    do
-#      dpkg-divert --package lynx-cur --remove --rename --divert \
-#      /usr/share/locale/${l}/LC_MESSAGES/lynx.mo.old \
-#	  /usr/share/locale/${l}/LC_MESSAGES/lynx.mo
-#    done
 fi
 
-if [ "$1" = "purge" ]; then
-    if [ -d ${cnfdir} ] ; then
-	rm -r ${cnfdir}
-    fi
-fi
 
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
diff -u lynx-cur-2.8.7dev9/debian/rules lynx-cur-2.8.7dev9/debian/rules
--- lynx-cur-2.8.7dev9/debian/rules
+++ lynx-cur-2.8.7dev9/debian/rules
@@ -79,7 +79,7 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs -i
-	install -m 755 debian/lynx $(SUBDIR)/usr/bin/lynx-cur
+	install -m 755 debian/lynx.cur.wrappper $(SUBDIR)/usr/bin/lynx-cur
 
 install-arch:
 	dh_testdir
@@ -97,8 +97,6 @@
 	cd $(DOCDIR) ; rm -f COPYING lynx_help/COPYING lynx_help/COPYHEADER \
 		CHANGES COPYING.asc COPYHEADER.asc
 	cd $(DSTDIR)/usr/share/man/man1 ; mv lynx.1 lynx.cur.1
-	install -m 644 debian/local.cfg \
-		$(DOCDIR)/local.cfg.in
 
 # Build architecture-independent files here.
 # for lynx-cur-wrapper
@@ -109,6 +107,7 @@
 	dh_installdocs
 	dh_installman debian/lynx-cur.1
 	dh_installchangelogs
+	dh_install
 	dh_link
 	dh_compress
 	dh_fixperms
@@ -128,6 +127,7 @@
 	dh_installmenu
 	dh_installmime
 	dh_installchangelogs CHANGES
+	dh_install
 	dh_link
 	dh_strip
 	dh_compress
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx.preinst
+++ lynx-cur-2.8.7dev9/debian/lynx.preinst
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+set -e
+
+# Inspired by
+# http://wiki.debian.org/DpkgConffileHandling
+# Remove a no-longer used conffile
+rm_or_moveconffile() {
+    PKGNAME="$1"
+    CONFFILE="$2"
+    NEWDIR="$3"
+    if [ -e "$CONFFILE" ]; then
+        md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
+        old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`"
+        if [ "$md5sum" != "$old_md5sum" ]; then
+	    test -e "$NEWDIR" || mkdir -m 755 -p "$NEWDIR"
+            echo "Obsolete conffile $CONFFILE has been modified by you." 1>&2
+	    if [ -e "$NEWDIR/`basename $CONFFILE`" ]; then
+	        echo "replacement conffile $NEWDIR/`basename $CONFFILE` already exists." 1>&2
+                echo "Saving as $CONFFILE.dpkg-bak ..." 1>&2
+                mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
+            else
+                echo "Moving conffile $CONFFILE to new location $NEWDIR" 1>&2
+                mv -f "$CONFFILE" "$NEWDIR/"
+            fi
+        else
+            echo "Removing obsolete conffile $CONFFILE ..." 1>&2
+            rm -f "$CONFFILE"
+        fi
+    fi
+}
+
+
+
+case "$1" in
+    install|upgrade)
+    # Upgrading from a a real, non-dummy lynx package.
+    if dpkg --compare-versions "$2" 'lt-nl' '2.8.7dev9-1.1' ; then
+        update-alternatives --quiet --remove www-browser /usr/bin/lynx
+	update-alternatives --quiet --remove lynx /usr/bin/lynx.stable
+        rm_or_moveconffile lynx /etc/lynx.cfg /etc/lynx-cur
+        rm_or_moveconffile lynx /etc/lynx.lss /etc/lynx-cur
+    fi
+    ;;
+    *)
+esac
+
+#DEBHELPER#
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx.cur.wrappper
+++ lynx-cur-2.8.7dev9/debian/lynx.cur.wrappper
@@ -0,0 +1,100 @@
+#!/bin/sh
+
+cnfdir=/etc/lynx-cur
+binary=lynx.cur
+### default settings
+OPT=""
+
+# nl=dutch no=norwegian pl=polish pt=portuguese sl=slovenia sv=swedish
+# chinese=zh_CN.GB2312 and/or zh_TW.Big5 korean=ko_KR.eucKR
+
+case $LANG in
+	*.utf-8|*.UTF-8)   flg=utf   ;;
+	cs*) flg=cs ;;
+	da*) flg=da ;;
+	de*) flg=de ;;
+	es*) flg=es ;;
+	fr*) flg=fr ;;
+	it*) flg=it ;;
+	ja*) flg=ja ;;
+	ko*) flg=ko ;;
+	nl*) flg=nl ;;
+	no*) flg=no ;;
+	pl*) flg=pl ;;
+	pt*) flg=pt ;;
+	ru*) flg=ru ;;
+	sl*) flg=sl ;;
+	sv*) flg=sv ;;
+	zh*) flg=zh ;;
+	*)   flg=   ;;
+esac
+
+if [ X$LYNX_CFG = X ] ; then
+ if [ X$flg = Xja ] ; then
+###
+### Japanese environment
+###
+  if [ X$DISPLAY = X ] ; then
+############ non-X #############
+    if [ X$TERM = Xkon -o X$TERM = Xjfbterm ] ; then
+### kon or jfbterm?
+      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg.blck ${1+"$@"}
+    elif [ X$TERM = Xlinux ] ; then
+### linux console ?
+      export LANG=C
+      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg ${1+"$@"}
+    else
+### unsure, but ...
+      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg.dflt ${1+"$@"}
+    fi
+  else
+########## X Window ############
+    if [ X$TERM = Xkterm ] ; then
+      if [ X$COLORTERM = X -o X$COLORTERM = Xrxvt-xpm -o X$COLORTERM = Xrxvt ]
+### kterm or non-package krxvt ?
+      then
+        exec /usr/bin/${binary} -cfg=${cnfdir}/lynx-ja.cfg ${1+"$@"}
+# If reverse video
+#        exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg.blck ${1+"$@"}
+      fi
+    elif [ X$COLORTERM = Xrxvt-xpm -o X$COLORTERM = Xgnome-terminal ] ; then
+### krxvt or gnome-terminal?
+      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx-ja.cfg ${1+"$@"}
+    elif [ X$COLORTERM = Xrxvt -o X$TERM = Xxterm-debian -o X$TERM = Xxterm ]
+    then
+### rxvt or xterm ?
+      export LANG=C
+      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg ${1+"$@"}
+    else
+### unsure, but ...
+      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg.dflt ${1+"$@"}
+    fi
+  fi
+###
+### Unicode ?
+ elif [ X$flg = Xutf ]; then
+    if [ X$TERM = Xmlterm ]
+    then
+### mlterm ?
+      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx-utf.cfg ${1+"$@"}
+    elif [ X$TERM = Xxterm ]
+    then
+### uxterm ?
+      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx-utf.cfg ${1+"$@"}
+    else
+### unsure, but ...
+      exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg.dflt ${1+"$@"}
+    fi
+###
+### non-Japanese environment ?
+###
+ else
+  if [ X$flg != X ] ; then
+    exec /usr/bin/${binary} -cfg=${cnfdir}/lynx-${flg}.cfg ${1+"$@"}
+  else
+    exec /usr/bin/${binary} -cfg=${cnfdir}/lynx.cfg ${1+"$@"}
+  fi
+ fi
+else
+    exec /usr/bin/${binary} ${1+"$@"}
+fi
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper.install
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper.install
@@ -0,0 +1 @@
+debian/lynx-cur-wrapper-conffiles/* /etc/lynx-cur/
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-de.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-de.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:de,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-pt.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-pt.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:pt,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-ko.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-ko.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:euc-kr
+PREFERRED_LANGUAGE:ko,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-cs.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-cs.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:cs,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-pl.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-pl.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:pl,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-sl.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-sl.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:sl,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-zh.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-zh.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:big5
+PREFERRED_LANGUAGE:zh,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-ja.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-ja.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:euc-jp
+PREFERRED_LANGUAGE:ja,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-sv.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-sv.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:sv,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-da.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-da.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:da,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx.cfg.dflt
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx.cfg.dflt
@@ -0,0 +1,13 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:euc-jp
+PREFERRED_LANGUAGE:ja,en;q=0.9,*;q=0.5
+COLOR:0:default:default 
+COLOR:1:blue:default 
+COLOR:2:yellow:blue 
+COLOR:3:green:default 
+COLOR:4:magenta:default 
+COLOR:5:blue:default 
+COLOR:6:red:default 
+COLOR:7:magenta:cyan
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-es.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-es.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:es,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-nl.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-nl.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:nl,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-utf.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-utf.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:utf-8
+PREFERRED_LANGUAGE:utf-8,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-no.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-no.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:no,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-it.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-it.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:it,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-ru.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-ru.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:ru,en;q=0.9,*;q=0.5
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx.cfg.blck
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx.cfg.blck
@@ -0,0 +1,13 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:euc-jp
+PREFERRED_LANGUAGE:ja,en;q=0.9,*;q=0.5
+COLOR:0:lightgray:black 
+COLOR:1:blue:black 
+COLOR:2:yellow:blue 
+COLOR:3:green:black 
+COLOR:4:magenta:black 
+COLOR:5:blue:black 
+COLOR:6:red:black 
+COLOR:7:magenta:cyan
only in patch2:
unchanged:
--- lynx-cur-2.8.7dev9.orig/debian/lynx-cur-wrapper-conffiles/lynx-fr.cfg
+++ lynx-cur-2.8.7dev9/debian/lynx-cur-wrapper-conffiles/lynx-fr.cfg
@@ -0,0 +1,5 @@
+# Include all the common options:
+INCLUDE:/etc/lynx-cur/lynx.cfg
+# Now override a couple:
+CHARACTER_SET:iso-8859-1
+PREFERRED_LANGUAGE:fr,en;q=0.9,*;q=0.5

--- End Message ---
--- Begin Message ---
Source: lynx-cur
Source-Version: 2.8.8dev.5-1

We believe that the bug you reported is fixed in the latest version of
lynx-cur, which is due to be installed in the Debian FTP archive:

lynx-cur-wrapper_2.8.8dev.5-1_all.deb
  to main/l/lynx-cur/lynx-cur-wrapper_2.8.8dev.5-1_all.deb
lynx-cur_2.8.8dev.5-1.diff.gz
  to main/l/lynx-cur/lynx-cur_2.8.8dev.5-1.diff.gz
lynx-cur_2.8.8dev.5-1.dsc
  to main/l/lynx-cur/lynx-cur_2.8.8dev.5-1.dsc
lynx-cur_2.8.8dev.5-1_i386.deb
  to main/l/lynx-cur/lynx-cur_2.8.8dev.5-1_i386.deb
lynx-cur_2.8.8dev.5.orig.tar.gz
  to main/l/lynx-cur/lynx-cur_2.8.8dev.5.orig.tar.gz
lynx_2.8.8dev.5-1_all.deb
  to main/l/lynx-cur/lynx_2.8.8dev.5-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Atsuhito KOHDA <[email protected]> (supplier of updated lynx-cur package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 26 Aug 2010 09:50:33 +0900
Source: lynx-cur
Binary: lynx-cur lynx-cur-wrapper lynx
Architecture: source all i386
Version: 2.8.8dev.5-1
Distribution: unstable
Urgency: high
Maintainer: Atsuhito KOHDA <[email protected]>
Changed-By: Atsuhito KOHDA <[email protected]>
Description: 
 lynx       - Text-mode WWW Browser (transitional package)
 lynx-cur   - Text-mode WWW Browser with NLS support (development version)
 lynx-cur-wrapper - Wrapper for lynx-cur
Closes: 489360 490265 575922 592718 594300
Changes: 
 lynx-cur (2.8.8dev.5-1) unstable; urgency=high
 .
   * New upstream release.  This should fix a security bug so urgency=high.
   * Fixed a security bug, CVE-2010-2810  (Closes: #594300)
   * A fix for #592078 with patch-3 is not necessary so removed it.
   * Some bugs forgotten to be closed.
    - unable to reproduce. (Closes: #575922)
    - a problem of gnutls. (Closes: #592718)
    - if necessary, please reopen. (Closes: #490265)
    - only a report of a patch for 2.8.7dev9-1.1 (Closes: #489360)
Checksums-Sha1: 
 860d7c7e87cb4f9b3dc74e4ccb1ae3f1cb56d646 1181 lynx-cur_2.8.8dev.5-1.dsc
 3ac9ca1cb38f8d380828e9fd4efce2b8e972dccf 3451625 
lynx-cur_2.8.8dev.5.orig.tar.gz
 3265b377743620d4b428d2da67e377b8e3b6cc98 31898 lynx-cur_2.8.8dev.5-1.diff.gz
 17633e1ce71deb92a2012428ed455623dec38736 219948 
lynx-cur-wrapper_2.8.8dev.5-1_all.deb
 359ebd078fdd742df42636bd7a2fb088cd00229f 217418 lynx_2.8.8dev.5-1_all.deb
 080d9cb862d77f0e76ec8809081b3931f3b6a91c 2114860 lynx-cur_2.8.8dev.5-1_i386.deb
Checksums-Sha256: 
 d000fe5cfb0e8405a7729eafc696cc8b17291570ed48670e2ecf23d437905aa4 1181 
lynx-cur_2.8.8dev.5-1.dsc
 d2fe593505d7f33f46f5a9ae20ee2e55bbbb614fabeaac7e88e2a75c5f859586 3451625 
lynx-cur_2.8.8dev.5.orig.tar.gz
 2247d9e01a0b25b7fec2523941f66f47a90e98ca4a25c56449d86d057195eda5 31898 
lynx-cur_2.8.8dev.5-1.diff.gz
 52ada74577c7bb88ffe5f1bf54b26d32f15c90dde04e971cd7490a02ce2828e3 219948 
lynx-cur-wrapper_2.8.8dev.5-1_all.deb
 c8fb1fbcf083b0b10e45dcb177826e394acc57019d8b31bcd667a13548009050 217418 
lynx_2.8.8dev.5-1_all.deb
 026f132aec4b38dcf8d44f6855c4ad0e7c3a6b44761cd2aa28dd5d1af2686465 2114860 
lynx-cur_2.8.8dev.5-1_i386.deb
Files: 
 33a6b6f3101ec76972d175cb34c6ca09 1181 web extra lynx-cur_2.8.8dev.5-1.dsc
 c565ee195d3a9d331f27dcd1f52f5922 3451625 web extra 
lynx-cur_2.8.8dev.5.orig.tar.gz
 f2a8969c74f63777fb517986542c1444 31898 web extra lynx-cur_2.8.8dev.5-1.diff.gz
 08e9f964af87a40339d5744909c3a14a 219948 web extra 
lynx-cur-wrapper_2.8.8dev.5-1_all.deb
 5f29cd3762c18dce5c9729f969e8af65 217418 web extra lynx_2.8.8dev.5-1_all.deb
 9a0e416b640d65faa8de90244ab0cf13 2114860 web extra 
lynx-cur_2.8.8dev.5-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkx18hoACgkQ1IXdL1v6kOwKoACfblkdFfTupm1nIE6gheUMeO7p
vuwAoJS4jm0YX0tbqWYClUse7Rz9BeZi
=WiE5
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to