From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 3 15:26:21 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03D581065677 for ; Tue, 3 Jun 2008 15:26:21 +0000 (UTC) (envelope-from florent.thoumie@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.178]) by mx1.freebsd.org (Postfix) with ESMTP id B63458FC1D for ; Tue, 3 Jun 2008 15:26:20 +0000 (UTC) (envelope-from florent.thoumie@gmail.com) Received: by el-out-1112.google.com with SMTP id m34so206465ele.8 for ; Tue, 03 Jun 2008 08:26:20 -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=Oufd0lgyxMWXfE3IeVsrCPw9r0wAEUnlz4BfwVNrIhI=; b=tMbEkKzNMHJAAeMy5lnF5HY1ancU3lkyNqM8QB0kXJGtvPRks466NxCfDgGpRQiZo2o71GVaON7HeR2hbynGJDXogEws1uqVgosQz10IQSucovF52IdvaOHAzvcek3AYTmnH487zr2D2k+lrqStbcWvwrkVxL3ythNBsN2YWFuc= 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=G8mCiOWfBLSI4siodKqhFL8HFsYKLjrUiIyK31B1MgKf+5LFwbnwKzG/f1zFvQmPbo9LkCwj1g5NXbRQOS8T8nba/y/EEWSg3lLhREX7ISsxE7XUDE6ezLKlb5GyuU6eA3PZseMi8KHDHwRLR97pS9KWSNapJv5t2GqQ4Sjej5I= Received: by 10.114.124.1 with SMTP id w1mr4032241wac.57.1212506779470; Tue, 03 Jun 2008 08:26:19 -0700 (PDT) Received: by 10.114.60.15 with HTTP; Tue, 3 Jun 2008 08:26:19 -0700 (PDT) Message-ID: Date: Tue, 3 Jun 2008 16:26:19 +0100 From: "Florent Thoumie" Sender: florent.thoumie@gmail.com To: "Philip M. Gollucci" In-Reply-To: <4841BDA9.5090007@p6m7g8.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4841BDA9.5090007@p6m7g8.com> X-Google-Sender-Auth: 8d9ab9b8e35d4d9e X-Mailman-Approved-At: Tue, 03 Jun 2008 16:57:22 +0000 Cc: ports@freebsd.org, hackers@freebsd.org Subject: Re: CFT: adding configuration file support to pkg_install X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2008 15:26:21 -0000 On Sat, May 31, 2008 at 10:05 PM, Philip M. Gollucci wrote: > Florent Thoumie wrote: >> >> This adds support for /etc/pkg.conf configuration file. >> Also, this adds support for naive multi-site package fetching. >> >> Any comment welcome (and appreciated). >> >> Patch is here: >> http://people.freebsd.org/~flz/local/ports/pkg-install-config.diff >> Tarball is here: >> http://people.freebsd.org/~flz/local/ports/pkg-install-0a553aac.tar.bz2 > > Hi flz, > > I don't quite get what the end goal is. It looks like /etc/pkg.conf is > duplicating a lot of things already in /usr/ports/Mk/bsd.port.mk. > > Would not it be better to just have the pkg_install tools read that file > instead ? > > I probably missed all the back story here, so feel free to put me in my > place. Packages can be used without a full tree (as Kris mentioned). It can be argued that using only pkg_install to maintain packages is a PITA, but it's still possible. The fact that there's no proper tool part of or on top of pkg_install to do it is irrelevant. > The multi-site package fetching is definitely something I'm interested it, > but I also figured it would just iterate over the values in PACKAGESITE > > PACKAGESITE=ftp://foo/stdpath/base/Latest/ ftp://foo/stdpath/www/Latest > > where base would have things like sudo, bash, vim, etc... and could be used > on multiple computers. > > www would have things like apache22 mod_X and would be used on 'www' class > machines. I'm not sure what behaviour you're describing there. -- Florent Thoumie flz@FreeBSD.org FreeBSD Committer