From owner-freebsd-apache@freebsd.org Fri Dec 23 01:05:15 2016 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 5908DC8C100 for ; Fri, 23 Dec 2016 01:05:15 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3E55F1C52 for ; Fri, 23 Dec 2016 01:05:15 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3AEECC8C0FF; Fri, 23 Dec 2016 01:05:15 +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 38C2EC8C0FE for ; Fri, 23 Dec 2016 01:05:15 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (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 061F51C51 for ; Fri, 23 Dec 2016 01:05:14 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=e6tEcuh/ c=1 sm=1 tr=0 a=lGUdY1O6J9NpztYPi32J9g==:117 a=lGUdY1O6J9NpztYPi32J9g==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=JY8ruMIFAAAA:8 a=epTmVMiNAAAA:8 a=5NdKZkmhAAAA:8 a=PwxYaueOpOzzy2903ioA:9 a=QEXdDO2ut3YA:10 a=sfB67gWufkcA:10 a=O5d7vEF1IJddsu6iANwA:9 a=_W_S_7VecoQA:10 a=1LBG2d8BbpvN5NciiYMJ:22 a=ndEWmUVY6Yapc0oHF_P4:22 a=BxWCuMCfCUdRHwWzpfxa:22 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: YW5hdEByY24uY29t Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=mi+thun@aldan.algebra.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=mi+thun@aldan.algebra.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=anat; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 108.53.87.28 is neither permitted nor denied by domain of aldan.algebra.com) Received: from [108.53.87.28] ([108.53.87.28:11408] helo=aldan.narawntapu) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.23.54417 r(Core:3.6.23.0)) with ESMTPSA (cipher=DHE-RSA-AES128-SHA) id 8C/11-40517-1937C585; Thu, 22 Dec 2016 19:45:06 -0500 To: apache@FreeBSD.org From: "Mikhail T." Subject: www/mod_auth_pgsql2 only works with Apache-2.2 Message-ID: Date: Thu, 22 Dec 2016 19:45:00 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 01:05:15 -0000 Hello! Because the module uses the ap_requires() call, it is not working with Apache-2.4. Indeed, it needs to be ported to Apache's "new" (introduced in 2.4 years ago) authz-structure. There is patch for mod_auth_pgsql-2.0.3 out there: http://www.sky-air.net/dat/mod_auth_pgsql/mod_auth_pgsql-2.0.3-sk.patch Ubuntu seems to be using that already. Alternatively, there is somebody else's continuation of this abandonware -- the author briefly describes the situation here: https://www.postgresql.org/message-id/16B97530-F77E-4722-8311-C48E54E00518@godzone.net.nz and offers his own mod_auth_pgsql-3.0 here: http://sw.godzone.net.nz/mod_auth_pgsql/ How would you like to fix the port? Thanks, -mi