summaryrefslogtreecommitdiff
path: root/cpan
diff options
context:
space:
mode:
Diffstat (limited to 'cpan')
-rw-r--r--cpan/CPAN/MyConfig.pm44
-rw-r--r--cpan/README7
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.