X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by lists.alpinelinux.org (Postfix) with ESMTP id 6FB585C3CA5 for ; Fri, 6 Jan 2017 09:30:10 +0000 (GMT) Received: by mail-wm0-f68.google.com with SMTP id c85so3532691wmi.1 for ; Fri, 06 Jan 2017 01:30:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:in-reply-to:references:mime-version; bh=XLujbCqAtwZyzi6QZQgprl6Vj5NtFxWu3VnV1hP6y1U=; b=cxPYwyGD3SWPPQVtnFrnvjd3K541Wx87m7NAiv4RPZyubwxnAQ0AQT+v72tcJwM950 H9cpbmwdA1evMSAnQXdqC3okm3N6YMARFWGEjurJtHZWMSMKf/2rsDQpOaanFMVHU5xk L8D5BGb44za8VAPjtpjII8T/baQrX3gkeQt7LegvzTJt8yexYzRVJAVA1a5FATyxy4qj WG9DoGgTfqqxzxmnmIngjthav+6fTNlRM4iU9UC6Qv8YvsVQI0yVnqPWSi5VglV9ie3U X81hKI/xMmBpHdFzFlb2Z/kM85QXDL+zJza6Q/wC/tKO4EBow1bRMV+VU4GIJ+CyuorW hUcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:mime-version; bh=XLujbCqAtwZyzi6QZQgprl6Vj5NtFxWu3VnV1hP6y1U=; b=gecIX8FUAlxh9NzX65lS6fCe1p5+VfRYjLBOcbrY/BT5UKs4XoFdS4XO0C3bXWL74b 0dsD0UJS6c94k7/FfiHhDvY7p0rr4943lhYafRcvt6LU9w9wzzwXTMK9hDBrbeZLOeNs C+IbrVIm/b6bYej97uAhDR7siSDa2tWCJb65C0tbVBFSfEyhGLjtxjxD3E10LFi+RE/g TaTMrm4HsRqQDfHsFElblk02R06bUCzNFe90ldVNDBrdFv3ClnRBrTKNVA7X9C2BJQYI 5WHr480EQbCT2SgzVI3XA6xILyo79BjHu8WGlI05D96AYbchIKubf3SEJ8vPEr1j5/Td rx9w== X-Gm-Message-State: AIkVDXLDxchKr2HHW+QshxIW3qGwIlQgiwlQaq3+KfjwVLWaiLPgT4sTP0tF0xhZ02tdrQ== X-Received: by 10.28.9.131 with SMTP id 125mr2724644wmj.22.1483695009515; Fri, 06 Jan 2017 01:30:09 -0800 (PST) Received: from df1844j.local ([89.202.239.221]) by smtp.googlemail.com with ESMTPSA id 203sm2431293wmf.21.2017.01.06.01.30.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jan 2017 01:30:07 -0800 (PST) Message-ID: <1483695001.18348.30.camel@gmail.com> Subject: Re: [alpine-aports] [PATCH] testing/node-sodium: new aport From: Leonardo Arena To: Corey Oliver , alpine-aports@lists.alpinelinux.org Date: Fri, 06 Jan 2017 10:30:01 +0100 In-Reply-To: <20170106022751.26733-1-corey.jon.oliver@gmail.com> References: <20170106022751.26733-1-corey.jon.oliver@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-TU3MJiS9NNWLas8pdli6" X-Mailer: Evolution 3.18.5.2-0ubuntu3 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 --=-TU3MJiS9NNWLas8pdli6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, thank you for your contribution. Please see comment below. On gio, 2017-01-05 at 20:27 -0600, Corey Oliver wrote: > --- > =C2=A0testing/node-sodium/APKBUILD=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| 52 > +++++++++++++++++++++++++++++ > =C2=A0testing/node-sodium/fix-gyp-binding.patch=C2=A0=C2=A0=C2=A0| 11 +++= +++ > =C2=A0testing/node-sodium/remove-preinstall.patch | 10 ++++++ > =C2=A03 files changed, 73 insertions(+) > =C2=A0create mode 100644 testing/node-sodium/APKBUILD > =C2=A0create mode 100644 testing/node-sodium/fix-gyp-binding.patch > =C2=A0create mode 100644 testing/node-sodium/remove-preinstall.patch >=20 > diff --git a/testing/node-sodium/APKBUILD b/testing/node- > sodium/APKBUILD > new file mode 100644 > index 0000000..1ea95ac > --- /dev/null > +++ b/testing/node-sodium/APKBUILD > @@ -0,0 +1,52 @@ > +# Contributor: Corey Oliver > +# Maintainer: Corey Oliver > +pkgname=3Dnode-sodium > +_pkgname=3Dsodium > +pkgver=3D1.2.3 > +pkgrel=3D0 > +pkgdesc=3D"Port of the lib sodium encryption library to Node.js" > +url=3D"https://github.com/paixaop/node-sodium" > +arch=3D"all" > +license=3D"MIT" > +depends=3D"nodejs libsodium=3D1.0.11-r0" > +makedepends=3D"libsodium-dev=3D1.0.11-r0 python2" > +source=3D"$pkgname-$pkgver.tar.gz::https://github.com/paixaop/$pkgname > /archive/$pkgver.tar.gz > +fix-gyp-binding.patch > +remove-preinstall.patch > +" > +builddir=3D"$srcdir/$pkgname-$pkgver" > + > +prepare() { > +=C2=A0=C2=A0=C2=A0=C2=A0local i > + cd "$builddir" > + for i in $source; do > + case $i in > + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return > 1;; > + esac > + done > +} abuild "default_prepare" function does this for you now. Make sure to keep "return 1" though. Thanks! -|_eo --=-TU3MJiS9NNWLas8pdli6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJYb2OZAAoJELAPckZGG2T6qFwH/ipAY9/BCmLBNvU/a/Bn2GVX 4bHSXy6u0EmA3X9HZP8kgzdFwX8BGxbkduVQ/XULOjhr368G+h1BKxN+pAbmaZse S+ev7cfG/Y8mvGVJwKQk1fznhYwiVMh4XDStAIEyMUWu4o+SfbKfNHhXU9/HpD2g x2esNg27ojvUduM5H0SQk+3AsDsCLQVZ4Od3AeWSZKjIDiQZFCKR1EJb+5sCdwTt wFeTKGNZydEn8/MPye5fqPF6Xd41Uh9/eYbbbOhRtO81KQQs7+8Jbo1T66kxpDg2 5MaGKOzJySpSO51FspSvyRJp8Xz395sotlUpApMT/qej7jpudpycbPLEhjuoY2w= =dzOn -----END PGP SIGNATURE----- --=-TU3MJiS9NNWLas8pdli6-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---