summaryrefslogtreecommitdiffstats
path: root/mail/horde4-imp
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>2002-05-16 07:25:55 +0000
committersada <sada@FreeBSD.org>2002-05-16 07:25:55 +0000
commitfd6619c269e6a9c583feb5cf78ce479d31993277 (patch)
treea7f5dcf6ecca676f0722a050ef7c368d6a4e945f /mail/horde4-imp
parenta5ce0e4d1b89e4d5318eb667a2a59604f0e5b270 (diff)
downloadFreeBSD-ports-fd6619c269e6a9c583feb5cf78ce479d31993277.zip
FreeBSD-ports-fd6619c269e6a9c583feb5cf78ce479d31993277.tar.gz
- 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
Diffstat (limited to 'mail/horde4-imp')
-rw-r--r--mail/horde4-imp/Makefile4
-rw-r--r--mail/horde4-imp/distinfo2
-rw-r--r--mail/horde4-imp/files/patch-lib_mimetypes.lib11
-rw-r--r--mail/horde4-imp/pkg-plist1
4 files changed, 15 insertions, 3 deletions
diff --git a/mail/horde4-imp/Makefile b/mail/horde4-imp/Makefile
index 1427988..95eeb94 100644
--- a/mail/horde4-imp/Makefile
+++ b/mail/horde4-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/horde4-imp/distinfo b/mail/horde4-imp/distinfo
index 6934dd2..c610ad0 100644
--- a/mail/horde4-imp/distinfo
+++ b/mail/horde4-imp/distinfo
@@ -1 +1 @@
-MD5 (imp-2.2.7.tar.gz) = b5c683e1dc862fd185c9be0ce7188894
+MD5 (imp-2.2.8.tar.gz) = 9f0e442f61ce542b945016bee2736d2f
diff --git a/mail/horde4-imp/files/patch-lib_mimetypes.lib b/mail/horde4-imp/files/patch-lib_mimetypes.lib
new file mode 100644
index 0000000..4b87c55
--- /dev/null
+++ b/mail/horde4-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/horde4-imp/pkg-plist b/mail/horde4-imp/pkg-plist
index 1d59e0d..4c26c83 100644
--- a/mail/horde4-imp/pkg-plist
+++ b/mail/horde4-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
OpenPOWER on IntegriCloud