From owner-freebsd-ports Sun Mar 10 8:20:30 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 A991B37B41C for ; Sun, 10 Mar 2002 08:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2AGK1n03874; Sun, 10 Mar 2002 08:20:01 -0800 (PST) (envelope-from gnats) Received: from postfix2-1.free.fr (postfix2-1.free.fr [213.228.0.9]) by hub.freebsd.org (Postfix) with ESMTP id 5C32237B400 for ; Sun, 10 Mar 2002 08:18:36 -0800 (PST) Received: from graf.pompo.net (lyon-4-a7-108-154.dial.proxad.net [62.147.108.154]) by postfix2-1.free.fr (Postfix) with ESMTP id 1E21D45B; Sun, 10 Mar 2002 17:18:34 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id 2FEB37512; Sun, 10 Mar 2002 17:17:24 +0100 (CET) Message-Id: <20020310161724.2FEB37512@graf.pompo.net> Date: Sun, 10 Mar 2002 17:17:24 +0100 (CET) From: Thierry Thomas Reply-To: Thierry Thomas To: FreeBSD-gnats-submit@freebsd.org Cc: Oliver Helmling , Scott Sipe X-Send-Pr-Version: 3.113 Subject: ports/35740: Maintainer update of mail/imp: chasing new versions of dependencies. 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: 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 ) 2) Since v. 0.7, wvHtml requires two arguments. (Thanks to Oliver Helmling ) >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 = "MS Word Viewer
"; + 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