FreeBSD Bugzilla – Attachment 22051 Details for
Bug 38392
mail/imp3: fix deinstall-time trouble.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.28 KB, created by
Thierry Thomas
on 2002-05-21 22:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2002-05-21 22:50:01 UTC
Size:
2.28 KB
patch
obsolete
>diff -urN /usr/ports/mail/imp3.orig/Makefile /usr/ports/mail/imp3/Makefile >--- /usr/ports/mail/imp3.orig/Makefile Sat May 18 23:37:50 2002 >+++ /usr/ports/mail/imp3/Makefile Tue May 21 22:55:55 2002 >@@ -7,6 +7,7 @@ > > PORTNAME= imp > PORTVERSION= 3.1 >+PORTREVISION= 1 > CATEGORIES= mail www > MASTER_SITES= ftp://ftp.horde.org/pub/imp/tarballs/ > DISTNAME= ${PORTNAME}-${PORTVERSION}-RC3 >@@ -237,6 +238,9 @@ > ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ > fi > .endfor >+ @${CP} -p ${HCONFDIR}/mime_drivers.php ${HCONFDIR}/mime_drivers.php.beforeIMP >+ @${CP} -p ${HCONFDIR}/registry.php ${HCONFDIR}/registry.php.beforeIMP >+ @${CP} -p ${TURBADIR}/config/conf.php ${TURBADIR}/config/conf.php.beforeIMP > @${PERL} -pi -e "s:example.com:${HOSTNAME}:g" ${CONFDIR}/servers.php > @${PERL} -pi -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${CONFDIR}/mime_drivers.php > @${PERL} -pi -e "s:IMP_VERSION:IMP_VERSION . ' / ${SERVOS}':" \ >@@ -299,6 +303,10 @@ > .endfor > @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." > .endif >+# Prepare deinstallation >+ @${CP} -p ${HCONFDIR}/mime_drivers.php ${HCONFDIR}/mime_drivers.php.afterIMP >+ @${CP} -p ${HCONFDIR}/registry.php ${HCONFDIR}/registry.php.afterIMP >+ @${CP} -p ${TURBADIR}/config/conf.php ${TURBADIR}/config/conf.php.afterIMP > > post-install: > @${ECHO_MSG} >diff -urN /usr/ports/mail/imp3.orig/pkg-plist /usr/ports/mail/imp3/pkg-plist >--- /usr/ports/mail/imp3.orig/pkg-plist Sun May 19 00:31:42 2002 >+++ /usr/ports/mail/imp3/pkg-plist Tue May 21 23:02:03 2002 >@@ -331,3 +331,6 @@ > @dirrm %%IMPDIR%%/templates/search > @dirrm %%IMPDIR%%/templates > @dirrm %%IMPDIR%% >+@unexec if cmp -s %D/www/horde/config/mime_drivers.php %D/www/horde/config/mime_drivers.php.afterIMP; then rm -f %D/www/horde/config/mime_drivers.php.afterIMP; mv %D/www/horde/config/mime_drivers.php.beforeIMP %D/www/horde/config/mime_drivers.php; fi >+@unexec if cmp -s %D/www/horde/config/registry.php %D/www/horde/config/registry.php.afterIMP; then rm -f %D/www/horde/config/registry.php.afterIMP; mv %D/www/horde/config/registry.php.beforeIMP %D/www/horde/config/registry.php; fi >+@unexec if cmp -s %D/www/horde/turba/config/conf.php %D/www/horde/turba/config/conf.php.afterIMP; then rm -f %D/www/horde/turba/config/conf.php.afterIMP; mv %D/www/horde/turba/config/conf.php.beforeIMP %D/www/horde/turba/config/conf.php; fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38392
: 22051