From 10986d56c9fcdd093be0495d6e7a02e7f5f3141e Mon Sep 17 00:00:00 2001 From: Javier Marcet Date: Wed, 8 Feb 2023 14:40:10 +0100 Subject: [PATCH] sedutil: Add new package The Drive Trust Alliance Self Encrypting Drive Utility Signed-off-by: Javier Marcet --- utils/sedutil/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 utils/sedutil/Makefile diff --git a/utils/sedutil/Makefile b/utils/sedutil/Makefile new file mode 100644 index 0000000000..9625459d65 --- /dev/null +++ b/utils/sedutil/Makefile @@ -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 + +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))