Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/nginx: add http geoip support
Date: Sun, 21 Jun 2020 22:57:43 +0200	[thread overview]
Message-ID: <20200621205743.GM2351@scaer> (raw)
In-Reply-To: <20200621171222.1232374-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2020-06-21 19:12 +0200, Fabrice Fontaine spake thusly:
> http geoip module is available since version 0.8.6 and
> https://github.com/nginx/nginx/commit/bc10147b9f36f1a61b96ceec016bf4d4d12e128f
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/nginx/Config.in | 6 ++++++
>  package/nginx/nginx.mk  | 6 +++++-
>  2 files changed, 11 insertions(+), 1 deletion(-)
> 
> diff --git a/package/nginx/Config.in b/package/nginx/Config.in
> index 5c34f11edd..0dbeaae2ff 100644
> --- a/package/nginx/Config.in
> +++ b/package/nginx/Config.in
> @@ -75,6 +75,12 @@ config BR2_PACKAGE_NGINX_HTTP_IMAGE_FILTER_MODULE
>  	help
>  	  Enable ngx_http_image_filter_module
>  
> +config BR2_PACKAGE_NGINX_HTTP_GEOIP_MODULE
> +	bool "ngx_http_geoip_module"
> +	select BR2_PACKAGE_GEOIP
> +	help
> +	  Enable ngx_http_geoip_module
> +
>  config BR2_PACKAGE_NGINX_HTTP_SUB_MODULE
>  	bool "ngx_http_sub_module"
>  	help
> diff --git a/package/nginx/nginx.mk b/package/nginx/nginx.mk
> index c0640c87e6..c675d38ab4 100644
> --- a/package/nginx/nginx.mk
> +++ b/package/nginx/nginx.mk
> @@ -85,7 +85,6 @@ endif
>  
>  # modules disabled or not activated because of missing dependencies:
>  # - google_perftools  (googleperftools)
> -# - http_geoip_module (geoip)
>  # - http_perl_module  (host-perl)
>  # - pcre-jit          (want to rebuild pcre)
>  
> @@ -134,6 +133,11 @@ NGINX_DEPENDENCIES += gd jpeg libpng
>  NGINX_CONF_OPTS += --with-http_image_filter_module
>  endif
>  
> +ifeq ($(BR2_PACKAGE_NGINX_HTTP_GEOIP_MODULE),y)
> +NGINX_DEPENDENCIES += geoip
> +NGINX_CONF_OPTS += --with-http_geoip_module
> +endif
> +
>  ifeq ($(BR2_PACKAGE_NGINX_HTTP_GUNZIP_MODULE),y)
>  NGINX_DEPENDENCIES += zlib
>  NGINX_CONF_OPTS += --with-http_gunzip_module
> -- 
> 2.26.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2020-06-21 20:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-21 17:12 [Buildroot] [PATCH 1/1] package/nginx: add http geoip support Fabrice Fontaine
2020-06-21 20:57 ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200621205743.GM2351@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox