X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/f66649bca45e2c7120ea7c7f4d0f7f61f85ce01f..644ba425c8c56d5dbc6d4074e89f65e2624898e5:/doc/patchqueue/lib-fixup.mdwn diff --git a/doc/patchqueue/lib-fixup.mdwn b/doc/patchqueue/lib-fixup.mdwn index 0739c2115..b2f6156cf 100644 --- a/doc/patchqueue/lib-fixup.mdwn +++ b/doc/patchqueue/lib-fixup.mdwn @@ -2,6 +2,25 @@ I'm using Ikiwiki on a box where I don't have root access, so I install all of m I imagine that there's a clean and elegant solution to this, but the hack I'm currently using is to have `./make` alter `ikiwki.in` before it's run, by inserting `use lib ...` lines for each of the directories in `$ENV{PERL5LIB}`. Again, this is clearly ugly, but it allows me to run `./make`, so I'm submitting it FWIW. +> I don't like this patch because it's not expected that an environment +> variable will stick around outside the shell that it's set in. It could +> lead to suprising behavior if PERL5LIB happened to be set during build, +> and it's even possible for it to lead to security issues, imagine if I +> accidentially built the debian package of ikiwiki with PERL5LIB set -- +> then it would be hardcoded to look in /home/joey for libraries, which +> someone with a "joey" account elsewhere could use to exploit it. +> +> You could remove the taint switch locally, it's very unlikely to find +> tainting problems that nobody else has noticed. --[[Joey]] + +>> I completely understand rejecting this patch, but would you accept one to automate the removal of -T as a `make` option, then? I was trying to install Ikiwiki on a very popular +>> web host, and the aforementioned issue took quite a while to debug; I imagine many people would have simply given up. -- Ben + +>>> Well, the problem with an option is finding the option before you give +>>> up. Maybe an option and adding some docs to the [[setup]] or [[tips]] page +>>> about how to use ikiwiki with $BIG_HOSTING_PROVIDER, that can mention +>>> the option. --[[Joey]] +
 
 Index: Makefile.PL
 ===================================================================
@@ -35,4 +54,4 @@ ___________________________________________________________________
 Name: svn:executable
    + *
 
-
\ No newline at end of file +