home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / perl / Repositories.pm < prev    next >
Encoding:
Perl POD Document  |  2003-11-05  |  9.3 KB  |  313 lines

  1. package PPM::Repositories;
  2.  
  3. require Exporter;
  4.  
  5. use vars qw[ @ISA $VERSION @EXPORT ];
  6. @ISA = qw( Exporter );
  7.  
  8.  
  9. @EXPORT = qw(
  10.     %Repositories
  11. );
  12.  
  13. $VERSION = '0.07';
  14.  
  15. =for COMMENTING_OUT_CAUSE_THESE_YOU_SHOULD_ALREADY_HAVE
  16.     ASPR => {
  17.         location  => 'http://ppm-ia.ActiveState.com/PPM/ppmserver.plex?urn:/PPM/Server/SQL',
  18.         Type      => 'PPMServer 3.0',
  19.         Active    => 1,
  20.         Notes     => 'This one you should already have',
  21.         PerlV     => [],
  22.         PerlO     => [],
  23.     },
  24.     ASPPM2R => {
  25.         location  => 'http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPMServer',
  26.         Type      => '',
  27.         Active    => 1,
  28.         Notes     => '',
  29.         PerlV     => [],
  30.         PerlO     => [],
  31.     },
  32.  
  33. =cut
  34.  
  35. %Repositories = (
  36.     log4perl => {
  37.         location => 'http://log4perl.sourceforge.net/ppm',
  38.         Type      => 'Webpage',
  39.         Active    => 1,
  40.         Notes     => 'log4perl (pure perl)',
  41.         PerlV     => [ ],
  42.         PerlO     => ['perl'],
  43.     },
  44.     esoft  => {
  45.         location  => 'ftp://ftp.esoftmatic.com/outgoing/DBI',
  46.         Type      => 'Webpage',
  47.         Active    => 1,
  48.         Notes     => 'DBI, DBD-Oracle, DBD-ODBC for 5.8',
  49.         PerlV     => [ 5.8 ],
  50.         PerlO     => ['MSWin32'],
  51.     },
  52.     savage => {
  53.         location  => 'http://savage.net.au/Perl-modules/ppm',
  54.         Type      => 'Webpage',
  55.         Active    => 1,
  56.         Notes     => 'CGI::Explorer, DBIx::*, etc',
  57.         PerlV     => [ 5.8 ],
  58.         PerlO     => ['MSWin32'],
  59.     },
  60.     spurkis => {
  61.         location  => 'http://www.epn.ml.org/~spurkis/Agent/repository',
  62.         Type      => '??',
  63.         Active    => 0,
  64.         Notes     => 'GONE FOREVER',
  65.         PerlV     => [],
  66.         PerlO     => [],
  67.     },
  68.     crazy => {
  69.         location  => 'http://crazyinsomniac.perlmonk.org/perl/ppm',
  70.         Type      => 'Webpage',
  71.         Active    => 1,
  72.         Notes     => 'Maintainer takes requests',
  73.         PerlV     => [ 5.6 ],
  74.         PerlO     => ['MSWin32'],
  75.     },
  76.     crazy58 => {
  77.         Name      => 'crazy',
  78.         location  => 'http://crazyinsomniac.perlmonk.org/perl/ppm/5.8',
  79.         Type      => 'Webpage',
  80.         Active    => 1,
  81.         Notes     => 'Maintainer takes requests',
  82.         PerlV     => [ 5.8 ],
  83.         PerlO     => ['MSWin32'],
  84.     },
  85.     theory => {
  86.         location  => 'http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer',
  87.         Type      => 'PPMServer',
  88.         Active    => 1,
  89.         Notes     => 'Get your mod_perl(s) here',
  90.         PerlV     => [ 5.6 ],
  91.         PerlO     => ['MSWin32'],
  92.     },
  93.     theoryS => {
  94.         location  => 'http://theoryx5.uwinnipeg.ca/ppmpackages',
  95.         Type      => 'Webpage',
  96.         Active    => 1,
  97.         Notes     => 'Get your mod_perl(s) here(SLOWER)',
  98.         PerlV     => [ 5.6 ],
  99.         PerlO     => ['MSWin32'],
  100.     },
  101.     theory58 => {
  102.         location  => 'http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58',
  103.         Type      => 'PPMServer',
  104.         Active    => 1,
  105.         Notes     => 'Get your mod_perl(s) here',
  106.         PerlV     => [ 5.8 ],
  107.         PerlO     => ['MSWin32'],
  108.     },
  109.     theory58S => {
  110.         location  => 'http://theoryx5.uwinnipeg.ca/ppms',
  111.         Type      => 'Webpage',
  112.         Active    => 1,
  113.         Notes     => 'Get your mod_perl(s) here(SLOWER)',
  114.         PerlV     => [ 5.8 ],
  115.         PerlO     => ['MSWin32'],
  116.     },
  117.     devhelp => {
  118.         location  => 'http://ppd.develop-help.com/ppd',
  119.         Type      => 'Webpage',
  120.         Active    => 1,
  121.         Notes     => 'Get your Apache::Session here',
  122.         PerlV     => [ 5.6 ],
  123.         PerlO     => ['MSWin32'],
  124.     },
  125.     dada => {
  126.         location  => 'http://dada.perl.it/PPM',
  127.         Type      => 'Webpage',
  128.         Active    => 1,
  129.         Notes     => 'Get your Win32::API here',
  130.         PerlV     => [ 5.5, 5.6 ],
  131.         PerlO     => ['MSWin32'],
  132.     },
  133.     rto => {
  134.         location  => 'http://rto.dk/packages',
  135.         Type      => 'Webpage',
  136.         Active    => 0,
  137.         Notes     => 'GONE (forget what was there)',
  138.         PerlV     => [ 5.6 ],
  139.         PerlO     => [],
  140.     },
  141.     jenda => {
  142.         location  => 'http://jenda.krynicky.cz/perl',
  143.         Type      => 'Webpage or PPMServer?',
  144.         Active    => 1,
  145.         Notes     => 'AWSOME (tons of Win32 related stuff by him)',
  146.         PerlV     => [ 5.6, 5.8 ],
  147.         PerlO     => ['MSWin32'],
  148.     },
  149.     xray => {
  150.         location  => 'http://www.xray.mpe.mpg.de/~ach/ptk/ppm',
  151.         Type      => '??',
  152.         Active    => 0,
  153.         Notes     => 'long gone',
  154.         PerlV     => [ 5.6 ],
  155.         PerlO     => [],
  156.     },
  157.     openi => {
  158.         location  => 'http://openinteract.sourceforge.net/ppmpackages',
  159.         Type      => 'Webpage',
  160.         Active    => 1,
  161.         Notes     => 'Template Toolkit!!!',
  162.         PerlV     => [ 5.6, 5.8 ],
  163.         PerlO     => ['MSWin32'],
  164.     },
  165.     
  166.     roth => {
  167.         location  => 'http://www.roth.net/perl/packages',
  168.         Type      => 'Webpage',
  169.         Active    => 1,
  170.         Notes     => 'More Win32:: stuff',
  171.         PerlV     => [ 5.5, 5.6, 5.8],
  172.         PerlO     => ['MSWin32'],
  173.     },
  174.  
  175.     sablot => {
  176.         location  => 'http://ppm.gingerall.cz',
  177.         Type      => 'Webpage',
  178.         Active    => 1,
  179.         Notes     => 'Get your XML::Sablotron here',
  180.         PerlV     => [ 5.5, 5.6, 5.8 ],
  181.         PerlO     => ['MSWin32'],
  182.     },
  183.     perlxml => {
  184.         location  => 'http://www.perlxml.net/PPM',
  185.         Type      => 'Webpage',
  186.         Active    => 1,
  187.         Notes     => 'Get your libxml-perl here. Please note that this is known to disappear for a few days and come back.',
  188.         PerlV     => [ 5.6, 5.8 ],
  189.         PerlO     => ['MSWin32'],
  190.     },
  191.     datetime => {
  192.         location  => 'http://datetime.perl.org/download',
  193.         Type      => 'Webpage',
  194.         Active    => 1,
  195.         Notes     => 'Get your DateTime modules here',
  196.         PerlV     => [ 5.6, 5.8 ],
  197.         PerlO     => ['MSWin32'],
  198.     },
  199. );
  200.  
  201.  
  202.  
  203. 1;
  204. __END__
  205.  
  206. =head1 NAME
  207.  
  208. PPM::Repositories - a list of all I<known> ppm package repositories
  209.  
  210. =head1 SYNOPSIS
  211.  
  212.     use PPM::Repositories;
  213.                                                     #
  214.     # Print out all *Active* repositories for perl 5.8.x
  215.                                                     #
  216.     for my $rep ( keys %Repositories ) {
  217.         next unless $Repositories{$rep}->{Active};
  218.         next unless grep { $_ == 5.8 } @{ $Repositories{$rep}->{PerlV} };
  219.         print $rep,$/,
  220.             $Repositories{$rep}->{location},$/,
  221.             $Repositories{$rep}->{Notes},$/,
  222.             $/;
  223. # uncomment the following lines to automatically add them to your config
  224. #        use PPM;
  225. #        PPM::AddRepository(
  226. #            "repository" => $rep,
  227. #            "location"   => $Repositories{$rep}->{location},
  228. #            "save" => 'yes');
  229.     }
  230.  
  231. =head1 DESCRIPTION
  232.  
  233. This is a list of all known ppm repositores (barring the activestate ones).
  234. Currently, most of them are Win32 specific,
  235. mainly because the *nix folks have CPAN/CPANPLUS
  236. as well as free compilers.
  237.  
  238. An example entry in C<%Repositories> looks like:
  239.  
  240.     datetime => {
  241.         location  => 'http://datetime.perl.org/download',
  242.         Type      => 'Webpage',
  243.         Active    => 1,
  244.         Notes     => 'Get your DateTime modules here',
  245.         PerlV     => [ 5.6, 5.8 ],
  246.         PerlO     => ['MSWin32'],
  247.     },
  248.  
  249. The meaning of the key/value pairs should be obvious.
  250.  
  251. Active is either 1, or 0, and it indicates whether or not
  252. that particular repository existed (you could reach it via the internet),
  253. and contained ppm packages, when this module was released.
  254.  
  255. PerlO is the value of $^O.
  256. The value 'perl' is used to indicate pure-perl (meaning all OS').
  257.  
  258.     $^O values for various operating systems:
  259.         http://alma.ch/perl/perloses.htm
  260.         http://crazyinsomniac.perlmonk.org/perl/misc/perloses.htm
  261.  
  262.  
  263. See the L<SYNOPSIS|/"SYNOPSIS"> for example usage.
  264. See L<PPM|PPM> for help with ppm.
  265.  
  266. =head2 EXPORT
  267.  
  268. C<%Repositories> is exported by default.
  269.  
  270.  
  271. =head2 If you wanna run your own repository
  272.  
  273. Simply read my repository README
  274. E<lt>http://crazyinsomniac.perlmonk.org/perl/ppm/README.htmlE<gt>
  275. or these tutorials:
  276.  
  277.     113448 ! perltutorial ! HowTo build and distribute a PPMed module for Win32
  278.         http://perlmonks.org/index.pl?node_id=113448
  279.         http://perlmonks.thepen.com/113448.html
  280.  
  281.     How2 - create a PPM distribution 
  282.         http://jenda.krynicky.cz/perl/PPM.html
  283.  
  284.  
  285. =head1 BUGS/ADDITIONS
  286.  
  287. Please use
  288. https://rt.cpan.org/NoAuth/Bugs.html?Dist=PPM-Repositories
  289. to report I<bugs>/additions
  290. or send mail to <bug-PPM-Repositories@rt.cpan.org>.
  291.  
  292. =head1 AUTHOR
  293.  
  294. D. H. aka PodMaster
  295.  
  296. =head1 LICENSE
  297.  
  298. Copyright (c) 2003 by D.H. aka PodMaster. All rights reserved.
  299.  
  300. This module is free software; you can redistribute it and/or modify it
  301. under the same terms as Perl itself. If you don't know what this means,
  302. visit http://perl.com/ or http://cpan.org/.
  303.  
  304. =head1 SEE ALSO
  305.  
  306. L<PPM>, L<PPM::Make>, L<CPANPLUS>, L<CPAN>.
  307.  
  308. =cut
  309.  
  310. This is not quite a repository
  311. #http://softserv.murdoch.edu.au/pub/mswin/Perl/cpans/DBD-Oracle/
  312. #http://softserv.murdoch.edu.au/pub/mswin/Perl/cpans/DBI/
  313.