X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 4A1A41EBFF7 for ; Thu, 9 Dec 2010 21:18:29 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 15455AE4001; Thu, 9 Dec 2010 21:18:29 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lonIt9UfwuIs; Thu, 9 Dec 2010 21:18:27 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id 70413376269; Thu, 9 Dec 2010 21:18:27 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 34B4360D0889E; Thu, 9 Dec 2010 21:18:25 +0000 (UTC) Received: from localhost (unknown [10.65.96.33]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id D9A9D60D08890; Thu, 9 Dec 2010 21:18:23 +0000 (UTC) Date: Thu, 9 Dec 2010 21:18:12 +0000 From: Natanael Copa To: "Matt Smith" Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] new: aports helper scripts Message-ID: <20101209211812.4aa7f53d@alpinelinux.org> In-Reply-To: <1291912251.280822370@192.168.2.229> 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> <1291912251.280822370@192.168.2.229> X-Mailer: Claws Mail 3.7.7 (GTK+ 2.22.1; i686-pc-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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP On Thu, 9 Dec 2010 10:30:51 -0600 (CST) "Matt Smith" wrote: > Thanks, I'll try it out. =C2=A0BTW, you do mean "apk add package" (without > version and .apk), right? yes > >> It's my understanding and experience that you can't simply "abuild > >> -r; apk add ./package.apk", at least without specifying > >> --no-network to apk, but that seems to be a 'global option' > >> instead of being per-package. > >=20 > > I think apk add ./package.apk is supposed to work but is buggy. >=20 > I actually worked on this, adding "char *filename" to the > apk_dependency struct, passing it the filename from argv in add.c and > 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 check the relevant package->filename, it wasn't NULL and > should have done something similar to --no-network, but it bombs out > in the end saying "BAD signature", which is where I decided to give > up and write those scripts instead. :o I think it works as long there are no exact same version available in index. could you please create an issue for i on bugs.alpinelinux.org if its not there already? i think timo is aware of it and it will be fixed eventually but it might be good to have it in the bug tracker as a known bug for others. thanks >=20 > - Matt >=20 -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---