From owner-freebsd-apache@freebsd.org Tue Nov 10 20:53:36 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 CF8A8A2BC3C for ; Tue, 10 Nov 2015 20:53:36 +0000 (UTC) (envelope-from pgollucci@p6m7g8.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 A150C1644 for ; Tue, 10 Nov 2015 20:53:36 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: by mailman.ysv.freebsd.org (Postfix) id A1BADA2BC3A; Tue, 10 Nov 2015 20:53:36 +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 877BBA2BC39 for ; Tue, 10 Nov 2015 20:53:36 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D5B31643 for ; Tue, 10 Nov 2015 20:53:36 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: by igbxm8 with SMTP id xm8so9092499igb.1 for ; Tue, 10 Nov 2015 12:53:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=p6m7g8_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lIP6e+9b0AzbynGJMVMmMb7SA9LmHxP/hFk9Z06mvR8=; b=hjfpuZCb8hegm6SD0EDtyZItSfJyfQRpfIy+oxryT4tN2BTYbl8uwq4x1YC9oLOL0F 06SxM4AYZEDjwnLNmRtV4uYru1xntKDUQpT75b+Q1Ps9ChA1+1toR+lgJPFSgCDmUxqo 3lTqFspYItXV/CMneHXaqtNGHTw0OJjs00pGw0Sh4Cwcua+fpxaCnxXen6SXYcUIcR6f 9s1iVdq1aP/K0kbW5lpW4aR+sQ/PB/jXdP0ZPL3VXG+qkG7rtjsGnN3Wmfkd+cnTsvez XQvMXsRQb5khI7sLko9RK0oC8fX3DEsJpVnuHjAHEJCn6cucv0vBk4RHwc6VATEvnE+p BJCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=lIP6e+9b0AzbynGJMVMmMb7SA9LmHxP/hFk9Z06mvR8=; b=EWC2hZyNRzuwNiVJgZnHwYKmIgnfBOkZXC0bYgyo3Z1DdlTehzpg1t2q5b0SiAS/fe ReUlIXmEpJWiLGsz/nDyI+ADgsPebGSelZfuKEoEGTtaQCZzAABSw/qeySZGyL85tNTH VfPw7y3VQwNJBh5NfrzvFtse3KCoyMWJrq4V/tvh0iAvX273ath8W+j8M84aH3wSgmkJ Iv8O8+sZ7F9qIUrKQCDjC1D7foyZH4/DhF64Y+jLWiht0UwHlYmMmXOgnj9iLdogalwd wrOKUe+h/nNrfIOIYKXrybaA72JSeI98EBHoNzmnQ38HlSyYelDz85CrXPik9N3A2tRk clMw== X-Gm-Message-State: ALoCoQlXHsgCwTdImP+jSiXZfS7vdXOnFwi1E6oL222I3aayEGWLg81jgPrv9O5YemT6w2xh5CdK MIME-Version: 1.0 X-Received: by 10.50.66.229 with SMTP id i5mr6427061igt.5.1447188815518; Tue, 10 Nov 2015 12:53:35 -0800 (PST) Received: by 10.50.98.40 with HTTP; Tue, 10 Nov 2015 12:53:35 -0800 (PST) X-Originating-IP: [2600:1003:b00e:f96:eda6:e938:380c:c61a] In-Reply-To: References: <563CD535.4000208@cello.com> <564242D1.2040205@cello.com> Date: Tue, 10 Nov 2015 15:53:35 -0500 Message-ID: Subject: Re: www/mod_auth_pgsql2 should be disabled for apache24 From: "Philip M. Gollucci" To: Andreas Nilsson Cc: Steve Dickinson , "apache@FreeBSD.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 20:53:37 -0000 Yes the dbd modules are the future (read 5yrs ago). No reason to not patch it though. Anyone care to upstream it? On Tuesday, November 10, 2015, Andreas Nilsson wrote: > That is good to know. I reported it mainly because I was concerned with > another module, which had the exact same "undefined symbol" problem. > > Although, I solved it by going with mod_authn_dbd. Might be worth > considering. > > Best regards > Andreas > > On Tue, Nov 10, 2015 at 8:17 PM, Steve Dickinson < > steve.dickinson@cello.com > > wrote: > >> 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 < >>> steve.dickinson@cello.com >>> > >>> 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 >> >> >> > -- --------------------------------------------------------------------------------- Curb: Your ride is here 4096R/D21D2752 ECDF B597 B54B 7F92 753E E0EA F699 A450 D21D 2752 Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. Director IT Operations, Curb What doesn't kill us can only make us stronger; Except it almost kills you.