ports/148092: enhancement to nginx

Rainer Duffner rainer at ultra-secure.de
Wed Jun 23 15:00:18 UTC 2010

>Number:         148092
>Category:       ports
>Synopsis:       enhancement to nginx
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 23 15:00:18 UTC 2010
>Originator:     Rainer Duffner
>Release:        various
nginx can optionally leverage the Maxmind GeoIP database to grant or deny access to documents on the webserver.

This is my try at a patch to the port to enable this functionality
see below
--- Makefile.orig       2010-06-23 14:07:09.000000000 +0000
+++ Makefile    2010-06-23 14:56:03.000000000 +0000
@@ -70,7 +70,8 @@
                PASSENGER_MODULE        "3rd party passenger module" off \
                SLOWFS_CACHE_MODULE     "3rd party slowfs_cache module" off \
                SUPERVISORD_MODULE      "3rd party supervisord module" off \
-               UDPLOG_MODULE           "3rd party updlog (syslog) module" off
+               UDPLOG_MODULE           "3rd party updlog (syslog) module" off \
+               GEOIP_MODULE            "3rd party GeoIP access module" off

 WANT_GNOME=    yes
 MAKE_JOBS_SAFE=        yes
@@ -402,6 +403,10 @@

+.if defined(WITH_GEOIP_MODULE)
 .if defined(WITH_WWW)


More information about the freebsd-ports-bugs mailing list