Commit graph

43 commits

Author SHA1 Message Date
leot
0e372a64b2 less: Update to 608
Patches privately shared by <pin> and RVP, thanks!

Changes:
608
---
* Add the --header option (github #43).
* Add the --no-number-headers option (github #178).
* Add the --status-line option.
* Add the --redraw-on-quit option (github #36).
* Add the --search-options option (github #213).
* Add the --exit-follow-on-close option (github #244).
* Add 'H' color type to set color of header lines.
* Add #version conditional to lesskey.
* Add += syntax to variable section in lesskey files.
* Allow option name in -- command to end with '=' in addition to '\n'.
* Add $HOME/.config to possible locations of lesskey file (github #153).
* Add $XDG_STATE_HOME and $HOME/.local/state to possible locations
  of history file (github #223).
* Don't read or write history file in secure mode (github #201).
* Fix display of multibyte and double-width chars in prompt.
* Fix ESC-BACKSPACE command when BACKSPACE key does not send 0x08
  (github #188).
* Add more \k codes to lesskey format.
* Fix bug when empty file is modified while viewing it.
* Fix bug when parsing a malformed lesskey file (githb #234).
* Fix bug scrolling history when --incsearch is set (github #214).
* Fix buffer overflow when invoking lessecho with more than 63 -m/-n
  options (github #198).
* Fix buffer overflow in bin_file (github #271).
* Fix bug restoring color at end of highlighted text.
* Fix bug in parsing lesskey file.
* Defer moving cursor to lower left in some more cases.
* Suppress TAB filename expansion in some cases where it doesn't make sense.
* Fix termlib detection when compiler doesn't accept
  calls to undeclared functions.
* Fix bug in input of non-ASCII characters on Windows (github #247)
* Escape filenames when invoking LESSCLOSE.
* Fix bug using multibyte UTF-8 char in search string
  with --incsearch (github #273).

590
---
* Make less able to read lesskey source files (deprecating lesskey).
* If XDG_CONFIG_HOME is set, find lesskey source file
  in $XDG_CONFIG_HOME/lesskey rather than $HOME/.lesskey.
* If XDG_DATA_HOME is set, find and store history file
  in $XDG_DATA_HOME/lesshst rather than $HOME/.lesshst.
* Add the --lesskey-src option.
* Add the --file-size option.
* With -F, if screen is resized to make file fit on one screen, don't exit.
* Fix bug which could leave terminal in mouse-reporting mode
  after exiting less.
* Fix bug which caused failure to respond to window resize.
* Fix backslash bug searching in tag file.

581
---
* Change ESC-u command to toggle, not disable, highlighting per man page.
* Add ESC-U command.
* Add ctrl-W search modifier for wrapping search.
* F command can be interrupted by ^X.
* Support OSC 8 hyperlinks when -R is in effect.
* g command with no number will ignore -j and put first line at top of screen.
* Multiple + or -p command line options are handled better.
* Add the --incsearch option.
* Add the --line-num-width option.
* Add the --status-col-width option.
* Add the --use-color and --color options.
* Display -w highlight even if highlighted line is empty.
* If search result is in a long line, scroll to ensure it is visible.
* Editing the same file under different names now creates only
  one entry in the file list.
* Make visual bell more visible on some terminals.
* Ring end-of-file bell no more than once per second.
* Build can use either Python or Perl for Makefile.aut operations.
* Fix crash when using the @ search modifier.
* Fix crash in the 's' command due to duplicate free.
* Fix realpath crash on Darwin.
2022-09-15 11:02:14 +00:00
nia
28c1048bad misc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (possibly fetched
conditionally?):

./misc/libreoffice/distinfo libreoffice/harfbuzz-2.6.4.tar.xz
2021-10-26 10:58:55 +00:00
nia
60e6853f70 misc: Remove SHA1 hashes for distfiles 2021-10-07 14:35:11 +00:00
leot
ab0f1f147c less: Update to 563
Changes:
563
---
 - Update Unicode tables.
 - Treat Hangul Jamo medial vowels and final consonants as zero width.
 - Display error message immediately when -o is toggled and input is not a
   pipe.
 - Fix regression: make screen repaint when "squished" and a no-movement
   command is given.
 - Fix erroneous EOF calculation when F command is interrupted.
 - Make WIN32C version include this fix from 551: Don't count lines in
   initial screen if using -X with -F.
 - Fix display bug in WIN32C version.
 - Fix memory corruption when built with libtermcap.
 - Fix crash on some systems due to realpath incompatibility.
 - Support libtinfow.
2021-01-06 14:29:30 +00:00
rillig
191ad3f718 misc: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 17:04:19 +00:00
leot
6003c8204f less: Update to 551
pkgsrc changes:
 - Adjust regexp options to better match the underlaying configure semantic
   by introducing a `regex' group and having `pcre' and `regexp' as possible
   options.
 - Update LICENSE to reflect the licenses really used
 - Take MAINTAINERship

Changes:
Major changes between "less" versions 530 and 551
 * Add --mouse option.
 * Add --wheel-lines option.
 * Add --no-histdups option.
 * Add --save-marks option.
 * Support PCRE2 regular expression library.
 * Redraw screen on SIGWINCH even if screen size doesn't change.
 * Shell-escape filenames in history so they can be used again.
 * Ring bell if user enters invalid long option name.
 * Use PCRE_UTF8 flag for pcre regular expressions when in UTF-8 mode.
 * Windows: use wide-char string to set console title.
 * Don't count lines in initial screen if using -X with -F.
 * Support mingw build system.
 * Fix bug in v command on empty file.
 * Fix bug in v command when filename contains shell metacharacters.
2019-06-15 10:03:38 +00:00
leot
9e3ee21b3b less: Update misc/less to less-530
Discussed with and ok by <bouyer>, thanks!

pkgsrc changes:
 - Reset MAINTAINER to pkgsrc-users@

Changes:
530
---
* Don't output terminal init sequence if using -F and file fits on one screen.
* When using -S, mark truncated lines with a special character.
  The character can be changed or disabled via the new --rscroll option.
* New command M marks the last line displayed on the screen.
* New command ESC-m removes a line mark.
* Status column (enabled via -J) now shows mark letters.
* Status column shows search matches even if highlighting is disabled via -G.
* A second ESC-u command will clear search match markers in the status column.
* Do same ANSI escape code filtering for tag matching that we do for
  searching, to help when viewing syntax-highlighted code.
* Catch SIGTERM and clean up before exiting.
* Fix bug initializing default charset on Windows.
* Handle keypad ENTER key correctly if it sends something other than newline.
* Fix buffering bug when using stdin with a LESSOPEN pipe.
* On Windows, allow 'u' in -D option to enable underlining.
* On Windows, use underline in sgr mode.
* On Windows, convert UTF-8 to multibyte if console is not UTF-8.
* Update Unicode tables to 2017-03-08.
* Pass-thru Unicode formating chars (Cf type) instead of treating them
  as binary chars. But treat them as binary if -U is set.
* Fix erroneous binary file warning when UTF-8 file contains ANSI SGR sequences.
* Fix bugs when using LESSOPEN and switching between stdin and other files.
* Fix some bugs handling filenames containing shell metacharacters.
* Fix some memory leaks.
* Allow some debugging environment variables to be set in lesskey file.
* Code improvements:
  - Use ANSI prototypes in funcs.h declarations.
  - Fix some const mismatches.
  - Remove archaic "register" in variable declarations.

487
---
* New commands ESC-{ and ESC-} to shift to start/end of displayed lines.
* Make search highlights work correctly when changing caselessness with -i.
* New option -Da in Windows version to enable SGR mode.
* Fix "nothing to search" error when top or bottom line on screen is empty.
* Fix bug when terminal has no "cm" termcap entry.
* Fix incorrect display when entering double-width chars in search string.
* Fix bug in Unicode handling that missed some double width characters.
* Update Unicode database to 9.0.0.
2018-04-11 08:49:09 +00:00
rillig
b381c6e2f3 Sort PLIST files.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2018-01-01 22:29:15 +00:00
wiz
a9ef30dfbf Update less to 481:
Major changes between "less" versions 458 and 481


* Don't overwrite history file; just append to it.

* New command ESC-G goes to end of currently buffered data in a pipe.

* Disable history feature when compiled with LESSHISTFILE set to "-".

* In more-compatible mode, make the -p option apply to every file opened,
  not just the first one.

* In more-compatible mode, change the -e option to work like -E, not -EF.

* Treat multiple CRs before LF are like one CR (all the CRs are hidden).

* Allow "extra" string in lesskey file to append to a multi-char command
  (like a search pattern), without executing the command.

* Ignore -u/-U setting while viewing help file, so that
  underline and bold chars are displayed correctly.

* Improve detection of "binary" files in UTF-8 mode.

* Fix bug with ++ commands.

* Fix bug where prompt was sometimes not displayed with +G.

* Fix possible memory corruption

* Fix bugs and improve performance in ampersand filtering.

* Automate construction of Unicode tables from Unicode database.

* Allow %% escape sequence in LESSOPEN variable.
2015-11-07 20:18:41 +00:00
agc
23064a80b9 Add SHA512 digests for distfiles for misc category
Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:49:31 +00:00
tnn
d3b1784ab7 Update to less-475. Changes since 470:
* Fix possible memory corruption
* Disable history feature when compiled with LESSHISTFILE set to "-".
* Fix bug where prompt was sometimes not displayed with +G.

Also contains a fix for CVE-2014-9488 (oob read on malformed UTF-8 data)
2015-04-13 12:33:49 +00:00
rodent
9547731572 Less version 470
Version 470 was released on 6 Oct 2014.

These are the differences between version 458 and version 470:

 * Don't overwrite history file; just append to it. This behaves better when
   multiple sessions are running less simultaneously and using the same history
   file.
 * New command ESC-G goes to end of currently buffered data in a pipe.
 * In more-compatible mode, make the -p option apply to every file opened, not
   just the first one.
 * In more-compatible mode, change the -e option to work like -E, not -EF.
 * Treat multiple CRs before LF are like one CR (all the CRs are hidden).
 * Allow "extra" string in lesskey file to append to a multi-char command (like
   a search pattern), without executing the command.
 * Ignore -u/-U setting while viewing help file, so that underline and bold
   chars are displayed correctly.
 * Improve detection of "binary" files in UTF-8 mode.
 * Fix bug with ++ commands.
 * Fix bugs and improve performance in ampersand filtering.
 * Automate construction of Unicode tables from Unicode database.
2014-12-08 00:55:58 +00:00
ryoon
507196a732 Update to 458
Changelog:
Version 458 was released on 4 Apr 2013.

These are the differences between version 451 and version 458:

    Allow backslash escaping of metacharacters in LESS environment variable if the --use-backslash option is set.
    Don't quit if syntax errors are found in command line options.
    Increase sizes of some internal buffers.
    Fix configure bug with --with-regex=none.
    Fix crash with "stty rows 0".
    Fix Win32 attribute display bug.
    Fix display bug when using up/down arrow on the command line.


Version 451 was released on 21 Jul 2012.

These are the differences between version 444 and version 451:

    Add ESC-F command to keep reading data until a pattern is found.
    Use exit code of LESSOPEN script if LESSOPEN starts with "||".
    When up/down arrow is used on the command line immediately after typing text, the next command starting with that text is found.
    Add support for GNU regex.
    Add configure option --with-regex=none and fix compile errors when compiling with no regex library.
    Fix bugs handling SGR sequences in Win32.
    Fix possible crashes caused by malformed LESSOPEN or LESSCLOSE variables.
    Fix bug highlighting text which is discontiguous in the file due to backspace processing.
    Fix bug in displaying status column when scrolling backwards with -J and -S in effect.
2013-06-09 08:36:38 +00:00
asau
9912a3809d Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 09:57:15 +00:00
wiz
e0808f0de0 More pcre PKGREVISION bumps. 2012-03-03 12:54:15 +00:00
tron
fc03537cdd Update "less" package to version 444.
The list of changes between our outdated version 418 and 444 is too long
to list here. You can find all the release notes here:

http://www.greenwoodsoftware.com/less/old.html
2011-07-08 10:42:53 +00:00
bjs
1ad1a47d64 Update to less-418. Too many changes to list here--see ChangeLog.
While here, add a pcre option.

TODO: support for various curses libraries.
2008-03-02 15:35:33 +00:00
wiz
e70da2ae6b Remove Ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 11:22:24 +00:00
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