4 Required perl modules (only top level dependencies are listed)
9 CGI (distributed with perl 5.10.0; maybe before?)
11 You also need a very new version of ikiwiki: post 2.62.1, with the following
12 patch or equivalant applied (this is included in ikiwiki git as 2008/09/08):
14 From 84f40d7fa822c6cc09506cca2dbf38a8b19f8bb7 Mon Sep 17 00:00:00 2001
15 From: David Bremner <bremner@unb.ca>
16 Date: Fri, 29 Aug 2008 20:46:20 -0300
17 Subject: [PATCH] call File::MimeInfo::default if ::magic() returns undef
20 IkiWiki/Plugin/filecheck.pm | 2 +-
21 1 files changed, 1 insertions(+), 1 deletions(-)
23 diff --git a/IkiWiki/Plugin/filecheck.pm b/IkiWiki/Plugin/filecheck.pm
24 index 9c7a8db..a94c02b 100644
25 --- a/IkiWiki/Plugin/filecheck.pm
26 +++ b/IkiWiki/Plugin/filecheck.pm
27 @@ -127,7 +127,7 @@ sub match_mimetype ($$;@) { #{{{
29 my $mimetype=File::MimeInfo::Magic::magic($file);
30 if (! defined $mimetype) {
31 - $mimetype="unknown";
32 + $mimetype=File::MimeInfo::Magic::default($file);
35 my $regexp=IkiWiki::glob2re($wanted);
43 - text/html is just discarded
44 - body text is just dumped in a <pre></pre> block
45 - If multiple messages have the same message-id, only one is kept.