OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 31-Jan-2003 10:56:29
Branch: HEAD Handle: 2003013109562900
Added files:
openpkg-src/perl-apache Apache-AuthCookie.patch
Modified files:
openpkg-src/perl-apache perl-apache.spec
Log:
added alternative *brain-dead* behavior in Apache-AuthCookie's login
sub-routine.
Summary:
Revision Changes Path
1.1 +13 -0 openpkg-src/perl-apache/Apache-AuthCookie.patch
1.4 +11 -2 openpkg-src/perl-apache/perl-apache.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-apache/Apache-AuthCookie.patch
============================================================================
$ cvs diff -u -r0 -r1.1 Apache-AuthCookie.patch
--- /dev/null 2003-01-31 10:56:29.000000000 +0100
+++ Apache-AuthCookie.patch 2003-01-31 10:56:29.000000000 +0100
@@ -0,0 +1,13 @@
+--- Apache-AuthCookie-3.04/AuthCookie.pm.orig Wed Sep 25 18:44:31 2002
++++ Apache-AuthCookie-3.04/AuthCookie.pm Fri Jan 31 10:51:09 2003
+@@ -71,8 +71,8 @@
+
+ unless (exists $args{'destination'}) {
+ $r->log_error("No key 'destination' found in form data");
+- $r->subprocess_env('AuthCookieReason', 'no_cookie');
+- return $auth_type->login_form;
++ my $default_destination = $self->default_destination();
++ args{'destination'} = $default_destination;
+ }
+
+ # Get the credentials from the data posted by the client
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/perl-apache/perl-apache.spec
============================================================================
$ cvs diff -u -r1.3 -r1.4 perl-apache.spec
--- openpkg-src/perl-apache/perl-apache.spec 25 Jan 2003 13:14:51 -0000 1.3
+++ openpkg-src/perl-apache/perl-apache.spec 31 Jan 2003 09:56:29 -0000 1.4
@@ -47,8 +47,13 @@
Distribution: OpenPKG [EVAL]
Group: Language
License: GPL/Artistic
-Version: 20030125
-Release: 20030125
+Version: 20030131
+Release: 20030131
+
+# package options
+# FIMXE: alternative *brain-dead* behavior in Apache-AuthCookie's login
+# sub-routine. This options is only provided as a temporary fix!
+%option with_authcookie_alt no
# list of sources
Source0:
http://www.cpan.org/modules/by-module/Apache/Apache-AuthCookie-%{V_apache_authcookie}.tar.gz
@@ -64,6 +69,7 @@
Source10:
http://www.cpan.org/modules/by-module/Apache/Apache-Session-SQLite-%{V_apache_session_sqlite}.tar.gz
Source11:
http://www.cpan.org/modules/by-module/Apache/Apache-Session-SharedMem-%{V_apache_session_sharedmem}.tar.gz
Source12:
http://www.cpan.org/modules/by-module/Apache/Apache-TempFile-%{V_apache_tempfile}.tar.gz
+Patch0: Apache-AuthCookie.patch
# build information
Prefix: %{l_prefix}
@@ -103,6 +109,9 @@
%setup10 -q -T -D -a 10
%setup11 -q -T -D -a 11
%setup12 -q -T -D -a 12
+%if "%{with_authcookie_alt}" == "yes"
+ %patch0 -p0
+%endif
%build
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]