From owner-freebsd-ports@FreeBSD.ORG Fri Apr 13 06:26:05 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A617B16A402 for ; Fri, 13 Apr 2007 06:26:05 +0000 (UTC) (envelope-from dirk.meyer@dinoex.sub.org) Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [194.45.71.2]) by mx1.freebsd.org (Postfix) with ESMTP id EF6C713C4B0 for ; Fri, 13 Apr 2007 06:26:04 +0000 (UTC) (envelope-from dirk.meyer@dinoex.sub.org) Received: from uucp.dinoex.sub.de (dinoex@uucp.dinoex.sub.de [194.45.71.2] (may be forged)) by uucp.dinoex.sub.de (8.14.0/8.14.0) with ESMTP id l3D5t0sv013070; Fri, 13 Apr 2007 07:55:15 +0200 (CEST) (envelope-from dirk.meyer@dinoex.sub.org) X-MDaemon-Deliver-To: Received: from build.dinoex.sub.de (dinoex@localhost) by uucp.dinoex.sub.de (8.14.0/8.14.0/Submit) with BSMTP id l3D5t02x013056; Fri, 13 Apr 2007 07:55:00 +0200 (CEST) (envelope-from dirk.meyer@dinoex.sub.org) To: dcasey@debtresolve.com (Dan Casey), ports@FreeBSD.org Message-ID: From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Organization: privat Date: Fri, 13 Apr 2007 07:51:37 +0200 X-Mailer: Dinoex 1.79 References: <461275DC.20408@debtresolve.com> X-Gateway: ZCONNECT build.dinoex.sub.de [UNIX/Connect 0.94] X-PGP-Fingerprint: 44 16 EC 0A D3 3A 4F 28 8A 8A 47 93 F1 CF 2F 12 X-Copyright: (C) Copyright 2001 by Dirk Meyer -- All rights reserved. X-PGP-Key-Avail: mailto:pgp-public-keys@keys.de.pgp.net Subject:GET 0x331CDA5D X-ZC-VIA: 20070413000000S+2@dinoex.sub.org X-Milter: Spamilter (Reciever: uucp.dinoex.sub.de; Sender-ip: 194.45.71.2; Sender-helo: uucp.dinoex.sub.de; ) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (uucp.dinoex.sub.de [194.45.71.2]); Fri, 13 Apr 2007 07:55:17 +0200 (CEST) Cc: Subject: Re: Ports tree infrastructure X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 06:26:05 -0000 Hallo Dan Casey, > I am setting up a single server as a 'build box' for our freebsd > servers. We want to build our own packages because > 1. we may need to compile certain ports with different flags then > freebsd chooses. You can cutomize the build with /etc/make.conf, or createing a Makefile.local for the port, or create a slave port for yourself. For details read my paper: http://www.dinoex.de/schulungen/package-en.html > 2. We want to update ports only when needed. Ie: Unless we need > something in a new version of a port, or unless there is a security > hole, we want to keep the old version. > > What I'm setting up is a regular ports tree (/usr/ports) which is Not > updated. Then a second tree /usr/local/current-ports which is updated > daily with portsnap. > > When I want to upgrade a port, I would copy it over from the current > ports tree. I'm not sure what to do about the INDEX files, which is > what i had trouble finding documentation on. Als long as your ports tree is working, my scripts dont care for INDEX. http://people.freebsd.org/~dinoex/batch/README > This looks like it is going to be a pain to maintain this. Are there > any ports or scripts that pointy hat uses that could be helpful in my > type of environment. Are there any better solutions? I am confident that it is much better to build a consistent set of packages on your build machine, and install/update the other machines with your packages. kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org] http://people.freebsd.org/~dinoex/errorlogs/