From owner-freebsd-apache@freebsd.org Fri Nov 6 20:08:08 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 2F3B6A281FC for ; Fri, 6 Nov 2015 20:08:08 +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 056C31A91 for ; Fri, 6 Nov 2015 20:08:08 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: by mailman.ysv.freebsd.org (Postfix) id 01889A281FB; Fri, 6 Nov 2015 20:08:08 +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 010ADA281FA for ; Fri, 6 Nov 2015 20:08:08 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 BE4401A90 for ; Fri, 6 Nov 2015 20:08:07 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: by ioc74 with SMTP id 74so67575712ioc.2 for ; Fri, 06 Nov 2015 12:08:07 -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:from:date:message-id:subject:to :cc:content-type; bh=USrc+Lua6eWO73sPlxmivDEPQMFlGQd9M1GME0TYtyM=; b=NNpt5RfHyzUgtZ53xZXtiQorMU1XTrMI/bvrswgD0IZrAjl4WOshFZVL88rTQmyPD6 eDIg+YrOAsEpYAHy67csMgGP3Z2Xlhuw9JO8XsD1Dos3wR0eJZtq8w4Du3yF4WF492BV 6pVcukl5GLnfWeGN5Ls6vV0bK6xIXbwVRBOhVqvz3CquatAYjXiCdVCeddBpk6LXrDuF a3x8touTZmJqLkmbXWhlABOe1wZgvsVcQcc/Rg7j5u4DLDJXhHzrUqdhMXN98Fzik6w6 OVQpfDnVtpS34VJn1KRxYpYmG4H9RO+UI7YlqHBnu41GO5giNPyc0uaCw6R2K3cihVmP wZQg== 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:from:date :message-id:subject:to:cc:content-type; bh=USrc+Lua6eWO73sPlxmivDEPQMFlGQd9M1GME0TYtyM=; b=IH4///zA1AZrjAXc1G3MgS1jfLcOMci0Dqypu9YTc2lB55xSJn6eEhbwgvKaH/bySk CWSQ+SdmVmgT1KifhwrQOCpK6zUtACQApBJ7L8adN2R9NdZZxnUzRHwGhrzVg5Ii33Gx b7OcIi6IOOI0qI8Pv/5Kb/JXZIn+b4yJLoZv9BeeWGKQ2FIiMzqWNDUwneq4awpUj9cR CitynSqVm4kPGNGVjuwO6twlm21gZRhrU0xKO24hojvELcoiO4expmq1dd2dExTkufJ+ Ueh6NTKlh+7M91WWIq1BZXJdrIvTSy0BeI9/XIjb+/ZnVtPqFr7xzQuvFJgpOM6GXyR/ Bosg== X-Gm-Message-State: ALoCoQnlyQTsYExVW78zcLAT393jLZ4hz3tLOyQr+Un/fmcR8+msiVs34Uq2LjSShVgNHtsH/Ojf X-Received: by 10.107.11.100 with SMTP id v97mr14794165ioi.56.1446840486728; Fri, 06 Nov 2015 12:08:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.104.135 with HTTP; Fri, 6 Nov 2015 12:07:27 -0800 (PST) X-Originating-IP: [68.101.40.130] In-Reply-To: <563CD535.4000208@cello.com> References: <563CD535.4000208@cello.com> From: "Philip M. Gollucci" Date: Fri, 6 Nov 2015 15:07:27 -0500 Message-ID: Subject: Re: www/mod_auth_pgsql2 should be disabled for apache24 To: Steve Dickinson Cc: Andreas Nilsson , "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: Fri, 06 Nov 2015 20:08:08 -0000 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" > -- --------------------------------------------------------------------------------- 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.