Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2002 09:02:41 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Ceri Davies <setantae@submonkey.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: make package without install
Message-ID:  <20020904080241.GA25988@happy-idiot-talk.infracaninophi>
In-Reply-To: <20020903222039.GA2221@submonkey.net>
References:  <20020903222039.GA2221@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 03, 2002 at 11:20:39PM +0100, Ceri Davies wrote:
 
> Easy question for someone who knows:
> 
> How do I "make package" without installing a port ?

Alas, to create a package, you've got to build and install the port
somewhere.  You could try setting the PREFIX to somewhere like
/var/tmp to avoid interfering with your live filesystems:

    make PREFIX=/var/tmp package

but that probably means you'ld have to redirect the package back to
the correct place when you install it:

    pkg_add -p /usr/local /path/to/your/package

and it does depend on the port being PREFIX clean.

Otherwise, you could do what the portbuild system does and go the
whole hog: set up a jailed environment as in the jail(8) man page
(including a clean install of the base system and a copy of the ports
tree) and do all your package builds in the jail environment.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020904080241.GA25988>