3 I had to fix a location of one page in my repo via `svn move` and now I have
4 a problem with rebuilding my ikiwiki pages:
6 ikiwiki --setup ikiwiki.setup
8 tworzenie strony ubuntu/linki.mdwn
9 tworzenie strony knoppix/bootowalny_pendrive_usb.mdwn
10 tworzenie strony helponformatting.mdwn
11 Insecure dependency in eval while running with -T switch at /usr/share/perl5/IkiWiki/Plugin/conditional.pm line 30.
12 BEGIN failed--compilation aborted at (eval 5) line 110.
14 Temporarily I've disabled conditional plugin to avoid that bug.
16 PS. I still use ikiwiki 1.50 backported for Debian 'sarge'.
24 I've just builded successfully ikiwiki 2.00 package for Debian 'sarge'.
25 Unfortunately, now I still can't to rebuild my ikiwiki pages:
27 ikiwiki --setup ikiwiki.setup
29 renderowanie ikiwiki/backport.mdwn
30 renderowanie ikiwiki/instalacja.mdwn
31 renderowanie ikiwiki/problemy.mdwn
32 Insecure dependency in eval while running with -T switch at /usr/share/perl5/IkiWiki.pm line 1005.
33 BEGIN failed--compilation aborted at (eval 5) line 111.
35 I didn't apply your following old patch against `Ikiwiki.pm` file:
37 --- IkiWiki.pm-orig 2007-05-10 11:16:47.000000000 +0200
38 +++ IkiWiki.pm 2007-05-10 11:16:07.000000000 +0200
43 - return eval pagespec_translate($spec);
44 + my $pagespec = pagespec_translate($spec);
49 + if ($pagespec =~ /(.*)/) {
55 + return eval $newpagespec;
58 package IkiWiki::PageSpec;
60 because `patch` command fails:
62 patch -p0 < ../IkiWiki.pm.patch
63 patching file IkiWiki.pm
64 Hunk #1 FAILED at 993.
65 1 out of 1 hunk FAILED -- saving rejects to file IkiWiki.pm.rej
67 Could you please fix that patch? I guess how to do it, but I don't want
68 to break the code I distribute in my backport ;)
72 > It's not my patch.. IIRC my suggestion was simply to do this: --[Joey]]
75 ===================================================================
76 --- IkiWiki.pm (revision 3565)
77 +++ IkiWiki.pm (working copy)
79 unshift @params, "location";
82 - my $ret=eval pagespec_translate($spec);
83 + my $ret=eval possibly_foolish_untaint(pagespec_translate($spec));
84 return IkiWiki::FailReason->new("syntax error") if $@;
88 >> Thanks a lot, Joey! It works :)
90 >> BTW, I was quite sure that you sent me the old patch via e-mail long time ago.
91 >> Maybe I found it at old ikiwiki home page? I don't remember it now.
97 I'm marking this [[done]] since it only affects sarge. Sarge users should
98 use the patch above. --[[Joey]]