X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id A2247DC12A9 for ; Wed, 23 Dec 2015 06:56:20 +0000 (UTC) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 346E5DC0FF2 for ; Wed, 23 Dec 2015 06:56:19 +0000 (UTC) Received: by mail-lf0-f50.google.com with SMTP id y184so141496761lfc.1 for ; Tue, 22 Dec 2015 22:56:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=mPM7ybsS/jYnS4426DY3/h/YvU4qVhpr0+7EhXVUaCc=; b=vdcziFhPpNhhLvuukQVae/7+LWqNSoZNCKto27TB+Df2aBb+AB3x4C10bwxpCZrVIw 8BJyez34XeHB57LLJbqRMAqfjjR5atKsvPzOVJPuvhyUyjphrN/Iv1IAGiKfoiCYgkmX Ux1w7Dznlny6/LXPuFabIVItgmZOEAc/sPOBPZBYS1gZ3CZlJd+fewNz7Et2pVY2L7M5 5JQCRhbqfSDRA0yp4NGDAxYe7FnvWQ+vvxbNVInTb8z5rjp2bhcFfSKQew2hIArLO/on 4q4DCUvL2oOomnbMVjcoA/KhS686KtTB/E5PoElNcEgeW7V8UClx3ExF9Z6Q13IZZrmT dqMw== X-Received: by 10.25.85.20 with SMTP id j20mr1621101lfb.131.1450853778097; Tue, 22 Dec 2015 22:56:18 -0800 (PST) Received: from vostro ([2001:1bc8:101:f402:21a:9fff:fe0c:4022]) by smtp.gmail.com with ESMTPSA id rm5sm6170577lbb.20.2015.12.22.22.56.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Dec 2015 22:56:17 -0800 (PST) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Wed, 23 Dec 2015 08:56:15 +0200 From: Timo Teras To: Stuart Cardall Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] testing/mbedtls: update to 2.2.0 + fix for Hiawatha Message-ID: <20151223085615.1c5137e9@vostro> In-Reply-To: <1450819836-22412-1-git-send-email-developer@it-offshore.co.uk> References: <1450819836-22412-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP On Tue, 22 Dec 2015 21:30:36 +0000 Stuart Cardall wrote: > this also closes the Hiawatha bug: >=20 > ns2.alpinelinux.org/issues/4537 Please refer to bug fixes like: fixes #4537 Redmine catches that automatically and the commit gets attached to the bug. > --- > testing/mbedtls/APKBUILD | 25 +++++++++---------------- > 1 file changed, 9 insertions(+), 16 deletions(-) >=20 > diff --git a/testing/mbedtls/APKBUILD b/testing/mbedtls/APKBUILD > index a24df56..e1739c4 100644 > --- a/testing/mbedtls/APKBUILD > +++ b/testing/mbedtls/APKBUILD > @@ -1,7 +1,7 @@ > # Contributor: =C5=81ukasz Jendrysik > # Maintainer: Natanael Copa > pkgname=3Dmbedtls > -pkgver=3D2.1.2 > +pkgver=3D2.2.0 > pkgrel=3D0 > pkgdesc=3D"Light-weight cryptographic and SSL/TLS library" > url=3D"https://tls.mbed.org/" This does not apply. mbedtls was upgraded to 2.2.0 earlier on Dec 16. Remember to bump pkgrel when resubmitting with the config updates. > @@ -9,24 +9,17 @@ arch=3D"all" > license=3D"GPLv2+ with exceptions" > depends=3D"" > depends_dev=3D"" > -makedepends=3D"$depends_dev cmake perl" > -install=3D"" > +makedepends=3D"$depends_dev cmake perl" # libpthread-stubs" This hunk is not needed at all. > subpackages=3D"$pkgname-static $pkgname-dev $pkgname-utils" > source=3D"https://tls.mbed.org/download/mbedtls-$pkgver-gpl.tgz" > =20 > -_builddir=3D"$srcdir"/mbedtls-2.1.2 > -prepare() { > - local i > - cd "$_builddir" > - for i in $source; do > - case $i in > - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return > 1;; > - esac > - done > -} > +_builddir=3D"$srcdir"/mbedtls-$pkgver Please don't delete prepare(). And _builddir seems to have been fixed earlier too. > =20 > build() { > cd "$_builddir" > + # enable flags for non-embedded systems > + sed -i 's|//\(#define MBEDTLS_THREADING_C\)|\1|' > include/mbedtls/config.h > + sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' > include/mbedtls/config.h cmake . \ > -DCMAKE_INSTALL_PREFIX=3D/usr \ > -DCMAKE_BUILD_TYPE=3D"Release" \ Good catch! Can you also make it a single sed call? sed -i -e 's..' -e 's..' file --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---