Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Mar 2011 08:08:59 -1000
From:      Clifton Royston <cliftonr@lava.net>
To:        Greg Byshenk <freebsd@byshenk.net>
Cc:        ml-freebsd-stable <freebsd-stable@freebsd.org>, Yue Wu <vanopen@gmail.com>
Subject:   Re: Question about packages installed via `pkg_add -r`
Message-ID:  <20110306180859.GA18399@lava.net>
In-Reply-To: <20110306140628.GS30336@core.byshenk.net>
References:  <20110305150436.GA2175@fbsd.t60.cpu> <20110305154817.GQ30336@core.byshenk.net> <4D72A069.90104@FreeBSD.org> <20110306010015.GC4160@fbsd.t60.cpu> <AANLkTi=_K=q3O3jZZLeDjj9AsckWzu9Sz-Ju7kxhknn9@mail.gmail.com> <20110306011433.GA21857@fbsd.t60.cpu> <AANLkTinhdiEPxyvBGDGWS%2B3Y%2B69YzW7_9NeUs4B2gVTT@mail.gmail.com> <20110306020917.GA90894@fbsd.t60.cpu> <20110306140628.GS30336@core.byshenk.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 06, 2011 at 03:06:28PM +0100, Greg Byshenk wrote:
> On Sun, Mar 06, 2011 at 10:09:17AM +0800, Yue Wu wrote:
> > ports with portmaster makes pkg installation mangement be much more
> > flexiable and more friendly than package by pkg_add -r on FreeBSD,
> > except that ports take much more time and resource. After trying with
> > packages, I think I have to stick to ports.
> 
> As suggested by some of the other comments, you can choose to use
> portmaster with packages, if you prefer not to do local builds.
> 
> In my own case, I use ports and packages, via portmaster. That is,
> I use one machine to build locally-configured packages (in some 
> cases with non-standard options), and then install them on the rest
> of the machines as packages. It works very well in my environment.

  I second this approach if you are managing more than one machine. 
Once I got this approach working, we used to do this when I was working
on a spam filtering solution, and also at my ISP.  It greatly
simplifies and reduces the time spent managing a multi-machine
environment; it works even better when you're handling steps like
deploying from a test environment into a production environment.  You
can even go a step further to define and create your own packages
containing sets of configuration files you want to deploy in
conjunction with the binaries.

  -- Clifton

-- 
    Clifton Royston  --  cliftonr@iandicomputing.com / cliftonr@lava.net
       President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services



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