From owner-freebsd-current@FreeBSD.ORG Fri Mar 25 14:15:13 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C6A0106564A; Fri, 25 Mar 2011 14:15:13 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id EB24E8FC0A; Fri, 25 Mar 2011 14:15:12 +0000 (UTC) Received: by iyj12 with SMTP id 12so1410794iyj.13 for ; Fri, 25 Mar 2011 07:15:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type; bh=nBULJhR38e8GSfbFlpTplnIi5jp4wpDS0fb0QAMqadc=; b=swMZtHCXWEpjIKWDKKGfHF5EVhity71DrXDprFyehJmcWJNzPcUe518R2xLOtjq4w+ Niyxsoqd3Pjj0hVOkPpPqeVySz1mSZVs/KDyW/nYUvxt/7S4Q6dUnh0Wc0/Mt1+qK3GB OBW+m+ggk8JISzDl3s/iLTuBH3w3nKwHuyC5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=isSkVJY6WHpDCtT0+DhBImeAcvJU1ZE1vjMkTTq5S6H3RcBbK6WxUMW5PXMrpPhh// fj7UpSfQ/BXrFRaKAieEKFEj+bhk7MsNc+E2mUNu0TsFxfdjKjv4bgPawjIT+rKTl8kv RxYlJwgO+fXGz2ockFzgT720y5x7Fn9KziTwY= Received: by 10.231.148.17 with SMTP id n17mr854134ibv.85.1301062512072; Fri, 25 Mar 2011 07:15:12 -0700 (PDT) MIME-Version: 1.0 Sender: baptiste.daroussin@gmail.com Received: by 10.231.182.76 with HTTP; Fri, 25 Mar 2011 07:14:52 -0700 (PDT) In-Reply-To: <20110325150653.21132ej6abxmjpgk@webmail.leidinger.net> References: <20110325101111.GA36840@azathoth.lan> <20110325150653.21132ej6abxmjpgk@webmail.leidinger.net> From: Baptiste Daroussin Date: Fri, 25 Mar 2011 15:14:52 +0100 X-Google-Sender-Auth: UdOeOCb25mJYduHPZn6j8N2-kj0 Message-ID: To: Alexander Leidinger Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org, hackers@freebsd.org, current@freebsd.org Subject: Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 14:15:13 -0000 2011/3/25 Alexander Leidinger : > Quoting Baptiste Daroussin (from Fri, 25 Mar 2011 > 11:11:11 +0100): > >> pkgng is a binary package manager written from scratch for FreeBSD. > > I didn't had a look at it, just some comments about some parts you > explained. > >> features supported are or will be : > >> - the register command can analyse elf files when registering a new port >> to >> discover forgotten dependencies if necessary. (done in alpha using libelf) > > This will probably fail if LD_LIBRARY_PATH is used, or if we are installing > linuxulator ports. > this isn't activated by default, and if activated is only intended to work on freebsd elf files. This is done to workaround some bugguy ports not to be used in production, pkg register shows in warning in that case so that user/maintainers are warned they have something to fix. >> >> - a special architecture "all" allows to specify when a package can be >> used >> on every architecture. (not done yet) > > What if a package is able to install on a subset, e.g. the linuxulator ports > are for amd64 and i386? > No clue for that at the moment but we are open to suggestions. > What about DB corruption/loss? Do you keep the /var/db/pkg//xxx > files even with pkgng and only use the DB as a way to speed up some work (so > the DB corruption just requires to run pkg2ng), or are you lost of the DB is > lost? > Nothing is done about DB corruption/loss, I am not sure we need to do something. Maybe. Currently a filesystem corruption/loss on /var/db/pkg would do the same. but it is sqlite so we can perhaps provide a way to get compressed dump so user can periodically backup their database. regards, Bapt