pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils amlogic-meson-fwtools is a collection of tool...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b31e26e76d6a
branches:  trunk
changeset: 395970:b31e26e76d6a
user:      thorpej <thorpej%pkgsrc.org@localhost>
date:      Sat May 18 17:39:48 2019 +0000

description:
amlogic-meson-fwtools is a collection of tools for packaging trusted boot
firmware for Amlogic Meson SoCs.

This package includes tools distributed only in binary form by Amlogic
board vendors.

diffstat:

 sysutils/Makefile                       |   3 +-
 sysutils/amlogic-meson-fwtools/DESCR    |   5 ++
 sysutils/amlogic-meson-fwtools/Makefile |  69 +++++++++++++++++++++++++++++++++
 sysutils/amlogic-meson-fwtools/PLIST    |   4 +
 sysutils/amlogic-meson-fwtools/distinfo |  14 ++++++
 5 files changed, 94 insertions(+), 1 deletions(-)

diffs (125 lines):

diff -r f79421145885 -r b31e26e76d6a sysutils/Makefile
--- a/sysutils/Makefile Sat May 18 17:29:47 2019 +0000
+++ b/sysutils/Makefile Sat May 18 17:39:48 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.809 2019/05/16 22:38:30 alnsn Exp $
+# $NetBSD: Makefile,v 1.810 2019/05/18 17:39:48 thorpej Exp $
 #
 
 COMMENT=       System utilities
@@ -18,6 +18,7 @@
 SUBDIR+=       amanda-common
 SUBDIR+=       amanda-plot
 SUBDIR+=       amanda-server
+SUBDIR+=       amlogic-meson-fwtools
 SUBDIR+=       amtterm
 SUBDIR+=       ansible
 SUBDIR+=       ansible2
diff -r f79421145885 -r b31e26e76d6a sysutils/amlogic-meson-fwtools/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/amlogic-meson-fwtools/DESCR      Sat May 18 17:39:48 2019 +0000
@@ -0,0 +1,5 @@
+amlogic-meson-fwtools is a collection of tools for packaging trusted boot
+firmware for Amlogic Meson SoCs.
+
+This package includes tools distributed only in binary form by Amlogic
+board vendors.
diff -r f79421145885 -r b31e26e76d6a sysutils/amlogic-meson-fwtools/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/amlogic-meson-fwtools/Makefile   Sat May 18 17:39:48 2019 +0000
@@ -0,0 +1,69 @@
+# $NetBSD: Makefile,v 1.1 2019/05/18 17:39:48 thorpej Exp $
+
+# Version isn't super-meaningful; we're grabbing a collection of non-changing
+# tools from a variety of locations.
+VERSION=       0.0
+
+PKGNAME=       amlogic-meson-fwtools-${VERSION}
+PKGREVISION=   1               # bump this when a tool is added/removed
+CATEGORIES=    sysutils
+
+MAINTAINER=    port-arm%NetBSD.org@localhost
+COMMENT=       Trusted Firmware packaging tools for the Amlogic Meson family of SoCs
+
+RESTRICTED=    Redistribution not permitted - see licenses/amlogic-meson-fwtools
+LICENSE=       amlogic-meson-fwtools
+
+#
+# These tools are distributed only as Linux x86_64 binaries.
+#
+
+EMUL_PLATFORMS=                linux-x86_64
+EMUL_MODULES.linux=    base
+
+NO_CONFIGURE=  yes
+NO_BUILD=      yes
+
+#
+# Hardkernel-supplied firmware tools
+#
+ODROID=                 odroidc2-v2015.01
+
+xFIPCREATE=            fip_create
+FIPCREATE=             ${ODROID}-${xFIPCREATE}
+DISTFILES+=            ${FIPCREATE}
+SITES.${FIPCREATE}=    ${MASTER_SITE_GITHUB:@url@ \
+       -${url}hardkernel/u-boot/raw/${ODROID}/fip/${xFIPCREATE} @}
+
+xAML_ENCRYPT_GXB=      aml_encrypt_gxb
+AML_ENCRYPT_GXB=       ${ODROID}-${xAML_ENCRYPT_GXB}
+DISTFILES+=            ${AML_ENCRYPT_GXB}
+SITES.${AML_ENCRYPT_GXB}=${MASTER_SITE_GITHUB:@url@ \
+       -${url}hardkernel/u-boot/raw/${ODROID}/fip/gxb/${xAML_ENCRYPT_GXB} @}
+
+#
+# BayLibre-supplied firmware tools
+#
+LIBRETECH=             libretech-cc
+
+xAML_ENCRYPT_GXL=      aml_encrypt_gxl
+AML_ENCRYPT_GXL=       ${LIBRETECH}-${xAML_ENCRYPT_GXL}
+DISTFILES+=            ${AML_ENCRYPT_GXL}
+SITES.${AML_ENCRYPT_GXL}=${MASTER_SITE_GITHUB:@url@ \
+       -${url}BayLibre/u-boot/raw/${LIBRETECH}/fip/gxl/${xAML_ENCRYPT_GXL} @}
+
+INSTALLATION_DIRS+=    bin
+
+do-extract:
+       # Nothing to do.
+       ${TRUE}
+
+do-install:
+       ${INSTALL_PROGRAM} ${DISTDIR}/${FIPCREATE} \
+               ${DESTDIR}${PREFIX}/bin/aml_fip_create
+       ${INSTALL_PROGRAM} ${DISTDIR}/${AML_ENCRYPT_GXB} \
+               ${DESTDIR}${PREFIX}/bin/aml_encrypt_gxb
+       ${INSTALL_PROGRAM} ${DISTDIR}/${AML_ENCRYPT_GXL} \
+               ${DESTDIR}${PREFIX}/bin/aml_encrypt_gxl
+
+.include "../../mk/bsd.pkg.mk"
diff -r f79421145885 -r b31e26e76d6a sysutils/amlogic-meson-fwtools/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/amlogic-meson-fwtools/PLIST      Sat May 18 17:39:48 2019 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2019/05/18 17:39:48 thorpej Exp $
+bin/aml_encrypt_gxb
+bin/aml_encrypt_gxl
+bin/aml_fip_create
diff -r f79421145885 -r b31e26e76d6a sysutils/amlogic-meson-fwtools/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/amlogic-meson-fwtools/distinfo   Sat May 18 17:39:48 2019 +0000
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.1 2019/05/18 17:39:48 thorpej Exp $
+
+SHA1 (libretech-cc-aml_encrypt_gxl) = 6643bc642585da0fb7a3c68c14586b975d462669
+RMD160 (libretech-cc-aml_encrypt_gxl) = 8efc8f51ea062320a7626a761ba245508d21ebf6
+SHA512 (libretech-cc-aml_encrypt_gxl) = 041a9558d314f24234a79a57bdeda91f2326fc52376d4d12b64223741af510883a13e98a39390594d00f78b4eef09c543981020f8320345c45c6d859b422d270
+Size (libretech-cc-aml_encrypt_gxl) = 1883448 bytes
+SHA1 (odroidc2-v2015.01-aml_encrypt_gxb) = 95c9565c64088ad56a10bac79b173c41a574e48e
+RMD160 (odroidc2-v2015.01-aml_encrypt_gxb) = 5cb9ffcb6e8486de42796a448c2e42ed86c5c1bc
+SHA512 (odroidc2-v2015.01-aml_encrypt_gxb) = 195957f44d93f523f9492b4b305b20a18384995001391466ccbcd152147fae132e612e09dd79987fe745f835ef4324ae2f5bc3c3c1f0824acdaf651bcf16c10b
+Size (odroidc2-v2015.01-aml_encrypt_gxb) = 1011765 bytes
+SHA1 (odroidc2-v2015.01-fip_create) = b6d2edd8a72fa1822f6432982d04bbee1798ad4b
+RMD160 (odroidc2-v2015.01-fip_create) = ade537dd04484331ff050d1d41f562f700c9808e
+SHA512 (odroidc2-v2015.01-fip_create) = 1d8a4dd5e23b191b2f2bc1737936a4549251c105eee47abd74db73d6695c912ecbd167489eb2b3ede323d0942b30a4eb75b8e673a7502472ece8e3777be3a9a7
+Size (odroidc2-v2015.01-fip_create) = 14176 bytes



Home | Main Index | Thread Index | Old Index