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 Fix: WANT_GNOME= yes MAKE_JOBS_SAFE= yes @@ -402,6 +403,10 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_udplog_module-${NGINX_UDPLOG_MODULE_VERSION} .endif +.if defined(WITH_GEOIP_MODULE) +LIB_DEPENDS+= GeoIP.5:${PORTSDIR}/net/GeoIP +CONFIGURE_ARGS+=--with-http_geoip_module +.endif .if defined(WITH_WWW) PLIST_SUB+= WWWDATA="" .else--81E5DBisFm5fTPSJNAmtnrB420lECl7EbRiiHbWXiA4LYhc1 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- 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 How-To-Repeat: see below
Responsible Changed From-To: freebsd-ports-bugs->osa Fix synopsis and assign.
osa 2010-06-24 03:45:17 UTC FreeBSD ports repository Modified files: www/nginx Makefile Log: Illuminate GeoIP module. [1] Fix typo for thirdparty udp module. [2] Do not bump PORTREVISION. Feature safe: yes Submitted by: Rainer Duffner <rainer@ultra-secure.de> [1] Vadim Goncharov aka nuclight via IRC [2] PR: ports/148092 [1] Revision Changes Path 1.224 +7 -1 ports/www/nginx/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed with small modifications, thanks for report!