X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from smtp131.iad.emailsrvr.com (smtp131.iad.emailsrvr.com [207.97.245.131]) by lists.alpinelinux.org (Postfix) with ESMTP id A31A31EBFF7 for ; Thu, 9 Dec 2010 16:30:52 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp33.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 5666A30337; Thu, 9 Dec 2010 11:30:52 -0500 (EST) X-Virus-Scanned: OK Received: from dynamic1.wm-web.iad.mlsrvr.com (dynamic1.wm-web.iad1a.rsapps.net [192.168.2.150]) by smtp33.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 5759530786; Thu, 9 Dec 2010 11:30:51 -0500 (EST) Received: from darkregion.net (localhost [127.0.0.1]) by dynamic1.wm-web.iad.mlsrvr.com (Postfix) with ESMTP id 46201C98070; Thu, 9 Dec 2010 11:30:51 -0500 (EST) Received: by apps.rackspace.com (Authenticated sender: mcs@darkregion.net, from: mcs@darkregion.net) with HTTP; Thu, 9 Dec 2010 10:30:51 -0600 (CST) Date: Thu, 9 Dec 2010 10:30:51 -0600 (CST) Subject: Re: [alpine-devel] [PATCH] new: aports helper scripts From: "Matt Smith" To: "Natanael Copa" Cc: alpine-devel@lists.alpinelinux.org 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=UTF-8 Content-Transfer-Encoding: quoted-printable Importance: Normal X-Priority: 3 (Normal) X-Type: plain In-Reply-To: <1291910637.24376.32.camel@ncopa-desktop.nor.wtbts.net> References: <1291843221-21222-1-git-send-email-mcs@darkregion.net> <1291902032.24376.27.camel@ncopa-desktop.nor.wtbts.net> <1291909310.567329176@192.168.2.229> <1291910637.24376.32.camel@ncopa-desktop.nor.wtbts.net> Message-ID: <1291912251.280822370@192.168.2.229> X-Mailer: webmail8 On Thursday, December 9, 2010 10:03am, "Natanael Copa" said:=0A> On Thu, 2010-12-09 at 09:41 -0600, Matt Smith wrote:=0A>> The= idea is to make it easier/quicker to be able to install a package=0A>> fro= m aports (for testing, etc).=0A> =0A> ah. I yes.=0A> =0A> What i do is addi= ng $HOME/.cache/apks first in /etc/apk/repositories=0A> =0A> then i do:=0A>= =0A> abuild -r && apk add $package=0A> =0A> if there are additional http r= epos in /etc/apk/repositories you can pick=0A> some from local aports tree = and some from network (to avoid build=0A> everything)=0A=0AThanks, I'll try= it out. =C2=A0BTW, you do mean "apk add package" (without version and .apk= ), right?=0A=0A>> It's my understanding and experience that you can't simpl= y "abuild -r;=0A>> apk add ./package.apk", at least without specifying --no= -network to=0A>> apk, but that seems to be a 'global option' instead of bei= ng=0A>> per-package.=0A> =0A> I think apk add ./package.apk is supposed to = work but is buggy.=0A=0AI actually worked on this, adding "char *filename" = to the apk_dependency struct, passing it the filename from argv in add.c an= d then, I think in apk_state_lock_dependency() or somewhere else in state.c= , passed it to the relevant apk_package struct so when it came time to chec= k the relevant package->filename, it wasn't NULL and should have done somet= hing similar to --no-network, but it bombs out in the end saying "BAD signa= ture", which is where I decided to give up and write those scripts instead.= :o=0A=0A- Matt --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---