From owner-freebsd-questions@FreeBSD.ORG Wed Jan 14 18:30:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A170610656E1 for ; Wed, 14 Jan 2009 18:30:46 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 386768FC27 for ; Wed, 14 Jan 2009 18:30:46 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 34344 invoked by uid 89); 14 Jan 2009 18:44:00 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 14 Jan 2009 18:44:00 -0000 Message-ID: <496E2F4C.6050409@ibctech.ca> Date: Wed, 14 Jan 2009 13:30:36 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Zbigniew Szalbot References: <94136a2c0901141003hf976918vee0e5c6c9262000a@mail.gmail.com> In-Reply-To: <94136a2c0901141003hf976918vee0e5c6c9262000a@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Performing installed ports upgrade / leaving some software intact 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, 14 Jan 2009 18:30:48 -0000 Zbigniew Szalbot wrote: > Dear all, > > I am now full into planning the 7.0-RELEASE to 7.1-RELEASE upgrade. I > know that at the end of the day it will also mean upgrading all ports > (portupgrade -af). I have one port - mailman - which I have customized > a lot and do not really want to upgrade it as it will most likely mean > I will have to hack a few files again. > > What options do I have so that I do not break the setup? > > I am thinking of: > > 1/ backing up the hacked files and restoring them later (but I will > overwrite the newer files with older ones perhaps breaking something). > 2/ making them read only (but the end result will be the same and > upgrading as root I will overwrite them anyway). > > And that would be it. My wisdom ends here. Is there any option to > survive the ports upgrade? :) > > If not, I guess I will just have to hack Mailman files again after the > upgrade... Can you verify that the original copy of the files you've hacked have indeed been modified in the upgraded version? Perhaps you could download the source for both the new version in ports, and the original version, and find out exactly what, if any changes have been made to your modified files. Steve