~britco/nginx/nginx

« back to all changes in this revision

Viewing changes to src/http/modules/perl/Makefile.PL

  • Committer: Package Import Robot
  • Author(s): Cyril Lavier, Cyril Lavier, Kartik Mistry
  • Date: 2012-03-18 09:31:19 UTC
  • mfrom: (4.2.46 sid)
  • Revision ID: package-import@ubuntu.com-20120318093119-vebmqxwdkfk52yjr
Tags: 1.1.17-2
[Cyril Lavier]
* debian/control:
  + Added build dependency to dpkg-dev (>= 1.15.7). (Closes: #664212)
* debian/patches/perl-use-dpkg-buildflags.patch:
  + Added patch to harden flags for perl module (Thanks to Simon Ruderich
    for the patch). (Closes: #664090)

[Kartik Mistry]
* Set urgency due to fix for security and RC bugs with 1.17.1-1 upload.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# Copyright (C) Nginx, Inc.
4
4
 
5
5
use 5.006001;
 
6
use Config;
6
7
use ExtUtils::MakeMaker;
7
8
 
8
9
WriteMakefile(
13
14
    ABSTRACT_FROM     => 'nginx.pm',     # retrieve abstract from module
14
15
    AUTHOR            => 'Igor Sysoev',
15
16
 
16
 
    CCFLAGS           => "$ENV{NGX_PM_CFLAGS}",
 
17
    # $Config{ccflags}/$Config{lddlflags} doesn't contain hardening flags
 
18
    # (yet), add them manually.
 
19
    CCFLAGS           => "$Config{ccflags} $ENV{CFLAGS} $ENV{CPPFLAGS} $ENV{NGX_PM_CFLAGS}",
 
20
    LDDLFLAGS         => "$Config{lddlflags} $ENV{LDFLAGS}",
17
21
    OPTIMIZE          => '-O',
18
22
 
19
23
    INC               => "-I ../../../../../src/core " .
25
29
                         "-I ../../../../../$ENV{NGX_OBJS} " .
26
30
                         ($ENV{NGX_PCRE} =~ /^(YES|NO)/ ? "" :
27
31
                             ($ENV{NGX_PCRE} =~ m#^/# ? "-I $ENV{NGX_PCRE} " :
28
 
                                  "-I ../../../../../$ENV{NGX_PCRE} ")),
 
32
                                  "-I ../../../../../$ENV{NGX_PCRE} ")) .
 
33
                         ($ENV{NGX_OPENSSL} =~ /^(YES|NO)/ ? "" :
 
34
                             ($ENV{NGX_OPENSSL} =~ m#^/# ?
 
35
                                  "-I $ENV{NGX_OPENSSL}/.openssl/include " :
 
36
                      "-I ../../../../../$ENV{NGX_OPENSSL}/.openssl/include ")),
29
37
 
30
38
    depend => {
31
39
        'nginx.c'     =>