From owner-freebsd-ports@FreeBSD.ORG Sat Aug 12 09:39:05 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53B2A16A4DA; Sat, 12 Aug 2006 09:39:05 +0000 (UTC) (envelope-from prvs=ohartman=37278eb88@uni-mainz.de) Received: from mailgate02.zdv.uni-mainz.de (mailgate02.zdv.Uni-Mainz.DE [134.93.178.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84C1143D45; Sat, 12 Aug 2006 09:39:03 +0000 (GMT) (envelope-from prvs=ohartman=37278eb88@uni-mainz.de) Received: from exfront02.zdv.uni-mainz.de ([134.93.176.56]) by mailgate02.zdv.uni-mainz.de with ESMTP; 12 Aug 2006 11:39:02 +0200 Received: from mail.uni-mainz.de ([134.93.176.56]) by exfront02.zdv.Uni-Mainz.DE with Microsoft SMTPSVC(6.0.3790.1830); Sat, 12 Aug 2006 11:39:02 +0200 Received: from [192.168.1.128] ([85.178.49.213] RDNS failed) by mail.uni-mainz.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Sat, 12 Aug 2006 11:39:02 +0200 Message-ID: <44DDA1AD.10202@mail.uni-mainz.de> Date: Sat, 12 Aug 2006 11:38:53 +0200 From: "O. Hartmann" User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Aug 2006 09:39:02.0612 (UTC) FILETIME=[253D6140:01C6BDF3] Cc: Subject: automatic override of individual set paths in ports 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: Sat, 12 Aug 2006 09:39:05 -0000 Hello. On our lab's and my private FreeBSD box I installed several applications, in particular php-5.1.4, apache 2.2.3 and MySQL 5.0.24, in separate directories targeting to separate software partitions. MySQL is installed via ports-collection, but I always must change PREFIX and the DATABASEDIR manually to point to the right directory. PHP and Apache is installed by meself without ports support. Keeping track on updates and security issues I would like to use the portupgrade facilities, but everytime I fetch an update or new version, my once setup prefixes and directory settings get lost and I need to do this by hand again (concerns MySQL). This prevents me installing and updating things automatically and this bothers me. The point is that I do not want some specific ports in the regular /usr/local pathways, especially MySQL, PHP and Apache. I need separate pathes. I would like to do automatic updates via portsnap/portupgrade, but I need to set PREFIX and DBDIR permanently for specific ports, not being overridden by the next portsnap fetch and upgrade. Can you give hints, tips or just a 'no-go' in this concern? Thanks a lot, Oliver