All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Upgrade openssl from 1.0.2a to 1.0.2c
@ 2015-06-18  3:14 Kai Kang
  2015-06-18  3:14 ` [PATCH 1/1] openssl: upgrade " Kai Kang
  2015-06-18  3:25 ` [PATCH 0/1] Upgrade openssl " Kang Kai
  0 siblings, 2 replies; 3+ messages in thread
From: Kai Kang @ 2015-06-18  3:14 UTC (permalink / raw)
  To: openembedded-core

Build for qemux86 and qemumips. And it is fine to run openssl basic sub-commands.

The following changes since commit 1675ff6fff53dda89fa8d4f3a2c292c23fd346d7:

  bitbake: tests/data: Add new data tests (2015-06-12 00:02:28 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib kangkai/openssl
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/openssl

Kai Kang (1):
  openssl: upgrade from 1.0.2a to 1.0.2c

 ...lcl.h-fix-MIPS-specific-gcc-version-check.patch | 30 ----------------------
 .../openssl/openssl/debian/c_rehash-compat.patch   |  8 +++---
 .../{openssl_1.0.2a.bb => openssl_1.0.2c.bb}       |  5 ++--
 3 files changed, 6 insertions(+), 37 deletions(-)
 delete mode 100644 meta/recipes-connectivity/openssl/openssl/0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch
 rename meta/recipes-connectivity/openssl/{openssl_1.0.2a.bb => openssl_1.0.2c.bb} (89%)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] openssl: upgrade from 1.0.2a to 1.0.2c
  2015-06-18  3:14 [PATCH 0/1] Upgrade openssl from 1.0.2a to 1.0.2c Kai Kang
@ 2015-06-18  3:14 ` Kai Kang
  2015-06-18  3:25 ` [PATCH 0/1] Upgrade openssl " Kang Kai
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Kang @ 2015-06-18  3:14 UTC (permalink / raw)
  To: openembedded-core

Upgrade openssl from 1.0.2a to 1.0.2c:

* remove 0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch
  which is backported from upstream
* update debian/c_rehash-compat.patch that context changes

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 ...lcl.h-fix-MIPS-specific-gcc-version-check.patch | 30 ----------------------
 .../openssl/openssl/debian/c_rehash-compat.patch   |  8 +++---
 .../{openssl_1.0.2a.bb => openssl_1.0.2c.bb}       |  5 ++--
 3 files changed, 6 insertions(+), 37 deletions(-)
 delete mode 100644 meta/recipes-connectivity/openssl/openssl/0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch
 rename meta/recipes-connectivity/openssl/{openssl_1.0.2a.bb => openssl_1.0.2c.bb} (89%)

diff --git a/meta/recipes-connectivity/openssl/openssl/0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch b/meta/recipes-connectivity/openssl/openssl/0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch
deleted file mode 100644
index 7308f8f..0000000
--- a/meta/recipes-connectivity/openssl/openssl/0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 60c268b21ac81cc6b1af5c5470282a613b96f6fd Mon Sep 17 00:00:00 2001
-From: Andy Polyakov <appro@openssl.org>
-Date: Mon, 25 May 2015 10:17:14 +0200
-Subject: [PATCH] bn/bn_lcl.h: fix MIPS-specific gcc version check.
-
-RT#3859
-
-Reviewed-by: Tim Hudson <tjh@openssl.org>
----
-Upstream-Status: Backport
-
- crypto/bn/bn_lcl.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h
-index 196df7e..b9d124a 100644
---- a/crypto/bn/bn_lcl.h
-+++ b/crypto/bn/bn_lcl.h
-@@ -443,7 +443,7 @@ unsigned __int64 _umul128(unsigned __int64 a, unsigned __int64 b,
- #   endif
- #  elif defined(__mips) && (defined(SIXTY_FOUR_BIT) || defined(SIXTY_FOUR_BIT_LONG))
- #   if defined(__GNUC__) && __GNUC__>=2
--#    if __GNUC__>=4 && __GNUC_MINOR__>=4
-+#    if __GNUC__>4 || (__GNUC__>=4 && __GNUC_MINOR__>=4)
-                                      /* "h" constraint is no more since 4.4 */
- #     define BN_UMULT_HIGH(a,b)          (((__uint128_t)(a)*(b))>>64)
- #     define BN_UMULT_LOHI(low,high,a,b) ({     \
--- 
-2.1.4
-
diff --git a/meta/recipes-connectivity/openssl/openssl/debian/c_rehash-compat.patch b/meta/recipes-connectivity/openssl/openssl/debian/c_rehash-compat.patch
index 3943e2c..7b1d384 100644
--- a/meta/recipes-connectivity/openssl/openssl/debian/c_rehash-compat.patch
+++ b/meta/recipes-connectivity/openssl/openssl/debian/c_rehash-compat.patch
@@ -23,14 +23,14 @@ Index: openssl-1.0.2~beta3/tools/c_rehash.in
  my $symlink_exists=eval {symlink("",""); 1};
  my $removelinks = 1;
 @@ -18,10 +16,7 @@ my $removelinks = 1;
- while ( $ARGV[0] =~ '-.*' ) {
+ while ( $ARGV[0] =~ /^-/ ) {
      my $flag = shift @ARGV;
      last if ( $flag eq '--');
--    if ( $flag =~ /-old/) {
+-    if ( $flag eq '-old') {
 -	    $x509hash = "-subject_hash_old";
 -	    $crlhash = "-hash_old";
--    } elsif ( $flag =~ /-h/) {
-+    if ( $flag =~ /-h/) {
+-    } elsif ( $flag eq '-h') {
++    if ( $flag eq '-h') {
  	    help();
      } elsif ( $flag eq '-n' ) {
  	    $removelinks = 0;
diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2a.bb b/meta/recipes-connectivity/openssl/openssl_1.0.2c.bb
similarity index 89%
rename from meta/recipes-connectivity/openssl/openssl_1.0.2a.bb
rename to meta/recipes-connectivity/openssl/openssl_1.0.2c.bb
index f4006f6..74319ff 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.0.2a.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.0.2c.bb
@@ -36,11 +36,10 @@ SRC_URI += "file://configure-targets.patch \
             file://ptest-deps.patch \
             file://run-ptest \
             file://crypto_use_bigint_in_x86-64_perl.patch \
-            file://0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch \
            "
 
-SRC_URI[md5sum] = "a06c547dac9044161a477211049f60ef"
-SRC_URI[sha256sum] = "15b6393c20030aab02c8e2fe0243cb1d1d18062f6c095d67bca91871dc7f324a"
+SRC_URI[md5sum] = "8c8d81a9ae7005276e486702edbcd4b6"
+SRC_URI[sha256sum] = "0038ba37f35a6367c58f17a7a7f687953ef8ce4f9684bbdec63e62515ed36a83"
 
 PACKAGES =+ " \
 	${PN}-engines \
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/1] Upgrade openssl from 1.0.2a to 1.0.2c
  2015-06-18  3:14 [PATCH 0/1] Upgrade openssl from 1.0.2a to 1.0.2c Kai Kang
  2015-06-18  3:14 ` [PATCH 1/1] openssl: upgrade " Kai Kang
@ 2015-06-18  3:25 ` Kang Kai
  1 sibling, 0 replies; 3+ messages in thread
From: Kang Kai @ 2015-06-18  3:25 UTC (permalink / raw)
  To: openembedded-core

On 2015年06月18日 11:14, Kai Kang wrote:
> Build for qemux86 and qemumips. And it is fine to run openssl basic sub-commands.

Withdraw it that Rongqing Li has sent patch already.

--Kai

>
> The following changes since commit 1675ff6fff53dda89fa8d4f3a2c292c23fd346d7:
>
>    bitbake: tests/data: Add new data tests (2015-06-12 00:02:28 +0100)
>
> are available in the git repository at:
>
>    git://git.pokylinux.org/poky-contrib kangkai/openssl
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/openssl
>
> Kai Kang (1):
>    openssl: upgrade from 1.0.2a to 1.0.2c
>
>   ...lcl.h-fix-MIPS-specific-gcc-version-check.patch | 30 ----------------------
>   .../openssl/openssl/debian/c_rehash-compat.patch   |  8 +++---
>   .../{openssl_1.0.2a.bb => openssl_1.0.2c.bb}       |  5 ++--
>   3 files changed, 6 insertions(+), 37 deletions(-)
>   delete mode 100644 meta/recipes-connectivity/openssl/openssl/0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch
>   rename meta/recipes-connectivity/openssl/{openssl_1.0.2a.bb => openssl_1.0.2c.bb} (89%)
>


-- 
Regards,
Neil | Kai Kang



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-18  3:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-18  3:14 [PATCH 0/1] Upgrade openssl from 1.0.2a to 1.0.2c Kai Kang
2015-06-18  3:14 ` [PATCH 1/1] openssl: upgrade " Kai Kang
2015-06-18  3:25 ` [PATCH 0/1] Upgrade openssl " Kang Kai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.