From 7ec279ad3e8c97901afbdbc46ebe7e37b8a8137a Mon Sep 17 00:00:00 2001 From: Huangbin Zhan Date: Wed, 9 Dec 2020 06:30:54 +0800 Subject: [PATCH 1/2] less: move binary of alternatives to /usr/libexec Signed-off-by: Huangbin Zhan --- utils/less/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/less/Makefile b/utils/less/Makefile index ef0cfa916..2f1b2f291 100644 --- a/utils/less/Makefile +++ b/utils/less/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=less PKG_VERSION:=562 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.greenwoodsoftware.com/less @@ -30,7 +30,7 @@ define Package/less/Default CATEGORY:=Utilities TITLE:=Pager program similar to more URL:=http://www.greenwoodsoftware.com/less/ - ALTERNATIVES:=200:/usr/bin/less:/usr/bin/gnu-less + ALTERNATIVES:=200:/usr/bin/less:/usr/libexec/less-gnu endef define Package/less/Default/description @@ -70,8 +70,8 @@ ifeq ($(BUILD_VARIANT),wide) endif define Package/less/install - $(INSTALL_DIR) $(1)/usr/bin - $(CP) $(PKG_INSTALL_DIR)/usr/bin/less $(1)/usr/bin/gnu-less + $(INSTALL_DIR) $(1)/usr/libexec + $(CP) $(PKG_INSTALL_DIR)/usr/bin/less $(1)/usr/libexec/less-gnu endef Package/less-wide/install = $(Package/less/install) From 8a8a7cc18f51425044425f99e040c03a6fefcdd9 Mon Sep 17 00:00:00 2001 From: Huangbin Zhan Date: Wed, 9 Dec 2020 06:31:05 +0800 Subject: [PATCH 2/2] less: update to general release version 563 Signed-off-by: Huangbin Zhan --- utils/less/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/less/Makefile b/utils/less/Makefile index 2f1b2f291..b67a2433a 100644 --- a/utils/less/Makefile +++ b/utils/less/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=less -PKG_VERSION:=562 -PKG_RELEASE:=3 +PKG_VERSION:=563 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.greenwoodsoftware.com/less -PKG_HASH:=eab470c7c928132441541aa49b1352c0fc699c30f762dfaeb3bf88e6f0fd701b +PKG_HASH:=ce5b6d2b9fc4442d7a07c93ab128d2dff2ce09a1d4f2d055b95cf28dd0dc9a9a PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE_FILES:=COPYING