From: Javier Marcet Date: Wed, 8 Feb 2023 13:40:10 +0000 (+0100) Subject: sedutil: Add new package X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=10986d56c9fcdd093be0495d6e7a02e7f5f3141e;p=openwrt-packages.git sedutil: Add new package The Drive Trust Alliance Self Encrypting Drive Utility Signed-off-by: Javier Marcet --- diff --git a/utils/sedutil/Makefile b/utils/sedutil/Makefile new file mode 100644 index 000000000..9625459d6 --- /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))