less: update to 692
authorAlexandru Ardelean <redacted>
Wed, 22 Apr 2026 09:16:57 +0000 (12:16 +0300)
committerAlexandru Ardelean <redacted>
Sun, 10 May 2026 08:32:19 +0000 (11:32 +0300)
Update test.sh to use $2 (positional version argument) instead of the
$PKG_VERSION environment variable, and add a check that the alternative
binary /usr/libexec/less-gnu is present.

Changelog: https://www.greenwoodsoftware.com/less/news.692.html

Signed-off-by: Alexandru Ardelean <redacted>
utils/less/Makefile
utils/less/test.sh

index 86972bf140dd5a22d2b13fb1b49814e6b12f3639..8c342294e95b05c6d0c5674647876fa9bc83685d 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=less
-PKG_VERSION:=685
+PKG_VERSION:=692
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:= @GNU/less \
        https://www.greenwoodsoftware.com/less
-PKG_HASH:=2701041e767e697ee420ce0825641cedc8f20b51576abe99d92c1666d332e9dc
+PKG_HASH:=61300f603798ecf1d7786570789f0ff3f5a1acf075a6fb9f756837d166e37d14
 
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_LICENSE_FILES:=COPYING
index f27d95f0bd69fc8e62983e0a1d279ef1d827069a..cb6d61cae04c0ff418b5c56852ee2e1571fdd2ff 100644 (file)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-less --version | grep -F "$PKG_VERSION"
+[ -x /usr/libexec/less-gnu ] || { echo "FAIL: /usr/libexec/less-gnu not installed"; exit 1; }
git clone https://git.99rst.org/PROJECT