parent
af9600470c
commit
198443cbf8
1 changed files with 28 additions and 25 deletions
|
@ -1,34 +1,37 @@
|
||||||
# Template file for 'nginx'
|
# Template file for 'nginx'
|
||||||
pkgname=nginx
|
pkgname=nginx
|
||||||
version=1.12.2
|
version=1.14.0
|
||||||
revision=2
|
revision=1
|
||||||
makedepends="pcre-devel libressl-devel $(vopt_if geoip geoip-devel)"
|
makedepends="libressl-devel pcre-devel $(vopt_if geoip 'geoip-devel')"
|
||||||
|
short_desc="A high performance web and reverse proxy server"
|
||||||
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
license="BSD-2-Clause"
|
||||||
|
homepage="https://nginx.org"
|
||||||
|
distfiles="https://nginx.org/download/nginx-${version}.tar.gz"
|
||||||
|
checksum=5d15becbf69aba1fe33f8d416d97edd95ea8919ea9ac519eff9bafebb6022cb5
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# fake configure run on host
|
# fake configure run on host
|
||||||
hostmakedepends=$makedepends
|
hostmakedepends=$makedepends
|
||||||
fi
|
fi
|
||||||
conf_files="
|
conf_files="/etc/nginx/fastcgi.conf
|
||||||
/etc/nginx/fastcgi.conf
|
/etc/nginx/fastcgi_params
|
||||||
/etc/nginx/fastcgi_params
|
/etc/nginx/koi-win
|
||||||
/etc/nginx/koi-win
|
/etc/nginx/koi-utf
|
||||||
/etc/nginx/koi-utf
|
/etc/nginx/mime.types
|
||||||
/etc/nginx/mime.types
|
/etc/nginx/nginx.conf
|
||||||
/etc/nginx/nginx.conf
|
/etc/nginx/scgi_params
|
||||||
/etc/nginx/scgi_params
|
/etc/nginx/uwsgi_params
|
||||||
/etc/nginx/uwsgi_params
|
/etc/nginx/win-utf"
|
||||||
/etc/nginx/win-utf"
|
|
||||||
system_accounts="nginx"
|
system_accounts="nginx"
|
||||||
nginx_homedir="/var/tmp/nginx"
|
nginx_homedir="/var/tmp/nginx"
|
||||||
make_dirs="
|
make_dirs="/var/log/nginx 0750 root root
|
||||||
/var/log/nginx 0750 root root
|
/var/tmp 1777 root root
|
||||||
/var/tmp 1777 root root
|
/var/tmp/nginx 0750 nginx root"
|
||||||
/var/tmp/nginx 0750 nginx root"
|
|
||||||
short_desc="A high performance web and reverse proxy server"
|
if [ "$CROSS_BUILD" ]; then
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
# fake configure run on host
|
||||||
license="Simplified BSD"
|
hostmakedepends+=" $makedepends"
|
||||||
homepage="https://nginx.org"
|
fi
|
||||||
distfiles="https://nginx.org/download/nginx-$version.tar.gz"
|
|
||||||
checksum=305f379da1d5fb5aefa79e45c829852ca6983c7cd2a79328f8e084a324cf0416
|
|
||||||
|
|
||||||
build_options="geoip"
|
build_options="geoip"
|
||||||
build_options_default="geoip"
|
build_options_default="geoip"
|
||||||
|
@ -56,8 +59,7 @@ do_configure() {
|
||||||
--http-scgi-temp-path=${tmpdir}/scgi \
|
--http-scgi-temp-path=${tmpdir}/scgi \
|
||||||
--http-uwsgi-temp-path=${tmpdir}/uwsgi \
|
--http-uwsgi-temp-path=${tmpdir}/uwsgi \
|
||||||
--with-mail --with-mail_ssl_module \
|
--with-mail --with-mail_ssl_module \
|
||||||
--with-ipv6 --with-pcre-jit \
|
--with-pcre-jit --with-file-aio \
|
||||||
--with-file-aio \
|
|
||||||
--with-http_gunzip_module \
|
--with-http_gunzip_module \
|
||||||
--with-http_v2_module \
|
--with-http_v2_module \
|
||||||
--with-http_dav_module \
|
--with-http_dav_module \
|
||||||
|
@ -79,6 +81,7 @@ do_configure() {
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs} CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
make ${makejobs} CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=$DESTDIR install
|
make DESTDIR=$DESTDIR install
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue