Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 658EAE00D3A; Wed, 8 Nov 2017 19:45:45 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.192.194 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (armccurdy[at]gmail.com) * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [209.85.192.194 listed in dnsbl.sorbs.net] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5563FE00D2C for ; Wed, 8 Nov 2017 19:45:43 -0800 (PST) Received: by mail-pf0-f194.google.com with SMTP id b85so3322769pfj.13 for ; Wed, 08 Nov 2017 19:45:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=YXUee2VN70Lo5yapDZixSuw5NrWqN541Fu2NA6bcMSI=; b=FlSeyuFkqEAqRtcpbMWzz/W+b6uofwvHPStO8ml/pMtmGQggjXptaonnTwSu2sxmm9 jErxcAS+6TcGEGJVJ+mCKv92GkAmev11cKJtASEdjFpFEL86ID1R6FbRwrTDyMXE+cm4 LsaTEPQP7S/SCHRq0szAWOi5EgEvjzb/67nouVZR8+52HNtBv0ipFIrITB0RnZycSCaX O3EqOw7tb2UUhdOyOK67Vz+roa121UOwV/S17G1eNV0iTCZztpzo9LE0JFNVKR2jd6C4 9uzxjrmF9za/NdIyCZj4qT4ZMCtOvNqCJghR6np92Ysssb25KLN3EJA/2JAxicrPgFSJ w7tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=YXUee2VN70Lo5yapDZixSuw5NrWqN541Fu2NA6bcMSI=; b=uboypBA1koD7+epmcyIh52HfhxtiNO+UbdcTYcJJ/aTfjOehu2po9ywsG2MfPHWCaS WhhC3yiDn6tHubd1UNHIAait5fLWrjKNG8WUBdOiVcAhl2+gbCxhdVoPU9zRFRxcrrPf kG2oE+81DreNHvVw1ypbA4LGv3+io8ts+OHS2rUowVGPRzJDaU9y8RGPC0uY4PSLEIpX /Dnm/UPliumS7QP1h+9qqtARords+5EHVJIzKYOe2JW1upBxJh/ZUujxX8oUGXt806/D kUsG7Dok3pqnK+yeYZ6z2jhBRgaxrFb6A0tjjqscZuGNysYIUNyp8MjHsvcZ3fEeK2P7 CW9Q== X-Gm-Message-State: AJaThX6jdr7UhJytJ7Gccdaj3FMlbV9WCKS2gcDE0/Snu9Wf7rjRavC5 cjz0KajeWrkrPIx7ZVkX0fQn3Q== X-Google-Smtp-Source: ABhQp+SvkCKx/7LbTbbuN2RLrLDRa1GxmySV4hLp/NOvocz7ekte6kes7/qeJBRa46NDiUBrhwgEMQ== X-Received: by 10.159.254.1 with SMTP id r1mr2521124pls.186.1510199142933; Wed, 08 Nov 2017 19:45:42 -0800 (PST) Received: from e6520.guest-wifi.scl.liberty.com ([4.16.80.121]) by smtp.gmail.com with ESMTPSA id z86sm11286667pfk.34.2017.11.08.19.45.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Nov 2017 19:45:41 -0800 (PST) From: Andre McCurdy To: yocto@yoctoproject.org Date: Wed, 8 Nov 2017 19:45:36 -0800 Message-Id: <1510199136-11656-1-git-send-email-armccurdy@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [meta-gplv2][PATCH] gnutls: update 3.3.27 -> 3.3.28 X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 03:45:45 -0000 * Version 3.3.28 (released 2017-07-04) ** libgnutls: Fixed issue when rehandshaking without a client certificate in a session which initially used one. Reported by Frantisek Sumsal. ** libgnutls: fix issue in RSA-PSK client callback which resulted in no username being sent to the peer. Patch by Nicolas Dufresne. ** libgnutls: no longer parse the ResponseID field of the status response TLS extension. The field is not used by GnuTLS nor is made available to calling applications. That addresses a null pointer dereference on server side caused by packets containing the ResponseID field. Reported by Hubert Kario. [GNUTLS-SA-2017-4] ** libgnutls: Handle specially HSMs which request explicit authentication. There are HSMs which return CKR_USER_NOT_LOGGED_IN on the first private key operation. Detect that state and try to login. ** libgnutls: the GNUTLS_PKCS11_OBJ_FLAG_LOGIN will force a login on HSMs. That is, even in tokens which do not have a CKF_LOGIN_REQUIRED flag a login will be forced. This improves operation on certain Safenet HSMs. ** libgnutls: do not set leading zeros when copying integers on HSMs. PKCS#11 defines integers as unsigned having most significant byte first, e.g., 32768 = 0x80 0x00. This is interpreted literraly by some HSMs which do not accept an integer with a leading zero. This improves operation with certain Atos HSMs. ** libgnutls: Backported PKCS#11 key generation functionality for DSA keys. ** libgnutls: Improve check for /dev/urandom uniqueness. Ensure that when gnutls_global_init() is called for a second time that /dev/urandom is re-opened when the inode or device ID has changed. ** API and ABI modifications: No changes since last version. Signed-off-by: Andre McCurdy --- recipes-support/gnutls/gnutls.inc | 9 ++++----- recipes-support/gnutls/gnutls_3.3.27.bb | 17 ----------------- recipes-support/gnutls/gnutls_3.3.28.bb | 8 ++++++++ 3 files changed, 12 insertions(+), 22 deletions(-) delete mode 100644 recipes-support/gnutls/gnutls_3.3.27.bb create mode 100644 recipes-support/gnutls/gnutls_3.3.28.bb diff --git a/recipes-support/gnutls/gnutls.inc b/recipes-support/gnutls/gnutls.inc index 4a5c3df..4cf375f 100644 --- a/recipes-support/gnutls/gnutls.inc +++ b/recipes-support/gnutls/gnutls.inc @@ -8,9 +8,8 @@ LICENSE_${PN}-xx = "LGPLv2.1+" LICENSE_${PN}-bin = "GPLv3+" LICENSE_${PN}-openssl = "GPLv3+" -LIC_FILES_CHKSUM = "file://LICENSE;md5=71391c8e0c1cfe68077e7fce3b586283 \ - file://doc/COPYING;md5=d32239bcb673463ab874e80d47fae504 \ - file://doc/COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343" DEPENDS = "nettle gmp virtual/libiconv" DEPENDS_append_libc-musl = " argp-standalone" @@ -21,9 +20,8 @@ SRC_URI = "ftp://ftp.gnutls.org/gcrypt/gnutls/v${SHRT_VER}/gnutls-${PV}.tar.xz" inherit autotools texinfo binconfig pkgconfig gettext lib_package gtk-doc -PACKAGECONFIG ??= "libidn zlib" +PACKAGECONFIG ??= "zlib" -PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn" PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,libtasn1" PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit" PACKAGECONFIG[tpm] = "--with-tpm,--without-tpm,trousers" @@ -31,6 +29,7 @@ PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" EXTRA_OECONF = " \ --enable-doc \ + --disable-crywrap \ --disable-libdane \ --disable-guile \ --disable-rpath \ diff --git a/recipes-support/gnutls/gnutls_3.3.27.bb b/recipes-support/gnutls/gnutls_3.3.27.bb deleted file mode 100644 index a1dcdb5..0000000 --- a/recipes-support/gnutls/gnutls_3.3.27.bb +++ /dev/null @@ -1,17 +0,0 @@ -require gnutls.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ - file://COPYING.LESSER;md5=a6f89e2100d9b6cdffcea4f398e37343" - -SRC_URI += " \ - file://configure.ac-fix-sed-command.patch \ - file://use-pkg-config-to-locate-zlib.patch \ -" -SRC_URI[md5sum] = "8ee8cebd7f7575b11f232766a21c31d3" -SRC_URI[sha256sum] = "8dfda16c158ef5c134010d51d1a91d02aa5d43b8cb711b1572650a7ffb56b17f" - -# This version doesn't support this option added in newer gnutls -# ERROR: gnutls-3.3.27-r0 do_configure: QA Issue: gnutls: configure was passed unrecognised options: --with-idn [unknown-configure-option] -PACKAGECONFIG[libidn] = "" -# but it still has the libidn dependency, without this option -EXTRA_OECONF += "--disable-crywrap" diff --git a/recipes-support/gnutls/gnutls_3.3.28.bb b/recipes-support/gnutls/gnutls_3.3.28.bb new file mode 100644 index 0000000..1b23369 --- /dev/null +++ b/recipes-support/gnutls/gnutls_3.3.28.bb @@ -0,0 +1,8 @@ +require gnutls.inc + +SRC_URI += " \ + file://configure.ac-fix-sed-command.patch \ + file://use-pkg-config-to-locate-zlib.patch \ +" +SRC_URI[md5sum] = "e19718d97cee5279edf3f3b9318f926c" +SRC_URI[sha256sum] = "608f63441abc209c5bd5f61e35f2b6128c22e06fa2ad6248a08d8a643feeb807" -- 1.9.1