X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nc@alpinelinux.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id BF04EDC00BD; Wed, 21 Nov 2012 09:40:38 +0000 (UTC) Date: Wed, 21 Nov 2012 10:40:36 +0100 From: Natanael Copa To: Pablo Castorino Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH 1/2] ifplugd: new aport Message-ID: <20121121104036.56a41f7b@ncopa-desktop.alpinelinux.org> In-Reply-To: <1353416120-12198-1-git-send-email-pcastorino@mendoza-conicet.gob.ar> References: <1353416120-12198-1-git-send-email-pcastorino@mendoza-conicet.gob.ar> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.13; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 20 Nov 2012 09:55:19 -0300 Pablo Castorino wrote: > --- > testing/ifplugd/APKBUILD | 48 Applied. I also fixed mandir, added a -doc subpackage and removed libdaemon depends as it gets autodetected by abuild. > +++++++++++++++++++++++++++++++++++++++++ > testing/ifplugd/ifplugd.initd | 32 +++++++++++++++++++++++++++ 2 > files changed, 80 insertions(+) create mode 100644 > testing/ifplugd/APKBUILD create mode 100644 > testing/ifplugd/ifplugd.initd > > diff --git a/testing/ifplugd/APKBUILD b/testing/ifplugd/APKBUILD > new file mode 100644 > index 0000000..8a75dfd > --- /dev/null > +++ b/testing/ifplugd/APKBUILD ... > +start() { > + checkconfig || return 1 > + > + ebegin "Starting ifplugd" > + sh /usr/sbin/ifplugd-helper start I think the ifplugd-helper script, which appears to be a sysv/upstart script, should be ported to a proper openrc runscript. In other words, do what the helper script does in initd instead of just wrap it. > + result=$? > + eend $result > +} -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---