Commit graph

25 commits

Author SHA1 Message Date
tnn
60b9dd9dca Forgot patches related to less-394:
o patch-ab was merged+removed.
o patch-ac was added, bring in coverity fix from netbsd-current.
2007-04-25 18:10:17 +00:00
tnn
c6124d7415 Update to less-394. Major changes since less-382:
o Add history file to save search and shell command history between
  invocations of less.
o Improve behavior of history list for search and shell commands.
o Add -K (or --quit-on-intr) option to make less exit immediately on ctrl-C.
o Improve handling of UTF-8 files and commands, including better
  line wrapping and handling double-width chars.
o Added LESSUTFBINFMT environment variable to control display of
  non-printable characters in a UTF-8 file.
o Add --with-secure option to configure, to make it easier to
  build a secure version of less.
o Show search matches in the status column even if search highlights
  are disabled via the -G option or the ESC-u command.
o Improve performance when the file contains very long lines.
o Add "windows" charset.
o Add man page for lessecho.
o Add support for erase2 character, treated same as erase.
o Use ASCII lowercase/uppercase logic when operating on the command line.
o Update makefile for Borland C++ 5.5.1.
o Fix bug in calculating number of pages for %D prompt.
o Fix bug in handling tag file error.
o Fix obscure bug if input file is deleted while viewing help.
o Fix bug handling filenames which include square brackets.
o Fix possible buffer overflow in "global" tag search.
o Fix possible buffer overflow in usage of LESSOPEN and LESSCLOSE.
o Fix buffer overflow in reverse search.
2007-04-25 18:06:51 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
taca
3653754778 Apply changes from NetBSD current approved by wiz@:
----------------------------------------------------------------------

Module Name:	src
Committed By:	elad
Date:		Sat Sep 23 12:51:18 UTC 2006

Modified Files:
	src/usr.bin/less/less: command.c tags.c

Log Message:
PR 21741: Christian Biere: Buffer overrun and wrong usage of  islower() in
less 381
Over three years ago the less maintainer said he'll add these fixes.
Nothing happened, so we do it ourselves.
Thanks for the report and the patch!

----------------------------------------------------------------------

Bump PKGREVISION.
2006-09-27 11:27:31 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
07b46baa43 Add RMD160 digests 2005-02-24 11:02:49 +00:00
wiz
0f4619d465 Update to 382:
* Removed some old copyrighted code.
  This probably breaks OS/9 support.
2004-08-26 01:33:59 +00:00
snj
344962001d Convert to buildlink3. 2004-04-11 09:13:00 +00:00
martti
1ba8eec232 COMMENT should start with a capital letter. 2003-07-21 17:01:11 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jmmv
fb0e2e7a40 Honor PKG_SYSCONFDIR. Bump PKGREVISION to 1.
Closes PR pkg/20698 by reed@reedmedia.net.
2003-03-14 09:56:30 +00:00
grant
a9b4403429 update less to 381.
changes since 378:

    * New -L option to disable LESSOPEN processing.
    * Further support for large (64 bit) file addressing. Large file
    * support is now set up by the configure script.
    * Use autoconf 2.54. Replace configure.in, acconfig.h,
    * defines.h.top with configure.ac.
    * Overstriking underscore with underscore is now bold or
    * underlined depending on context.
    * Use only 7 spaces for line numbers in -N mode, if possible.
    * Fix some bugs in handling overstriking in UTF-8 files.
    * Fix some nroff issues in the man page.
2003-02-17 12:54:25 +00:00
jmmv
085c0f8de6 Improve the DESCRiption of less, using the patch provided in PR pkg/19587
by reed@reedmedia.net.
2002-12-28 10:24:58 +00:00
jlam
d613050341 buildlink1 -> buildlink2 2002-11-14 23:24:23 +00:00
grant
029cbf29fa Update to less-378.
Changes since less-376:

* Bug fixes:
  Default buffer space is now 64K as documented.
  Search highlighting works properly when used with -R.
  Windows version works properly when input file contains carriage returns.
  Clean up some compiler warnings.

See the NEWS file for the full list of changes.

Update MASTER_SITES and HOMEPAGE.
2002-10-26 16:01:37 +00:00
wiz
67f0dc1e7a Update to 374, requested by mrg.
Changes since 358:
* -x option can now specify multiple variable-width tab stops.
* -X option no longer disables keypad initialization.
  New option --no-keypad disables keypad initialization.
* New commands t and T step through multiple tag matches.
  Added support for "global(1)" tags
  (see http://www.gnu.org/software/global/global.html).
* New prompt style set by option -Pw defines the message printed
  while waiting for data in the F command.
* System-wide lesskey file now defaults to sysless in etc directory
  instead of .sysless in bin directory.
  Use "configure --sysconfdir=..." to change it.
  (For backwards compatibility, .sysless in bin is still recognized.)
* Pressing RightArrow or LeftArrow while entering a number now shifts
  the display N columns rather than editing the number itself.
* Status column (enabled with -J) now shows search results.
* Improved performance in reading very large pipes.
* Eliminated some dependencies on file offets being 32 bits.
* Fixed problems when viewing files with very long lines.
* Fixed overstriking in UTF-8 mode, and overstriking tabs.
* Improved horizontal shifting of text using -R option with ANSI color.
* Improved handling of filenames containing shell metacharacters.
2002-03-06 13:33:46 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
wiz
5a25bb3a71 Update to 358. Lots of new features since last pkgsrc version.
[Note: removed SunOS-only limitation, since perhaps some NetBSD users
want the latest less without upgrading to -current.]
2001-07-29 14:39:41 +00:00
agc
88670a4a89 Move to sha1 digests, and add distfile sizes. 2001-04-20 13:52:07 +00:00
agc
9e8d6c8b8d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:33:31 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
wiz
756af8595d leading 'a' removed 2000-02-06 04:20:22 +00:00
agc
d5cf830c05 Remove package name from comment. 2000-02-04 12:16:43 +00:00
bouyer
5f96105c07 A less package, for Solaris. 2000-01-05 10:05:25 +00:00