r5922 - /scripts/qa/Common.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Jul 20 10:19:53 UTC 2007


Author: dmn
Date: Fri Jul 20 10:19:53 2007
New Revision: 5922

URL: http://svn.debian.org/wsvn/?sc=1&rev=5922
Log:
Typos, Add default $CPAN::Config

Modified:
    scripts/qa/Common.pm

Modified: scripts/qa/Common.pm
URL: http://svn.debian.org/wsvn/scripts/qa/Common.pm?rev=5922&op=diff
==============================================================================
--- scripts/qa/Common.pm (original)
+++ scripts/qa/Common.pm Fri Jul 20 10:19:53 2007
@@ -10,7 +10,7 @@
     $CPAN_MIRROR
 );
 
-our $REPO = "svn://svn.debian.org/svn/pkg-perl";
+our $SVN_REPO = "svn://svn.debian.org/svn/pkg-perl";
 our $MIRROR = "MIRROR=ftp://ftp.debian.org";
 our $CPAN_MIRROR = "ftp://cpan.org/pub/CPAN";
 
@@ -19,7 +19,7 @@
 {
     # alioth
     /alioth/ && do {
-        $REPO = "file:///svn/pkg-perl";
+        $SVN_REPO = "file:///svn/pkg-perl";
         $MIRROR = "ftp://ftp.nl.debian.org";
         $CPAN_MIRROR = "ftp://cpan.wanadoo.nl/pub/CPAN";
         last;
@@ -51,4 +51,44 @@
 # <ard> As long as it passes as1200 it's ok... Everything else is $$ :-(
 # CPAN=ftp://cpan.wanadoo.nl/pub/CPAN
 
+use CPAN;
+my $home = $ENV{HOME};
+$CPAN::Config = {
+  'build_cache' => q[10],
+  'build_dir' => "$home/.cpan/build",
+  'cache_metadata' => q[1],
+  'cpan_home' => "$home/.cpan",
+  'cpan_version_check' => q[1],
+  'dontload_hash' => {  },
+  'ftp' => q[],
+  'ftp_proxy' => q[],
+  'getcwd' => q[cwd],
+  'gpg' => q[/usr/bin/gpg],
+  'gzip' => q[/bin/gzip],
+  'histfile' => "/dev/null",
+  'histsize' => q[100],
+  'http_proxy' => q[],
+  'inactivity_timeout' => q[0],
+  'index_expire' => q[1],
+  'inhibit_startup_message' => q[1],
+  'keep_source_where' => "$home/.cpan/sources",
+  'lynx' => q[/usr/bin/lynx],
+  'make' => q[/usr/bin/make],
+  'make_arg' => q[],
+  'make_install_arg' => q[],
+  'makepl_arg' => q[INSTALLDIRS=site],
+  'ncftp' => q[],
+  'ncftpget' => q[],
+  'no_proxy' => q[],
+  'pager' => q[/usr/bin/less],
+  'prerequisites_policy' => q[ignore],
+  'scan_cache' => q[never],
+  'shell' => q[/bin/bash],
+  'tar' => q[/bin/tar],
+  'term_is_latin' => q[0],
+  'unzip' => q[],
+  'urllist' => [ $CPAN_MIRROR ],
+  'wget' => q[/usr/bin/wget],
+};
+
 1;




More information about the Pkg-perl-cvs-commits mailing list