Mercurial > hg > nginx-quic
annotate src/http/modules/perl/Makefile.PL @ 5989:ec01b1d1fff1
Mail: client SSL certificates support.
The "ssl_verify_client", "ssl_verify_depth", "ssl_client_certificate",
"ssl_trusted_certificate", and "ssl_crl" directives introduced to control
SSL client certificate verification in mail proxy module.
If there is a certificate, detail of the certificate are passed to
the auth_http script configured via Auth-SSL-Verify, Auth-SSL-Subject,
Auth-SSL-Issuer, Auth-SSL-Serial, Auth-SSL-Fingerprint headers. If
the auth_http_pass_client_cert directive is set, client certificate
in PEM format will be passed in the Auth-SSL-Cert header (urlencoded).
If there is no required certificate provided during an SSL handshake
or certificate verification fails then a protocol-specific error is
returned after the SSL handshake and the connection is closed.
Based on previous work by Sven Peter, Franck Levionnois and Filipe Da Silva.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 25 Feb 2015 17:48:05 +0300 |
parents | 2db6bdcaedc0 |
children | 0d2956dfc4e6 |
rev | line source |
---|---|
599 | 1 |
2 # Copyright (C) Igor Sysoev | |
4412 | 3 # Copyright (C) Nginx, Inc. |
599 | 4 |
5 use 5.006001; | |
6 use ExtUtils::MakeMaker; | |
7 | |
8 WriteMakefile( | |
9 NAME => 'nginx', | |
10 VERSION_FROM => 'nginx.pm', # finds $VERSION | |
11 PREREQ_PM => {}, # e.g., Module::Name => 1.1 | |
12 | |
13 ABSTRACT_FROM => 'nginx.pm', # retrieve abstract from module | |
14 AUTHOR => 'Igor Sysoev', | |
15 | |
681 | 16 CCFLAGS => "$ENV{NGX_PM_CFLAGS}", |
619 | 17 OPTIMIZE => '-O', |
599 | 18 |
4945
ae3ebf5ac8cd
Fixed build with embedded perl in certain setups (ticket #48).
Ruslan Ermilov <ru@nginx.com>
parents:
4473
diff
changeset
|
19 INC => join(" ", map { |
ae3ebf5ac8cd
Fixed build with embedded perl in certain setups (ticket #48).
Ruslan Ermilov <ru@nginx.com>
parents:
4473
diff
changeset
|
20 m#^/# ? "-I $_" : "-I ../../../../../$_" |
ae3ebf5ac8cd
Fixed build with embedded perl in certain setups (ticket #48).
Ruslan Ermilov <ru@nginx.com>
parents:
4473
diff
changeset
|
21 } (split /\s+/, $ENV{NGX_INCS})), |
599 | 22 |
23 depend => { | |
5168
482fda984556
Configure: fixed nginx.so rebuild (broken by r5145).
Maxim Dounin <mdounin@mdounin.ru>
parents:
4945
diff
changeset
|
24 'nginx.c' => join(" ", map { |
5180
2db6bdcaedc0
Configure: fixed perl Makefile generation (ticket #334).
Maxim Dounin <mdounin@mdounin.ru>
parents:
5168
diff
changeset
|
25 m#^/# ? $_ : "../../../../../$_" |
5168
482fda984556
Configure: fixed nginx.so rebuild (broken by r5145).
Maxim Dounin <mdounin@mdounin.ru>
parents:
4945
diff
changeset
|
26 } (split(/\s+/, $ENV{NGX_DEPS}), |
482fda984556
Configure: fixed nginx.so rebuild (broken by r5145).
Maxim Dounin <mdounin@mdounin.ru>
parents:
4945
diff
changeset
|
27 "src/http/modules/perl/ngx_http_perl_module.h")) |
599 | 28 }, |
29 | |
30 PM => { | |
31 'nginx.pm' => '$(INST_LIBDIR)/nginx.pm' | |
32 } | |
33 ); |