Date: Wed, 22 May 2002 23:55:14 +0200 (CEST) From: Thierry Thomas <thierry@pompo.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/38433: deskutils/nag: fix deinstall-time trouble. Message-ID: <20020522215514.6855C7522@graf.pompo.net>
next in thread | raw e-mail | index | archive | help
>Number: 38433 >Category: ports >Synopsis: deskutils/nag: 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/nag modifies horde's registry, which couldn't be completely deinstalled. >How-To-Repeat: Install Nag, 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/38266 must be committed; then apply this patch: diff -urN /usr/ports/deskutils/nag.orig/Makefile /usr/ports/deskutils/nag/Makefile --- /usr/ports/deskutils/nag.orig/Makefile Sun May 19 01:55:28 2002 +++ /usr/ports/deskutils/nag/Makefile Wed May 22 23:19:01 2002 @@ -7,6 +7,7 @@ PORTNAME= nag PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= deskutils www MASTER_SITES= ftp://ftp.horde.org/pub/nag/tarballs/ DISTNAME= ${PORTNAME}-${PORTVERSION}-RC3 @@ -49,7 +50,11 @@ @${CP} -p ${FILESDIR}/httpd.conf.nag ${HORDE_INC} @${PERL} -pi -e "s:/home/httpd/html/horde/nag:${NAGDIR}:g" \ ${HORDE_INC}/httpd.conf.nag + @${CP} -p ${HORDEDIR}/config/registry.php \ + ${HORDEDIR}/config/registry.php.beforeNag @${PERL} -pi -e "s://UNCOMMENTWHENINSTNAG::" ${HORDEDIR}/config/registry.php + @${CP} -p ${HORDEDIR}/config/registry.php \ + ${HORDEDIR}/config/registry.php.afterNag .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for FILE in ${DOCS} diff -urN /usr/ports/deskutils/nag.orig/pkg-plist /usr/ports/deskutils/nag/pkg-plist --- /usr/ports/deskutils/nag.orig/pkg-plist Sat May 18 02:22:48 2002 +++ /usr/ports/deskutils/nag/pkg-plist Wed May 22 23:20:01 2002 @@ -137,3 +137,4 @@ @dirrm %%NAGDIR%% etc/horde/httpd.conf.nag %%PORTDOCS%%@dirrm share/doc/nag +@unexec if cmp -s %D/www/horde/config/registry.php %D/www/horde/config/registry.php.afterNag; then rm -f %D/www/horde/config/registry.php.afterNag; mv %D/www/horde/config/registry.php.beforeNag %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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020522215514.6855C7522>