2007-01-15 23:29:39 +00:00
|
|
|
#
|
2008-10-27 16:07:20 +00:00
|
|
|
# spec file for package perl-Apache-AuthCookie (Version 3.12)
|
2007-01-15 23:29:39 +00:00
|
|
|
#
|
2010-01-12 13:45:23 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:29:39 +00:00
|
|
|
#
|
2008-10-27 16:07:20 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-15 23:29:39 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-10-27 16:07:20 +00:00
|
|
|
|
2007-01-15 23:29:39 +00:00
|
|
|
Name: perl-Apache-AuthCookie
|
|
|
|
BuildRequires: apache2-mod_perl
|
2008-10-27 16:07:20 +00:00
|
|
|
Url: http://search.cpan.org/~mschout/Apache-AuthCookie
|
2010-01-12 13:45:23 +00:00
|
|
|
License: Artistic
|
2008-10-27 16:07:20 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2007-01-15 23:29:39 +00:00
|
|
|
Requires: apache2-mod_perl >= 2
|
2008-10-27 16:07:20 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:29:39 +00:00
|
|
|
Summary: Apache/Perl Authentication and Authorization via cookies
|
2008-10-27 16:07:20 +00:00
|
|
|
Version: 3.12
|
2010-01-12 13:45:23 +00:00
|
|
|
Release: 2
|
2007-01-15 23:29:39 +00:00
|
|
|
Source: Apache-AuthCookie-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Apache::AuthCookie allows you to intercept a user's first
|
|
|
|
unauthenticated access to a protected document. The user will be
|
|
|
|
presented with a custom form where they can enter authentication
|
|
|
|
credentials. The credentials are posted to the server where AuthCookie
|
|
|
|
verifies them and returns a session key.
|
|
|
|
|
|
|
|
The session key is returned to the user's browser as a cookie. As a
|
|
|
|
cookie, the browser will pass the session key on every subsequent
|
|
|
|
accesses. AuthCookie will verify the session key and re-authenticate
|
|
|
|
the user.
|
|
|
|
|
|
|
|
All you have to do is write a custom module that inherits from
|
|
|
|
AuthCookie.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Michael Schout <mschout@gkg.net>
|
|
|
|
Ken Williams <ken@forum.swarthmore.edu>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n Apache-AuthCookie-%{version}
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-12 13:45:23 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:29:39 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README README.modperl2
|
|
|
|
%doc %{_mandir}/man?/Apache::AuthCookie.3pm.gz
|
|
|
|
%doc %{_mandir}/man?/Apache2::AuthCookie.3pm.gz
|
|
|
|
%dir %{perl_vendorlib}/Apache
|
|
|
|
%dir %{perl_vendorlib}/Apache/AuthCookie
|
|
|
|
%dir %{perl_vendorlib}/Apache2
|
|
|
|
%{perl_vendorlib}/Apache/AuthCookie.pm
|
|
|
|
%{perl_vendorlib}/Apache/AuthCookie/Util.pm
|
|
|
|
%{perl_vendorlib}/Apache2/AuthCookie.pm
|
|
|
|
%dir %{perl_vendorarch}/auto/Apache
|
|
|
|
%dir %{perl_vendorarch}/auto/Apache/AuthCookie
|
|
|
|
%{perl_vendorarch}/auto/Apache/AuthCookie/.packlist
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2008-10-27 16:07:20 +00:00
|
|
|
%changelog
|