X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-ew0-f25.google.com (mail-ew0-f25.google.com [209.85.219.25]) by lists.alpinelinux.org (Postfix) with ESMTP id 6D444170000BA for ; Wed, 21 Jan 2009 13:13:39 +0000 (UTC) Received: by ewy6 with SMTP id 6so785542ewy.1 for ; Wed, 21 Jan 2009 05:13:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=cGBm9lz2AFxxMB03DkfXHub8SvwX4b5EX5EvPmvnCMQ=; b=bFLji6+JYzM1m5Md1Yq3MRQJpnLWbAiXR/W5ghRJI/CPwZ7Gq8LO5pmNauseA4J5PX BjsT4kwXJ7SLBdm8u1W6wqR9Olb028O0LMN5bmgOYlEHZynCOtIMWFb4a6QWhLbsupnC hvU+ZXwFT7DgSzYfuW8IuVl6Owfs1k59kcgio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Lx5LVbu+MFuocpzkILHjIcF06vZ84n8lHkNsfHOnCVupfriLWZ4ObDWHcBGqBvMs4D HIHVOgzeqoRLrIYZm/yTAIMibnegVGWbDPJwe9XVHmUU6p3C2JZdBM/gy2g4HJgf3eEk rpe/Dk9mU0cu2Yq7cNBdeviQ6rzXoZbyWbKpk= X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.210.10.8 with SMTP id 8mr10017888ebj.114.1232543618537; Wed, 21 Jan 2009 05:13:38 -0800 (PST) In-Reply-To: <1232543361.1947.178.camel@nc> References: <9334be8a0901210253g7fd84172m78626db868552121@mail.gmail.com> <1232543361.1947.178.camel@nc> Date: Wed, 21 Jan 2009 14:13:38 +0100 Message-ID: <9334be8a0901210513m61739c34r33dfa102363da543@mail.gmail.com> Subject: Re: [alpine-devel] new aport apcupsd From: Leonardo Arena To: Natanael Copa Cc: Alpine-devel Content-Type: multipart/alternative; boundary=0015174bde468d996e0460fdece8 --0015174bde468d996e0460fdece8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Jan 21, 2009 at 2:09 PM, Natanael Copa wrote: > > +depends="uclibc util-linux-ng" > > +makedepends="g++" > > +source=" > http://surfnet.dl.sourceforge.net/sourceforge/apcupsd/apcupsd-3.14.5.tar.gz > " > > please use download.sourceforge.net rather than a specific sf mirror. > Also, if you use $pkgver in the source url, then you only need to change > the version number in pkgver when upgrading the package. > > source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" ok, right > > Otherwise looks good. It needs an init.d script i suppose and we need to > check up if we can use busybox halt rather than depend on util-linux-ng > shutdown. > > Hm... it looks like it needs 'wall'. Maybe just keep that util-linux-ng > there. > > I alos copied the init.d script from gentoo. > > -nc > > Thanks! --0015174bde468d996e0460fdece8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Wed, Jan 21, 2009 at 2:09 PM, Natanael Copa <= span dir=3D"ltr"><natanael.co= pa@gmail.com> wrote:
 
> +depends=3D"uclibc util-linux-ng"
> +makedepends=3D"g++"
> +source=3D"http://surfnet.dl.sourc= eforge.net/sourceforge/apcupsd/apcupsd-3.14.5.tar.gz"

please use do= wnload.sourceforge.net rather than a specific sf mirror.
Also, if you use $pkgver in the source url, then you only need to change the version number in pkgver when upgrading the package.

source=3D"http://downloads.sourceforge.net/$pkgna= me/$pkgname-$pkgver.tar.gz"

ok, right
&nbs= p;

Otherwise looks good. It needs an init.d script i suppose and we need to check up if we can use busybox halt rather than depend on util-linux-ng
shutdown.

Hm... it looks like it needs 'wall'. Maybe just keep that util-linu= x-ng
there.

I alos copied the init.d script from gentoo.

-nc

Thanks!
--0015174bde468d996e0460fdece8-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---