aboutsummaryrefslogtreecommitdiffstats
path: root/mail/roundcube
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2009-07-30 20:40:39 +0800
committerale <ale@FreeBSD.org>2009-07-30 20:40:39 +0800
commit7c5133d417a69697e3279de1a25ec3b6ba87f505 (patch)
treefa9cd8078694ef58caf5cb31f6b398ef16149f6b /mail/roundcube
parent9fd20f03884f4d84a72b65ee54f395273c21083e (diff)
downloadfreebsd-ports-graphics-7c5133d417a69697e3279de1a25ec3b6ba87f505.tar.gz
freebsd-ports-graphics-7c5133d417a69697e3279de1a25ec3b6ba87f505.tar.zst
freebsd-ports-graphics-7c5133d417a69697e3279de1a25ec3b6ba87f505.zip
Fix parsing malformed attachments.
Diffstat (limited to 'mail/roundcube')
-rw-r--r--mail/roundcube/Makefile2
-rw-r--r--mail/roundcube/files/patch-program_include_rcube_message.php11
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/roundcube/Makefile b/mail/roundcube/Makefile
index a6eb1ee4043..9938f9c5cf5 100644
--- a/mail/roundcube/Makefile
+++ b/mail/roundcube/Makefile
@@ -83,7 +83,7 @@ post-extract:
post-patch:
@${RM} ${WRKSRC}/bin/*.sh
- @${RM} ${WRKSRC}/config/main.inc.php.dist.orig
+ @${FIND} ${WRKSRC} -name \*.orig -type f -delete
.if defined(WITH_AUTOCOMP)
@${REINPLACE_CMD} "s/ autocomplete=\"off\"//g" \
${WRKSRC}/skins/default/templates/login.html
diff --git a/mail/roundcube/files/patch-program_include_rcube_message.php b/mail/roundcube/files/patch-program_include_rcube_message.php
new file mode 100644
index 00000000000..d35f8801433
--- /dev/null
+++ b/mail/roundcube/files/patch-program_include_rcube_message.php
@@ -0,0 +1,11 @@
+--- ./program/include/rcube_message.php.orig 2009-07-30 14:35:17.000000000 +0200
++++ ./program/include/rcube_message.php 2009-07-30 14:35:35.000000000 +0200
+@@ -373,7 +373,7 @@
+
+ // part is file/attachment
+ else if ($mail_part->disposition == 'attachment' || $mail_part->disposition == 'inline' ||
+- $mail_part->headers['content-id'] || (empty($mail_part->disposition) && $mail_part->filename)) {
++ $mail_part->headers['content-id'] || $mail_part->filename) {
+ // skip apple resource forks
+ if ($message_ctype_secondary == 'appledouble' && $secondary_type == 'applefile')
+ continue;
me/commit/multimedia/pvr250?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&id=9c3fd0d61e6c0fabfe238b4a17a0ffdef4bc617c'>Add CONFLICTS with the recently added port multimedia/pvrxxx.alepulver2006-10-061-0/+2 * NO_PACKAGE and NO_CDROM are superfluouskris2006-09-031-2/+0 * Remove USE_REINPLACE from ports starting with Medwin2006-05-111-1/+0 * add hcwPVRP2.sys to the NOFETCHFILES variableedwin2006-01-221-0/+1 * Fix post-patch targetedwin2005-12-031-2/+2 * Update to 2005-10-30 version of the CXM driver:edwin2005-11-262-5/+4 * Add SHA256 checksums to the distinfo files.edwin2005-11-091-0/+3 * On FreeBSD 4.x: rename cxm0 to bktr0 in setchannel.cedwin2005-05-091-2/+8 * Upgrade to 2005-04-12 version of the CXM driver.edwin2005-05-0211-168/+12 * Attached you will find an file to add to files dir and a diff toedwin2005-01-202-0/+53 * Upgrade driver to version 2004-12-30edwin2005-01-122-6/+4 * Better way to ignore checksum failures of hcwPVRP2.sysedwin2004-12-152-6/+3 * Add nifty -f (frequency) option to setchannel.edwin2004-12-142-3/+8 * Upgrade to the 2004 November 7th version of the CXM driver by Johnedwin2004-11-092-5/+4 * Typo: It's the PVR-250/350 and not the PVR-250/260 card.edwin2004-10-161-1/+1 * - Add man-pageedwin2004-10-163-11/+34