From owner-freebsd-questions@FreeBSD.ORG Wed Sep 13 14:49:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D277616A40F for ; Wed, 13 Sep 2006 14:49:13 +0000 (UTC) (envelope-from jhorne@dfwlp.org) Received: from zeus.dfwlp.com (zeus.dfwlp.com [208.11.134.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3C2F43D46 for ; Wed, 13 Sep 2006 14:49:11 +0000 (GMT) (envelope-from jhorne@dfwlp.org) Received: from webmail.dfwlp.org (localhost [127.0.0.1]) by zeus.dfwlp.com (8.13.6/8.13.6) with ESMTP id k8DEn4Nt038470 for ; Wed, 13 Sep 2006 09:49:04 -0500 (CDT) (envelope-from jhorne@dfwlp.org) Received: from 167.246.36.14 (SquirrelMail authenticated user jhorne) by webmail.dfwlp.org with HTTP; Wed, 13 Sep 2006 09:49:04 -0500 (CDT) Message-ID: <24832.167.246.36.14.1158158944.squirrel@webmail.dfwlp.org> Date: Wed, 13 Sep 2006 09:49:04 -0500 (CDT) From: "Jonathan Horne" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.5 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on zeus.dfwlp.com Subject: package-recursive and methods to quickly rebuild your computer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 14:49:13 -0000 so ive been playing with my buildserver, and working out the methodology to quickly recover a computer to operational mode. yesterday, i took my buildserver, and began with a 'pkg_delete -a', and then updated my ports tree. i then proceeded to visit each port directory of things my production server runs, and did a 'make install package-recursive', until had a /usr/ports/packages/ directory that was very full of what appears to be invididual packages of each of the things i need on my server. next, i took a test box, and mounted /usr/ports from my build server to this test box, changed to /usr/ports/packages/All, and did a 'pkg_add -v *', and watched as what appeared to be each package this directory install onto my test box. the first thing i decided to test, was apache (2.0.59). apache would fire up, but php would not work well enough to load squirrelmail or something like phpsysinfo. phpsysinfo told me that the xml and pcre exentions are required, but 'pkg_info|grep php5' told me that these extensions were installed. if i do a plain 'pkg_info' on both my build server and test box, they are line for line the same, but some things are obvously not working. first, am i going about this project in the wrong direction? second, what is the proper way to use the packages that have been built from ports, and how do they differ from actually building the port on a system? thanks, jonathan