From owner-freebsd-ports Wed May 22 15:10:43 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 965E137B413 for ; Wed, 22 May 2002 15:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4MMA1935358; Wed, 22 May 2002 15:10:01 -0700 (PDT) (envelope-from gnats) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by hub.freebsd.org (Postfix) with ESMTP id 1C2E937B40C for ; Wed, 22 May 2002 15:08:39 -0700 (PDT) Received: from graf.pompo.net (lyon-4-a7-62-147-51-67.dial.proxad.net [62.147.51.67]) by postfix3-2.free.fr (Postfix) with ESMTP id A6B441806A for ; Thu, 23 May 2002 00:08:37 +0200 (CEST) Received: by graf.pompo.net (Postfix, from userid 1001) id B9CA67528; Thu, 23 May 2002 00:00:59 +0200 (CEST) Message-Id: <20020522220059.B9CA67528@graf.pompo.net> Date: Thu, 23 May 2002 00:00:59 +0200 (CEST) From: Thierry Thomas Reply-To: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/38431: deskutils/kronolith: fix deinstall-time trouble. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38431 >Category: ports >Synopsis: deskutils/kronolith: fix deinstall-time trouble. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed May 22 15:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.6-PRERELEASE i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Sat May 4 07:26:38 CEST 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386 >Description: deskutils/kronolith modifies horde's registry, which couldn't be completely deinstalled. >How-To-Repeat: Install Kronolith, deinstall it; then deinstall mail/imp3, mail/turba and www/horde2. >Fix: Remark: this PR bumps PORTREVISION, not for this fix, but for the upgrade to RC3 (forgotten in previous PR). Pre-requisite: PR ports/38353 must be committed; then apply this patch: diff -urN /usr/ports/deskutils/kronolith.orig/Makefile /usr/ports/deskutils/kronolith/Makefile --- /usr/ports/deskutils/kronolith.orig/Makefile Mon May 20 19:43:12 2002 +++ /usr/ports/deskutils/kronolith/Makefile Wed May 22 23:35:29 2002 @@ -7,6 +7,7 @@ PORTNAME= kronolith PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= deskutils www MASTER_SITES= ftp://ftp.horde.org/pub/kronolith/tarballs/ DISTNAME= ${PORTNAME}-${PORTVERSION}-RC3 @@ -61,8 +62,12 @@ @${CP} -p ${FILESDIR}/httpd.conf.kronolith ${HORDE_INC} @${PERL} -pi -e "s:/home/httpd/html/horde/kronolith:${KRONOLITHDIR}:g" \ ${HORDE_INC}/httpd.conf.kronolith + @${CP} -p ${HORDEDIR}/config/registry.php \ + ${HORDEDIR}/config/registry.php.beforeKronolith @${PERL} -pi -e "s://UNCOMMENTWHENINSTKRONOLITH::" \ ${HORDEDIR}/config/registry.php + @${CP} -p ${HORDEDIR}/config/registry.php \ + ${HORDEDIR}/config/registry.php.afterKronolith .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for FILE in ${DOCS} diff -urN /usr/ports/deskutils/kronolith.orig/pkg-plist /usr/ports/deskutils/kronolith/pkg-plist --- /usr/ports/deskutils/kronolith.orig/pkg-plist Mon May 20 19:55:27 2002 +++ /usr/ports/deskutils/kronolith/pkg-plist Wed May 22 23:36:38 2002 @@ -177,3 +177,4 @@ @dirrm %%KRONOLITHDIR%% etc/horde/httpd.conf.kronolith %%PORTDOCS%%@dirrm share/doc/kronolith +@unexec if cmp -s %D/www/horde/config/registry.php %D/www/horde/config/registry.php.afterKronolith; then rm -f %D/www/horde/config/registry.php.afterKronolith; mv %D/www/horde/config/registry.php.beforeKronolith %D/www/horde/config/registry.php; fi >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message