[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openpkg-cvs
Subject:    [CVS] OpenPKG: openpkg-src/perl-www/ perl-www.patch perl-www.spec
From:       "Ralf S. Engelschall" <rse () openpkg ! org>
Date:       2006-02-26 19:42:51
Message-ID: 20060226194251.6C8391B5051 () master ! openpkg ! org
[Download RAW message or body]

  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  rse@openpkg.org
  Module: openpkg-src                      Date:   26-Feb-2006 20:42:51
  Branch: HEAD                             Handle: 2006022619425000

  Modified files:
    openpkg-src/perl-www    perl-www.patch perl-www.spec

  Log:
    add OpenID client/server modules

  Summary:
    Revision    Changes     Path
    1.12        +43 -0      openpkg-src/perl-www/perl-www.patch
    1.267       +31 -1      openpkg-src/perl-www/perl-www.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-www/perl-www.patch
  ============================================================================
  $ cvs diff -u -r1.11 -r1.12 perl-www.patch
  --- openpkg-src/perl-www/perl-www.patch	15 Nov 2005 07:59:47 -0000	1.11
  +++ openpkg-src/perl-www/perl-www.patch	26 Feb 2006 19:42:50 -0000	1.12
  @@ -22,3 +22,46 @@
    
        if (!$path || $path eq '.')
            {
  +Index: URI-Fetch-0.05/Makefile.PL
  +--- URI-Fetch-0.05/Makefile.PL.orig	2005-05-26 00:52:11 +0200
  ++++ URI-Fetch-0.05/Makefile.PL	2006-02-26 20:39:07 +0100
  +@@ -12,7 +12,6 @@
  + 
  + include('ExtUtils::AutoInstall');
  + 
  +-requires('Class::ErrorHandler');
  + requires('LWP');
  + requires('URI');
  + requires('Storable'),
  +Index: URI-Fetch-0.05/lib/URI/Fetch.pm
  +--- URI-Fetch-0.05/lib/URI/Fetch.pm.orig	2006-02-24 22:18:38 +0100
  ++++ URI-Fetch-0.05/lib/URI/Fetch.pm	2006-02-26 20:39:07 +0100
  +@@ -2,7 +2,6 @@
  + 
  + package URI::Fetch;
  + use strict;
  +-use base qw( Class::ErrorHandler );
  + 
  + use LWP::UserAgent;
  + use Carp qw( croak );
  +@@ -16,6 +15,20 @@
  +     $HAS_ZLIB = eval "use Compress::Zlib (); 1;";
  + }
  + 
  ++sub error {
  ++    my $msg = $_[1] || '';
  ++    if (ref($_[0])) {
  ++        $_[0]->{_errstr} = $msg;
  ++    } else {
  ++        $ERROR = $msg;
  ++    }
  ++    return;
  ++}
  ++
  ++sub errstr {
  ++    ref($_[0]) ? $_[0]->{_errstr} : $ERROR
  ++}
  ++
  + use constant URI_OK                => 200;
  + use constant URI_MOVED_PERMANENTLY => 301;
  + use constant URI_NOT_MODIFIED      => 304;
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-www/perl-www.spec
  ============================================================================
  $ cvs diff -u -r1.266 -r1.267 perl-www.spec
  --- openpkg-src/perl-www/perl-www.spec	25 Feb 2006 15:34:56 -0000	1.266
  +++ openpkg-src/perl-www/perl-www.spec	26 Feb 2006 19:42:50 -0000	1.267
  @@ -26,6 +26,7 @@
   %define       V_perl                                  5.8.8
   %define       V_libwww_perl                           5.805
   %define       V_uri                                   1.35
  +%define       V_uri_fetch                             0.05
   %define       V_cgi                                   3.17
   %define       V_cgi_untaint                           1.26
   %define       V_cgi_auth                              3.00
  @@ -80,6 +81,8 @@
   %define       V_http_recorder                         0.05
   %define       V_wddx                                  1.02
   %define       V_embperl                               2.1.0
  +%define       V_net_openid_consumer                   0.12
  +%define       V_net_openid_server                     0.10
   
   #   package information
   Name:         perl-www
  @@ -92,7 +95,7 @@
   Group:        Language
   License:      GPL/Artistic
   Version:      %{V_perl}
  -Release:      20060225
  +Release:      20060226
   
   #   list of sources
   Source0:      http://www.cpan.org/modules/by-module/URI/URI-%{V_uri}.tar.gz
  @@ -150,6 +153,9 @@
   Source52:     http://www.cpan.org/modules/by-module/CGI/CGI-Application-Plugin-Session-%{V_cgi_application_plugin_session}.tar.gz
  Source53:     http://www.cpan.org/modules/by-module/CGI/CGI-Application-Plugin-Stream-%{V_cgi_application_plugin_stream}.tar.gz
  Source54:     http://www.cpan.org/modules/by-module/HTTP/HTTP-Request-Params-%{V_http_request_params}.tar.gz
  +Source55:     http://www.cpan.org/modules/by-module/URI/URI-Fetch-%{V_uri_fetch}.tar.gz
  +Source56:     http://www.cpan.org/modules/by-module/Net/Net-OpenID-Consumer-%{V_net_openid_consumer}.tar.gz
  +Source57:     http://www.cpan.org/modules/by-module/Net/Net-OpenID-Server-%{V_net_openid_server}.tar.gz
  Patch0:       perl-www.patch
   
   #   build information
  @@ -166,6 +172,7 @@
       Various Perl modules related to World Wide Web (WWW):
       - libwww-perl (%{V_libwww_perl})
       - URI (%{V_uri})
  +    - URI::Fetch (%{V_uri_fetch})
       - CGI (%{V_cgi})
       - CGI::Application (%{V_cgi_application})
       - CGI::FormBuilder (%{V_cgi_formbuilder})
  @@ -211,6 +218,8 @@
       - HTTP::Request::Params (%{V_http_request_params})
       - WDDX (%{V_wddx})
       - Embperl (%{V_embperl})
  +    - Net::OpenID::Consumer (%{V_net_openid_consumer})
  +    - Net::OpenID::Server (%{V_net_openid_server})
   
   %track
       prog perl-www:CGI-Application = {
  @@ -353,6 +362,11 @@
           url       = http://www.cpan.org/modules/by-module/URI/
           regex     = URI-(__VER__)\.tar\.gz
       }
  +    prog perl-www:URI-Fetch = {
  +        version   = %{V_uri_fetch}
  +        url       = http://www.cpan.org/modules/by-module/URI/
  +        regex     = URI-Fetch-(__VER__)\.tar\.gz
  +    }
       prog perl-www:Net-Google = {
           version   = %{V_net_google}
           url       = http://www.cpan.org/modules/by-module/Net/
  @@ -453,6 +467,16 @@
           url       = ftp://ftp.dev.ecos.de/pub/perl/embperl/
           regex     = Embperl-(__VER__)\.tar\.gz
       }
  +    prog perl-net:Net-OpenID-Consumer = {
  +        version   = %{V_net_openid_consumer}
  +        url       = http://www.cpan.org/modules/by-module/Net/
  +        regex     = Net-OpenID-Consumer-(__VER__)\.tar\.gz
  +    }
  +    prog perl-net:Net-OpenID-Server = {
  +        version   = %{V_net_openid_server}
  +        url       = http://www.cpan.org/modules/by-module/Net/
  +        regex     = Net-OpenID-Server-(__VER__)\.tar\.gz
  +    }
   
   %prep
       %setup -q -c
  @@ -510,6 +534,9 @@
       %setup -q -T -D -a 52
       %setup -q -T -D -a 53
       %setup -q -T -D -a 54
  +    %setup -q -T -D -a 55
  +    %setup -q -T -D -a 56
  +    %setup -q -T -D -a 57
       %patch -p0
   
   %build
  @@ -572,6 +599,9 @@
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE52} configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE53} configure build install
       %{l_prefix}/bin/perl-openpkg -d %{SOURCE54} configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE55} configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE56} configure build install
  +    %{l_prefix}/bin/perl-openpkg -d %{SOURCE57} configure build install
   
       #   cleanup installation
       ( cd $RPM_BUILD_ROOT%{l_prefix}/bin
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic