Browse Source

finally cleanup this package before inclusion into OpenPKG 1.3

Ralf S. Engelschall 22 years ago
parent
commit
0fd408d87b

+ 0 - 13
perl-apache/Apache-AuthCookie.patch

@@ -1,13 +0,0 @@
---- 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

perl-apache/Apache-Session-Lazy.patch → perl-apache/perl-apache.patch


+ 4 - 13
perl-apache/perl-apache.spec

@@ -48,13 +48,8 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [EVAL]
 Distribution: OpenPKG [EVAL]
 Group:        Language
 Group:        Language
 License:      GPL/Artistic
 License:      GPL/Artistic
-Version:      20030711
-Release:      20030711
-
-#   package options
-#   FIMXE: rse: alternative *brain-dead* behavior in Apache-AuthCookie's login
-#   FIXME: rse: sub-routine. This options is only provided as a temporary fix!
-%option       with_authcookie_alt   no
+Version:      20030722
+Release:      20030722
 
 
 #   list of sources
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Apache/Apache-AuthCookie-%{V_apache_authcookie}.tar.gz
 Source0:      http://www.cpan.org/modules/by-module/Apache/Apache-AuthCookie-%{V_apache_authcookie}.tar.gz
@@ -71,8 +66,7 @@ Source10:     http://www.cpan.org/modules/by-module/Apache/Apache-Session-SQLite
 Source11:     http://www.cpan.org/modules/by-module/Apache/Apache-Session-SharedMem-%{V_apache_session_sharedmem}.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
 Source12:     http://www.cpan.org/modules/by-module/Apache/Apache-TempFile-%{V_apache_tempfile}.tar.gz
 Source13:     http://www.cpan.org/modules/by-module/Apache/Apache-DB-%{V_apache_db}.tar.gz
 Source13:     http://www.cpan.org/modules/by-module/Apache/Apache-DB-%{V_apache_db}.tar.gz
-Patch0:       Apache-AuthCookie.patch
-Patch1:       Apache-Session-Lazy.patch
+Patch0:       perl-apache.patch
 
 
 #   build information
 #   build information
 Prefix:       %{l_prefix}
 Prefix:       %{l_prefix}
@@ -114,10 +108,7 @@ AutoReqProv:  no
     %setup11 -q -T -D -a 11
     %setup11 -q -T -D -a 11
     %setup12 -q -T -D -a 12
     %setup12 -q -T -D -a 12
     %setup13 -q -T -D -a 13
     %setup13 -q -T -D -a 13
-%if "%{with_authcookie_alt}" == "yes"
-    %patch0 -p0
-%endif
-    %patch1 -p0
+    %patch0  -p0
 
 
 %build
 %build