summaryrefslogtreecommitdiffhomepage
path: root/auto/lib/perl (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-12-16Configure: detect nginx version for nginx.pm at make time.Ruslan Ermilov1-4/+5
2016-12-07Perl: removed special environment handling for the perl module.Maxim Dounin1-3/+3
In Perl 5.8.6 the default was switched to use putenv() when used as embedded library unless "PL_use_safe_putenv = 0" is explicitly used in the code. Therefore, for modern versions of Perl it is no longer necessary to restore previous environment when calling perl_destruct().
2016-09-20Perl: pass additional linker options to perl module.Konstantin Pavlov2-1/+4
Previously flags passed by --with-ld-opt were not used when building perl module, which meant hardening flags provided by package build systems were not applied.
2016-02-26Dynamic modules: perl.Ruslan Ermilov2-3/+9
2015-11-30Configure: improved workaround for system perl on OS X.Ruslan Ermilov1-1/+1
The workaround from baf2816d556d stopped to work because the order of "-arch x86_64" and "-arch i386" has changed.
2014-06-26Configure: restored "nginx/" missed in 6e4bb1d6679d.Maxim Dounin1-1/+2
2014-06-26Configure: style.Maxim Dounin1-2/+4
2014-06-17Configure: workaround for system perl on OS X (ticket #576).Maxim Dounin1-0/+5
2013-07-11Configure: perl Makefile rebuild after configure.Maxim Dounin1-0/+1
The $NGX_AUTO_CONFIG_H added to perl module Makefile dependencies to make sure it's always rebuild after a configure. It is needed as we expand various variables used for Makefile generation during configure (in particular, nginx version).
2013-04-19Configure: fixed perl Makefile generation (ticket #334).Maxim Dounin1-1/+1
Dependancy tracking introduced in r5169 were not handled absolute path names properly. Absolute names might appear in CORE_DEPS if --with-openssl or --with-pcre configure arguments are used to build OpenSSL/PCRE libraries. Additionally, revert part of r5169 to set NGX_INCS from Makefile variables. Makefile variables have $ngx_include_opt in them, which might result in wrong include paths being used. As a side effect, this also restores build with --with-http_perl_module and --without-http at the same time.
2013-04-10Configure: fixed nginx.so rebuild (broken by r5145).Maxim Dounin1-1/+2
To avoid further breaks it's now done properly, all the dependencies are now passed to Makefile.PL. While here, fixed include list passed to Makefile.PL to use Makefile variables rather than a list expanded during configure.
2013-03-28Simplified nginx version maintenance.Ruslan Ermilov1-1/+7
It's no longer necessary to update src/http/modules/perl/nginx.pm when version is bumped, as it's now derived from src/core/nginx.h.
2013-03-28Configure: fixed perl module make rules.Ruslan Ermilov2-2/+4
Filename extension used for dynamically loaded perl modules isn't necessarily ".so" (e.g., it's ".bundle" on Mac OS X). This fixes "make" after "make" unnecessarily rebuilding perl module.
2013-03-28Configure: improved make dependencies for perl module.Ruslan Ermilov1-5/+3
Added missing dependencies for perl module's Makefile. Simplified dependencies for perl module nginx.so: it depends on Makefile that in turn depends on other perl bits.
2013-03-28Configure: improved layout of the generated makefile.Ruslan Ermilov1-12/+12
No functional changes.
2013-02-15Configure: rebuild perl module nginx.so if headers are changed.Maxim Dounin1-1/+2
Note: the "-p" argument of cp(1) dropped intentionally, to force nginx.so rebuild. It is considered too boring to properly list all dependencies in Makefile.PL.
2012-12-03Fixed build with embedded perl in certain setups (ticket #48).Ruslan Ermilov1-3/+1
2012-09-27Configure: additional test for ExtUtils::Embed perl module presence.Andrey Belov1-1/+9
Now perl configure will correctly fail if ExtUtils::Embed perl module is not present in the system (found on Amazon Linux AMI, as of release 2012.03).
2012-09-11Configure: fixed make macros to use parentheses instead of braces.Maxim Dounin1-1/+1
Parentheses are more portable, in particular they are understood by nmake while braces aren't.
2012-07-07Configure: fixed "make" used instead of "${MAKE}".Maxim Dounin1-1/+1
2012-02-13Fixed build with embedded perl and --with-openssl.Maxim Dounin1-0/+1
2012-01-18Copyright updated.Maxim Konovalov2-0/+2
2007-04-28fix building ngx_http_perl_module by Solaris makeIgor Sysoev1-2/+0
2006-12-24fix for nginx.pm default installationIgor Sysoev2-1/+2
2006-12-24backout the r945: the nginx.pm could not be loaded at all,Igor Sysoev1-1/+2
next try to fix --with-perl_modules_path= for unpriviliged user installation
2006-12-23fix --with-perl_modules_path= for unpriviliged user installationIgor Sysoev1-1/+1
2006-11-26Axe several perl interpreter instances: they may be useful in currentlyIgor Sysoev1-5/+1
unsupported threaded environment, but now they complicate code: *) perl_clone() requires at least duplicating nginx stash; *) the multiplicity requires to re-evalute all precompiled subroutines and nginx stash in new interpreter context.
2006-10-05force perl modules reinstallation after rebuildingIgor Sysoev1-1/+2
2006-08-30nginx-0.4.0-RELEASE importrelease-0.4.0Igor Sysoev2-5/+11
*) Change in internal API: the HTTP modules initialization was moved from the init module phase to the HTTP postconfiguration phase. *) Change: now the request body is not read beforehand for the ngx_http_perl_module: it's required to start the reading using the $r->has_request_body method. *) Feature: the ngx_http_perl_module supports the DECLINED return code. *) Feature: the ngx_http_dav_module supports the incoming "Date" header line for the PUT method. *) Feature: the "ssi" directive is available inside the "if" block. *) Bugfix: a segmentation fault occurred if there was an "index" directive with variables and the first index name was without variables; the bug had appeared in 0.1.29.
2006-08-04nginx-0.3.56-RELEASE importrelease-0.3.56Igor Sysoev1-0/+2
*) Feature: the "dav_access" directive. *) Feature: the "if" directive supports the "-d", "!-d", "-e", "!-e", "-x", and "!-x" operators. *) Bugfix: a segmentation fault occurred if a request returned a redirect and some sent to client header lines were logged in the access log.
2006-01-17nginx-0.3.22-RELEASE importrelease-0.3.22Igor Sysoev1-2/+4
*) Feature: the ngx_http_perl_module supports the $r->args and $r->unescape methods. *) Feature: the method $r->query_string of ngx_http_perl_module was canceled. *) Bugfix: segmentation fault was occurred if the "none" or "blocked" values was specified in the "valid_referers" directive; the bug had appeared in 0.3.18.
2006-01-16nginx-0.3.21-RELEASE importrelease-0.3.21Igor Sysoev2-0/+86
*) Feature: the ngx_http_perl_module. *) Change: the "valid_referers" directive allows the referreres without URI part.