From owner-freebsd-apache@freebsd.org Tue Nov 10 19:17:42 2015 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43002A2C3CF for ; Tue, 10 Nov 2015 19:17:42 +0000 (UTC) (envelope-from steve.dickinson@cello.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 241951893 for ; Tue, 10 Nov 2015 19:17:42 +0000 (UTC) (envelope-from steve.dickinson@cello.com) Received: by mailman.ysv.freebsd.org (Postfix) id 226AFA2C3CE; Tue, 10 Nov 2015 19:17:42 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08296A2C3CD for ; Tue, 10 Nov 2015 19:17:42 +0000 (UTC) (envelope-from steve.dickinson@cello.com) Received: from Mail.Fairview-Park.Com (mail.fairview-park.com [184.185.138.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.fairview-park.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AFBEF1892 for ; Tue, 10 Nov 2015 19:17:41 +0000 (UTC) (envelope-from steve.dickinson@cello.com) Received: from [192.168.8.103] (gw-ext.fairview-park.com [184.185.138.129]) (authenticated bits=0) by Mail.Fairview-Park.Com (8.15.2/8.15.2) with ESMTPSA id tAAJHWVa028350 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 10 Nov 2015 14:17:32 -0500 (EST) (envelope-from steve.dickinson@cello.com) X-FVP-rcvd: gw-ext.fairview-park.com [184.185.138.129] Tue, 10 Nov 2015 14:17:32 -0500 (EST) X-Authentication-Warning: Mail.Fairview-Park.Com: Host gw-ext.fairview-park.com [184.185.138.129] claimed to be [192.168.8.103] Subject: Re: www/mod_auth_pgsql2 should be disabled for apache24 To: "Philip M. Gollucci" References: <563CD535.4000208@cello.com> Cc: "apache@FreeBSD.org" , Andreas Nilsson From: Steve Dickinson Message-ID: <564242D1.2040205@cello.com> Date: Tue, 10 Nov 2015 14:17:37 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2015 19:17:42 -0000 Yes, we run Apache 2.4.x and need this module in our setup. It works fine run-time with this modification. On 11/6/2015 3:07 PM, Philip M. Gollucci wrote: > Does it actually work runtime in the NULL case? > > On Fri, Nov 6, 2015 at 11:28 AM, Steve Dickinson > wrote: > >> I worked around this by doing the following: >> >> wget >> http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/mod_auth_pgsql-2.0.3.tar.gz >> gunzip *.gz >> tar -xvf *tar >> >> apply patch code below to mod_auth_pgsql.c >> < apr_array_header_t *reqs_arr = (apr_array_header_t *) >> ap_requires(r); >> --- >>> apr_array_header_t *reqs_arr = >>> #if AP_SERVER_MAJORVERSION_NUMBER > 2 || >> AP_SERVER_MINORVERSION_NUMBER >= 3 >>> NULL; >>> #else >>> (apr_array_header_t *) ap_requires(self->request_rec); >>> #endif >> 1064c1069 >> < r->connection->remote_ip); >> --- >>> r->connection->client_ip); >> >> root@server: /usr/local/sbin/apxs -i -a -c -I /usr/local/lib -L >> /usr/local/lib -lpq mod_auth_pgsql.c >> root@server: chmod 755 /usr/local/libexec/apache24/mod_auth_pgsql.so >> >> On 11/6/2015 11:17 AM, Andreas Nilsson wrote: >> >>> Hello, >>> >>> I found out that www/mod_auth_pgsql2 does not play well with apache24: >>> >>> httpd: Syntax error on line 534 of /usr/local/etc/apache24/httpd.conf: >>> Syntax error on line 3 of /usr/local/etc/apache24/Includes/my-ssl.conf: >>> Cannot load libexec/apache24/mod_auth_pgsql.so into server: >>> /usr/local/libexec/apache24/mod_auth_pgsql.so: Undefined symbol >>> "ap_requires" >>> >>> Since ap_requires was removed for ap24 there is no need to build it for >>> ap24. >>> >>> Best regards >>> Andreas >>> _______________________________________________ >>> freebsd-apache@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-apache >>> To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org" >>> >> -- >> Steve Dickinson >> Senior Web Services Developer >> Cello Software >> 2941 Fairview Park Drive >> Falls Church, Va 22042 >> Phone: 703-226-2245 >> steve.dickinson@cello.com >> >> _______________________________________________ >> freebsd-apache@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-apache >> To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org" >> > > -- Steve Dickinson Senior Web Services Developer Cello Software 2941 Fairview Park Drive Falls Church, Va 22042 Phone: 703-226-2245 steve.dickinson@cello.com