[arch-commits] Commit in uboot-tools/repos (8 files)

Jelle van der Waa jelle at archlinux.org
Mon Mar 13 18:44:43 UTC 2017


    Date: Monday, March 13, 2017 @ 18:44:42
  Author: jelle
Revision: 216118

archrelease: copy trunk to community-i686, community-x86_64

Added:
  uboot-tools/repos/community-i686/0001-Add-Openssl-1.1-support.patch
    (from rev 216117, uboot-tools/trunk/0001-Add-Openssl-1.1-support.patch)
  uboot-tools/repos/community-i686/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch
    (from rev 216117, uboot-tools/trunk/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch)
  uboot-tools/repos/community-i686/PKGBUILD
    (from rev 216117, uboot-tools/trunk/PKGBUILD)
  uboot-tools/repos/community-x86_64/0001-Add-Openssl-1.1-support.patch
    (from rev 216117, uboot-tools/trunk/0001-Add-Openssl-1.1-support.patch)
  uboot-tools/repos/community-x86_64/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch
    (from rev 216117, uboot-tools/trunk/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch)
  uboot-tools/repos/community-x86_64/PKGBUILD
    (from rev 216117, uboot-tools/trunk/PKGBUILD)
Deleted:
  uboot-tools/repos/community-i686/PKGBUILD
  uboot-tools/repos/community-x86_64/PKGBUILD

---------------------------------------------------------------------------+
 /PKGBUILD                                                                 |   76 +++++++
 community-i686/0001-Add-Openssl-1.1-support.patch                         |   99 ++++++++++
 community-i686/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch   |   44 ++++
 community-i686/PKGBUILD                                                   |   30 ---
 community-x86_64/0001-Add-Openssl-1.1-support.patch                       |   99 ++++++++++
 community-x86_64/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch |   44 ++++
 community-x86_64/PKGBUILD                                                 |   30 ---
 7 files changed, 362 insertions(+), 60 deletions(-)

Copied: uboot-tools/repos/community-i686/0001-Add-Openssl-1.1-support.patch (from rev 216117, uboot-tools/trunk/0001-Add-Openssl-1.1-support.patch)
===================================================================
--- community-i686/0001-Add-Openssl-1.1-support.patch	                        (rev 0)
+++ community-i686/0001-Add-Openssl-1.1-support.patch	2017-03-13 18:44:42 UTC (rev 216118)
@@ -0,0 +1,99 @@
+From 427ab0f06069e6b275444ed2fe9fcc6da46e179c Mon Sep 17 00:00:00 2001
+From: Jelle van der Waa <jelle at vdwaa.nl>
+Date: Mon, 13 Feb 2017 00:51:51 +0100
+Subject: [PATCH] Add Openssl 1.1 support
+
+---
+ lib/rsa/rsa-sign.c | 34 ++++++++++++++++++++++++++++------
+ 1 file changed, 28 insertions(+), 6 deletions(-)
+
+diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c
+index 8c6637e328..05e5b11928 100644
+--- a/lib/rsa/rsa-sign.c
++++ b/lib/rsa/rsa-sign.c
+@@ -20,6 +20,19 @@
+ #define HAVE_ERR_REMOVE_THREAD_STATE
+ #endif
+ 
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
++void RSA_get0_key(const RSA *r,
++                 const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
++{
++   if (n != NULL)
++       *n = r->n;
++   if (e != NULL)
++       *e = r->e;
++   if (d != NULL)
++       *d = r->d;
++}
++#endif
++
+ static int rsa_err(const char *msg)
+ {
+ 	unsigned long sslErr = ERR_get_error();
+@@ -409,7 +422,12 @@ static int rsa_sign_with_key(RSA *rsa, struct checksum_algo *checksum_algo,
+ 		ret = rsa_err("Could not obtain signature");
+ 		goto err_sign;
+ 	}
+-	EVP_MD_CTX_cleanup(context);
++
++	#if OPENSSL_VERSION_NUMBER < 0x10100000L
++		EVP_MD_CTX_cleanup(context);
++	#else
++		EVP_MD_CTX_free(context);
++	#endif
+ 	EVP_MD_CTX_destroy(context);
+ 	EVP_PKEY_free(key);
+ 
+@@ -479,6 +497,7 @@ static int rsa_get_exponent(RSA *key, uint64_t *e)
+ {
+ 	int ret;
+ 	BIGNUM *bn_te;
++	const BIGNUM *key_e;
+ 	uint64_t te;
+ 
+ 	ret = -EINVAL;
+@@ -487,17 +506,18 @@ static int rsa_get_exponent(RSA *key, uint64_t *e)
+ 	if (!e)
+ 		goto cleanup;
+ 
+-	if (BN_num_bits(key->e) > 64)
++	RSA_get0_key(key, NULL, &key_e, NULL);
++	if (BN_num_bits(key_e) > 64)
+ 		goto cleanup;
+ 
+-	*e = BN_get_word(key->e);
++	*e = BN_get_word(key_e);
+ 
+-	if (BN_num_bits(key->e) < 33) {
++	if (BN_num_bits(key_e) < 33) {
+ 		ret = 0;
+ 		goto cleanup;
+ 	}
+ 
+-	bn_te = BN_dup(key->e);
++	bn_te = BN_dup(key_e);
+ 	if (!bn_te)
+ 		goto cleanup;
+ 
+@@ -527,6 +547,7 @@ int rsa_get_params(RSA *key, uint64_t *exponent, uint32_t *n0_invp,
+ {
+ 	BIGNUM *big1, *big2, *big32, *big2_32;
+ 	BIGNUM *n, *r, *r_squared, *tmp;
++	const BIGNUM *key_n;
+ 	BN_CTX *bn_ctx = BN_CTX_new();
+ 	int ret = 0;
+ 
+@@ -548,7 +569,8 @@ int rsa_get_params(RSA *key, uint64_t *exponent, uint32_t *n0_invp,
+ 	if (0 != rsa_get_exponent(key, exponent))
+ 		ret = -1;
+ 
+-	if (!BN_copy(n, key->n) || !BN_set_word(big1, 1L) ||
++	RSA_get0_key(key, NULL, &key_n, NULL);
++	if (!BN_copy(n, key_n) || !BN_set_word(big1, 1L) ||
+ 	    !BN_set_word(big2, 2L) || !BN_set_word(big32, 32L))
+ 		ret = -1;
+ 
+-- 
+2.11.1
+

Copied: uboot-tools/repos/community-i686/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch (from rev 216117, uboot-tools/trunk/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch)
===================================================================
--- community-i686/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch	                        (rev 0)
+++ community-i686/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch	2017-03-13 18:44:42 UTC (rev 216118)
@@ -0,0 +1,44 @@
+From d65aba9e31d914948ff9edb2e04062d277ebf853 Mon Sep 17 00:00:00 2001
+From: Jelle van der Waa <jelle at vdwaa.nl>
+Date: Mon, 13 Feb 2017 09:27:13 +0100
+Subject: [PATCH] rsa: Fix deprecated warnings for OpenSSL 1.1.x
+
+ERR_remove_thread_state is deprecated in OpenSSL 1.1.x and does not do
+anything anymore. Thread initialisation and deinitialisation is now
+handled by the OpenSSL library.
+
+Signed-off-by: Jelle van der Waa <jelle at vdwaa.nl>
+---
+ lib/rsa/rsa-sign.c | 8 ++------
+ 1 file changed, 2 insertions(+), 6 deletions(-)
+
+diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c
+index 965fb00f95..347a6aa89e 100644
+--- a/lib/rsa/rsa-sign.c
++++ b/lib/rsa/rsa-sign.c
+@@ -16,10 +16,6 @@
+ #include <openssl/evp.h>
+ #include <openssl/engine.h>
+ 
+-#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+-#define HAVE_ERR_REMOVE_THREAD_STATE
+-#endif
+-
+ #if OPENSSL_VERSION_NUMBER < 0x10100000L
+ void RSA_get0_key(const RSA *r,
+                  const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
+@@ -356,9 +352,9 @@ static void rsa_remove(void)
+ {
+ 	CRYPTO_cleanup_all_ex_data();
+ 	ERR_free_strings();
+-#ifdef HAVE_ERR_REMOVE_THREAD_STATE
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L && OPENSSL_VERSION_NUMBER < 0x10100000L
+ 	ERR_remove_thread_state(NULL);
+-#else
++#elif OPENSSL_VERSION_NUMBER < 0x10000000L
+ 	ERR_remove_state(0);
+ #endif
+ 	EVP_cleanup();
+-- 
+2.11.1
+

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-03-13 18:44:29 UTC (rev 216117)
+++ community-i686/PKGBUILD	2017-03-13 18:44:42 UTC (rev 216118)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Anatol Pomozov
-# Contributor: Michael Lass <bevan at bi-co.net>
-# Contributor: Philipp Schrader <philipp.schrader+arch at gmail.com>
-
-pkgname=uboot-tools
-pkgver=2017.01
-pkgrel=1
-pkgdesc='U-Boot bootloader utility tools'
-arch=(i686 x86_64)
-url='http://www.denx.de/wiki/U-Boot/WebHome'
-license=(GPL)
-depends=(openssl)
-source=(ftp://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2{,.sig})
-validpgpkeys=('E872DB409C1A687EFBE8633687F9F635D31D7652')
-sha1sums=('b7c5a1bd22c2fbd35a9c3980079904d9f6e277d6'
-          'SKIP')
-
-build() {
-  cd u-boot-$pkgver
-  make defconfig
-  make tools-all
-}
-
-package() {
-  install -m 755 -d "$pkgdir"/usr/bin
-  install -m 755 -t "$pkgdir"/usr/bin/ u-boot-$pkgver/tools/{mk{,env}image,env/fw_printenv,img2srec,dumpimage,netconsole,jtagconsole,ncb}
-  ln -s fw_printenv "$pkgdir"/usr/bin/fw_setenv
-  install -m 644 -D u-boot-$pkgver/doc/mkimage.1 "$pkgdir"/usr/share/man/man1/mkimage.1
-}

Copied: uboot-tools/repos/community-i686/PKGBUILD (from rev 216117, uboot-tools/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-03-13 18:44:42 UTC (rev 216118)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Anatol Pomozov
+# Contributor: Michael Lass <bevan at bi-co.net>
+# Contributor: Philipp Schrader <philipp.schrader+arch at gmail.com>
+
+pkgname=uboot-tools
+pkgver=2017.03
+pkgrel=1
+pkgdesc='U-Boot bootloader utility tools'
+arch=(i686 x86_64)
+url='http://www.denx.de/wiki/U-Boot/WebHome'
+license=(GPL)
+depends=(openssl)
+source=(ftp://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2{,.sig} 0001-Add-Openssl-1.1-support.patch 0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch)
+validpgpkeys=('E872DB409C1A687EFBE8633687F9F635D31D7652')
+sha1sums=('93dbd99beb9e4848303702e9c0bc794f3efa3e6f'
+          'SKIP'
+          'e23531ec52835bf6257e07fbf1cff0ecc49a1098'
+          '30c80f75d54f8995ff57cfd7114d8b979a238f91')
+
+prepare() {
+  cd u-boot-$pkgver
+  patch -Np1 -i $srcdir/0001-Add-Openssl-1.1-support.patch
+  patch -Np1 -i $srcdir/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch
+
+}
+build() {
+  cd u-boot-$pkgver
+  make defconfig
+  make tools-all
+}
+
+package() {
+  install -m 755 -d "$pkgdir"/usr/bin
+  install -m 755 -t "$pkgdir"/usr/bin/ u-boot-$pkgver/tools/{mk{,env}image,env/fw_printenv,img2srec,dumpimage,netconsole,jtagconsole,ncb}
+  ln -s fw_printenv "$pkgdir"/usr/bin/fw_setenv
+  install -m 644 -D u-boot-$pkgver/doc/mkimage.1 "$pkgdir"/usr/share/man/man1/mkimage.1
+}

Copied: uboot-tools/repos/community-x86_64/0001-Add-Openssl-1.1-support.patch (from rev 216117, uboot-tools/trunk/0001-Add-Openssl-1.1-support.patch)
===================================================================
--- community-x86_64/0001-Add-Openssl-1.1-support.patch	                        (rev 0)
+++ community-x86_64/0001-Add-Openssl-1.1-support.patch	2017-03-13 18:44:42 UTC (rev 216118)
@@ -0,0 +1,99 @@
+From 427ab0f06069e6b275444ed2fe9fcc6da46e179c Mon Sep 17 00:00:00 2001
+From: Jelle van der Waa <jelle at vdwaa.nl>
+Date: Mon, 13 Feb 2017 00:51:51 +0100
+Subject: [PATCH] Add Openssl 1.1 support
+
+---
+ lib/rsa/rsa-sign.c | 34 ++++++++++++++++++++++++++++------
+ 1 file changed, 28 insertions(+), 6 deletions(-)
+
+diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c
+index 8c6637e328..05e5b11928 100644
+--- a/lib/rsa/rsa-sign.c
++++ b/lib/rsa/rsa-sign.c
+@@ -20,6 +20,19 @@
+ #define HAVE_ERR_REMOVE_THREAD_STATE
+ #endif
+ 
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
++void RSA_get0_key(const RSA *r,
++                 const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
++{
++   if (n != NULL)
++       *n = r->n;
++   if (e != NULL)
++       *e = r->e;
++   if (d != NULL)
++       *d = r->d;
++}
++#endif
++
+ static int rsa_err(const char *msg)
+ {
+ 	unsigned long sslErr = ERR_get_error();
+@@ -409,7 +422,12 @@ static int rsa_sign_with_key(RSA *rsa, struct checksum_algo *checksum_algo,
+ 		ret = rsa_err("Could not obtain signature");
+ 		goto err_sign;
+ 	}
+-	EVP_MD_CTX_cleanup(context);
++
++	#if OPENSSL_VERSION_NUMBER < 0x10100000L
++		EVP_MD_CTX_cleanup(context);
++	#else
++		EVP_MD_CTX_free(context);
++	#endif
+ 	EVP_MD_CTX_destroy(context);
+ 	EVP_PKEY_free(key);
+ 
+@@ -479,6 +497,7 @@ static int rsa_get_exponent(RSA *key, uint64_t *e)
+ {
+ 	int ret;
+ 	BIGNUM *bn_te;
++	const BIGNUM *key_e;
+ 	uint64_t te;
+ 
+ 	ret = -EINVAL;
+@@ -487,17 +506,18 @@ static int rsa_get_exponent(RSA *key, uint64_t *e)
+ 	if (!e)
+ 		goto cleanup;
+ 
+-	if (BN_num_bits(key->e) > 64)
++	RSA_get0_key(key, NULL, &key_e, NULL);
++	if (BN_num_bits(key_e) > 64)
+ 		goto cleanup;
+ 
+-	*e = BN_get_word(key->e);
++	*e = BN_get_word(key_e);
+ 
+-	if (BN_num_bits(key->e) < 33) {
++	if (BN_num_bits(key_e) < 33) {
+ 		ret = 0;
+ 		goto cleanup;
+ 	}
+ 
+-	bn_te = BN_dup(key->e);
++	bn_te = BN_dup(key_e);
+ 	if (!bn_te)
+ 		goto cleanup;
+ 
+@@ -527,6 +547,7 @@ int rsa_get_params(RSA *key, uint64_t *exponent, uint32_t *n0_invp,
+ {
+ 	BIGNUM *big1, *big2, *big32, *big2_32;
+ 	BIGNUM *n, *r, *r_squared, *tmp;
++	const BIGNUM *key_n;
+ 	BN_CTX *bn_ctx = BN_CTX_new();
+ 	int ret = 0;
+ 
+@@ -548,7 +569,8 @@ int rsa_get_params(RSA *key, uint64_t *exponent, uint32_t *n0_invp,
+ 	if (0 != rsa_get_exponent(key, exponent))
+ 		ret = -1;
+ 
+-	if (!BN_copy(n, key->n) || !BN_set_word(big1, 1L) ||
++	RSA_get0_key(key, NULL, &key_n, NULL);
++	if (!BN_copy(n, key_n) || !BN_set_word(big1, 1L) ||
+ 	    !BN_set_word(big2, 2L) || !BN_set_word(big32, 32L))
+ 		ret = -1;
+ 
+-- 
+2.11.1
+

Copied: uboot-tools/repos/community-x86_64/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch (from rev 216117, uboot-tools/trunk/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch)
===================================================================
--- community-x86_64/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch	                        (rev 0)
+++ community-x86_64/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch	2017-03-13 18:44:42 UTC (rev 216118)
@@ -0,0 +1,44 @@
+From d65aba9e31d914948ff9edb2e04062d277ebf853 Mon Sep 17 00:00:00 2001
+From: Jelle van der Waa <jelle at vdwaa.nl>
+Date: Mon, 13 Feb 2017 09:27:13 +0100
+Subject: [PATCH] rsa: Fix deprecated warnings for OpenSSL 1.1.x
+
+ERR_remove_thread_state is deprecated in OpenSSL 1.1.x and does not do
+anything anymore. Thread initialisation and deinitialisation is now
+handled by the OpenSSL library.
+
+Signed-off-by: Jelle van der Waa <jelle at vdwaa.nl>
+---
+ lib/rsa/rsa-sign.c | 8 ++------
+ 1 file changed, 2 insertions(+), 6 deletions(-)
+
+diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c
+index 965fb00f95..347a6aa89e 100644
+--- a/lib/rsa/rsa-sign.c
++++ b/lib/rsa/rsa-sign.c
+@@ -16,10 +16,6 @@
+ #include <openssl/evp.h>
+ #include <openssl/engine.h>
+ 
+-#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+-#define HAVE_ERR_REMOVE_THREAD_STATE
+-#endif
+-
+ #if OPENSSL_VERSION_NUMBER < 0x10100000L
+ void RSA_get0_key(const RSA *r,
+                  const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
+@@ -356,9 +352,9 @@ static void rsa_remove(void)
+ {
+ 	CRYPTO_cleanup_all_ex_data();
+ 	ERR_free_strings();
+-#ifdef HAVE_ERR_REMOVE_THREAD_STATE
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L && OPENSSL_VERSION_NUMBER < 0x10100000L
+ 	ERR_remove_thread_state(NULL);
+-#else
++#elif OPENSSL_VERSION_NUMBER < 0x10000000L
+ 	ERR_remove_state(0);
+ #endif
+ 	EVP_cleanup();
+-- 
+2.11.1
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-03-13 18:44:29 UTC (rev 216117)
+++ community-x86_64/PKGBUILD	2017-03-13 18:44:42 UTC (rev 216118)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Anatol Pomozov
-# Contributor: Michael Lass <bevan at bi-co.net>
-# Contributor: Philipp Schrader <philipp.schrader+arch at gmail.com>
-
-pkgname=uboot-tools
-pkgver=2017.01
-pkgrel=1
-pkgdesc='U-Boot bootloader utility tools'
-arch=(i686 x86_64)
-url='http://www.denx.de/wiki/U-Boot/WebHome'
-license=(GPL)
-depends=(openssl)
-source=(ftp://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2{,.sig})
-validpgpkeys=('E872DB409C1A687EFBE8633687F9F635D31D7652')
-sha1sums=('b7c5a1bd22c2fbd35a9c3980079904d9f6e277d6'
-          'SKIP')
-
-build() {
-  cd u-boot-$pkgver
-  make defconfig
-  make tools-all
-}
-
-package() {
-  install -m 755 -d "$pkgdir"/usr/bin
-  install -m 755 -t "$pkgdir"/usr/bin/ u-boot-$pkgver/tools/{mk{,env}image,env/fw_printenv,img2srec,dumpimage,netconsole,jtagconsole,ncb}
-  ln -s fw_printenv "$pkgdir"/usr/bin/fw_setenv
-  install -m 644 -D u-boot-$pkgver/doc/mkimage.1 "$pkgdir"/usr/share/man/man1/mkimage.1
-}

Copied: uboot-tools/repos/community-x86_64/PKGBUILD (from rev 216117, uboot-tools/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-03-13 18:44:42 UTC (rev 216118)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Anatol Pomozov
+# Contributor: Michael Lass <bevan at bi-co.net>
+# Contributor: Philipp Schrader <philipp.schrader+arch at gmail.com>
+
+pkgname=uboot-tools
+pkgver=2017.03
+pkgrel=1
+pkgdesc='U-Boot bootloader utility tools'
+arch=(i686 x86_64)
+url='http://www.denx.de/wiki/U-Boot/WebHome'
+license=(GPL)
+depends=(openssl)
+source=(ftp://ftp.denx.de/pub/u-boot/u-boot-$pkgver.tar.bz2{,.sig} 0001-Add-Openssl-1.1-support.patch 0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch)
+validpgpkeys=('E872DB409C1A687EFBE8633687F9F635D31D7652')
+sha1sums=('93dbd99beb9e4848303702e9c0bc794f3efa3e6f'
+          'SKIP'
+          'e23531ec52835bf6257e07fbf1cff0ecc49a1098'
+          '30c80f75d54f8995ff57cfd7114d8b979a238f91')
+
+prepare() {
+  cd u-boot-$pkgver
+  patch -Np1 -i $srcdir/0001-Add-Openssl-1.1-support.patch
+  patch -Np1 -i $srcdir/0001-rsa-Fix-deprecated-warnings-for-OpenSSL-1.1.x.patch
+
+}
+build() {
+  cd u-boot-$pkgver
+  make defconfig
+  make tools-all
+}
+
+package() {
+  install -m 755 -d "$pkgdir"/usr/bin
+  install -m 755 -t "$pkgdir"/usr/bin/ u-boot-$pkgver/tools/{mk{,env}image,env/fw_printenv,img2srec,dumpimage,netconsole,jtagconsole,ncb}
+  ln -s fw_printenv "$pkgdir"/usr/bin/fw_setenv
+  install -m 644 -D u-boot-$pkgver/doc/mkimage.1 "$pkgdir"/usr/share/man/man1/mkimage.1
+}


More information about the arch-commits mailing list