pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/less less: Update to 551



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6d93c28a8d9
branches:  trunk
changeset: 397053:f6d93c28a8d9
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat Jun 15 10:03:38 2019 +0000

description:
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.

diffstat:

 misc/less/Makefile   |   8 ++++----
 misc/less/distinfo   |  10 +++++-----
 misc/less/options.mk |   8 ++++++--
 3 files changed, 15 insertions(+), 11 deletions(-)

diffs (57 lines):

diff -r 9b40c1b86034 -r f6d93c28a8d9 misc/less/Makefile
--- a/misc/less/Makefile        Sat Jun 15 09:43:09 2019 +0000
+++ b/misc/less/Makefile        Sat Jun 15 10:03:38 2019 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.27 2018/04/11 08:49:09 leot Exp $
+# $NetBSD: Makefile,v 1.28 2019/06/15 10:03:38 leot Exp $
 
-DISTNAME=      less-530
+DISTNAME=      less-551
 CATEGORIES=    misc
 MASTER_SITES=  http://www.greenwoodsoftware.com/less/
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+MAINTAINER=    leot%NetBSD.org@localhost
 HOMEPAGE=      http://www.greenwoodsoftware.com/less/
 COMMENT=       Pager similar to more and pg
-LICENSE=       modified-bsd OR gnu-gpl-v2
+LICENSE=       2-clause-bsd OR gnu-gpl-v3
 
 GNU_CONFIGURE= yes
 
diff -r 9b40c1b86034 -r f6d93c28a8d9 misc/less/distinfo
--- a/misc/less/distinfo        Sat Jun 15 09:43:09 2019 +0000
+++ b/misc/less/distinfo        Sat Jun 15 10:03:38 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2018/04/11 08:49:09 leot Exp $
+$NetBSD: distinfo,v 1.19 2019/06/15 10:03:38 leot Exp $
 
-SHA1 (less-530.tar.gz) = d8ba1f43e88b706ef701f978cd3262b5b44dffd6
-RMD160 (less-530.tar.gz) = 84b4f46be4f93e7a6db3817d43d0bfd1d01d4ff5
-SHA512 (less-530.tar.gz) = 8d83a18b5648c4fe85921a563aa2c40bcf495aeb611098c83cd167b1e2f706649846cdf457c8506ae2683ab362ad970a0b261747349673020894bccdb9acbc10
-Size (less-530.tar.gz) = 339723 bytes
+SHA1 (less-551.tar.gz) = 7a2dbccd46697ba17189b1e19f75eee5115c19a2
+RMD160 (less-551.tar.gz) = 7011513218523819c0565ffdda305c432a034c11
+SHA512 (less-551.tar.gz) = ef5296b9ebd72f83c05cad8a0f7a5eec2290e9b358ee725e09e8541bd95f94c0e14ea22aa04b287a0654079338eaeae813f2235b8e9f819fbbc9040dd65a9585
+Size (less-551.tar.gz) = 347007 bytes
diff -r 9b40c1b86034 -r f6d93c28a8d9 misc/less/options.mk
--- a/misc/less/options.mk      Sat Jun 15 09:43:09 2019 +0000
+++ b/misc/less/options.mk      Sat Jun 15 10:03:38 2019 +0000
@@ -1,11 +1,15 @@
-# $NetBSD: options.mk,v 1.1 2008/03/02 15:35:33 bjs Exp $
+# $NetBSD: options.mk,v 1.2 2019/06/15 10:03:38 leot Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.less
-PKG_SUPPORTED_OPTIONS=         pcre
+PKG_OPTIONS_REQUIRED_GROUPS=   regex
+PKG_OPTIONS_GROUP.regex=       pcre regexp
+PKG_SUGGESTED_OPTIONS=         regexp
 
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mpcre)
 CONFIGURE_ARGS+=       --with-regex=pcre
 .  include "../../devel/pcre/buildlink3.mk"
+.elif !empty(PKG_OPTIONS:Mregexp)
+CONFIGURE_ARGS+=       --with-regex=posix
 .endif



Home | Main Index | Thread Index | Old Index