diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-05-05 14:51:26 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-05-05 14:51:26 -0400 |
commit | 3a9dfb836118bf2255a129356a8fd401b839d7b7 (patch) | |
tree | 28f268681ae0f0a17e99c021448957a64b7da408 /cpan | |
parent | a7b8069b9dd1921275ef24752a65005c15d0868e (diff) | |
download | ikiwiki-3a9dfb836118bf2255a129356a8fd401b839d7b7.tar ikiwiki-3a9dfb836118bf2255a129356a8fd401b839d7b7.tar.gz |
enhancesments for shared hosting
* Add a Bundle::Ikiwiki to the source for use with CPAN to install *all*
the modules ikiwiki can use.
* Add a cpan directory containing a CPAN::MyConfig that can ease use of
CPAN to install in a home directory on shared hosting providers.
* With these changes, it's pretty easy to install onto nearlyfreespeech.net
and probably other shared hosting providers like dreamhost. Added
a tip page documentng the process for nearlyfreespeech.
Diffstat (limited to 'cpan')
-rw-r--r-- | cpan/CPAN/MyConfig.pm | 44 | ||||
-rw-r--r-- | cpan/README | 7 |
2 files changed, 51 insertions, 0 deletions
diff --git a/cpan/CPAN/MyConfig.pm b/cpan/CPAN/MyConfig.pm new file mode 100644 index 000000000..f5dd10212 --- /dev/null +++ b/cpan/CPAN/MyConfig.pm @@ -0,0 +1,44 @@ +$CPAN::Config = { + 'auto_commit' => q[0], + 'build_cache' => q[10], + 'build_dir' => "$ENV{HOME}/.cpan/build/", + 'cache_metadata' => q[1], + 'commandnumber_in_prompt' => q[1], + 'cpan_home' => "$ENV{HOME}/.cpan/", + 'ftp' => q[ftp], + 'ftp_passive' => q[1], + 'ftp_proxy' => q[], + 'getcwd' => q[cwd], + 'gzip' => q[gzip], + 'histfile' => "$ENV{HOME}/.cpan/histfile/", + 'histsize' => q[100], + 'http_proxy' => q[], + 'inactivity_timeout' => q[0], + 'index_expire' => q[1], + 'inhibit_startup_message' => q[0], + 'keep_source_where' => "$ENV{HOME}/.cpan/sources/", + 'make' => q[make], + 'make_arg' => q[], + 'make_install_arg' => q[], + 'make_install_make_command' => q[make], + 'makepl_arg' => "PREFIX=$ENV{HOME} LIB=$ENV{HOME}/lib/perl5", + 'mbuild_arg' => q[], + 'mbuild_install_arg' => q[], + 'mbuild_install_build_command' => q[./Build], + 'mbuildpl_arg' => "-install_path lib=$ENV{HOME}/lib/perl5", + 'no_proxy' => q[], + 'pager' => q[less], + 'prerequisites_policy' => q[follow], + 'scan_cache' => q[atstart], + 'shell' => q[sh], + 'show_upload_date' => q[0], + 'tar' => q[tar], + 'term_is_latin' => q[1], + 'term_ornaments' => q[1], + 'unzip' => q[unzip], + 'urllist' => [], + 'use_sqlite' => q[0], + 'wget' => q[wget], +}; +1; +__END__ diff --git a/cpan/README b/cpan/README new file mode 100644 index 000000000..fd189fe86 --- /dev/null +++ b/cpan/README @@ -0,0 +1,7 @@ +In this directory is a CPAN config file that causes it to install into the HOME +directory, and tries to be reasonably portable. Set PERL5LIB=ikiwiki/cpan to +use it. + +This is provided with ikiwiki for use on hosting providers such as +nearlyfreespeech.net, that have CPAN but need some tweaking for it to be +usable by a regular user. |