Add allow_symlinks_before_srcdir to config so websetup doesn't eat it.

master
Joey Hess 2008-09-09 14:50:37 -04:00
parent 6f46cc3b31
commit 7a680431ed
3 changed files with 13 additions and 0 deletions

View File

@ -395,6 +395,13 @@ sub getsetup () { #{{{
safe => 0, safe => 0,
rebuild => 0, rebuild => 0,
}, },
allow_symlinks_before_srcdir => {
type => "string",
default => 0,
description => "allow symlinks in the path leading to the srcdir (potentially insecure)",
safe => 0,
rebuild => 0,
},
} #}}} } #}}}
sub defaultconfig () { #{{{ sub defaultconfig () { #{{{

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ ikiwiki (2.64) UNRELEASED; urgency=low
specified. specified.
* ddate: Stop clobbering timeformat when not enabled. * ddate: Stop clobbering timeformat when not enabled.
* progress: New plugin to generate progress bars (willu) * progress: New plugin to generate progress bars (willu)
* Add allow_symlinks_before_srcdir to config so websetup doesn't eat it.
-- Joey Hess <joeyh@debian.org> Mon, 08 Sep 2008 19:21:20 -0400 -- Joey Hess <joeyh@debian.org> Mon, 08 Sep 2008 19:21:20 -0400

View File

@ -1,3 +1,8 @@
My web server runs in a chroot jail. This makes things interesting because the paths are slightly different depending on whether you are inside or outside the chroot. My web server runs in a chroot jail. This makes things interesting because the paths are slightly different depending on whether you are inside or outside the chroot.
To override an incorrectly guessed path, I set setupconf in the .setup file. I also set allow_symlinks_before_srcdir=>1. However, when I tried websetup, the setup file was correctly changed but these important settings disappeared. This seems like a bug. To override an incorrectly guessed path, I set setupconf in the .setup file. I also set allow_symlinks_before_srcdir=>1. However, when I tried websetup, the setup file was correctly changed but these important settings disappeared. This seems like a bug.
> I don't know what "setupconf" is. This is the first mention of it in the
> ikiwiki source tree.
>
> I've fixed the `allow_symlinks_before_srcdir` issue. --[[Joey]]