summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2005-08-03 19:42:18 +0000
committerAron Griffis <agriffis@gentoo.org>2005-08-03 19:42:18 +0000
commitfacee3160c6734e0e010f70adb33e3e0870cef93 (patch)
tree490d729b420aec7e0615da36723659c3f4cb1dd5 /app-misc/run-mailcap/files
parent. (diff)
downloadgentoo-2-facee3160c6734e0e010f70adb33e3e0870cef93.tar.gz
gentoo-2-facee3160c6734e0e010f70adb33e3e0870cef93.tar.bz2
gentoo-2-facee3160c6734e0e010f70adb33e3e0870cef93.zip
Version bump. Add my patch to break infinite recursion if mailcap rule for
text/plain includes copiousoutput (Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-misc/run-mailcap/files')
-rw-r--r--app-misc/run-mailcap/files/digest-run-mailcap-3.34_p11
-rw-r--r--app-misc/run-mailcap/files/run-mailcap-breakrecursion.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/app-misc/run-mailcap/files/digest-run-mailcap-3.34_p1 b/app-misc/run-mailcap/files/digest-run-mailcap-3.34_p1
new file mode 100644
index 000000000000..eee012cc8624
--- /dev/null
+++ b/app-misc/run-mailcap/files/digest-run-mailcap-3.34_p1
@@ -0,0 +1 @@
+MD5 f592aaf259d4e6f67be3a40e715367bb mime-support_3.34-1.tar.gz 28707
diff --git a/app-misc/run-mailcap/files/run-mailcap-breakrecursion.patch b/app-misc/run-mailcap/files/run-mailcap-breakrecursion.patch
new file mode 100644
index 000000000000..326abd263ce1
--- /dev/null
+++ b/app-misc/run-mailcap/files/run-mailcap-breakrecursion.patch
@@ -0,0 +1,11 @@
+--- mime-support/run-mailcap.old 2005-08-03 15:36:00.000000000 -0400
++++ mime-support/run-mailcap 2005-08-03 15:37:41.000000000 -0400
+@@ -440,7 +440,7 @@
+ $fail++;
+ next;
+ }
+- } elsif ($action eq 'view' && $match =~ m/;\s*copiousoutput\s*($|;)/) {
++ } elsif ($action eq 'view' && $match =~ m/;\s*copiousoutput\s*($|;)/ && $type ne 'text/plain') {
+ $comm .= " | $0 --action=$action text/plain:-";
+ }
+