Mercurial > hg > nginx-quic
annotate auto/lib/perl/make @ 4852:9be0b6b749ae stable-1.2
Merge of r4785, r4795, r4811, r4812, r4816, r4822: coverity.
*) Resolver: fixed possible memory leak in ngx_resolver_create().
*) Explicitly ignore returned value from unlink() in ngx_open_tempfile().
*) Explicitly ignore returned value from close() in ngx_event_core_init_conf().
*) Added three missing checks for NULL after ngx_array_push() calls.
*) Crypt: fixed handling of corrupted SSHA entries in password file.
*) Mark logically dead code with corresponding comment.
Found by / prodded by Coverity.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 24 Sep 2012 18:54:28 +0000 |
parents | e74c39b69ebe |
children | ae3ebf5ac8cd |
rev | line source |
---|---|
599 | 1 |
2 # Copyright (C) Igor Sysoev | |
4412 | 3 # Copyright (C) Nginx, Inc. |
599 | 4 |
5 | |
6 cat << END >> $NGX_MAKEFILE | |
7 | |
8 $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \ | |
9 src/http/modules/perl/nginx.pm \ | |
10 src/http/modules/perl/nginx.xs \ | |
11 src/http/modules/perl/ngx_http_perl_module.h \ | |
12 $NGX_OBJS/src/http/modules/perl/Makefile | |
13 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ | |
14 | |
4850
e74c39b69ebe
Merge of r4842: fixed make macros to use parentheses.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4790
diff
changeset
|
15 cd $NGX_OBJS/src/http/modules/perl && \$(MAKE) |
599 | 16 |
740
5187a63d9fca
force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents:
681
diff
changeset
|
17 rm -rf $NGX_OBJS/install_perl |
5187a63d9fca
force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents:
681
diff
changeset
|
18 |
599 | 19 |
601 | 20 $NGX_OBJS/src/http/modules/perl/Makefile: \ |
21 src/http/modules/perl/Makefile.PL \ | |
22 src/http/modules/perl/nginx.pm | |
599 | 23 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ |
24 cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/ | |
25 cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/ | |
26 | |
27 cd $NGX_OBJS/src/http/modules/perl \ | |
681 | 28 && NGX_PM_CFLAGS="\$(NGX_PM_CFLAGS) -g $NGX_CC_OPT" \ |
599 | 29 NGX_PCRE=$PCRE \ |
30 NGX_OBJS=$NGX_OBJS \ | |
4473
3b877a45d343
Fixed build with embedded perl and --with-openssl.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4412
diff
changeset
|
31 NGX_OPENSSL=$OPENSSL \ |
599 | 32 $NGX_PERL Makefile.PL \ |
948
12077affd903
backout the r945: the nginx.pm could not be loaded at all,
Igor Sysoev <igor@sysoev.ru>
parents:
944
diff
changeset
|
33 LIB=$NGX_PERL_MODULES \ |
950
9581fba9ea12
fix for nginx.pm default installation
Igor Sysoev <igor@sysoev.ru>
parents:
948
diff
changeset
|
34 INSTALLSITEMAN3DIR=$NGX_PERL_MODULES_MAN |
599 | 35 |
36 END |