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 4914B1EBFF7 for ; Thu, 9 Dec 2010 16:03:59 +0000 (UTC) Received: from [10.65.65.1] (unknown [10.65.65.1]) by mail.wtbts.no (Postfix) with ESMTP id 441F27E05B; Thu, 9 Dec 2010 16:56:10 +0100 (CET) Subject: Re: [alpine-devel] [PATCH] new: aports helper scripts From: Natanael Copa To: Matt Smith Cc: alpine-devel@lists.alpinelinux.org In-Reply-To: <1291909310.567329176@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> Content-Type: text/plain; charset="UTF-8" Date: Thu, 09 Dec 2010 17:03:57 +0100 Message-ID: <1291910637.24376.32.camel@ncopa-desktop.nor.wtbts.net> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 Content-Transfer-Encoding: 7bit On Thu, 2010-12-09 at 09:41 -0600, Matt Smith wrote: > On Thursday, December 9, 2010 7:40am, "Natanael Copa" said: > > On Wed, 2010-12-08 at 15:20 -0600, Matt Smith wrote: > >> I've created some helper scripts for aports, which I'll briefly cover here. > >> > >> New files: > >> - aports/apk-aports.conf: configuration file for the following helper scripts > >> - aports/apkindex.sh: creates a signed APKINDEX.tar.gz for your aports > >> - aports/apkwrapper.sh: apk wrapper that uses your aports repository > >> > >> Let me know what you think. > > > > I'm not really sure what problem those scripts are supposed to solve? > > The idea is to make it easier/quicker to be able to install a package > from aports (for testing, etc). ah. I yes. What i do is adding $HOME/.cache/apks first in /etc/apk/repositories then i do: abuild -r && apk add $package if there are additional http repos in /etc/apk/repositories you can pick some from local aports tree and some from network (to avoid build everything) > It's my understanding and experience that you can't simply "abuild -r; > apk add ./package.apk", atleast without specifying --no-network to > apk, but that seems to be a 'global option' instead of being > per-package. I think apk add ./package.apk is supposed to work but is buggy. > I suppose its no different though: doing --no-network, or specifying a > specific local repository (atleast without HTTP repositories added > into the mix?). > > Ideally, I'd like to be able to "abuild -r; apk add ./package.apk" and > have apk resolve dependencies either via /etc/apk/repositories (HTTP > and/or local repos), or abuild the dependencies in aports instead, > similar to FreeBSD ports, if I'm not mistaken. > > Apologies if this is already possible. np. and you are right. we could improve this. > > Thanks in advance, > Matt > > P.S.: Looks like I could use some form of "abuild -ri". > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---