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 <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2019-01-17 14:43:04 -08:00
parent c7426b1823
commit 16b2c67a9c
3 changed files with 19 additions and 39 deletions
+19 -7
View File
@@ -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))