Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 17:17:24 +0100 (CET)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Oliver Helmling <oliver.helmling@web.de>, Scott Sipe <css3@duke.edu>
Subject:   ports/35740: Maintainer update of mail/imp: chasing new versions of dependencies.
Message-ID:  <20020310161724.2FEB37512@graf.pompo.net>

next in thread | raw e-mail | index | archive | help

>Number:         35740
>Category:       ports
>Synopsis:       Maintainer update of mail/imp: chasing new versions of dependencies.
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 10 08:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Mar 9 11:54:44 CET 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF010429 i386


	
>Description:
	1) Since 2002/02/27 (v. 0.4), bin/xlhtml has been lowercased, but imp is
	   looking for bin/xlHtml.
		(Thanks to Scott Sipe <css3@duke.edu>)

	2) Since v. 0.7, wvHtml requires two arguments.
		(Thanks to Oliver Helmling <oliver.helmling@web.de>)
>How-To-Repeat:
	1) Try to install mail/imp with support for xls (default);

	2) Upgrade wvHtml to 0.7 and try to read an attached .doc.

>Fix:

	N.B.: there are already two pending PRs about this port:
	- PR ports/35046 about a better config out of the box;
	- PR ports/35051 about a recopy request.

	The following patch should be applied after these PRs.


diff -urN /usr/ports/mail/imp.orig/Makefile /usr/ports/mail/imp/Makefile
--- /usr/ports/mail/imp.orig/Makefile	Sun Feb 17 15:06:35 2002
+++ /usr/ports/mail/imp/Makefile	Sun Mar 10 15:33:49 2002
@@ -83,7 +83,7 @@
 RUN_DEPENDS+=	${LOCALBASE}/bin/wvHtml:${PORTSDIR}/textproc/wv
 .endif
 .if !defined(WITHOUT_XL)
-RUN_DEPENDS+=	${LOCALBASE}/bin/xlHtml:${PORTSDIR}/textproc/xlhtml
+RUN_DEPENDS+=	${LOCALBASE}/bin/xlhtml:${PORTSDIR}/textproc/xlhtml
 .endif
 .if !defined(WITHOUT_ZIP)
 RUN_DEPENDS+=	${LOCALBASE}/bin/zipinfo:${PORTSDIR}/archivers/unzip
@@ -177,7 +177,7 @@
 			${IMPDIR}/config/defaults.php3.dist
 	${PERL} -pi -e "s:/usr/bin/wvHtml:${LOCALBASE}/bin/wvHtml:g" \
 			${IMPDIR}/config/defaults.php3.dist
-	${PERL} -pi -e "s:/usr/bin/xlHtml:${LOCALBASE}/bin/xlHtml:g" \
+	${PERL} -pi -e "s:/usr/bin/xlHtml:${LOCALBASE}/bin/xlhtml:g" \
 			${IMPDIR}/config/defaults.php3.dist
 	${PERL} -pi -e "s:/bin/tar:/usr/bin/tar:g" ${IMPDIR}/config/defaults.php3.dist
 	${PERL} -pi -e "s:/usr/bin/zipinfo:${LOCALBASE}/bin/zipinfo:g" \
diff -urN /usr/ports/mail/imp.orig/files/patch-lib_mimetypes.lib /usr/ports/mail/imp/files/patch-lib_mimetypes.lib
--- /usr/ports/mail/imp.orig/files/patch-lib_mimetypes.lib	Thu Jan  1 01:00:00 1970
+++ /usr/ports/mail/imp/files/patch-lib_mimetypes.lib	Sun Mar 10 16:28:34 2002
@@ -0,0 +1,11 @@
+--- lib/mimetypes.lib.orig	Wed Jul 18 16:23:58 2001
++++ lib/mimetypes.lib	Sun Mar 10 16:26:33 2002
+@@ -449,7 +449,7 @@
+     fwrite( $fh, imap_base64($contents));
+     fclose( $fh );
+     
+-    $pipe = popen("$default->path_to_mswordview $word_name 2>&1","r");
++    $pipe = popen("$default->path_to_mswordview $word_name - 2>&1","r");
+     $data = "<b><u>MS Word Viewer</u></b><br><table><tr><td align=left>";
+     while( ($rc=fgets($pipe,8192)) )
+       $data.=$rc;
diff -urN /usr/ports/mail/imp.orig/pkg-plist /usr/ports/mail/imp/pkg-plist
--- /usr/ports/mail/imp.orig/pkg-plist	Wed Nov 14 22:27:23 2001
+++ /usr/ports/mail/imp/pkg-plist	Sun Mar 10 16:33:38 2002
@@ -101,6 +101,7 @@
 %%IMPDIR%%/lib/js/open_compose_win.js
 %%IMPDIR%%/lib/js/open_contacts.js
 %%IMPDIR%%/lib/mimetypes.lib
+%%IMPDIR%%/lib/mimetypes.lib.orig
 %%IMPDIR%%/lib/postconf.php3
 %%IMPDIR%%/lib/version.php
 %%IMPDIR%%/locale/ca/compose.help

>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?20020310161724.2FEB37512>