1

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

Emily Ingalls
Details
Message ID
<20170728160243.3217-1-emily@ingalls.rocks>
Sender timestamp
1501257763
DKIM signature
missing
Download raw message
Patch: +37 -0
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 <emily@ingalls.rocks>
+# Maintainer: Emily Ingalls <emily@ingalls.rocks>
+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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20170803154612.51216aca@ncopa-desktop.copa.dup.pw>
In-Reply-To
<20170728160243.3217-1-emily@ingalls.rocks> (view parent)
Sender timestamp
1501767972
DKIM signature
missing
Download raw message
On Fri, 28 Jul 2017 12:02:43 -0400
Emily Ingalls <emily@ingalls.rocks> wrote:

> 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 <emily@ingalls.rocks>
> +# Maintainer: Emily Ingalls <emily@ingalls.rocks>
> +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"

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

> +install=""
> +subpackages="$pkgname-dev $pkgname-doc"
> +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


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---