nginx: add support for geoip.
This commit is contained in:
parent
97ab562697
commit
d989f4bedc
1 changed files with 6 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'nginx'
|
# Template file for 'nginx'
|
||||||
pkgname=nginx
|
pkgname=nginx
|
||||||
version=1.6.2
|
version=1.6.2
|
||||||
revision=5
|
revision=6
|
||||||
makedepends="pcre-devel>=8.30 libressl-devel>=2.1.4"
|
makedepends="pcre-devel>=8.30 libressl-devel>=2.1.4 $(vopt_if geoip geoip-devel)"
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# fake configure run on host
|
# fake configure run on host
|
||||||
hostmakedepends=$makedepends
|
hostmakedepends=$makedepends
|
||||||
|
@ -30,7 +30,8 @@ homepage="http://nginx.org"
|
||||||
distfiles="http://nginx.org/download/nginx-$version.tar.gz"
|
distfiles="http://nginx.org/download/nginx-$version.tar.gz"
|
||||||
checksum=b5608c2959d3e7ad09b20fc8f9e5bd4bc87b3bc8ba5936a513c04ed8f1391a18
|
checksum=b5608c2959d3e7ad09b20fc8f9e5bd4bc87b3bc8ba5936a513c04ed8f1391a18
|
||||||
|
|
||||||
build_options="systemd"
|
build_options="systemd geoip"
|
||||||
|
build_options_default="geoip"
|
||||||
replaces="runit-void<20141013_2"
|
replaces="runit-void<20141013_2"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
@ -63,7 +64,8 @@ do_configure() {
|
||||||
--with-http_gzip_static_module \
|
--with-http_gzip_static_module \
|
||||||
--with-http_realip_module \
|
--with-http_realip_module \
|
||||||
--with-http_ssl_module \
|
--with-http_ssl_module \
|
||||||
--with-http_stub_status_module
|
--with-http_stub_status_module \
|
||||||
|
$(vopt_with geoip http_geoip_module)
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue