summaryrefslogtreecommitdiff
path: root/mail/imp
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2002-05-16 07:25:55 +0000
committerSADA Kenji <sada@FreeBSD.org>2002-05-16 07:25:55 +0000
commitcb26f6235945fcb8f0858515afaf732eed0ebcd4 (patch)
treebe512ce1db35b8995a8182aad20885b05918ace1 /mail/imp
parentUpdate the Ruby/DBI suite (ruby-dbi and ruby-dbd_*) to 0.0.14. (diff)
- Follow xlhtml's rename.
- Cope with the change of wvHtml's commandline use. - Upgrade to version 2.2.8, preventing some CSS attacks. PR: ports/35740, ports/36820 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=59231
Diffstat (limited to 'mail/imp')
-rw-r--r--mail/imp/Makefile4
-rw-r--r--mail/imp/distinfo2
-rw-r--r--mail/imp/files/patch-lib_mimetypes.lib11
-rw-r--r--mail/imp/pkg-plist1
4 files changed, 15 insertions, 3 deletions
diff --git a/mail/imp/Makefile b/mail/imp/Makefile
index 1427988c53a0..95eeb9411f60 100644
--- a/mail/imp/Makefile
+++ b/mail/imp/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= imp
-PORTVERSION= 2.2.7
+PORTVERSION= 2.2.8
CATEGORIES= mail www
MASTER_SITES= ftp://ftp.horde.org/pub/imp/tarballs/
@@ -177,7 +177,7 @@ do-install:
${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 --git a/mail/imp/distinfo b/mail/imp/distinfo
index 6934dd245690..c610ad00a6ef 100644
--- a/mail/imp/distinfo
+++ b/mail/imp/distinfo
@@ -1 +1 @@
-MD5 (imp-2.2.7.tar.gz) = b5c683e1dc862fd185c9be0ce7188894
+MD5 (imp-2.2.8.tar.gz) = 9f0e442f61ce542b945016bee2736d2f
diff --git a/mail/imp/files/patch-lib_mimetypes.lib b/mail/imp/files/patch-lib_mimetypes.lib
new file mode 100644
index 000000000000..4b87c5512d65
--- /dev/null
+++ b/mail/imp/files/patch-lib_mimetypes.lib
@@ -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 --git a/mail/imp/pkg-plist b/mail/imp/pkg-plist
index 1d59e0d71dda..4c26c83ec949 100644
--- a/mail/imp/pkg-plist
+++ b/mail/imp/pkg-plist
@@ -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