From owner-cvs-all Mon Sep 9 12:44: 3 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA30E37B401; Mon, 9 Sep 2002 12:43:54 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2340A43E65; Mon, 9 Sep 2002 12:43:41 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from freefall.freebsd.org (sobomax@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g89JhUJU086805; Mon, 9 Sep 2002 12:43:30 -0700 (PDT) (envelope-from sobomax@freefall.freebsd.org) Received: (from sobomax@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g89JhU0V086804; Mon, 9 Sep 2002 12:43:30 -0700 (PDT) Message-Id: <200209091943.g89JhU0V086804@freefall.freebsd.org> From: Maxim Sobolev Date: Mon, 9 Sep 2002 12:43:30 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pkg_install/info info.h main.c pkg_info.1 src/usr.sbin/pkg_install/lib lib.h pkgwrap.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sobomax 2002/09/09 12:43:30 PDT Modified files: usr.sbin/pkg_install/info pkg_info.1 info.h main.c usr.sbin/pkg_install/lib lib.h Added files: usr.sbin/pkg_install/lib pkgwrap.c Log: Introduce notion of the package tools revision and allow to wrap all tools included into pkg_install according to the content of /var/db/pkg_install.conf file, which specifies version and alternative location of the tools. Format of the said file is very simple: one line which specifies revision of the alternative version of the tools and their location separated by space, i.e.: 20030102 /usr/local/sbin This would allow bsd.port.mk to install and use up to date version of tools on older system from ports. Also add new `-P' flag to pkg_info, which causes it to report currently installed version of package tools. Discussed with: will Revision Changes Path 1.24 +17 -16 src/usr.sbin/pkg_install/info/info.h 1.41 +12 -1 src/usr.sbin/pkg_install/info/main.c 1.45 +3 -1 src/usr.sbin/pkg_install/info/pkg_info.1 1.46 +10 -0 src/usr.sbin/pkg_install/lib/lib.h 1.1 +89 -0 src/usr.sbin/pkg_install/lib/pkgwrap.c (new) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message