Subject: Re: make package but not if it's installed
To: Thomas Klausner <wiz@netbsd.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 04/03/2003 12:00:12
On Thu, 3 Apr 2003, Thomas Klausner wrote:
> On Wed, Apr 02, 2003 at 09:33:11PM -0500, Andrew Brown wrote:
> > is there an analog to this that can be used to build/install/package a
> > package, or does nothing if the package is already installed?
>
> The code that does this currently uses cookies in the work directory
> for finding out if building/installing/packaging already happened.
>
> What would you want to have for installed/packaged packages?
> pkg_info -e should answer the first question, and ls the second :)
And there is some code in the bulk build corner that checks if the binary
pkg is newer than any of the pkgs' files and required binary pkgs. If
not, the binary pkg is rebuilt.
- Hubert
--
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/