Hello community, here is the log from the commit of package perl-Apache-DBI checked in at Thu Dec 14 02:02:52 CET 2006. -------- --- perl-Apache-DBI/perl-Apache-DBI.changes 2006-09-13 20:27:22.000000000 +0200 +++ /mounts/work_src_done/STABLE/perl-Apache-DBI/perl-Apache-DBI.changes 2006-12-13 13:30:27.000000000 +0100 @@ -1,0 +2,7 @@ +Wed Dec 13 12:22:09 CET 2006 - anicka@suse.cz + +- update to 1.05 + * MP2/AuthDBI: Add missing Apache2::Access + * MP1: Undefined subroutine &Apache2::Const::OK called at .... + +------------------------------------------------------------------- Old: ---- Apache-DBI-1.03-path.diff Apache-DBI-1.03.tar.bz2 New: ---- Apache-DBI-1.05-path.diff Apache-DBI-1.05.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Apache-DBI.spec ++++++ --- /var/tmp/diff_new_pack.xMJlLf/_old 2006-12-14 02:01:19.000000000 +0100 +++ /var/tmp/diff_new_pack.xMJlLf/_new 2006-12-14 02:01:19.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package perl-Apache-DBI (Version 1.03) +# spec file for package perl-Apache-DBI (Version 1.05) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,7 +12,7 @@ Name: perl-Apache-DBI BuildRequires: apache2-devel apache2-mod_perl libapr-util1-devel pcre-devel perl-DBI -Version: 1.03 +Version: 1.05 Release: 1 Provides: ApacheDBI perl-ApacheDBI Obsoletes: perl-ApacheDBI @@ -71,6 +71,10 @@ /var/adm/perl-modules/%{name} %changelog -n perl-Apache-DBI +* Wed Dec 13 2006 - anicka@suse.cz +- update to 1.05 + * MP2/AuthDBI: Add missing Apache2::Access + * MP1: Undefined subroutine &Apache2::Const::OK called at .... * Wed Sep 13 2006 - anicka@suse.cz - update to 1.03 * three minor bugfixes ++++++ Apache-DBI-1.03-path.diff -> Apache-DBI-1.05-path.diff ++++++ ++++++ Apache-DBI-1.03.tar.bz2 -> Apache-DBI-1.05.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Apache-DBI-1.03/Changes new/Apache-DBI-1.05/Changes --- old/Apache-DBI-1.03/Changes 2006-08-21 18:04:20.000000000 +0200 +++ new/Apache-DBI-1.05/Changes 2006-11-04 07:16:22.000000000 +0100 @@ -1,5 +1,16 @@ Revision history for ApacheDBI. +1.05 11/3/2006 + - MP2/AuthDBI: Add missing Apache2::Access + Submitted by: Adam Prime x443 <aprime@brunico.com> + +1.04 10/23/2006 + - MP1: Undefined subroutine &Apache2::Const::OK called at .... + (The rest of them) d'oh! + + Seconded by: Kjetil Kjernsmo <kjetil@kjernsmo.net> + Submitted by: BOWMANBS <BOWMANBS@cpan.org> + 1.03 08/21/2006 - MP1: Undefined subroutine &Apache2::Const::OK called at diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Apache-DBI-1.03/MANIFEST new/Apache-DBI-1.05/MANIFEST --- old/Apache-DBI-1.03/MANIFEST 2006-08-21 18:05:18.000000000 +0200 +++ new/Apache-DBI-1.05/MANIFEST 2006-11-04 07:38:44.000000000 +0100 @@ -2,10 +2,10 @@ MANIFEST Makefile.PL README +TODO eg/startup.pl lib/Apache/AuthDBI.pm lib/Apache/DBI.pm t/10mysql.t -t/TODO traces.txt META.yml Module meta-data (added by MakeMaker) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Apache-DBI-1.03/META.yml new/Apache-DBI-1.05/META.yml --- old/Apache-DBI-1.03/META.yml 2006-08-21 18:05:17.000000000 +0200 +++ new/Apache-DBI-1.05/META.yml 2006-11-04 07:38:44.000000000 +0100 @@ -1,14 +1,15 @@ -# http://module-build.sourceforge.net/META-spec.html -#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# -name: Apache-DBI -version: 1.03 -version_from: lib/Apache/DBI.pm -installdirs: site -requires: +--- #YAML:1.0 +name: Apache-DBI +version: 1.05 +abstract: ~ +license: ~ +generated_by: ExtUtils::MakeMaker version 6.31 +distribution_type: module +requires: DBI: 1 Digest::MD5: 2.2 Digest::SHA1: 2.01 Test::More: 0 - -distribution_type: module -generated_by: ExtUtils::MakeMaker version 6.30 +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.2.html + version: 1.2 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Apache-DBI-1.03/README new/Apache-DBI-1.05/README --- old/Apache-DBI-1.03/README 2006-08-02 12:41:25.000000000 +0200 +++ new/Apache-DBI-1.05/README 2006-11-04 07:17:24.000000000 +0100 @@ -1,7 +1,7 @@ DESCRIPTION: ------------ -This is version 1.03 of Apache::AuthDBI and Apache::DBI. +This is version 1.05 of Apache::AuthDBI and Apache::DBI. These modules are supposed to be used with the Apache server together with an embedded perl interpreter like mod_perl. They provide support for basic diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Apache-DBI-1.03/TODO new/Apache-DBI-1.05/TODO --- old/Apache-DBI-1.03/TODO 1970-01-01 01:00:00.000000000 +0100 +++ new/Apache-DBI-1.05/TODO 2006-11-04 07:19:30.000000000 +0100 @@ -0,0 +1,13 @@ + +Showstoppers for 1.06: +---------------------- +Migrate test suite to 1.06 + +Nice to have for 1.06: +----------------------- +Add tests for other DBDs starting with PostgreSQL. + + +General: +------------------------ +Actually test AuthDBI diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Apache-DBI-1.03/lib/Apache/AuthDBI.pm new/Apache-DBI-1.05/lib/Apache/AuthDBI.pm --- old/Apache-DBI-1.03/lib/Apache/AuthDBI.pm 2006-08-21 18:01:20.000000000 +0200 +++ new/Apache-DBI-1.05/lib/Apache/AuthDBI.pm 2006-11-04 07:17:44.000000000 +0100 @@ -1,7 +1,7 @@ -# $Id: AuthDBI.pm 6820 2006-08-21 16:01:35Z pgollucci@p6m7g8.com $ +# $Id: AuthDBI.pm 8010 2006-11-04 06:17:42Z pgollucci@p6m7g8.com $ package Apache::AuthDBI; -$Apache::AuthDBI::VERSION = '1.03'; +$Apache::AuthDBI::VERSION = '1.05'; # 1: report about cache miss # 2: full debug output @@ -13,6 +13,7 @@ BEGIN { my @constants = qw( OK AUTH_REQUIRED FORBIDDEN DECLINED SERVER_ERROR ); if (MP2) { + require Apache2::Access; require Apache2::Const; import Apache2::Const @constants; } @@ -671,8 +672,8 @@ unless ($ary_ref) { if ($Attr->{authoritative} eq 'on') { $r->log_reason("user $user_sent denied, no access rules specified (DBI-Authoritative)", $r->uri); - if ($authz_denied == MP2 ? Apache2::Const::AUTH_REQUIRED() : - Apache::Constants::AUTH_REQUIRED()) { + if ($authz_denied == (MP2 ? Apache2::Const::AUTH_REQUIRED() : + Apache::Constants::AUTH_REQUIRED())) { $r->note_basic_auth_failure; } return $authz_denied; @@ -913,17 +914,17 @@ Apache::Constants::OK()) ) && ( - $group_result != MP2 ? Apache2::Const::OK() : - Apache::Constants::OK() + $group_result != (MP2 ? Apache2::Const::OK() : + Apache::Constants::OK()) ) ) { my $reason; - if ($user_result == MP2 ? Apache2::Const::AUTH_REQUIRED() : - Apache::Constants::AUTH_REQUIRED()) { + if ($user_result == (MP2 ? Apache2::Const::AUTH_REQUIRED() : + Apache::Constants::AUTH_REQUIRED())) { $reason .= " USER"; } - if ($group_result == MP2 ? Apache2::Const::AUTH_REQUIRED() : - Apache::Constants::AUTH_REQUIRED()) { + if ($group_result == (MP2 ? Apache2::Const::AUTH_REQUIRED() : + Apache::Constants::AUTH_REQUIRED())) { $reason .= " GROUP"; } $r->log_reason( @@ -931,8 +932,8 @@ $r->uri ); - if ($authz_denied == MP2 ? Apache2::Const::AUTH_REQUIRED() : - Apache::Constants::AUTH_REQUIRED()) { + if ($authz_denied == (MP2 ? Apache2::Const::AUTH_REQUIRED() : + Apache::Constants::AUTH_REQUIRED())) { $r->note_basic_auth_failure; } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Apache-DBI-1.03/lib/Apache/DBI.pm new/Apache-DBI-1.05/lib/Apache/DBI.pm --- old/Apache-DBI-1.03/lib/Apache/DBI.pm 2006-08-02 12:42:13.000000000 +0200 +++ new/Apache-DBI-1.05/lib/Apache/DBI.pm 2006-11-04 07:17:44.000000000 +0100 @@ -1,4 +1,4 @@ -# $Id: DBI.pm 6744 2006-08-02 10:42:12Z pgollucci@p6m7g8.com $ +# $Id: DBI.pm 8010 2006-11-04 06:17:42Z pgollucci@p6m7g8.com $ package Apache::DBI; use strict; @@ -21,7 +21,7 @@ require_version DBI 1.00; -$Apache::DBI::VERSION = '1.03'; +$Apache::DBI::VERSION = '1.05'; # 1: report about new connect # 2: full debug output diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/Apache-DBI-1.03/t/TODO new/Apache-DBI-1.05/t/TODO --- old/Apache-DBI-1.03/t/TODO 2006-08-02 12:38:53.000000000 +0200 +++ new/Apache-DBI-1.05/t/TODO 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ - -Use Apache-Test to improve these tests and in particular to test AuthDBI. - - - - - - ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de