From owner-freebsd-ports@FreeBSD.ORG Fri Apr 7 22:05:19 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 1A89A16A405 for ; Fri, 7 Apr 2006 22:05:19 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from graf.pompo.net (graf.pompo.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7186D43D48 for ; Fri, 7 Apr 2006 22:05:18 +0000 (GMT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id D09501145F; Sat, 8 Apr 2006 00:05:15 +0200 (CEST) Date: Sat, 8 Apr 2006 00:05:15 +0200 From: Thierry Thomas To: "Marc G. Fournier" Message-ID: <20060407220515.GH30751@graf.pompo.net> Mail-Followup-To: "Marc G. Fournier" , Joe Marcus Clarke , freebsd-ports@freebsd.org References: <20060407032220.W947@ganymede.hub.org> <1144391457.23833.6.camel@shumai.marcuscom.com> <20060407133620.C947@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060407133620.C947@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 6.1-PRERELEASE i386 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: X-PGP: 0xC71405A2 Cc: freebsd-ports@freebsd.org Subject: Re: BEWARE upgrading Horde System 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, 07 Apr 2006 22:05:19 -0000 Le Ven 7 avr 06 à 18:38:31 +0200, Marc G. Fournier écrivait : > >The Horde config is backed up to conf.php.previous on every upgrade. > >Simply copying this file back to conf.php, checking permissions, then > >regenerating the config through the web is enough to get you right back > >where you left off (provided you have done any other required upgrade > >steps). > > Right, now go upgrade your IMP, or Turba, or Kronolith? And what about > changes to registry.php? > > All that should happen on an upgrade is the .dist files get upgraded, not > blindly overwrite any of the .php files that an admin may or may not have > modified ... that is why the base distribution has .dist files ... > > On an initial install, although it does add more work, putting the > original .php files in place is cool ... but, for instance, my motd.php > files for IMP is now gone, which had a bunch of programming in it to > redirect ppl coming in to various places ... now it has a 'Powered by > Horde' icon :( Which was your previous versions? All modified config/*.php should have been saved as config/*.php.previous, and a message should have been displayed: cp -p $cf $cf.previous echo "===> Backing-up..." echo "---> $cf has been saved ***" echo "---> as $cf.previous ***" Note: this is deactivated if PACKAGE_BUILDING is defined. -- Th. Thomas.