From owner-freebsd-ports@FreeBSD.ORG Mon Sep 29 19:04:54 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFD481065692 for ; Mon, 29 Sep 2008 19:04:54 +0000 (UTC) (envelope-from mwisnicki@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id 515B58FC08 for ; Mon, 29 Sep 2008 19:04:54 +0000 (UTC) (envelope-from mwisnicki@gmail.com) Received: by gxk10 with SMTP id 10so10797512gxk.19 for ; Mon, 29 Sep 2008 12:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=TtpIXOguZ4GndY8SycvT9sXg4Uox3N9qQpOSJdfMHTo=; b=j31/WH54Auvgm/7jVIxECYjGZJJ0VDCgPPynPR/4eWOD5saMzYopL9qwoWokZHfllt fT82YQhY+Lwh5VkeHJx6nVjXdTWrOpJ7FEa0HVaVSlvIdppnwvwVCKNb0t6Y/I5aTgbA dIH5PLJx4G2zB9HSsCNgU77SlpG7Elv+1WPbY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=SlVSFgd3EFeiwXwv4jIkxtZUl1F2K7TrUJobP9xY/v61pmbHaIQyY2UH8dTn+moMDy PyYa2SVOMSMTPSqfmzEJFnkvA059mvDZrEoa9LtV8CbzuH5ujOU072PPXVwvCi/ikVeb mOGIEVIfwGOgb1H6upReU7dgZRXJpRPxq2CC4= Received: by 10.150.230.15 with SMTP id c15mr8367106ybh.26.1222713535024; Mon, 29 Sep 2008 11:38:55 -0700 (PDT) Received: by 10.150.156.1 with HTTP; Mon, 29 Sep 2008 11:38:55 -0700 (PDT) Message-ID: Date: Mon, 29 Sep 2008 20:38:55 +0200 From: "Marcin Wisnicki" Sender: mwisnicki@gmail.com To: "Garrett Cooper" In-Reply-To: <7d6fde3d0809281908y510ca4f0s7b250d0036e4ac84@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080927140236.GA73536@lpthe.jussieu.fr> <7d6fde3d0809272111l6c89eb05i25538121afc7b479@mail.gmail.com> <7d6fde3d0809281908y510ca4f0s7b250d0036e4ac84@mail.gmail.com> X-Google-Sender-Auth: 2fa1d86005d28e27 Cc: freebsd-ports@freebsd.org Subject: Re: My interactive version of pkg_add X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 19:04:54 -0000 On Mon, Sep 29, 2008 at 04:08, Garrett Cooper wrote: > On Sun, Sep 28, 2008 at 2:28 PM, Marcin Wisnicki wrote: >> Would be nice if there was also INDEX.bz2. > > You'd need to talk to the release team about that if you don't agree Indeed > with that fact; INDEX.bz2 item is a portupgrade-ism, and has its own > collection of drawbacks in addition to it's pro's. > >> Also to be able to write an effective pkg upgrade tool one would need >> something like /usr/ports/MOVED. > > INDEX already addresses this. > Really? How? marcin@desktop:/usr/ports> tail -1 MOVED net/p5-Socket||2008-09-25|Removed because newer version is present inside perl5 marcin@desktop:/usr/ports> grep 'p5-Socket-[0-9]' INDEX-7 marcin@desktop:/usr/ports> So how would one know that it is safe to remove p5-Socket without consulting MOVED ? Unless I'm missing something there needs to be a MOVED file or ideally something like it that has pkgnames (with versions) for a binary package update tool to work. > FWIW, I'd get rid of the All/ indexing as it's just a mass > conglomeration of all of the other categories. > -Garrett >