X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by lists.alpinelinux.org (Postfix) with ESMTP id 12AB05C4C96 for ; Fri, 23 Jun 2017 08:20:14 +0000 (GMT) Received: by mail-wr0-f195.google.com with SMTP id k67so10643658wrc.1 for ; Fri, 23 Jun 2017 01:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=LbZ8xsO/5Ps3Tkma6sgDlF9ZoxPXm3rwJ5yDNBlrOoY=; b=RdbCovwTWUP+bWd87EyCDNIh4jcYMRdFSpiJ5IkBneE3ZnaX7wEY6eHeyC0yRJd3KD AlqOh9y5Vn742FgyFUzqll5r18s4jdv64DwwuPuvrlD8wctK/1aqMi1kT7tEE/in+zjG UwRXKtXUFtuhxt36JsqH1nbqi53J+oJ350lPhREZGiWCPObqCTKiiKTHixjTGdUBqFn5 55+40DG8nyom5TkHem9J9FjoZB8uH72U/cftRgbkRsDmUnEnsJ+rIZQPtLj6L79ZYxi1 e0OYovx10npjwo21Xw4fhU3H05KNhPthLqXfkZ7dFchnBi6JAE+UDVq+s9vKmwpxcmnw HRkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=LbZ8xsO/5Ps3Tkma6sgDlF9ZoxPXm3rwJ5yDNBlrOoY=; b=lVp2H9urE3CJa06B6gEKaS7Wf9wMuDeGqxhpWkWI8Bobyw1h7bQL1rS7TxtWVuA9qv C+Fm80Fyh1SACxtU16PVpPkL+swRCakPBXQgQ30ksGOdw5XYcFAOY4CTa3VQJ9tYxIJC B2ZUosZBFelVVK32/u5zoSU+U/MrEegLI1dGlqXYFX8TaelZJe/ufOH6wwCriArSPWCj 7tPdMWmlro7fyBIApk9x//+caGr8En/7YATj+M2BoHxSwmHiAeIUdiIdP7Vo+G73d/Nk 8xTZHHfOWygT48yDc9ACm4FApnQeTYPYAUlgaktJAnDkSIFPNHEzh1NjNhNqQhSFGtJc Mi5w== X-Gm-Message-State: AKS2vOzuuiN/36nvfGCfRgIeRLiXSv+A7kaqvuFQ/ciXKUevk7BTJfj+ 2mHqLf6hSoY6wky3KM8= X-Received: by 10.223.129.36 with SMTP id 33mr4479653wrm.129.1498206012745; Fri, 23 Jun 2017 01:20:12 -0700 (PDT) Received: from [10.36.9.26] ([89.202.239.221]) by smtp.gmail.com with ESMTPSA id z194sm2740139wmc.31.2017.06.23.01.20.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Jun 2017 01:20:11 -0700 (PDT) Subject: Re: [alpine-aports] [PATCH] testing/wpa_actiond: new aport To: Marian Buschsieweke , alpine-aports@lists.alpinelinux.org References: <20170620075459.8882-1-marian.buschsieweke@ovgu.de> From: Leonardo Arena Message-ID: <70de3a50-0eb9-3288-83e1-859f7ec232f0@gmail.com> Date: Fri, 23 Jun 2017 10:20:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: <20170620075459.8882-1-marian.buschsieweke@ovgu.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Hi, the patch was committed with the following amendment: On 06/20/2017 09:54 AM, Marian Buschsieweke wrote: > Daemon that connects to wpa_supplicant and handles connect and disconnect events > https://git.archlinux.org/wpa_actiond.git > > Use case: A plain and simple way to automatically configure wireless networks > depending on SSID by invoking user supplied scripts. > > I provided a patch to convert the nested function into a regular one, so that > GCC won't generate a trampoline. In addition, OpenRC integration was added. > --- > testing/wpa_actiond/APKBUILD | 46 ++++++++++++++++ > testing/wpa_actiond/no_trampoline.patch | 95 +++++++++++++++++++++++++++++++++ > testing/wpa_actiond/wpa_actiond.confd | 16 ++++++ > testing/wpa_actiond/wpa_actiond.initd | 22 ++++++++ > 4 files changed, 179 insertions(+) > create mode 100644 testing/wpa_actiond/APKBUILD > create mode 100644 testing/wpa_actiond/no_trampoline.patch > create mode 100644 testing/wpa_actiond/wpa_actiond.confd > create mode 100644 testing/wpa_actiond/wpa_actiond.initd > > diff --git a/testing/wpa_actiond/APKBUILD b/testing/wpa_actiond/APKBUILD > new file mode 100644 > index 0000000000..e0b14f5232 > --- /dev/null > +++ b/testing/wpa_actiond/APKBUILD > @@ -0,0 +1,46 @@ > +# Contributor: Marian > +# Maintainer: Marian > +pkgname=wpa_actiond > +pkgver=1.4 > +pkgrel=1 > +pkgdesc="Daemon that connects to wpa_supplicant and handles connect and disconnect events" > +url="https://git.archlinux.org/wpa_actiond.git/" > +arch="all" > +license="GPL2" > +depends="" > +makedepends="" > +subpackages="" > +source="https://git.archlinux.org/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.xz > + no_trampoline.patch > + wpa_actiond.confd > + wpa_actiond.initd" > +options="!check" > + > +_builddir="$srcdir/$pkgname-$pkgver" > + _buildir is now an "official" APKBUILD variable, hence underscore prefix has been removed and APKBUILD update accordingly > +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 > +} > + prepare() function removed since applying patch is by default in abuild unless overridden by declaring a custom prepare() function. Everything else looked good to me. Thanks! /eo --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---