Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2015 15:53:35 -0500
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        Andreas Nilsson <andrnils@gmail.com>
Cc:        Steve Dickinson <steve.dickinson@cello.com>, "apache@FreeBSD.org" <apache@freebsd.org>
Subject:   Re: www/mod_auth_pgsql2 should be disabled for apache24
Message-ID:  <CACM2dAavifoPmh%2BB47m8utVu0GjCrEXd9=Poy%2BedGuEE35EUWg@mail.gmail.com>
In-Reply-To: <CAPS9%2BSvMHnZGD47i8qpYhKGH8O1=hDtc5PMiDpxEaLU1c=xEgg@mail.gmail.com>
References:  <CAPS9%2BSv0kHW2fsyibVUbXSUvRhpt44FSfoJuHxoJ4JdYnBc-Bg@mail.gmail.com> <563CD535.4000208@cello.com> <CACM2dAYQPgKzqRZv_CLmNN=DAVks0uo6vvG-J=Ki-EZVT5u9qA@mail.gmail.com> <564242D1.2040205@cello.com> <CAPS9%2BSvMHnZGD47i8qpYhKGH8O1=hDtc5PMiDpxEaLU1c=xEgg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <andrnils@gmail.com> 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
> <javascript:_e(%7B%7D,'cvml','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
>>> <javascript:_e(%7B%7D,'cvml','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
>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>> <javascript:_e(%7B%7D,'cvml','steve.dickinson@cello.com');>
>>>>
>>>> _______________________________________________
>>>> freebsd-apache@freebsd.org
>>>> <javascript:_e(%7B%7D,'cvml','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
>>>> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','steve.dickinson@cello.com');>
>>
>>
>

-- 
---------------------------------------------------------------------------------
Curb: Your ride is here
4096R/D21D2752
<http://pgp.mit.edu/pks/lookup?op=get&search=0xF699A450D21D2752>; 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACM2dAavifoPmh%2BB47m8utVu0GjCrEXd9=Poy%2BedGuEE35EUWg>