From owner-freebsd-ports Mon Sep 11 20: 1:55 2000 Delivered-To: freebsd-ports@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id 7DED537B424; Mon, 11 Sep 2000 20:01:45 -0700 (PDT) Received: from C992631-A.pinol1.sfba.home.com (C992631-A.pinol1.sfba.home.com [24.12.58.155]) by shale.csir.co.za (8.9.3/8.9.3) with ESMTP id FAA82488; Tue, 12 Sep 2000 05:01:30 +0200 (SAT) (envelope-from reg@shale.csir.co.za) Received: (from reg@localhost) by C992631-A.pinol1.sfba.home.com (8.11.0/8.11.0) id e8C31Hl86105; Mon, 11 Sep 2000 20:01:17 -0700 (PDT) (envelope-from reg) Date: Mon, 11 Sep 2000 20:01:17 -0700 From: Jeremy Lea To: freebsd-ports@freebsd.org, freebsd-current@freebsd.org Cc: Satoshi Asami , "Jordan K. Hubbard" , Sheldon Hearn , bmah@freebsd.org, Maxim Sobolev Subject: Please review: New pkg_which version and bsd.port.mk patch. Message-ID: <20000911200117.H39816@shale.csir.co.za> Mail-Followup-To: Jeremy Lea , freebsd-ports@freebsd.org, freebsd-current@freebsd.org, Satoshi Asami , "Jordan K. Hubbard" , Sheldon Hearn , bmah@freebsd.org, Maxim Sobolev Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, (Once again cross posted since -ports is the major consumer). At http://people.freebsd.org/~reg/ there is a new patch for "pkg_which", now implemented as two new options for pkg_info. Please review this for style and silly things... Also, if you download the bsd.port.mk patch from the page, you can see a new package-depends target, and a check-plist-conflicts target. The new package-depends target is not only about three times faster, but it also doesn't require any Makefiles for depends (so you can just build with the one port extracted, if you have already installed depends). It also has the feature of registering with the correct package (so you'll not see errors about missing +REQUIRED_BY for ghostscript{5,55,6}). This can be used for the XFree86 3.3.6/4.0 and for OpenMotif/LessTif, etc. check-plist-conflicts could be inserted before pre-install to test if you are going to overwrite files. It could also be used in reverse to check for updates - if you have a new package (say gtk-1.2.8) and it's PLIST conflicts with some installed port (say gtk-1.2.3), then this is a good choice for what we want to upgrade. Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message