Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-P
perl-Plack-Middleware-GepokX-ModSSL
perl-Plack-Middleware-GepokX-ModSSL.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Plack-Middleware-GepokX-ModSSL.spec of Package perl-Plack-Middleware-GepokX-ModSSL
# # spec file for package perl-Plack-Middleware-GepokX-ModSSL # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Plack-Middleware-GepokX-ModSSL Version: 0.002 Release: 0 %define cpan_name Plack-Middleware-GepokX-ModSSL Summary: Roughly Compatible with Plack::Middleware::Apache2::Modssl License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Plack-Middleware-GepokX-ModSSL/ Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Crypt::X509) BuildRequires: perl(DateTime) BuildRequires: perl(Gepok) >= 0.20 BuildRequires: perl(Net::SSL) BuildRequires: perl(Net::SSLeay) BuildRequires: perl(Plack) Requires: perl(Crypt::X509) Requires: perl(DateTime) Requires: perl(Gepok) >= 0.20 Requires: perl(Net::SSLeay) Requires: perl(Plack) %{perl_requires} %description This middleware attempts to recreate for Gepok, some of the SSL information which Apache's mod_ssl would put into the Plack '$env' hashref. It supports the following variables, as defined by the http://httpd.apache.org/docs/2.0/mod/mod_ssl.html manpage. * * 'SSL_CIPHER' * * 'SSL_CIPHER_USEKEYSIZE' * * 'SSL_CLIENT_CERT' * * 'SSL_CLIENT_I_DN' * * 'SSL_CLIENT_I_DN_C' * * 'SSL_CLIENT_I_DN_CN' * * 'SSL_CLIENT_I_DN_Email' * * 'SSL_CLIENT_I_DN_L' * * 'SSL_CLIENT_I_DN_O' * * 'SSL_CLIENT_I_DN_ST' * * 'SSL_CLIENT_M_SERIAL' * * 'SSL_CLIENT_M_VERSION' * * 'SSL_CLIENT_S_DN' * * 'SSL_CLIENT_S_DN_C' * * 'SSL_CLIENT_S_DN_CN' * * 'SSL_CLIENT_S_DN_Email' * * 'SSL_CLIENT_S_DN_L' * * 'SSL_CLIENT_S_DN_O' * * 'SSL_CLIENT_S_DN_ST' * * 'SSL_CLIENT_VERIFY' * * 'SSL_CLIENT_V_END' * * 'SSL_CLIENT_V_START' * * 'SSL_PROTOCOL' Nothing is done by default. You need to tell the module which variables you want: builder { enable "GepokX::ModSSL", vars => [qw( SSL_CIPHER SSL_CIPHER_USEKEYSIZE )]; $app; }; If you want it all, then: builder { enable "GepokX::ModSSL", vars => [ Plack::Middleware::GepokX::ModSSL->all ]; $app; }; Though bear in mind that some variables are more computationally expensive than others. Cheap ones are: 'SSL_PROTOCOL', 'SSL_CIPHER', 'SSL_CIPHER_USEKEYSIZE', 'SSL_CLIENT_CERT', 'SSL_CLIENT_VERIFY'. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes CONTRIBUTING COPYRIGHT CREDITS doap.ttl examples LICENSE README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor