sedutil: Add new package

The Drive Trust Alliance Self Encrypting Drive Utility

Signed-off-by: Javier Marcet <javier@marcet.info>
This commit is contained in:
Javier Marcet 2023-02-08 14:40:10 +01:00 committed by Rosen Penev
parent 7dd26ee760
commit 10986d56c9
1 changed files with 41 additions and 0 deletions

41
utils/sedutil/Makefile Normal file
View File

@ -0,0 +1,41 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=sedutil
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/Drive-Trust-Alliance/sedutil
PKG_SOURCE_DATE:=2022-12-27
PKG_SOURCE_VERSION:=7a0cda7f60cce346f72466e61ce006e5ea48fbc0
PKG_MIRROR_HASH:=e11333bfa0760a46cbebcba35360e0f076e6219eb38ce1545179b8741476668a
PKG_LICENSE_FILES:=README.md
PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1
PKG_BUILD_FLAGS:=lto
include $(INCLUDE_DIR)/package.mk
define Package/sedutil
SECTION:=utils
CATEGORY:=Utilities
TITLE:=The Drive Trust Alliance Self Encrypting Drive Utility
URL:=https://github.com/Drive-Trust-Alliance/sedutil
DEPENDS:=+libstdcpp
endef
define Package/sedutil/description
This program and it's accompanying Pre-Boot Authorization image allow you to
enable the locking in SED's that comply with the TCG OPAL 2.00 standard on bios
machines.
endef
define Package/sedutil/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/{linuxpba,sedutil-cli} $(1)/usr/bin
endef
$(eval $(call BuildPackage,sedutil))