Subject: pkg/34511: [update] editors/nano
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Wilke <miwi@FreeBSD.org>
List: pkgsrc-bugs
Date: 09/12/2006 13:20:01
>Number:         34511
>Category:       pkg
>Synopsis:       [update] editors/nano
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 12 13:20:01 +0000 2006
>Originator:     Martin Wilke
>Release:        NetBSD 4.0_BETA i386
>Organization:
>Environment:


System: NetBSD 4.0_BETA (GENERIC) #0: Thu Aug 31 02:51:57 UTC 2006
	builds@b4.netbsd.org:/home/builds/ab/netbsd-4/i386/200608300000Z-obj/home/builds/ab/netbsd-4/src/sys/arch/i386/compile/GENERIC



>Description:


- Update to 1.2.5

- Changelog
	- files.c:
  open_prevfile(), open_nextfile()
	- Translate the "New Buffer" string when displaying "Switched
	  to" messages on the statusbar. (DLR)
 	 input_tab()
	- Fix snprintf() call so that we don't segfault when trying to
	  complete a filename containing %'s. (Ulf Härnhammar)
- global.c:
  shortcut_init()
	- Move the "Cancel" shortcut up so that it's just after the "Get
	  Help" shortcut, for consistency with the other shortcut lists.
	  (DLR)
- nano.c:
  do_int_spell_fix()
	- Move the REVERSE_SEARCH flag toggling into the NANO_SMALL
	  #ifdef, since the tiny version of nano doesn't support reverse
	  searching.  Also, turn the USE_REGEXP flag off during spell
	  checking in order to avoid a potential segfault. (DLR)
  quote_length()
	- Fix problem where quoted justify wouldn't work if HAVE_REGEX_H
	  wasn't set. (David Benbennick)
  main()
	- Interpret the escape sequences Esc O F and Esc O H as End and
	  Home, respectively, as nanogetstr() does.  Also, don't
	  interpret Esc O z as a "NumLock glitch" value. (DLR)
	- Call setlocale() outside the ENABLE_NLS #ifdef, since UTF-8
	  support won't work properly if the locale isn't set, whether
	  NLS is enabled or not. (Junichi Uekawa)
- winio.c:
  blocking_wgetch()
	- New function used in place of blocking wgetch() calls.  If we
	  get ERR when using blocking input, it means that the input
	  source that we were using is gone.  In this case, call
	  handle_hupterm(), so that nano dies gracefully instead of
	  going into an infinite loop. (DLR, found by Jim Uhl)
  get_page_start()
	- For consistency, tweak so that scrolling always occurs when we
	  try to move onto the "$" at the end of the line, as opposed to
	  (a) when we move onto the "$" at the end of the line on the
	  first page and (b) when we move onto the character just before
	  the "$" on subsequent pages. (DLR


>How-To-Repeat:





>Fix:


--- nano.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/pkgsrc/editors/nano/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile	6 Jul 2006 13:19:39 -0000	1.26
+++ Makefile	12 Sep 2006 12:20:56 -0000
@@ -1,7 +1,6 @@
 # $NetBSD: Makefile,v 1.26 2006/07/06 13:19:39 joerg Exp $
 
-DISTNAME=	nano-1.2.4
-PKGREVISION=	1
+DISTNAME=	nano-1.2.5
 CATEGORIES=	editors
 MASTER_SITES=	http://www.nano-editor.org/dist/v1.2/
 
Index: distinfo
===================================================================
RCS file: /home/pcvs/pkgsrc/editors/nano/distinfo,v
retrieving revision 1.10
diff -u -r1.10 distinfo
--- distinfo	23 Feb 2005 17:15:11 -0000	1.10
+++ distinfo	12 Sep 2006 12:21:06 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.10 2005/02/23 17:15:11 agc Exp $
 
-SHA1 (nano-1.2.4.tar.gz) = 03a321011c2ceb00da20e15b15ed9ee9dee98c97
-RMD160 (nano-1.2.4.tar.gz) = 8e56765f61bc4e9cd2db1273bd287a2678cb6ac6
-Size (nano-1.2.4.tar.gz) = 914302 bytes
+SHA1 (nano-1.2.5.tar.gz) = ba55942aacf9f296a910d8f73afb7446f118830d
+RMD160 (nano-1.2.5.tar.gz) = 92d694b79588fafdedc2731c2e1240bb100950f9
+Size (nano-1.2.5.tar.gz) = 911938 bytes
--- nano.diff ends here ---