From owner-freebsd-stable@FreeBSD.ORG Sun Mar 6 18:09:02 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 545C61065674 for ; Sun, 6 Mar 2011 18:09:02 +0000 (UTC) (envelope-from cliftonr@oz.volcano.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 0BDDF8FC1B for ; Sun, 6 Mar 2011 18:09:01 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=+c36koQ5Dcj/1qolKHjtkYAGXvrVJRRiKMp+84F5sLg= c=1 sm=0 a=-dGJ4BceWFsA:10 a=kj9zAlcOel0A:10 a=G5OLwwqwWgs+1dCEPNHTSw==:17 a=jb__rZ8GAAAA:8 a=H9iEQFZ8AAAA:8 a=H0bb8E1zvDuctSx5v9MA:9 a=-YuvZ_SyO_YwUxO2Kp4A:7 a=xvjwrvJ942Zsd8X5qeihICpcFG4A:4 a=CjuIK1q_8ugA:10 a=sHp_62vNEjwA:10 a=fZFZujrNNEQA:10 a=G5OLwwqwWgs+1dCEPNHTSw==:117 X-Cloudmark-Score: 0 X-Originating-IP: 75.80.196.236 Received: from [75.80.196.236] ([75.80.196.236:42078] helo=oz.volcano.org) by hrndva-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 6E/00-24070-CBDC37D4; Sun, 06 Mar 2011 18:09:01 +0000 Received: by oz.volcano.org (Postfix, from userid 1001) id D8C2650824; Sun, 6 Mar 2011 08:08:59 -1000 (HST) Date: Sun, 6 Mar 2011 08:08:59 -1000 From: Clifton Royston To: Greg Byshenk Message-ID: <20110306180859.GA18399@lava.net> Mail-Followup-To: Greg Byshenk , Yue Wu , ml-freebsd-stable References: <20110305150436.GA2175@fbsd.t60.cpu> <20110305154817.GQ30336@core.byshenk.net> <4D72A069.90104@FreeBSD.org> <20110306010015.GC4160@fbsd.t60.cpu> <20110306011433.GA21857@fbsd.t60.cpu> <20110306020917.GA90894@fbsd.t60.cpu> <20110306140628.GS30336@core.byshenk.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110306140628.GS30336@core.byshenk.net> User-Agent: Mutt/1.4.2.3i Cc: ml-freebsd-stable , Yue Wu Subject: Re: Question about packages installed via `pkg_add -r` X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 18:09:02 -0000 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