8
0

Compare commits

2 Commits

Author SHA256 Message Date
18cebf20ed Add Gitea build results 2025-08-12 18:11:42 +02:00
c4121ae9dc Accepting request 1195925 from devel:languages:perl:autoupdate
- 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

OBS-URL: https://build.opensuse.org/request/show/1195925
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Apache-AuthCookie?expand=0&rev=36
2024-08-29 07:06:53 +00:00
5 changed files with 52 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0728672eb98bcd66525967a75d7c4d617c0b4c41162013ac9a4cefe46f7dff7c
size 63708

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9fe82b10175e0b0f8cc11c7ed10444ad329403f22ebf826285db34b1ba57981c
size 64200

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Apache-AuthCookie/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Apache-AuthCookie)

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Apache-AuthCookie
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,30 +18,43 @@
%define cpan_name Apache-AuthCookie
Name: perl-Apache-AuthCookie
Version: 3.31
Version: 3.320.0
Release: 0
Summary: Perl Authentication and Authorization via cookies
# 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
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Apache::Test) >= 1.39
BuildRequires: perl(Apache::Test) >= 1.390
BuildRequires: perl(Class::Load) >= 0.03
BuildRequires: perl(HTTP::Body)
BuildRequires: perl(Hash::MultiValue)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(URI) >= 1.36
BuildRequires: perl(URI::Escape) >= 1.31
BuildRequires: perl(WWW::Form::UrlEncoded)
Requires: perl(Class::Load) >= 0.03
Requires: perl(HTTP::Body)
Requires: perl(Hash::MultiValue)
Requires: perl(Test::More) >= 0.94
Requires: perl(Test::More) >= 0.98
Requires: perl(URI) >= 1.36
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)
%{perl_requires}
# MANUAL BEGIN
@@ -141,8 +154,8 @@ client.
(-----------------------) +---------------------------------+
( Request a protected ) | AuthCookie sets custom error |
( page, but user hasn't )---->| document and returns |
( authenticated (no ) | FORBIDDEN. Apache abandons |
( session key cookie) ) | current request and creates sub |
( authenticated (no ) | FORBIDDEN. Apache abandons |
( session key cookie) ) | current request and creates sub |
(-----------------------) | request for the error document. |<-+
| Error document is a script that | |
| generates a form where the user | |
@@ -174,7 +187,7 @@ client.
| key cookie, add a | t |r / \ | override the |
| Set-Cookie header with this| u |u / \ | invalid cookie|
| session key. Client then | r |e / \ +---------------+
| returns session key with | n | / pass \ ^
| returns session key with | n | / pass \ ^
| successive requests | | / session \ |
+----------------------------+ | / key to \ return |
| +-| authen_ses_key|------------+
@@ -204,8 +217,9 @@ client.
map it back to the originally authenticated user ID.
%prep
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor