From owner-freebsd-ports@FreeBSD.ORG Fri Nov 11 19:30:43 2005 Return-Path: X-Original-To: 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 71C4A16A41F; Fri, 11 Nov 2005 19:30:43 +0000 (GMT) (envelope-from john@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BBAD43D45; Fri, 11 Nov 2005 19:30:43 +0000 (GMT) (envelope-from john@jnielsen.net) Received: from localhost (ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id jABJUgZ3095717; Fri, 11 Nov 2005 11:30:42 -0800 (PST) (envelope-from john@jnielsen.net) From: John Nielsen To: thierry@freebsd.org Date: Fri, 11 Nov 2005 14:30:20 -0500 User-Agent: KMail/1.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511111430.20891.john@jnielsen.net> X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on ns1.jnielsen.net X-Virus-Status: Clean Cc: ports@freebsd.org Subject: horde ports deinstall bug 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, 11 Nov 2005 19:30:43 -0000 The pkg-deinstall script used by many of the horde ports (including but not limited to imp, kronolith, gollem, ingo, mnemo, nag and turba) does not respect LHORDEDIR. As a result, the uninstall does not back up config files if LHORDEDIR was set to anything other than the default value. A portupgrade will therefore destroy any existing configuration that was not manually backed up. A little sed trickery is probably all that would be needed to correct this, but being only an amateur porter I'm unsure where/how to write this up for a patch. I'd like to see this fixed, and I'd be happy to submit a PR (with patches if I get time to figure out how it all works exactly) if this isn't already a quick fix for someone more experienced. Thanks, JN