Page MenuHomeFreeBSD

D61533.1794730964.diff
No OneTemporary

Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None

D61533.1794730964.diff

diff --git a/sysutils/Makefile b/sysutils/Makefile
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -414,6 +414,7 @@
SUBDIR += filetype
SUBDIR += filewatcherd
SUBDIR += finfo
+ SUBDIR += fiptool
SUBDIR += firstboot-cloudsetup
SUBDIR += firstboot-freebsd-update
SUBDIR += firstboot-pkg-upgrade
diff --git a/sysutils/fiptool/Makefile b/sysutils/fiptool/Makefile
new file mode 100644
--- /dev/null
+++ b/sysutils/fiptool/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= fiptool
+DISTVERSIONPREFIX= lts-v
+DISTVERSION= 2.14.11
+CATEGORIES= sysutils
+
+MAINTAINER= hayzam@alchemilla.io
+COMMENT= Create and update Arm TF-A firmware image packages (FIP)
+WWW= https://trustedfirmware-a.readthedocs.io/
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/docs/license.rst
+
+# TF-A's make helpers use GNU sed syntax; with base sed the toolchain
+# detection fails and the build stops.
+BUILD_DEPENDS= gsed:textproc/gsed
+
+USES= gmake ssl
+USE_GITHUB= yes
+GH_ACCOUNT= ARM-software
+GH_PROJECT= arm-trusted-firmware
+
+MAKE_ARGS= HOSTCC="${CC}" \
+ HOSTCCFLAGS="${CFLAGS}" \
+ OPENSSL_DIR=${OPENSSLBASE} \
+ V=1
+ALL_TARGET= fiptool
+
+BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed
+
+PLIST_FILES= bin/fiptool
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/fiptool/fiptool \
+ ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/sysutils/fiptool/distinfo b/sysutils/fiptool/distinfo
new file mode 100644
--- /dev/null
+++ b/sysutils/fiptool/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1794628910
+SHA256 (ARM-software-arm-trusted-firmware-lts-v2.14.11_GH0.tar.gz) = 9ca8074f6e5b79131acad5a6d82e093850b46ea80025dd81e7b532b8839bc388
+SIZE (ARM-software-arm-trusted-firmware-lts-v2.14.11_GH0.tar.gz) = 12354150
diff --git a/sysutils/fiptool/pkg-descr b/sysutils/fiptool/pkg-descr
new file mode 100644
--- /dev/null
+++ b/sysutils/fiptool/pkg-descr
@@ -0,0 +1,3 @@
+fiptool creates, inspects and updates Firmware Image Packages (FIP), the
+container format of Arm Trusted Firmware-A. Boot loaders on several Arm
+platforms read the next boot stages (such as BL31 and U-Boot) from a FIP.

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 15, 8:22 AM (10 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41740525
Default Alt Text
D61533.1794730964.diff (2 KB)

Event Timeline