From 16b2c67a9cf7fb8f158b2d6b38312ee77279e43f Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 17 Jan 2019 14:43:04 -0800 Subject: keyutils: Update to 1.6 Add keyctl binary, which can be used to add fscrypt support to ext4 and other filesystems that support it. Signed-off-by: Rosen Penev --- libs/keyutils/Makefile | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'libs/keyutils/Makefile') diff --git a/libs/keyutils/Makefile b/libs/keyutils/Makefile index 91b5ca8c3..648b288ac 100644 --- a/libs/keyutils/Makefile +++ b/libs/keyutils/Makefile @@ -6,14 +6,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=keyutils -PKG_VERSION:=1.5.10 +PKG_VERSION:=1.6 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=http://people.redhat.com/dhowells/keyutils/ -PKG_HASH:=115c3deae7f181778fd0e0ffaa2dad1bf1fe2f5677cf2e0e348cdb7a1c93afb6 - -PKG_FIXUP:=libtool +PKG_SOURCE_URL:=https://people.redhat.com/dhowells/keyutils/ +PKG_HASH:=d3aef20cec0005c0fa6b4be40079885567473185b1a57b629b030e67942c7115 include $(INCLUDE_DIR)/package.mk @@ -21,11 +19,19 @@ define Package/libkeyutils SECTION:=libs CATEGORY:=Libraries TITLE:=Key utilities library - URL:=http://people.redhat.com/dhowells/keyutils/ + URL:=https://people.redhat.com/dhowells/keyutils/ +endef + +define Package/keyctl + SECTION:=utils + CATEGORY:=Utilities + SUBMENU:=Encryption + TITLE:=keyctl + DEPENDS:=+libkeyutils endef define Package/keyutils/description - Key utilities library + Key utilities endef define Build/Install @@ -44,4 +50,10 @@ define Package/libkeyutils/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/libkeyutils.so* $(1)/usr/lib/ endef +define Package/keyctl/install + $(INSTALL_DIR) $(1)/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/keyctl $(1)/bin +endef + $(eval $(call BuildPackage,libkeyutils)) +$(eval $(call BuildPackage,keyctl)) -- cgit v1.2.3