From owner-svn-ports-head@FreeBSD.ORG Tue Sep 30 14:01:16 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45367DD0; Tue, 30 Sep 2014 14:01:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31290EB7; Tue, 30 Sep 2014 14:01:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8UE1GuS009884; Tue, 30 Sep 2014 14:01:16 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8UE1FGK009882; Tue, 30 Sep 2014 14:01:15 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201409301401.s8UE1FGK009882@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 30 Sep 2014 14:01:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369604 - in head/www/mod_auth_external2: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 14:01:16 -0000 Author: mat Date: Tue Sep 30 14:01:15 2014 New Revision: 369604 URL: http://svnweb.freebsd.org/changeset/ports/369604 QAT: https://qat.redports.org/buildarchive/r369604/ Log: Fix with apache 2.4. Sponsored by: Absolight Added: head/www/mod_auth_external2/files/ head/www/mod_auth_external2/files/patch-mod_auth_external.c (contents, props changed) Modified: head/www/mod_auth_external2/Makefile Modified: head/www/mod_auth_external2/Makefile ============================================================================== --- head/www/mod_auth_external2/Makefile Tue Sep 30 13:56:01 2014 (r369603) +++ head/www/mod_auth_external2/Makefile Tue Sep 30 14:01:15 2014 (r369604) @@ -14,7 +14,7 @@ COMMENT= Allows users authentication bas LICENSE= APACHE20 -USE_APACHE= 22 +USE_APACHE= 22+ AP_FAST_BUILD= yes AP_GENPLIST= yes SHORTMODNAME= auth_external Added: head/www/mod_auth_external2/files/patch-mod_auth_external.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_auth_external2/files/patch-mod_auth_external.c Tue Sep 30 14:01:15 2014 (r369604) @@ -0,0 +1,16 @@ +--- mod_auth_external.c.orig 2006-02-15 22:44:53 UTC ++++ mod_auth_external.c +@@ -500,8 +500,13 @@ + if (remote_host != NULL) + child_env[i++]= apr_pstrcat(r->pool, ENV_HOST"=", remote_host, NULL); + ++#if MODULE_MAGIC_NUMBER_MAJOR >= 20111130 ++ if (c->client_ip) ++ child_env[i++]= apr_pstrcat(r->pool, ENV_IP"=", c->client_ip, NULL); ++#else + if (c->remote_ip) + child_env[i++]= apr_pstrcat(r->pool, ENV_IP"=", c->remote_ip, NULL); ++#endif + + if (r->uri) + child_env[i++]= apr_pstrcat(r->pool, ENV_URI"=", r->uri, NULL);