forked from pool/perl-Apache-AuthCookie
Compare commits
15 Commits
Author | SHA256 | Date | |
---|---|---|---|
03be8dc373 | |||
8a73ff7f7b | |||
5fab451de9 | |||
bc78905a0b | |||
75182c641c | |||
4af4ca2fb3 | |||
a14e82a907 | |||
f7358b6e31 | |||
1d8e442d32 | |||
|
1e5d005ece | ||
|
59c4b76286 | ||
|
99e0b99f39 | ||
|
df669385dd | ||
8a6206fee8 | |||
6d5def5656 |
3
Apache-AuthCookie-3.31.tar.gz
Normal file
3
Apache-AuthCookie-3.31.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0728672eb98bcd66525967a75d7c4d617c0b4c41162013ac9a4cefe46f7dff7c
|
||||||
|
size 63708
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9fe82b10175e0b0f8cc11c7ed10444ad329403f22ebf826285db34b1ba57981c
|
|
||||||
size 64200
|
|
12
README.md
12
README.md
@@ -1,12 +0,0 @@
|
|||||||
|
|
||||||
## Build Results
|
|
||||||
|
|
||||||
Current state of perl in openSUSE:Factory is
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
The current state of perl in the devel project build (devel:languages:perl)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
|
@@ -1,14 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Sun Aug 18 05:29:28 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
|
||||||
|
|
||||||
- updated to 3.320.0 (3.32)
|
|
||||||
see /usr/share/doc/packages/perl-Apache-AuthCookie/Changes
|
|
||||||
|
|
||||||
3.32 2024-08-17
|
|
||||||
- Fix small typo in documentation (github #18, thanks Damyan Ivanov)
|
|
||||||
- Capitalize Apache in POD (thanks Ed Sabol)
|
|
||||||
- Fix warning due to quoted version in import under Perl 5.40
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 7 03:06:03 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
Fri Jan 7 03:06:03 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Apache-AuthCookie
|
# spec file for package perl-Apache-AuthCookie
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,43 +18,30 @@
|
|||||||
|
|
||||||
%define cpan_name Apache-AuthCookie
|
%define cpan_name Apache-AuthCookie
|
||||||
Name: perl-Apache-AuthCookie
|
Name: perl-Apache-AuthCookie
|
||||||
Version: 3.320.0
|
Version: 3.31
|
||||||
Release: 0
|
Release: 0
|
||||||
# 3.32 -> normalize -> 3.320.0
|
|
||||||
%define cpan_version 3.32
|
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
||||||
Summary: Perl Authentication and Authorization via cookies
|
Summary: Perl Authentication and Authorization via cookies
|
||||||
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/%{cpan_name}-%{cpan_version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
Source100: README.md
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Apache::Test) >= 1.390
|
BuildRequires: perl(Apache::Test) >= 1.39
|
||||||
BuildRequires: perl(Class::Load) >= 0.03
|
BuildRequires: perl(Class::Load) >= 0.03
|
||||||
BuildRequires: perl(HTTP::Body)
|
BuildRequires: perl(HTTP::Body)
|
||||||
BuildRequires: perl(Hash::MultiValue)
|
BuildRequires: perl(Hash::MultiValue)
|
||||||
BuildRequires: perl(Test::More) >= 0.98
|
BuildRequires: perl(Test::More) >= 0.94
|
||||||
BuildRequires: perl(URI) >= 1.36
|
BuildRequires: perl(URI) >= 1.36
|
||||||
BuildRequires: perl(URI::Escape) >= 1.31
|
BuildRequires: perl(URI::Escape) >= 1.31
|
||||||
BuildRequires: perl(WWW::Form::UrlEncoded)
|
BuildRequires: perl(WWW::Form::UrlEncoded)
|
||||||
Requires: perl(Class::Load) >= 0.03
|
Requires: perl(Class::Load) >= 0.03
|
||||||
Requires: perl(HTTP::Body)
|
Requires: perl(HTTP::Body)
|
||||||
Requires: perl(Hash::MultiValue)
|
Requires: perl(Hash::MultiValue)
|
||||||
Requires: perl(Test::More) >= 0.98
|
Requires: perl(Test::More) >= 0.94
|
||||||
Requires: perl(URI) >= 1.36
|
Requires: perl(URI) >= 1.36
|
||||||
Requires: perl(WWW::Form::UrlEncoded)
|
Requires: perl(WWW::Form::UrlEncoded)
|
||||||
Provides: perl(Apache2::AuthCookie) = %{version}
|
|
||||||
Provides: perl(Apache2::AuthCookie::Base) = %{version}
|
|
||||||
Provides: perl(Apache2::AuthCookie::Params) = %{version}
|
|
||||||
Provides: perl(Apache2_4::AuthCookie) = %{version}
|
|
||||||
Provides: perl(Apache::AuthCookie) = %{version}
|
|
||||||
Provides: perl(Apache::AuthCookie::Params) = %{version}
|
|
||||||
Provides: perl(Apache::AuthCookie::Params::Base) = %{version}
|
|
||||||
Provides: perl(Apache::AuthCookie::Params::CGI) = %{version}
|
|
||||||
Provides: perl(Apache::AuthCookie::Util) = %{version}
|
|
||||||
%undefine __perllib_provides
|
|
||||||
Recommends: perl(WWW::Form::UrlEncoded::XS)
|
Recommends: perl(WWW::Form::UrlEncoded::XS)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
@@ -154,8 +141,8 @@ client.
|
|||||||
(-----------------------) +---------------------------------+
|
(-----------------------) +---------------------------------+
|
||||||
( Request a protected ) | AuthCookie sets custom error |
|
( Request a protected ) | AuthCookie sets custom error |
|
||||||
( page, but user hasn't )---->| document and returns |
|
( page, but user hasn't )---->| document and returns |
|
||||||
( authenticated (no ) | FORBIDDEN. Apache abandons |
|
( authenticated (no ) | FORBIDDEN. Apache abandons |
|
||||||
( session key cookie) ) | current request and creates sub |
|
( session key cookie) ) | current request and creates sub |
|
||||||
(-----------------------) | request for the error document. |<-+
|
(-----------------------) | request for the error document. |<-+
|
||||||
| Error document is a script that | |
|
| Error document is a script that | |
|
||||||
| generates a form where the user | |
|
| generates a form where the user | |
|
||||||
@@ -187,7 +174,7 @@ client.
|
|||||||
| key cookie, add a | t |r / \ | override the |
|
| key cookie, add a | t |r / \ | override the |
|
||||||
| Set-Cookie header with this| u |u / \ | invalid cookie|
|
| Set-Cookie header with this| u |u / \ | invalid cookie|
|
||||||
| session key. Client then | r |e / \ +---------------+
|
| session key. Client then | r |e / \ +---------------+
|
||||||
| returns session key with | n | / pass \ ^
|
| returns session key with | n | / pass \ ^
|
||||||
| successive requests | | / session \ |
|
| successive requests | | / session \ |
|
||||||
+----------------------------+ | / key to \ return |
|
+----------------------------+ | / key to \ return |
|
||||||
| +-| authen_ses_key|------------+
|
| +-| authen_ses_key|------------+
|
||||||
@@ -217,9 +204,8 @@ client.
|
|||||||
map it back to the originally authenticated user ID.
|
map it back to the originally authenticated user ID.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
%autosetup -n %{cpan_name}-%{version}
|
||||||
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
Reference in New Issue
Block a user