Add hardening wrapper as make dep of nginx-custom
This commit is contained in:
parent
33cb73217f
commit
3a630a3b41
|
@ -42,16 +42,12 @@ _accesskey_dirname="ngx_accesskey"
|
||||||
|
|
||||||
pkgname=nginx-custom
|
pkgname=nginx-custom
|
||||||
pkgver=1.10.0
|
pkgver=1.10.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Lightweight HTTP server and IMAP/POP3 proxy server (with standard, additional and 3rd party modules)"
|
pkgdesc="Lightweight HTTP server and IMAP/POP3 proxy server (with standard, additional and 3rd party modules)"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
|
||||||
depends=('pcre' 'zlib' 'openssl' 'pam' 'geoip' 'geoip-database' 'gd' 'libxslt')
|
depends=('pcre' 'zlib' 'openssl' 'pam' 'geoip' 'geoip-database' 'gd' 'libxslt')
|
||||||
makedepends=(
|
makedepends=('libxslt' 'gd' 'git' 'hardening-wrapper')
|
||||||
'libxslt'
|
|
||||||
'gd'
|
|
||||||
'git'
|
|
||||||
)
|
|
||||||
|
|
||||||
url="https://nginx.org"
|
url="https://nginx.org"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
|
@ -151,6 +147,9 @@ build() {
|
||||||
--with-pcre-jit \
|
--with-pcre-jit \
|
||||||
--with-file-aio \
|
--with-file-aio \
|
||||||
--with-mail \
|
--with-mail \
|
||||||
|
--with-mail_ssl_module \
|
||||||
|
--with-stream \
|
||||||
|
--with-stream_ssl_module \
|
||||||
--with-threads \
|
--with-threads \
|
||||||
--add-module=../${_naxsi_dirname}/naxsi_src/ \
|
--add-module=../${_naxsi_dirname}/naxsi_src/ \
|
||||||
--with-imap \
|
--with-imap \
|
||||||
|
@ -187,7 +186,6 @@ build() {
|
||||||
--add-module=../${_accesskey_dirname} \
|
--add-module=../${_accesskey_dirname} \
|
||||||
--add-module=../${_rtmp_dirname} \
|
--add-module=../${_rtmp_dirname} \
|
||||||
--add-module=../${_davext_dirname}
|
--add-module=../${_davext_dirname}
|
||||||
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue