* Replace PKG_LEGACY_OPTS with PKG_OPTIONS_LEGACY_OPTS
Changelog:
2010.11.22 - GNU nano 2.2.6 "Pimp my BBS" wants you to go to
www.desertbus.org and donate a few bucks for the great
Child's Play Charity! This is just a small release to
update a bug where restricted mode was not particularly
restricted since key bindings were introduced. It also
signals the return of win32 builds which now feature
nanorc support; please see the FAQ for details of how
to enable it, this feature is a bit of a kludge for now.
Remember that when all else fails, USE SPACE JUMP.
2010.08.05 - GNU nano 2.2.5 "Inactivity timeout" is now available.
This release includes slightly less restrictive checkng
when writing files in strange environments (e.g.
when being used out of crontab). For very strange situations
(such as where you cannot change the permissions on the
file you're writing, there is a new rc file option
"allow_insecure_backup" to be even more permissive and
allowing the write to proceed. Also included are
some syntax highlighting updated, and that is about it.
Keep fighting the good fight children.
Patches for NetBSD curses no longer need.
2007/12/20 - GNU nano 2.0.7 keeps its balance. This release fixes
several bugs, among others: a segfault and several
cursor positioning problems when uncutting text or
inserting files into the current buffer; a problem where
the total number of characters would be miscalculated
when replacing single-byte characters with multibyte
ones; several minor issues with the statusbar prompt
involving text display and mouse support; and several
oddities when tab-completing in the middle of a line.
It also improves autodetection of DOS and Mac format
files, properly supports the mouse wheel when using a
version of ncurses built with the --enable-ext-mouse
option, fixes some problems under NetBSD curses, adds a
lot of translation updates, and adds more minor
documentation updates. Slang curses emulation support
has also been changed to turn off all the options that
--enable-tiny does, as it's hopelessly broken otherwise.
Finally, nano is now licensed under the GNU GPL version
3 or later, and its documentation is now dual-licensed
under the GNU GPL version 3 or later and the GNU FDL
version 1.2 or later. Have fun.
Based on patch provided by Jason White in PR 37133.
* Added patch to work with NetBSD's curses.
* Added ncuesesw option.
* IRIX now require glib2, not glib.
The 2.0 release of GNU nano is a major leap forward in usability and
features, building on the 1.3 branch. The following improvemens and features
are available in version 2.0 include:
* UTF-8 support.
* Improved color syntax highlighting.
* Copy text without cutting..
* Verbatim input mode.
* Repeat last seach w/o confirmation (Meta-W)
* Spell check/replace selected text only
* Indent marked text
* Move to beginning/end of paragraph
* Search within the file browser
* Mixed file format auto-conversion
Based on patch provided by Jason White in PR 32859.
GNU nano 1.2.5 - 2005.05.15
- 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<E4>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)
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
Too many changes to list here, because our pkgsrc version was really old!
please take a look at the NEWS/ChangeLog file.
Another change:
Georg Schwarz reported in PR pkg/26671 that nano requires glib to build
in his system (IRIX 5.3) and I know what's happening there...
nano.h checks for the functions snprintf()/vsnprint(), if they aren't
available, the glib functions are used instead, so put the glib dependency
if MACHINE_PLATFORM = IRIX 5.3 and closing PR.
No idea about IRIX 6.x, sorry.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
curses.buildlink2.mk. This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.
We should have a better way to say that the NetBSD curses doesn't
quite work well enough. In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages. We will look into this again in the future.
Changes :
free_charptrarray, striponedir()
- Plug some memory leaks (Steven Kneizys).
read_file()
- Abort if we read a file of 0 lines (num_lines == 0), fixes BUG #70.
- Reverse tests to stop segfault on editing a new file of 0 lines
(David Benbennick).
do_int_speller()
- Fix zombie processes and spelling buffer issues (Rocco Corsi)
do_gotoline()
- Set placewewant if we actually move to a different line.
nanogetstr()
- Add NANO_HOME_KEY and NANO_END_KEY to the home and
end key code (fixes BUG #69).
bottombars(), onekey()
- Make bottom list dynamic with screen size (Guus Sliepen & Chris).
do_credits()
- Add Thomas Dickey.
strcasestr()
- Renamed to stristr since strcasestr has not been confirmed to
be detected properly on various Linux systems.
Updated POs : no nb it fr uk gl
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
removal of USE_GTEXINFO
INSTALL_INFO added to PLIST_SUBST
`${INSTALL_INFO}' replace `install-info' in target rules
print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
makeinfo command usage
See -newly added by this commit- section 10.24 of Packages.txt for
further information.
- Better partial word checking code
- Add Meta-A as alternate keyystroke for ^^ for people with
non-US keyboards
- Replace hard coded ALT_G and ALT_H values in the replace
and goto shortcuts with their macro counterparts NANO_ALT_*_KEY
- Call tcsetattr() to restore the old terminal settings, so
tcsh can use ^C after suspend for example
- Move "right" increment to part where new line is created
- New Polish translation, and updates
- nano has its own self-contained checks for gettext
- Run signal_init() after doupdate() so ^Y wont suddenly
start suspending after returning from ^Z suspend in Hurd.
- do_spell() : Dont prompt for replace if we don't change
the word in question (Rocco Corsi, fixes bug #67).
- Added better Hurd support for function keys (Alt-V,U,9,@,F).
- signal_init() : Unconditionally disable VDSUSP if it exists,
stops ^Y suspending nano on the Hurd.
- Updated PO files