Subject: [alpine-aports] [PATCH] testing/vboot-utils: new aport

From: Emily Ingalls <[email-masked]>
Date: Fri, 28 Jul 2017 12:02:43 -0400

https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/master
Boot utilities for ChromeOS devices
---
 testing/vboot-utils/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 testing/vboot-utils/APKBUILD

diff --git a/testing/vboot-utils/APKBUILD b/testing/vboot-utils/APKBUILD
new file mode 100644
index 0000000000..7d8e7849dc
--- /dev/null
+++ b/testing/vboot-utils/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Emily Ingalls <[email-masked]>
+# Maintainer: Emily Ingalls <[email-masked]>
+pkgname=vboot-utils
+pkgver=r1787.8b7142525
+pkgrel=1
+pkgdesc="Boot utilities for ChromeOS devices"
+url="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/master"
+arch="all"
+license="custom"
+depends="xz util-linux openssl"
+makedepends="bash yaml-dev linux-headers util-linux-dev xz-dev openssl-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+archive/8b71425257d251858410de71efcf389df8b200d2.tar.gz"
+builddir="$srcdir/"
+options="!check"
+
+prepare() {
+	cd "$builddir"
+	
+	# avoid build failures
+	sed -i 's/i386/i686/g' Makefile
+	sed -i 's/-Werror//g' Makefile
+}
+
+build() {
+	cd "$builddir"
+	make V=1
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir"/usr install
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+sha512sums="6c704b6f880e8d19fdcc7a62c8d17b678e8ee5e981935b3cdaae950873c01dfbabf87baaca8d23fa71ca5ab5bff3f2c76e2d5f32e77f85c89465eb95849c627e  8b71425257d251858410de71efcf389df8b200d2.tar.gz"
-- 
2.13.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Natanael Copa <[email-masked]>
Date: Thu, 3 Aug 2017 15:46:12 +0200

On Fri, 28 Jul 2017 12:02:43 -0400

> +++ b/testing/vboot-utils/APKBUILD

Can we get this to work with libressl instead of openssl?

> +source="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+archive/8b71425257d251858410de71efcf389df8b200d2.tar.gz"

Can we use some git tag or release instead of a random git snapshot?

Thanks!

-nc

---