From owner-freebsd-ports@FreeBSD.ORG Fri Nov 11 20:39:06 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 C473316A41F for ; Fri, 11 Nov 2005 20:39:06 +0000 (GMT) (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 30A0743D45 for ; Fri, 11 Nov 2005 20:39:05 +0000 (GMT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 5540F80BD; Fri, 11 Nov 2005 21:38:58 +0100 (CET) Date: Fri, 11 Nov 2005 21:38:58 +0100 From: Thierry Thomas To: John Nielsen Message-ID: <20051111203858.GC87413@graf.pompo.net> Mail-Followup-To: John Nielsen , ports@freebsd.org References: <200511111430.20891.john@jnielsen.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <200511111430.20891.john@jnielsen.net> X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 6.0-STABLE i386 Organization: Kabbale Eros X-PGP: 0xC71405A2 Cc: ports@freebsd.org Subject: Re: 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 20:39:06 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Le Ven 11 nov 05 =E0 20:30:20 +0100, John Nielsen =E9crivait=A0: > The pkg-deinstall script used by many of the horde ports (including but n= ot=20 > limited to imp, kronolith, gollem, ingo, mnemo, nag and turba) does not= =20 > respect LHORDEDIR. As a result, the uninstall does not back up config fi= les=20 > if LHORDEDIR was set to anything other than the default value. A portupg= rade=20 > will therefore destroy any existing configuration that was not manually= =20 > backed up. You're right, they only respect PKG_PREFIX. > A little sed trickery is probably all that would be needed to correct thi= s,=20 > but being only an amateur porter I'm unsure where/how to write this up fo= r a=20 > patch. >=20 > I'd like to see this fixed, and I'd be happy to submit a PR (with patches= if I=20 > get time to figure out how it all works exactly) if this isn't already a= =20 > quick fix for someone more experienced. It's not very difficult; Horde does it: pkg-deinstall is defined as SUB_FILES, and the needed strings are replaced by SUB_LIST. There is no more pkg-deinstall but a files/pkg-deinstall.in. If you don't succeed in writing these patches, let me know, I shall do it. Anyway, thanks for the report! --=20 Th. Thomas. --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDdQFic95pjMcUBaIRAmgxAJ9Jww/YnUO+159IK1a2fTm37E95UQCgtXAs CrQFSh1oi6Ab3dwoGIWzb3A= =KbBe -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--