From owner-freebsd-arch Tue Sep 10 6:57:44 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C651F37B40A; Tue, 10 Sep 2002 06:57:34 -0700 (PDT) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDFA143E8A; Tue, 10 Sep 2002 06:57:13 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.11.6/8.11.6) with ESMTP id g8ADunS65166; Tue, 10 Sep 2002 16:56:50 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.12.5/8.12.5) with ESMTP id g8ADuj1X002617; Tue, 10 Sep 2002 16:56:45 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3D7DFA6B.566DC85B@FreeBSD.org> Date: Tue, 10 Sep 2002 16:58:03 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Will Andrews Cc: "Simon 'corecode' Schubert" , Wes Peters , ports@FreeBSD.org, arch@FreeBSD.org Subject: Re: package tools into ports/ (was: Re: Bzipped?) References: <20020901142653.A32415@capable.rogards.com> <20020901191937.GI87971@leviathan.inethouston.net> <20020902103215.36ae8e3b.corecode@corecode.ath.cx> <20020902085654.GH2072@procyon.firepipe.net> <3D7445D3.DAA2C9B9@softweyr.com> <20020903100258.068fb3ab.corecode@corecode.ath.cx> <20020903121413.GN2072@procyon.firepipe.net> <20020903130237.GB8010@vega.vega.com> <20020903173228.GO2072@procyon.firepipe.net> <20020903221613.GC9384@vega.vega.com> <20020903221800.GE48750@procyon.firepipe.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Will Andrews wrote: > > On Wed, Sep 04, 2002 at 01:16:13AM +0300, Maxim Sobolev wrote: > > I could take src/usr.sbin/pkg_install part, leaving bsd.port.mk and > > actual pkg_tools (pkg_install?) port to you. > > OK. I did my part, now it's your turn. I'll toss few ideas for consideration: 1. Hypothetic pkg_install port should have sources in place, so that it is available right after cvsup. 2. Once installed, the port shouldn't register itself with /var/db/pkg, becase (a) we don't want zillion versions of pkg_install-xx.yy.zz cluttering /var/db/pkg and (b) no installed package should depend on a specific pkg_install package - it's ports only thing. I'd suggest to separate pkg_install version checking/updating routine into special target in bsd.port.mk and put this target even before pre-everything in _FETCH_SEQ. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message