From owner-freebsd-apache@FreeBSD.ORG Mon Jun 17 10:50:02 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4D43EBDE for ; Mon, 17 Jun 2013 10:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3F60F1AE1 for ; Mon, 17 Jun 2013 10:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5HAo1Kr008173 for ; Mon, 17 Jun 2013 10:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5HAo1jn008172; Mon, 17 Jun 2013 10:50:01 GMT (envelope-from gnats) Date: Mon, 17 Jun 2013 10:50:01 GMT Message-Id: <201306171050.r5HAo1jn008172@freefall.freebsd.org> To: apache@FreeBSD.org From: Borja Marcos Subject: Re: ports/136091: [PATCH] www/apache22 - suexec resource limits patch X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Borja Marcos List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 10:50:02 -0000 The following reply was made to PR ports/136091; it has been noted by GNATS. From: Borja Marcos To: bug-followup@FreeBSD.org, alexey@renatasystems.org Cc: Subject: Re: ports/136091: [PATCH] www/apache22 - suexec resource limits patch Date: Mon, 17 Jun 2013 12:38:55 +0200 Maybe this patch should be a bit more overreaching.=20 It's just applying the rlimits from login.conf, but it would be more = useful if it supported other important login.conf attributes such as the MAC labels.=20 Any thoughts? I would change the LOGIN_RLIMITS to LOGIN_ALL, on FreeBSD a proper = switch to a different user should be expected to honor whatever is put on login.conf. Any potential side-effects I am not aware of? Borja. From owner-freebsd-apache@FreeBSD.ORG Mon Jun 17 11:06:11 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 15336FEB for ; Mon, 17 Jun 2013 11:06:11 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 075011BB5 for ; Mon, 17 Jun 2013 11:06:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5HB6ATL011965 for ; Mon, 17 Jun 2013 11:06:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5HB6AUP011963 for apache@FreeBSD.org; Mon, 17 Jun 2013 11:06:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Jun 2013 11:06:10 GMT Message-Id: <201306171106.r5HB6AUP011963@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Subject: Current problem reports assigned to apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 11:06:11 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/179263 apache new port www/mod_authnz_crowd o ports/179256 apache New port www/mod_qos v1.1 (plist missing) f ports/178668 apache [PATCH] www/mod_xsendfile: Fix extracting Last-Modifie a ports/176659 apache www/apache22 2.2.24 build error o ports/165809 apache add mod_proxy patch to www/apache22 o ports/157554 apache www/apache22: Apache RLimitNPROC does not work as inte o ports/125183 apache www/apache22 wrong SUEXEC_DOCROOT o ports/124375 apache security/heimdal: www/mod_auth_kerb doesn't compile ag 8 problems total. From owner-freebsd-apache@FreeBSD.ORG Mon Jun 17 11:13:40 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CEEDAD91; Mon, 17 Jun 2013 11:13:40 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A83951DF3; Mon, 17 Jun 2013 11:13:40 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5HBDeF4018265; Mon, 17 Jun 2013 11:13:40 GMT (envelope-from gjb@freefall.freebsd.org) Received: (from gjb@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5HBDexF018264; Mon, 17 Jun 2013 11:13:40 GMT (envelope-from gjb) Date: Mon, 17 Jun 2013 11:13:40 GMT Message-Id: <201306171113.r5HBDexF018264@freefall.freebsd.org> To: gjb@FreeBSD.org, freebsd-www@FreeBSD.org, apache@FreeBSD.org From: gjb@FreeBSD.org Subject: Re: ports/179525: [Patch] www/mod_rpaf2: Fix for mod_rpaf2 compatibility with Apache 2.4 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 11:13:40 -0000 Old Synopsis: [Patch] Fix for mod_rpaf2 compatibility with Apache 2.4 New Synopsis: [Patch] www/mod_rpaf2: Fix for mod_rpaf2 compatibility with Apache 2.4 Responsible-Changed-From-To: freebsd-www->apache Responsible-Changed-By: gjb Responsible-Changed-When: Mon Jun 17 11:13:02 UTC 2013 Responsible-Changed-Why: Reclassify and assign. http://www.freebsd.org/cgi/query-pr.cgi?pr=179525 From owner-freebsd-apache@FreeBSD.ORG Mon Jun 17 18:33:10 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4CD5357E; Mon, 17 Jun 2013 18:33:10 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 26057181E; Mon, 17 Jun 2013 18:33:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5HIXAvZ009383; Mon, 17 Jun 2013 18:33:10 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5HIXAJq009382; Mon, 17 Jun 2013 18:33:10 GMT (envelope-from edwin) Date: Mon, 17 Jun 2013 18:33:10 GMT Message-Id: <201306171833.r5HIXAJq009382@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/179634: www/apache22 always disables mod_alias X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 18:33:10 -0000 Synopsis: www/apache22 always disables mod_alias Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Mon Jun 17 18:33:09 UTC 2013 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=179634 From owner-freebsd-apache@FreeBSD.ORG Mon Jun 17 19:07:07 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E1C9F433; Mon, 17 Jun 2013 19:07:07 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BB4DA19A9; Mon, 17 Jun 2013 19:07:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5HJ77nJ014984; Mon, 17 Jun 2013 19:07:07 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5HJ777A014983; Mon, 17 Jun 2013 19:07:07 GMT (envelope-from ohauer) Date: Mon, 17 Jun 2013 19:07:07 GMT Message-Id: <201306171907.r5HJ777A014983@freefall.freebsd.org> To: sirdice@gmail.com, ohauer@FreeBSD.org, apache@FreeBSD.org, ohauer@FreeBSD.org From: ohauer@FreeBSD.org Subject: Re: ports/179634: www/apache22 always disables mod_alias X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 19:07:08 -0000 Synopsis: www/apache22 always disables mod_alias State-Changed-From-To: open->feedback State-Changed-By: ohauer State-Changed-When: Mon Jun 17 19:06:38 UTC 2013 State-Changed-Why: I'll take it Responsible-Changed-From-To: apache->ohauer Responsible-Changed-By: ohauer Responsible-Changed-When: Mon Jun 17 19:06:38 UTC 2013 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=179634 From owner-freebsd-apache@FreeBSD.ORG Mon Jun 17 19:30:56 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D3564E3F; Mon, 17 Jun 2013 19:30:56 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AE98E1AAF; Mon, 17 Jun 2013 19:30:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5HJUukB020377; Mon, 17 Jun 2013 19:30:56 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5HJUugC020339; Mon, 17 Jun 2013 19:30:56 GMT (envelope-from ohauer) Date: Mon, 17 Jun 2013 19:30:56 GMT Message-Id: <201306171930.r5HJUugC020339@freefall.freebsd.org> To: ohauer@FreeBSD.org, apache@FreeBSD.org, ohauer@FreeBSD.org From: ohauer@FreeBSD.org Subject: Re: ports/179525: [Patch] www/mod_rpaf2: Fix for mod_rpaf2 compatibility with Apache 2.4 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 19:30:56 -0000 Synopsis: [Patch] www/mod_rpaf2: Fix for mod_rpaf2 compatibility with Apache 2.4 Responsible-Changed-From-To: apache->ohauer Responsible-Changed-By: ohauer Responsible-Changed-When: Mon Jun 17 19:30:39 UTC 2013 Responsible-Changed-Why: I'll take it http://www.freebsd.org/cgi/query-pr.cgi?pr=179525 From owner-freebsd-apache@FreeBSD.ORG Tue Jun 18 19:22:53 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8F34113F; Tue, 18 Jun 2013 19:22:53 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 684111EA7; Tue, 18 Jun 2013 19:22:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5IJMrXv065187; Tue, 18 Jun 2013 19:22:53 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5IJMrKD065186; Tue, 18 Jun 2013 19:22:53 GMT (envelope-from edwin) Date: Tue, 18 Jun 2013 19:22:53 GMT Message-Id: <201306181922.r5IJMrKD065186@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/179527: [Patch] Fix for www/mod_rpaf2 compatibility with Apache 2.4 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 19:22:53 -0000 Synopsis: [Patch] Fix for www/mod_rpaf2 compatibility with Apache 2.4 Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Tue Jun 18 19:22:53 UTC 2013 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=179527 From owner-freebsd-apache@FreeBSD.ORG Tue Jun 18 20:24:21 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DD06B869; Tue, 18 Jun 2013 20:24:21 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B6D2B118C; Tue, 18 Jun 2013 20:24:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5IKOL0E076660; Tue, 18 Jun 2013 20:24:21 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5IKOLcP076659; Tue, 18 Jun 2013 20:24:21 GMT (envelope-from ohauer) Date: Tue, 18 Jun 2013 20:24:21 GMT Message-Id: <201306182024.r5IKOLcP076659@freefall.freebsd.org> To: morfin60@gmail.com, ohauer@FreeBSD.org, apache@FreeBSD.org From: ohauer@FreeBSD.org Subject: Re: ports/179527: [Patch] Fix for www/mod_rpaf2 compatibility with Apache 2.4 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 20:24:21 -0000 Synopsis: [Patch] Fix for www/mod_rpaf2 compatibility with Apache 2.4 State-Changed-From-To: open->closed State-Changed-By: ohauer State-Changed-When: Tue Jun 18 20:22:24 UTC 2013 State-Changed-Why: Duplicate of PR ports/179525 http://www.freebsd.org/cgi/query-pr.cgi?pr=179527 From owner-freebsd-apache@FreeBSD.ORG Wed Jun 19 09:10:10 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E685BA25; Wed, 19 Jun 2013 09:10:10 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C0AEF131C; Wed, 19 Jun 2013 09:10:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5J9AAeT069832; Wed, 19 Jun 2013 09:10:10 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5J9AAag069831; Wed, 19 Jun 2013 09:10:10 GMT (envelope-from edwin) Date: Wed, 19 Jun 2013 09:10:10 GMT Message-Id: <201306190910.r5J9AAag069831@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/179710: port www/mod_fastcgi extra patch to support apache24 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 09:10:11 -0000 Synopsis: port www/mod_fastcgi extra patch to support apache24 Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Wed Jun 19 09:10:10 UTC 2013 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=179710 From owner-freebsd-apache@FreeBSD.ORG Wed Jun 19 13:18:50 2013 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7467A5A8; Wed, 19 Jun 2013 13:18:50 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay001.isp.belgacom.be (mailrelay001.isp.belgacom.be [195.238.6.51]) by mx1.freebsd.org (Postfix) with ESMTP id 18C0C1104; Wed, 19 Jun 2013 13:18:48 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuMGAGmuwVFR8m08/2dsb2JhbABagwkxv2N+F3SCIwECBQIXDS8jMAwNAQgYAwIBAgEWETEBBQIBAYgOCLsQj0IQCQGDTgOQAYEsg0+DbpAbgxE6gS4HFw Received: from 60.109-242-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.242.109.60]) by relay.skynet.be with ESMTP; 19 Jun 2013 15:18:40 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r5JDIdh6004946; Wed, 19 Jun 2013 15:18:39 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Message-ID: <51C1AFA7.9080700@FreeBSD.org> Date: Wed, 19 Jun 2013 15:18:31 +0200 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130517 Thunderbird/17.0.6 MIME-Version: 1.0 To: apache@FreeBSD.org Subject: Splitting up and simplifying devel/apr1 X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2IUMOMDJCCMWIOEJJGBHB" X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2013 13:18:50 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2IUMOMDJCCMWIOEJJGBHB Content-Type: multipart/mixed; boundary="------------020604090309070102080306" This is a multi-part message in MIME format. --------------020604090309070102080306 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hi, In the discussion on src-committers about svnlite it was mentioned that devel/subversion is too heavy to build, pulling in perl, python and all the autotools. I've been going over its dependencies and it turns out these are all pulled in by devel/apr1, so I've been looking into simplifying that port. It seems the port can easily be split up into two simple ports, one for the APR library and one for the APR Utility library. There's no need for autotools, libtool, python, etc. I've attached a patch that creates devel/apr and devel/apr-util. Please take a look at them and let me know what you think. Another patch can then remove devel/apr1 and update all ports that depend on it, but before I spend more time on this, do you agree this is the right approach? --------------020604090309070102080306 Content-Type: text/plain; charset=ISO-8859-15; name="split.apr1.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="split.apr1.patch" Index: devel/apr/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- devel/apr/Makefile (revision 0) +++ devel/apr/Makefile (working copy) @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME=3D apr +PORTVERSION=3D 1.4.6 +CATEGORIES=3D devel +MASTER_SITES=3D ${MASTER_SITE_APACHE} +MASTER_SITE_SUBDIR=3D apr + +MAINTAINER=3D apache@FreeBSD.org +COMMENT=3D Apache Portable Runtime library + +CONFLICTS_INSTALL=3D apr-[0-9]*.[0-9]*.[0-9]*.[0-9]* +GNU_CONFIGURE=3D yes +MAKE_JOBS_SAFE=3D yes +USES=3D pathfix +USE_LDCONFIG=3D yes + +OPTIONS_DEFINE=3D THREADS IPV6 DEVRANDOM +OPTIONS_DEFAULT=3DTHREADS IPV6 DEVRANDOM +DEVRANDOM_DESC=3D Use /dev/random or compatible + +CONFIGURE_ARGS=3D --with-installbuilddir=3D${DATADIR}/build-1 +THREADS_CONFIGURE_ENABLE=3D threads +IPV6_CONFIGURE_ENABLE=3D ipv6 +DEVRANDOM_CONFIGURE_OFF=3D --without-devrandom + +SHLIB_MAJOR=3D 4 +PLIST_SUB=3D SHLIB_MAJOR=3D"${SHLIB_MAJOR}" + +post-patch: .SILENT + ${REINPLACE_CMD} -e 's/$$os_version/${OSVERSION}/g' \ + ${WRKSRC}/configure +# Fix pthread: Please do not remove, else apr-1-config returns wrong val= ues + ${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \ + ${WRKSRC}/configure + +regression-test: build + @cd ${WRKSRC} && ${MAKE} test + +.include Index: devel/apr/distinfo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- devel/apr/distinfo (revision 0) +++ devel/apr/distinfo (working copy) @@ -0,0 +1,2 @@ +SHA256 (apr-1.4.6.tar.gz) =3D 538d593d805c36985fc6d200d31bf6c1b5f90df2a5= 0b917902743a13bbc10e05 +SIZE (apr-1.4.6.tar.gz) =3D 982243 Index: devel/apr/pkg-descr =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- devel/apr/pkg-descr (revision 0) +++ devel/apr/pkg-descr (working copy) @@ -0,0 +1,6 @@ +The Apache Portable Runtime library provides a predictable and consisten= t +interface to underlying platform-specific implementations, relieving sof= tware +developers of the need to code special-case conditions to work around or= take +advantage of platform-specific deficiencies or features. + +WWW: http://apr.apache.org/ Index: devel/apr/pkg-plist =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- devel/apr/pkg-plist (revision 0) +++ devel/apr/pkg-plist (working copy) @@ -0,0 +1,51 @@ +bin/apr-1-config +include/apr-1/apr.h +include/apr-1/apr_allocator.h +include/apr-1/apr_atomic.h +include/apr-1/apr_dso.h +include/apr-1/apr_env.h +include/apr-1/apr_errno.h +include/apr-1/apr_file_info.h +include/apr-1/apr_file_io.h +include/apr-1/apr_fnmatch.h +include/apr-1/apr_general.h +include/apr-1/apr_getopt.h +include/apr-1/apr_global_mutex.h +include/apr-1/apr_hash.h +include/apr-1/apr_inherit.h +include/apr-1/apr_lib.h +include/apr-1/apr_mmap.h +include/apr-1/apr_network_io.h +include/apr-1/apr_poll.h +include/apr-1/apr_pools.h +include/apr-1/apr_portable.h +include/apr-1/apr_proc_mutex.h +include/apr-1/apr_random.h +include/apr-1/apr_ring.h +include/apr-1/apr_shm.h +include/apr-1/apr_signal.h +include/apr-1/apr_strings.h +include/apr-1/apr_support.h +include/apr-1/apr_tables.h +include/apr-1/apr_thread_cond.h +include/apr-1/apr_thread_mutex.h +include/apr-1/apr_thread_proc.h +include/apr-1/apr_thread_rwlock.h +include/apr-1/apr_time.h +include/apr-1/apr_user.h +include/apr-1/apr_version.h +include/apr-1/apr_want.h +lib/apr.exp +lib/libapr-1.a +lib/libapr-1.la +lib/libapr-1.so +lib/libapr-1.so.%%SHLIB_MAJOR%% +libdata/pkgconfig/apr-1.pc +%%DATADIR%%/build-1/apr_rules.mk +%%DATADIR%%/build-1/libtool +%%DATADIR%%/build-1/make_exports.awk +%%DATADIR%%/build-1/make_var_export.awk +%%DATADIR%%/build-1/mkdir.sh +@dirrm %%DATADIR%%/build-1 +@dirrm %%DATADIR%% +@dirrm include/apr-1 Index: devel/apr-util/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- devel/apr-util/Makefile (revision 0) +++ devel/apr-util/Makefile (working copy) @@ -0,0 +1,161 @@ +# $FreeBSD$ + +PORTNAME=3D apr-util +PORTVERSION=3D 1.4.1 +CATEGORIES=3D devel +MASTER_SITES=3D ${MASTER_SITE_APACHE} +MASTER_SITE_SUBDIR=3D apr + +MAINTAINER=3D apache@FreeBSD.org +COMMENT=3D Apache Portable Runtime Utility library + +LIB_DEPENDS=3D apr-1:${PORTSDIR}/devel/apr \ + expat:${PORTSDIR}/textproc/expat2 + +CONFLICTS_INSTALL=3D apr-[0-9]*.[0-9]*.[0-9]*.[0-9]* +GNU_CONFIGURE=3D yes +MAKE_JOBS_SAFE=3D yes +USES=3D iconv pathfix +USE_LDCONFIG=3D yes + +OPTIONS_DEFINE=3D BDB GDBM LDAP MYSQL NDBM PGSQL SQLITE FREETDS +OPTIONS_RADIO=3D CRYPTO +OPTIONS_RADIO_CRYPTO=3D SSL +OPTIONS_DEFAULT=3DBDB GDBM SSL +NDBM_DESC=3D NDBM support +SSL_DESC=3D OpenSSL crypto driver +NSS_DESC=3D NSS crypto driver + +CONFIGURE_ARGS=3D --with-apr=3D${LOCALBASE} \ + --with-expat=3D${LOCALBASE} \ + --with-iconv=3D${LOCALBASE} + +SHLIB_MAJOR=3D 4 +PLIST_SUB=3D SHLIB_MAJOR=3D"${SHLIB_MAJOR}" + +.include + +.if ${PORT_OPTIONS:MGDBM} +PLIST_SUB+=3D GDBM=3D"" +APU_EXTRAS=3D yes +LIB_DEPENDS+=3D gdbm:${PORTSDIR}/databases/gdbm +CONFIGURE_ARGS+=3D --with-gdbm=3D${LOCALBASE} +.else +PLIST_SUB+=3D GDBM=3D"@comment " +CONFIGURE_ARGS+=3D --without-gdbm +.endif + +.if ${PORT_OPTIONS:MBDB} +APU_EXTRAS=3D yes +PLIST_SUB+=3D BDB=3D"" +USE_BDB=3D 42+ +CONFIGURE_ARGS+=3D --with-berkeley-db=3D${BDB_INCLUDE_DIR}:${BDB_LIB_DIR= } +.else +PLIST_SUB+=3D BDB=3D"@comment " +CONFIGURE_ARGS+=3D --without-berkeley-db +.endif + +.if ${PORT_OPTIONS:MNDBM} +APU_EXTRAS=3D yes +PLIST_SUB+=3D NDBM=3D"" +CONFIGURE_ARGS+=3D --with-ndbm=3D/usr +.else +PLIST_SUB+=3D NDBM=3D"@comment " +CONFIGURE_ARGS+=3D --without-ndbm +.endif + +.if ${PORT_OPTIONS:MLDAP} +APU_EXTRAS=3D yes +PLIST_SUB+=3D LDAP=3D"" +USE_OPENLDAP=3D yes +CONFIGURE_ARGS+=3D --with-ldap-include=3D${LOCALBASE}/include \ + --with-ldap-lib=3D${LOCALBASE}/lib --with-ldap=3Dldap +.else +PLIST_SUB+=3D LDAP=3D"@comment " +CONFIGURE_ARGS+=3D --without-ldap +.endif + +.if ${PORT_OPTIONS:MFREETDS} +APU_EXTRAS=3D yes +PLIST_SUB+=3D FREETDS=3D"" +CONFIGURE_ARGS+=3D --with-freetds=3D${LOCALBASE} +LIB_DEPENDS+=3D sybdb:${PORTSDIR}/databases/freetds +.else +PLIST_SUB+=3D FREETDS=3D"@comment " +CONFIGURE_ARGS+=3D --without-freetds +.endif + +.if ${PORT_OPTIONS:MMYSQL} +APU_EXTRAS=3D yes +PLIST_SUB+=3D MYSQL=3D"" +USE_MYSQL=3D YES +CONFIGURE_ARGS+=3D --with-mysql=3D${LOCALBASE} +CONFIGURE_ENV+=3D LIBS=3D"${LIBS}" +CFLAGS+=3D -I${LOCALBASE}/include -I${LOCALBASE}/include/mysql -DHAVE_MY= SQL_H +LDFLAGS+=3D -L${LOCALBASE}/lib/mysql +.else +PLIST_SUB+=3D MYSQL=3D"@comment " +CONFIGURE_ARGS+=3D --without-mysql +.endif + +.if ${PORT_OPTIONS:MPGSQL} +APU_EXTRAS=3D yes +PLIST_SUB+=3D PGSQL=3D"" +USE_PGSQL=3D YES +CONFIGURE_ARGS+=3D --with-pgsql=3D${LOCALBASE} +CONFIGURE_ENV+=3D ac_cv_path_PGSQL_CONFIG=3D"" +.else +PLIST_SUB+=3D PGSQL=3D"@comment " +CONFIGURE_ARGS+=3D --without-pgsql +.endif + +.if ${PORT_OPTIONS:MSQLITE} +APU_EXTRAS=3D yes +PLIST_SUB+=3D SQLITE3=3D"" +USE_SQLITE=3D YES +CONFIGURE_ARGS+=3D --with-sqlite3=3D${LOCALBASE} +.else +CONFIGURE_ARGS+=3D --without-sqlite3 +PLIST_SUB+=3D SQLITE3=3D"@comment " +.endif + +# crypto (apache24) +.if ${PORT_OPTIONS:MSSL} || ${PORT_OPTIONS:MNSS} +CONFIGURE_ARGS+=3D --with-crypto +.endif + +.if ${PORT_OPTIONS:MSSL} +APU_EXTRAS=3D yes +USE_OPENSSL=3D yes +PLIST_SUB+=3D SSL=3D"" +CFLAGS+=3D -I${OPENSSLINC} +LDFLAGS+=3D -L${OPENSSLLIB} +CONFIGURE_ARGS+=3D --with-openssl=3D${OPENSSLBASE} +.else +PLIST_SUB+=3D SSL=3D"@comment " +CONFIGURE_ARGS+=3D --without-openssl +.endif + +# TODO figure out why nss flag is ignored if ssl is set +# this works on other OS as expected +.if ${PORT_OPTIONS:MNSS} +APU_EXTRAS=3D yes +PLIST_SUB+=3D NSS=3D"" +LIB_DEPENDS+=3D nss3:${PORTSDIR}/security/nss +CFLAGS+=3D -I${LOCALBASE}/include/nss +LDFLAGS+=3D -L${LOCALBASE}/lib/nss +CONFIGURE_ARGS+=3D --with-nss=3D${LOCALBASE} +.else +PLIST_SUB+=3D NSS=3D"@comment " +.endif + +.if defined(APU_EXTRAS) +PLIST_SUB+=3D APU_EXTRAS=3D"" +.else +PLIST_SUB+=3D APU_EXTRAS=3D"@comment " +.endif + +regression-test: build + @cd ${WRKSRC} && ${MAKE} test + +.include Index: devel/apr-util/distinfo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- devel/apr-util/distinfo (revision 0) +++ devel/apr-util/distinfo (working copy) @@ -0,0 +1,2 @@ +SHA256 (apr-util-1.4.1.tar.gz) =3D d636d9ef95c6e50e47fc338d532aa375edd11= e5d7a3c30dee48beb38ddf4ab4c +SIZE (apr-util-1.4.1.tar.gz) =3D 774770 Index: devel/apr-util/files/patch-apr-util__dbd__apr_dbd_freetds.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- devel/apr-util/files/patch-apr-util__dbd__apr_dbd_freetds.c (revision= 0) +++ devel/apr-util/files/patch-apr-util__dbd__apr_dbd_freetds.c (working = copy) @@ -0,0 +1,560 @@ +# http://lists.freebsd.org/pipermail/freebsd-apache/2013-January/003020.= html +#=20 +# From: "Mikhail T." +# I've made the FreeTDS-driver work again -- and submitted the patch t= o Apache: +# https://issues.apache.org/bugzilla/show_bug.cgi?id=3D53666 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D +--- dbd/apr_dbd_freetds.c.orig ++++ dbd/apr_dbd_freetds.c +@@ -40,12 +40,12 @@ + #include + #endif + #ifdef HAVE_SYBDB_H ++#include + #include + #endif +=20 + #include + #include +-#include +=20 + /* This probably needs to change for different applications */ + #define MAX_COL_LEN 256 +@@ -67,6 +67,7 @@ + apr_dbd_transaction_t *trans; + apr_pool_t *pool; + const char *params; ++ const char *lasterror; + RETCODE err; + }; +=20 +@@ -80,20 +81,20 @@ +=20 + struct apr_dbd_row_t { + apr_dbd_results_t *res; +- BYTE buf[MAX_COL_LEN]; ++ apr_pool_t *pool; + }; +=20 + struct apr_dbd_prepared_t { + int nargs; +- regex_t **taint; +- int *sz; +- char *fmt; ++ int fmtlen; ++ const char *fmt, *label; ++ apr_dbd_type_e *types; ++ int offsets[]; + }; +=20 +-#define dbd_freetds_is_success(x) (x =3D=3D SUCCEED) ++const apr_dbd_driver_t apr_dbd_freetds_driver; /* Forward declaration *= / +=20 +-static int labelnum =3D 0; /* FIXME */ +-static regex_t dbd_freetds_find_arg; ++#define dbd_freetds_is_success(x) (x =3D=3D SUCCEED) +=20 + /* execute a query that doesn't return a result set, mop up, + * and return and APR-flavoured status +@@ -102,7 +103,11 @@ + int want_results, int *nrows) + { + /* TBD */ +- RETCODE rv =3D dbcmd(proc, query); ++ RETCODE rv =3D dbcmd(proc, ++#ifndef TDS_STATIC_CAST /* if not compiling against FreeTDS, drop const= :-( */ ++ (char *) ++#endif ++ query); + if (rv !=3D SUCCEED) { + return rv; + } +@@ -143,6 +148,7 @@ + * Ignore seek + */ +=20 ++ sql->lasterror =3D NULL; + sql->err =3D freetds_exec(sql->proc, query, 1, NULL); + if (!dbd_freetds_is_success(sql->err)) { + if (sql->trans) { +@@ -190,51 +196,38 @@ + #endif + return (sql->err =3D=3D SUCCEED) ? 0 : 1; + } +-static const char *dbd_untaint(apr_pool_t *pool, regex_t *rx, const cha= r *val) +-{ +- regmatch_t match[1]; +- if (rx =3D=3D NULL) { +- /* no untaint expression */ +- return val; +- } +- if (regexec(rx, val, 1, match, 0) =3D=3D 0) { +- return apr_pstrndup(pool, val+match[0].rm_so, +- match[0].rm_eo - match[0].rm_so); +- } +- return ""; +-} ++ + static const char *dbd_statement(apr_pool_t *pool, +- apr_dbd_prepared_t *stmt, +- int nargs, const char **args) ++ const apr_dbd_prepared_t *stmt, ++ const char **args) + { + int i; + int len; +- const char *var; + char *ret; +- const char *p_in; ++ const char *p_in, *format; + char *p_out; +- char *q; + =20 +- /* compute upper bound on length (since untaint shrinks) */ +- len =3D strlen(stmt->fmt) +1; +- for (i=3D0; ifmtlen; ++ for (i=3D0; i < stmt->nargs; ++i) { ++ len +=3D strlen(args[i]); ++ switch (stmt->types[i]) { ++ case APR_DBD_TYPE_STRING: len +=3D 2; break; /* For the quotes */ ++ default: break;/* Other types are all taken verbatim at the moment */ ++ } + } +- i =3D 0; + p_in =3D stmt->fmt; + p_out =3D ret =3D apr_palloc(pool, len); +- /* FIXME silly bug - this'll catch %%s */ +- while (q =3D strstr(p_in, "%s"), q !=3D NULL) { +- len =3D q-p_in; +- strncpy(p_out, p_in, len); +- p_in +=3D len; +- p_out +=3D len; +- var =3D dbd_untaint(pool, stmt->taint[i], args[i]); +- len =3D strlen(var); +- strncpy(p_out, var, len); +- p_in +=3D 2; +- p_out +=3D len; +- ++i; ++ for (i =3D 0; i < stmt->nargs; i++) { ++ len =3D stmt->offsets[i]; ++ switch (stmt->types[i]) { ++ case APR_DBD_TYPE_STRING: ++ format =3D "%.*s'%s'"; ++ break; ++ default: ++ format =3D "%.*s%s"; ++ } ++ p_out +=3D sprintf(p_out, format, len, p_in, args[i]); ++ p_in +=3D (len + 1); + } + strcpy(p_out, p_in); + return ret; +@@ -244,8 +237,7 @@ + apr_dbd_prepared_t *statement, + int seek, const char **values) + { +- const char *query =3D dbd_statement(pool, statement, +- statement->nargs, values); ++ const char *query =3D dbd_statement(pool, statement, values); + return dbd_freetds_select(pool, sql, results, query, seek); + } + static int dbd_freetds_pvselect(apr_pool_t *pool, apr_dbd_t *sql, +@@ -273,8 +265,7 @@ + int *nrows, apr_dbd_prepared_t *statement= , + const char **values) + { +- const char *query =3D dbd_statement(pool, statement, +- statement->nargs, values); ++ const char *query =3D dbd_statement(pool, statement, values); + return dbd_freetds_query(sql, nrows, query); + } + static int dbd_freetds_pvquery(apr_pool_t *pool, apr_dbd_t *sql, int *n= rows, +@@ -301,11 +292,13 @@ + RETCODE rv =3D 0; + apr_dbd_row_t *row =3D *rowp; + int sequential =3D ((rownum >=3D 0) && res->random) ? 0 : 1; ++ apr_dbd_t *sql =3D (void *)dbgetuserdata(res->proc); +=20 + if (row =3D=3D NULL) { + row =3D apr_palloc(pool, sizeof(apr_dbd_row_t)); + *rowp =3D row; + row->res =3D res; ++ row->pool =3D pool; /* For subsequent calls to get_entry */ + } + /* + else { +@@ -321,18 +314,37 @@ + rv =3D dbnextrow(res->proc); + } + else { ++ /* XXX dbgetrow() only works if DBBUFFER-option is set */ + rv =3D (rownum >=3D 0) ? dbgetrow(res->proc, rownum) : NO_MORE_= ROWS; + } + switch (rv) { + case SUCCEED: return 0; + case REG_ROW: return 0; + case NO_MORE_ROWS: +- apr_pool_cleanup_run(pool, res->proc, clear_result); ++ if (dbisopt(res->proc, DBBUFFER, NULL) || sequential) { ++ sql->lasterror =3D apr_pstrcat(sql->pool, ++ "NO_MORE_ROWS (count: ", apr_itoa(sql->pool, DBCOUNT(res->proc)), ++ ", first: ", apr_itoa(sql->pool, DBFIRSTROW(res->proc)), ++ ", current: ", apr_itoa(sql->pool, DBCURROW(res->proc)), ++ ", last: ", apr_itoa(sql->pool, DBLASTROW(res->proc)), ++ ")", NULL);; ++ } else { ++ sql->lasterror =3D "NO_MORE_ROWS (DBBUFFER option must be on " ++ "for dbgetrow() to work)"; ++ } ++ apr_pool_cleanup_run(res->pool, res->proc, clear_result); + *rowp =3D NULL; + return -1; +- case FAIL: return 1; +- case BUF_FULL: return 2; /* FIXME */ +- default: return 3; ++ case FAIL: ++ sql->lasterror =3D "FAIL"; ++ return 1; ++ case BUF_FULL: ++ sql->lasterror =3D "BUF_FULL"; ++ return 2; /* FIXME */ ++ default: ++ sql->lasterror =3D apr_pstrcat(res->pool, ++ "Unexpected error number ", apr_itoa(res->pool, rv), NULL); ++ return 3; + } +=20 + return 0; +@@ -340,24 +352,27 @@ +=20 + static const char *dbd_freetds_get_entry(const apr_dbd_row_t *row, int = n) + { +- /* FIXME: support different data types */ +- /* this fails - bind gets some vars but not others +- return (const char*)row->res->vars[n].data; +- */ + DBPROCESS* proc =3D row->res->proc; +- BYTE *ptr =3D dbdata(proc, n+1); ++ BYTE *ptr =3D dbdata(proc, n+1); /* XXX No error checking! */ + int t =3D dbcoltype(proc, n+1); +- int l =3D dbcollen(proc, n+1); ++ int l =3D dbdatlen(proc, n+1); ++ if (l =3D=3D -1) ++ return NULL; + if (dbwillconvert(t, SYBCHAR)) { +- dbconvert(proc, t, ptr, l, SYBCHAR, (BYTE *)row->buf, -1); +- return (const char*)row->buf; ++ char *buf =3D apr_palloc(row->pool, l + 1); ++ dbconvert(proc, t, ptr, l, SYBCHAR, buf, -1); ++ return buf; + } + return (char*)ptr; + } +=20 + static const char *dbd_freetds_error(apr_dbd_t *sql, int n) + { +- /* XXX this doesn't seem to exist in the API ??? */ ++ const char *err =3D sql->lasterror; ++ ++ sql->lasterror =3D NULL; /* Reset, so we stop appending */ ++ if (err) ++ return err; + return apr_psprintf(sql->pool, "Error %d", sql->err); + } +=20 +@@ -367,6 +382,7 @@ + return sql->trans->errnum; + } + *nrows =3D 0; ++ sql->lasterror =3D NULL; + sql->err =3D freetds_exec(sql->proc, query, 0, nrows); +=20 + if (sql->err !=3D SUCCEED) { +@@ -384,114 +400,39 @@ + return arg; + } +=20 +-static apr_status_t freetds_regfree(void *rx) +-{ +- regfree((regex_t*)rx); +- return APR_SUCCESS; +-} +-static int recurse_args(apr_pool_t *pool, int n, const char *query, +- apr_dbd_prepared_t *stmt, int offs) +-{ +- +- /* we only support %s arguments for now */ +- int ret; +- char arg[256]; +- regmatch_t matches[3]; +- if (regexec(&dbd_freetds_find_arg, query, 3, matches, 0) !=3D 0) { +- /* No more args */ +- stmt->nargs =3D n; +- stmt->taint =3D apr_palloc(pool, n*sizeof(regex_t*)); +- stmt->sz =3D apr_palloc(pool, n*sizeof(int)); +- ret =3D 0; +- } +- else { +- int i; +- int sz =3D 0; +- int len =3D matches[1].rm_eo - matches[1].rm_so - 2; +- if (len > 255) { +- return 9999; +- } +- +- ret =3D recurse_args(pool, n+1, query+matches[0].rm_eo, +- stmt, offs+matches[0].rm_eo); +- +- memmove(stmt->fmt + offs + matches[1].rm_so, +- stmt->fmt + offs + matches[0].rm_eo-1, +- strlen(stmt->fmt+offs+matches[0].rm_eo)+2); +- +- /* compile untaint to a regex if found */ +- if (matches[1].rm_so =3D=3D -1) { +- stmt->taint[n] =3D NULL; +- } +- else { +- strncpy(arg, query+matches[1].rm_so+1, +- matches[1].rm_eo - matches[1].rm_so - 2); +- arg[matches[1].rm_eo - matches[1].rm_so - 2] =3D '\0'; +- stmt->taint[n] =3D apr_palloc(pool, sizeof(regex_t)); +- if (regcomp(stmt->taint[n], arg, REG_ICASE|REG_EXTENDED) !=3D= 0) { +- ++ret; +- } +- else { +- apr_pool_cleanup_register(pool, stmt->taint[n], freetds= _regfree, +- apr_pool_cleanup_null); +- } +- } +- +- /* record length if specified */ +- for (i=3Dmatches[2].rm_so; inargs =3D nargs; ++ stmt->fmt =3D query; ++ stmt->fmtlen =3D strlen(query) - nargs + 1; ++ stmt->types =3D types; ++ stmt->label =3D label; /* XXX Not used anywhere at the moment */ +=20 +-#if 0 +- /* count args */ +- stmt->fmt =3D apr_pstrdup(pool, query); +- stmt->fmt =3D recurse_args(pool, 0, query, stmt, stmt->fmt); +- +- /* overestimate by a byte or two to simplify */ +- len =3D strlen("CREATE PROC apr.") +- + strlen(label) +- + stmt->nargs * strlen(" @arg1 varchar(len1),") +- + strlen(" AS begin ") +- + strlen(stmt->fmt) +- + strlen(" end "); /* extra byte for terminator */ +- +- pquery =3D apr_pcalloc(pool, len); +- sprintf(pquery, "CREATE PROC apr.%s", label); +- for (i=3D0; inargs; ++i) { +- sprintf(pquery+strlen(pquery), " @arg%d varchar(%d)", i, stmt->= sz[i]); +- if (i < stmt->nargs-1) { +- pquery[strlen(pquery)] =3D ','; +- } ++ /* ++ * Run through the query-template looking for the special character= , ++ * which the dbd_prepare inserted into it on our behalf ++ */ ++ for (i =3D 0, op =3D query; i < nargs; i++) { ++ p =3D strchr(op, apr_dbd_freetds_driver.pformat[0]); ++ stmt->offsets[i] =3D p - op; ++ op =3D p + 1; + } +- strcat(pquery, " AS BEGIN "); +- strcat(pquery, stmt->fmt); +- strcat(pquery, " END"); +- +- return (freetds_exec(sql->proc, pquery, 0, &i) =3D=3D SUCCEED) ? 0 = : 1; +-#else +- stmt->fmt =3D apr_pstrdup(pool, query); +- return recurse_args(pool, 0, query, stmt, 0); +-#endif +=20 ++ return APR_SUCCESS; + } +=20 + static int dbd_freetds_start_transaction(apr_pool_t *pool, apr_dbd_t *h= andle, +@@ -541,9 +482,9 @@ + DBPROCESS *process; + LOGINREC *login; + static const char *delims =3D " \r\n\t;|,"; +- char *ptr; +- char *key; +- char *value; ++ const char *ptr; ++ const char *key; ++ const char *value; + int vlen; + int klen; + char *buf; +@@ -564,7 +505,7 @@ + } + for (key =3D ptr-1; apr_isspace(*key); --key); + klen =3D 0; +- while (apr_isalpha(*key)) { ++ while (key >=3D params && apr_isalpha(*key)) { + --key; + ++klen; + } +@@ -627,10 +568,11 @@ + if (process =3D=3D NULL) { + return NULL; + } +- sql =3D apr_palloc (pool, sizeof (apr_dbd_t)); ++ sql =3D apr_pcalloc(pool, sizeof (apr_dbd_t)); + sql->pool =3D pool; + sql->proc =3D process; + sql->params =3D params; ++ dbsetuserdata(process, (BYTE *)sql); + return sql; + } +=20 +@@ -686,24 +628,73 @@ + static apr_status_t freetds_term(void *dummy) + { + dbexit(); +- regfree(&dbd_freetds_find_arg); + return APR_SUCCESS; + } ++ ++static int freetds_msg_handler(DBPROCESS *dbproc, DBINT msgno, int msgs= tate, ++ int severity, char *msgtext, char *srvna= me, ++ char *procname, int line) ++{ ++ char *value; ++ apr_dbd_t *sql; ++ ++ if (dbproc =3D=3D NULL || (sql =3D (void *)dbgetuserdata(dbproc)) =3D= =3D NULL) { ++ /* Initial messages are not interesting */ ++ return 0; ++ } ++ ++ value =3D apr_psprintf(sql->pool, "%s: %s", srvname, msgtext); ++ if (procname && procname[0]) ++ value =3D apr_pstrcat(sql->pool, value, " In procedure ", ++ procname, NULL); ++ if (line) ++ value =3D apr_pstrcat(sql->pool, value, ++ procname && procname[0] ? ", line " : " Line ", ++ apr_itoa(sql->pool, line), NULL); ++ ++ if (sql->lasterror) ++ sql->lasterror =3D apr_pstrcat(sql->pool, sql->lasterror, "\n", value,= NULL); ++ else ++ sql->lasterror =3D value; ++ ++ return 0; ++} ++ + static int freetds_err_handler(DBPROCESS *dbproc, int severity, int dbe= rr, + int oserr, char *dberrstr, char *oserrst= r) + { ++ char *value; ++ apr_dbd_t *sql; ++ ++ if (dbproc =3D=3D NULL || (sql =3D (void *)dbgetuserdata(dbproc)) =3D= =3D NULL) { ++ fprintf(stderr, "%s\n", dberrstr); ++ return INT_CANCEL; ++ } ++ /* ++ * Do not append the useless "general error", if details ++ * are already recorded (by the msg_handler). Just return. ++ * XXX: this skipping currently only works with Sybase's OpenClient= ++ * XXX: because FreeTDS implementation uses bogus dberr values: ++ * XXX: https://sourceforge.net/tracker/?func=3Ddetail&aid=3D355577= 7&group_id=3D33106&atid=3D407806 ++ */ ++ if (dberr =3D=3D SYBESMSG && sql->lasterror) ++ return INT_CANCEL; ++ ++ value =3D apr_psprintf(sql->pool, "%d: %s", dberr, dberrstr); ++ if (oserrstr) { ++ value =3D apr_pstrcat(sql->pool, ". (", oserrstr, ")", NULL); ++ } ++ if (sql->lasterror) ++ sql->lasterror =3D apr_pstrcat(sql->pool, sql->lasterror, "\n", value,= NULL); ++ else ++ sql->lasterror =3D value; + return INT_CANCEL; /* never exit */ + } + static void dbd_freetds_init(apr_pool_t *pool) + { +- int rv =3D regcomp(&dbd_freetds_find_arg, +- "%(\\{[^}]*\\})?([0-9]*)[A-Za-z]", REG_EXTENDED); +- if (rv !=3D 0) { +- char errmsg[256]; +- regerror(rv, &dbd_freetds_find_arg, errmsg, 256); +- fprintf(stderr, "regcomp failed: %s\n", errmsg); +- } +- dbinit(); ++ if (dbinit() =3D=3D FAIL) ++ fprintf(stderr, "dbinit() failed\n"); ++ dbmsghandle(freetds_msg_handler); + dberrhandle(freetds_err_handler); + apr_pool_cleanup_register(pool, NULL, freetds_term, apr_pool_cleanu= p_null); + } +@@ -765,7 +756,11 @@ + #endif +=20 + APU_MODULE_DECLARE_DATA const apr_dbd_driver_t apr_dbd_freetds_driver =3D= { ++#ifndef TI_MODULE_NAME + "freetds", ++#else ++ TI_MODULE_NAME, ++#endif + dbd_freetds_init, + dbd_freetds_native, + dbd_freetds_open, +@@ -787,19 +782,14 @@ + dbd_freetds_pvselect, + dbd_freetds_pquery, + dbd_freetds_pselect, +- /* this is only implemented to support httpd/2.2 standard usage, +- * as in the original DBD implementation. Everything else is NOTIM= PL. +- */ +-#ifdef COMPILE_STUBS + dbd_freetds_get_name, + dbd_freetds_transaction_mode_get, + dbd_freetds_transaction_mode_set, +- "", ++ "\1", /* Would not occur in a real query... */ + dbd_freetds_pvbquery, + dbd_freetds_pvbselect, + dbd_freetds_pbquery, + dbd_freetds_pbselect, + dbd_freetds_datum_get +-#endif + }; + #endif Index: devel/apr-util/pkg-descr =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- devel/apr-util/pkg-descr (revision 0) +++ devel/apr-util/pkg-descr (working copy) @@ -0,0 +1,9 @@ +The Apache Portable Runtime library provides a predictable and consisten= t +interface to underlying platform-specific implementations, relieving sof= tware +developers of the need to code special-case conditions to work around or= take +advantage of platform-specific deficiencies or features. + +This package contains the Apache Portable Runtime Utility library which +provides additional interfaces on top of the Apache Portable Runtime lib= rary. + +WWW: http://apr.apache.org/ Index: devel/apr-util/pkg-plist =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- devel/apr-util/pkg-plist (revision 0) +++ devel/apr-util/pkg-plist (working copy) @@ -0,0 +1,81 @@ +bin/apu-1-config +include/apr-1/apr_anylock.h +include/apr-1/apr_base64.h +include/apr-1/apr_buckets.h +include/apr-1/apr_crypto.h +include/apr-1/apr_date.h +include/apr-1/apr_dbd.h +include/apr-1/apr_dbm.h +include/apr-1/apr_hooks.h +include/apr-1/apr_ldap.h +include/apr-1/apr_ldap_init.h +include/apr-1/apr_ldap_option.h +include/apr-1/apr_ldap_rebind.h +include/apr-1/apr_ldap_url.h +include/apr-1/apr_md4.h +include/apr-1/apr_md5.h +include/apr-1/apr_memcache.h +include/apr-1/apr_optional.h +include/apr-1/apr_optional_hooks.h +include/apr-1/apr_queue.h +include/apr-1/apr_reslist.h +include/apr-1/apr_rmm.h +include/apr-1/apr_sdbm.h +include/apr-1/apr_sha1.h +include/apr-1/apr_strmatch.h +include/apr-1/apr_thread_pool.h +include/apr-1/apr_uri.h +include/apr-1/apr_uuid.h +include/apr-1/apr_xlate.h +include/apr-1/apr_xml.h +include/apr-1/apu.h +include/apr-1/apu_errno.h +include/apr-1/apu_version.h +include/apr-1/apu_want.h +%%NSS%%lib/apr-util-1/apr_crypto_nss-1.so +%%NSS%%lib/apr-util-1/apr_crypto_nss.so +%%NSS%%lib/apr-util-1/apr_crypto_nss.la +%%NSS%%lib/apr-util-1/apr_crypto_nss.a +%%SSL%%lib/apr-util-1/apr_crypto_openssl-1.so +%%SSL%%lib/apr-util-1/apr_crypto_openssl.a +%%SSL%%lib/apr-util-1/apr_crypto_openssl.la +%%SSL%%lib/apr-util-1/apr_crypto_openssl.so +%%FREETDS%%lib/apr-util-1/apr_dbd_freetds-1.so +%%FREETDS%%lib/apr-util-1/apr_dbd_freetds.a +%%FREETDS%%lib/apr-util-1/apr_dbd_freetds.la +%%FREETDS%%lib/apr-util-1/apr_dbd_freetds.so +%%MYSQL%%lib/apr-util-1/apr_dbd_mysql-1.so +%%MYSQL%%lib/apr-util-1/apr_dbd_mysql.a +%%MYSQL%%lib/apr-util-1/apr_dbd_mysql.la +%%MYSQL%%lib/apr-util-1/apr_dbd_mysql.so +%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql-1.so +%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.a +%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.la +%%PGSQL%%lib/apr-util-1/apr_dbd_pgsql.so +%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3-1.so +%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.a +%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.la +%%SQLITE3%%lib/apr-util-1/apr_dbd_sqlite3.so +%%BDB%%lib/apr-util-1/apr_dbm_db-1.so +%%BDB%%lib/apr-util-1/apr_dbm_db.a +%%BDB%%lib/apr-util-1/apr_dbm_db.la +%%BDB%%lib/apr-util-1/apr_dbm_db.so +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm-1.so +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.a +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.la +%%GDBM%%lib/apr-util-1/apr_dbm_gdbm.so +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm-1.so +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.a +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.la +%%NDBM%%lib/apr-util-1/apr_dbm_ndbm.so +%%LDAP%%lib/apr-util-1/apr_ldap-1.so +%%LDAP%%lib/apr-util-1/apr_ldap.a +%%LDAP%%lib/apr-util-1/apr_ldap.la +%%LDAP%%lib/apr-util-1/apr_ldap.so +lib/aprutil.exp +lib/libaprutil-1.a +lib/libaprutil-1.la +lib/libaprutil-1.so +lib/libaprutil-1.so.%%SHLIB_MAJOR%% +libdata/pkgconfig/apr-util-1.pc +%%APU_EXTRAS%%@dirrm lib/apr-util-1 --------------020604090309070102080306-- ------enig2IUMOMDJCCMWIOEJJGBHB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iF4EAREIAAYFAlHBr64ACgkQfoCS2CCgtitPvAD/RCCKE7I7ohFdvb83UIdOXYcF F3DVb9GSM1E/1NqKB24A/jsAhI29lx6S4rmCHhgWTBW2c6lxlgzVWqjJqKi8OGW2 =VPMG -----END PGP SIGNATURE----- ------enig2IUMOMDJCCMWIOEJJGBHB-- From owner-freebsd-apache@FreeBSD.ORG Sat Jun 22 09:12:44 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BEE222CC; Sat, 22 Jun 2013 09:12:44 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 80586132A; Sat, 22 Jun 2013 09:12:44 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:801e:eeec:4262:679f]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id DB9564AC58; Sat, 22 Jun 2013 13:12:41 +0400 (MSK) Date: Sat, 22 Jun 2013 13:12:34 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <607933663.20130622131234@serebryakov.spb.ru> To: freebsd-ports@freebsd.org Subject: Re: "portmaster -r perl" rebuild almost everything, including apache24, php53 etc. In-Reply-To: <51C5611D.2000807@passap.ru> References: <1306476328.20130621232328@serebryakov.spb.ru> <51C5611D.2000807@passap.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: perl@FreeBSD.org, Boris Samorodov , apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 09:12:44 -0000 Hello, Boris. You wrote 22 =D0=B8=D1=8E=D0=BD=D1=8F 2013 =D0=B3., 12:32:29: >> Is it ok? BS> Technically "portmaster -r perl" rebuild all that depends on perl. BS> So you get what you asked for. BS> Should almost whole ports be rebuilded at a minor perl upgrade is BS> another question. And I think that the most resent change in perl I'm surprised, that so many ports, which doesn't contain any perl code after build (like apache24 and php) depends on perl in runtime. Why? I understand, why all p5-* or nod_perl should be rebuild, but why php53 should!? For example, php53 doesn't contains perl dependency directly. Ok, it depend on apache24 in my configuration, let see at apache24. It has USE_PERL5=3Dyes. Let check, does it need it at runtime. % cd /usr/ports/www/apache24 % grep \\.pm pkg-plist % pkg info -lg apache\* | grep -E '/usr/local/(bin|sbin|lib|libexec)' | xar= gs ldd | grep perl ldd: /usr/local/libexec/apache22/httpd.exp: not a dynamic executable ldd: /usr/local/sbin/apachectl: not a dynamic executable ldd: /usr/local/sbin/apxs: not a dynamic executable ldd: /usr/local/sbin/dbmmanage: not a dynamic executable ldd: /usr/local/sbin/envvars: not a dynamic executable ldd: /usr/local/sbin/split-logfile: not a dynamic executable % grep perl /usr/local/sbin/apachectl /usr/local/sbin/apxs /usr/local/sbin/= dbmmanage /usr/local/sbin/envvars /usr/local/sbin/split-logfile /usr/local/sbin/apxs:#!/usr/bin/perl -w /usr/local/sbin/apxs: #= perl variable. /usr/local/sbin/dbmmanage:#!/usr/bin/perl /usr/local/sbin/dbmmanage:# http://www.perl.com/CPAN/modules/by-module/HTTP= D/HTTPD-Tools-x.xx.tar.gz /usr/local/sbin/split-logfile:#!/usr/bin/perl % Ok, apache24 need perl for its scripts and only for scripts, not for perl modules! Should we rebuild it on perl upgrade? I don't think so. Should we rebuild php53, which doesn't depends on these scripts, on perl upgrade? I'm sure, we shouldn't. Should we rebuild phpMyAdmin or Roundcube, pure-php software on perl upgrade!? IT IS MADNESS! --=20 // Black Lion AKA Lev Serebryakov = = = = +++ From owner-freebsd-apache@FreeBSD.ORG Sat Jun 22 09:33:00 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 23A40529; Sat, 22 Jun 2013 09:33:00 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id D7BC413C6; Sat, 22 Jun 2013 09:32:59 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id C872828429; Sat, 22 Jun 2013 11:32:57 +0200 (CEST) Received: from [192.168.1.2] (ip-89-177-49-222.net.upcbroadband.cz [89.177.49.222]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id F419B28422; Sat, 22 Jun 2013 11:32:55 +0200 (CEST) Message-ID: <51C56F47.4000001@quip.cz> Date: Sat, 22 Jun 2013 11:32:55 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: lev@FreeBSD.org Subject: Re: "portmaster -r perl" rebuild almost everything, including apache24, php53 etc. References: <1306476328.20130621232328@serebryakov.spb.ru> <51C5611D.2000807@passap.ru> <607933663.20130622131234@serebryakov.spb.ru> In-Reply-To: <607933663.20130622131234@serebryakov.spb.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: perl@FreeBSD.org, Boris Samorodov , apache@FreeBSD.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 09:33:00 -0000 Lev Serebryakov wrote: > Hello, Boris. > You wrote 22 июня 2013 г., 12:32:29: > >>> Is it ok? > BS> Technically "portmaster -r perl" rebuild all that depends on perl. > BS> So you get what you asked for. > > BS> Should almost whole ports be rebuilded at a minor perl upgrade is > BS> another question. And I think that the most resent change in perl > I'm surprised, that so many ports, which doesn't contain any perl > code after build (like apache24 and php) depends on perl in runtime. > Why? I understand, why all p5-* or nod_perl should be rebuild, but > why php53 should!? For example, php53 doesn't contains perl > dependency directly. Ok, it depend on apache24 in my configuration, > let see at apache24. It has USE_PERL5=yes. Let check, does it need it > at runtime. > > % cd /usr/ports/www/apache24 > % grep \\.pm pkg-plist > % pkg info -lg apache\* | grep -E '/usr/local/(bin|sbin|lib|libexec)' | xargs ldd | grep perl > ldd: /usr/local/libexec/apache22/httpd.exp: not a dynamic executable > ldd: /usr/local/sbin/apachectl: not a dynamic executable > ldd: /usr/local/sbin/apxs: not a dynamic executable > ldd: /usr/local/sbin/dbmmanage: not a dynamic executable > ldd: /usr/local/sbin/envvars: not a dynamic executable > ldd: /usr/local/sbin/split-logfile: not a dynamic executable > % grep perl /usr/local/sbin/apachectl /usr/local/sbin/apxs /usr/local/sbin/dbmmanage /usr/local/sbin/envvars /usr/local/sbin/split-logfile > /usr/local/sbin/apxs:#!/usr/bin/perl -w > /usr/local/sbin/apxs: # perl variable. > /usr/local/sbin/dbmmanage:#!/usr/bin/perl > /usr/local/sbin/dbmmanage:# http://www.perl.com/CPAN/modules/by-module/HTTPD/HTTPD-Tools-x.xx.tar.gz > /usr/local/sbin/split-logfile:#!/usr/bin/perl > % > > Ok, apache24 need perl for its scripts and only for scripts, not for > perl modules! Should we rebuild it on perl upgrade? I don't think so. > Should we rebuild php53, which doesn't depends on these scripts, on > perl upgrade? I'm sure, we shouldn't. Should we rebuild phpMyAdmin or > Roundcube, pure-php software on perl upgrade!? IT IS MADNESS! It is an issue for a long time and can be partially fixed by EXPLICIT_PACKAGE_DEPENDS=true in make.conf Then you will have recorded direct depencencies only. Miroslav Lachman From owner-freebsd-apache@FreeBSD.ORG Sat Jun 22 10:50:27 2013 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5D962F85 for ; Sat, 22 Jun 2013 10:50:27 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mx1.freebsd.org (Postfix) with ESMTP id F164E177B for ; Sat, 22 Jun 2013 10:50:26 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.4]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0Lobhc-1UOBeF3WkE-00gXGS for ; Sat, 22 Jun 2013 12:50:25 +0200 Received: (qmail invoked by alias); 22 Jun 2013 10:50:25 -0000 Received: from p578be941.dip0.t-ipconnect.de (EHLO [192.168.0.100]) [87.139.233.65] by mail.gmx.net (mp004) with SMTP; 22 Jun 2013 12:50:25 +0200 X-Authenticated: #1956535 X-Provags-ID: V01U2FsdGVkX1/k+uROxKjkNjAX70RViz+M0LCKV0TQT5gAeqYGF3 /RIIr1k8Sxzssu Message-ID: <51C58174.20209@gmx.de> Date: Sat, 22 Jun 2013 12:50:28 +0200 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-apache@freebsd.org Subject: Re: Splitting up and simplifying devel/apr1 References: <51C1AFA7.9080700@FreeBSD.org> In-Reply-To: <51C1AFA7.9080700@FreeBSD.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Tijl Coosemans X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 10:50:27 -0000 > Hi, > > In the discussion on src-committers about svnlite it was mentioned that > devel/subversion is too heavy to build, pulling in perl, python and > all the autotools. I've been going over its dependencies and it turns > out these are all pulled in by devel/apr1, so I've been looking into > simplifying that port. > > It seems the port can easily be split up into two simple ports, one for > the APR library and one for the APR Utility library. There's no need > for autotools, libtool, python, etc. > > I've attached a patch that creates devel/apr and devel/apr-util. > Please take a look at them and let me know what you think. > Another patch can then remove devel/apr1 and update all ports that > depend on it, but before I spend more time on this, do you agree this Hi Tijl, On upstream apr and apr-util are already merged but until now are delivered separate. In the past they had also sometimes update to apr2 snapshots where they delivered everything in one dist file. In case there is no planning on upstream to merge the two distfiles into one like the apr2 snapshots then I think we could spend some time and separate the ports. I will ask on the dev@apr.apache mailing list if there is a road map (I cannot find one on the apr public sites). -- Regards, olli From owner-freebsd-apache@FreeBSD.ORG Sat Jun 22 20:26:10 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4DBDD87C; Sat, 22 Jun 2013 20:26:10 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 2754C1C8C; Sat, 22 Jun 2013 20:26:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5MKQACo088263; Sat, 22 Jun 2013 20:26:10 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5MKQ8Jq088262; Sat, 22 Jun 2013 20:26:08 GMT (envelope-from ohauer) Date: Sat, 22 Jun 2013 20:26:08 GMT Message-Id: <201306222026.r5MKQ8Jq088262@freefall.freebsd.org> To: potatosaladx@gmail.com, gaod@hychen.org, ohauer@FreeBSD.org, apache@FreeBSD.org From: ohauer@FreeBSD.org Subject: Re: ports/178668: [PATCH] www/mod_xsendfile: Fix extracting Last-Modified info X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 20:26:10 -0000 Synopsis: [PATCH] www/mod_xsendfile: Fix extracting Last-Modified info State-Changed-From-To: feedback->closed State-Changed-By: ohauer State-Changed-When: Sat Jun 22 20:25:50 UTC 2013 State-Changed-Why: Committed, Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=178668 From owner-freebsd-apache@FreeBSD.ORG Sat Jun 22 20:30:02 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8F8D98D5 for ; Sat, 22 Jun 2013 20:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 688401CA8 for ; Sat, 22 Jun 2013 20:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5MKU2lB088448 for ; Sat, 22 Jun 2013 20:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5MKU2UV088447; Sat, 22 Jun 2013 20:30:02 GMT (envelope-from gnats) Date: Sat, 22 Jun 2013 20:30:02 GMT Message-Id: <201306222030.r5MKU2UV088447@freefall.freebsd.org> To: apache@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/178668: commit references a PR X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 20:30:02 -0000 The following reply was made to PR ports/178668; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/178668: commit references a PR Date: Sat, 22 Jun 2013 20:25:04 +0000 (UTC) Author: ohauer Date: Sat Jun 22 20:24:57 2013 New Revision: 321590 URL: http://svnweb.freebsd.org/changeset/ports/321590 Log: - Extract Last-Modified from the right place PR: ports/178668 Submitted by: Hung-Yi Chen Approved by: Andrew Bennet (maintainer) Added: head/www/mod_xsendfile/files/ head/www/mod_xsendfile/files/patch-mod_xsendfile.c (contents, props changed) Modified: head/www/mod_xsendfile/Makefile Modified: head/www/mod_xsendfile/Makefile ============================================================================== --- head/www/mod_xsendfile/Makefile Sat Jun 22 20:18:50 2013 (r321589) +++ head/www/mod_xsendfile/Makefile Sat Jun 22 20:24:57 2013 (r321590) @@ -1,13 +1,9 @@ -# New ports collection makefile for: mod_xsendfile Apache module -# Date created: 2006-11-23 -# Whom: Andrew T. Bennett -# +# Created by: Andrew T. Bennett # $FreeBSD$ -# PORTNAME= mod_xsendfile PORTVERSION= 0.12 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= https://tn123.org/mod_xsendfile/ \ http://cloud.github.com/downloads/potatosalad/mod_xsendfile/ Added: head/www/mod_xsendfile/files/patch-mod_xsendfile.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/mod_xsendfile/files/patch-mod_xsendfile.c Sat Jun 22 20:24:57 2013 (r321590) @@ -0,0 +1,11 @@ +--- mod_xsendfile.c.orig 2013-05-16 02:15:41.000000000 +0800 ++++ mod_xsendfile.c 2013-05-16 02:15:48.000000000 +0800 +@@ -439,7 +439,7 @@ + conf->ignoreLM == XSENDFILE_ENABLED + || ( + !apr_table_get(r->headers_out, "last-modified") +- && !apr_table_get(r->headers_out, "last-modified") ++ && !apr_table_get(r->err_headers_out, "last-modified") + ) + ) { + apr_table_unset(r->err_headers_out, "last-modified"); _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" From owner-freebsd-apache@FreeBSD.ORG Sat Jun 22 21:14:44 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E5BF832D; Sat, 22 Jun 2013 21:14:44 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BF8FE1E75; Sat, 22 Jun 2013 21:14:44 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5MLEiti098357; Sat, 22 Jun 2013 21:14:44 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5MLEiH5098356; Sat, 22 Jun 2013 21:14:44 GMT (envelope-from ohauer) Date: Sat, 22 Jun 2013 21:14:44 GMT Message-Id: <201306222114.r5MLEiH5098356@freefall.freebsd.org> To: ohauer@FreeBSD.org, apache@FreeBSD.org, ohauer@FreeBSD.org From: ohauer@FreeBSD.org Subject: Re: ports/179263: new port www/mod_authnz_crowd X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 21:14:45 -0000 Synopsis: new port www/mod_authnz_crowd Responsible-Changed-From-To: apache->ohauer Responsible-Changed-By: ohauer Responsible-Changed-When: Sat Jun 22 21:14:18 UTC 2013 Responsible-Changed-Why: I'll take it http://www.freebsd.org/cgi/query-pr.cgi?pr=179263 From owner-freebsd-apache@FreeBSD.ORG Sat Jun 22 23:32:34 2013 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2258EE8C; Sat, 22 Jun 2013 23:32:34 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id BBE5D137C; Sat, 22 Jun 2013 23:32:33 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id 16so9762037obc.12 for ; Sat, 22 Jun 2013 16:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=6BO4gF8VQj3jlUM++ahd9N+3bRE/y2St5aBIlXCtE8Y=; b=dXnAs37kWsZSFjF5YbJshRj9D8L0feeWJ/+RJPCCMJJJ/4dTHqjRLAgiSC/L8Mr2mG gtn7oKOY0KW0969yuUa+n57aMdlmX3G+rPusKDGHmtWTRmhUABNxrJcR+1vcVRcTIgZQ UrKXOK5fcnvxrqTy8VbYa8g61v3Tfn6z5RzXfNI8Qmq36NjhjdRG+xHXE3RtuMA63bRh f03rqQZ+BmSC5ERkRuj15c3xBpkV0FebBWY8zZKDH/9Posi/2m8Qxhxsi2893+Q4Yxhr xWQ+I0Zqbb/4WksOclCW73t9Gcy4SXyMDKBtbHDZ8w39fVH8ZA3Th1GcFbDzqirwL6Nz df4A== MIME-Version: 1.0 X-Received: by 10.60.178.196 with SMTP id da4mr3814754oec.11.1371943953313; Sat, 22 Jun 2013 16:32:33 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.76.112.212 with HTTP; Sat, 22 Jun 2013 16:32:33 -0700 (PDT) In-Reply-To: <51C56F47.4000001@quip.cz> References: <1306476328.20130621232328@serebryakov.spb.ru> <51C5611D.2000807@passap.ru> <607933663.20130622131234@serebryakov.spb.ru> <51C56F47.4000001@quip.cz> Date: Sat, 22 Jun 2013 16:32:33 -0700 X-Google-Sender-Auth: qLbmceKoi8eAFVaDjoLoLRtw56k Message-ID: Subject: Re: "portmaster -r perl" rebuild almost everything, including apache24, php53 etc. From: Kevin Oberman To: Miroslav Lachman <000.fbsd@quip.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: perl@freebsd.org, Lev Serebryakov , Boris Samorodov , apache@freebsd.org, FreeBSD Ports ML X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 23:32:34 -0000 On Sat, Jun 22, 2013 at 2:32 AM, Miroslav Lachman <000.fbsd@quip.cz> wrote: > Lev Serebryakov wrote: > >> Hello, Boris. >> You wrote 22 =D0=B8=D1=8E=D0=BD=D1=8F 2013 =D0=B3., 12:32:29: >> >> Is it ok? >>>> >>> BS> Technically "portmaster -r perl" rebuild all that depends on perl. >> BS> So you get what you asked for. >> >> BS> Should almost whole ports be rebuilded at a minor perl upgrade is >> BS> another question. And I think that the most resent change in perl >> I'm surprised, that so many ports, which doesn't contain any perl >> code after build (like apache24 and php) depends on perl in runtime. >> Why? I understand, why all p5-* or nod_perl should be rebuild, but >> why php53 should!? For example, php53 doesn't contains perl >> dependency directly. Ok, it depend on apache24 in my configuration, >> let see at apache24. It has USE_PERL5=3Dyes. Let check, does it need i= t >> at runtime. >> >> % cd /usr/ports/www/apache24 >> % grep \\.pm pkg-plist >> % pkg info -lg apache\* | grep -E '/usr/local/(bin|sbin|lib|**libexec)' >> | xargs ldd | grep perl >> ldd: /usr/local/libexec/apache22/**httpd.exp: not a dynamic executable >> ldd: /usr/local/sbin/apachectl: not a dynamic executable >> ldd: /usr/local/sbin/apxs: not a dynamic executable >> ldd: /usr/local/sbin/dbmmanage: not a dynamic executable >> ldd: /usr/local/sbin/envvars: not a dynamic executable >> ldd: /usr/local/sbin/split-logfile: not a dynamic executable >> % grep perl /usr/local/sbin/apachectl /usr/local/sbin/apxs >> /usr/local/sbin/dbmmanage /usr/local/sbin/envvars >> /usr/local/sbin/split-logfile >> /usr/local/sbin/apxs:#!/usr/**bin/perl -w >> /usr/local/sbin/apxs: >> # perl variable. >> /usr/local/sbin/dbmmanage:#!/**usr/bin/perl >> /usr/local/sbin/dbmmanage:# http://www.perl.com/CPAN/** >> modules/by-module/HTTPD/HTTPD-**Tools-x.xx.tar.gz >> /usr/local/sbin/split-logfile:**#!/usr/bin/perl >> % >> >> Ok, apache24 need perl for its scripts and only for scripts, not for >> perl modules! Should we rebuild it on perl upgrade? I don't think so. >> Should we rebuild php53, which doesn't depends on these scripts, on >> perl upgrade? I'm sure, we shouldn't. Should we rebuild phpMyAdmin or >> Roundcube, pure-php software on perl upgrade!? IT IS MADNESS! >> > > It is an issue for a long time and can be partially fixed by > EXPLICIT_PACKAGE_DEPENDS=3Dtrue in make.conf > Then you will have recorded direct depencencies only. > > Miroslav Lachman > The problem is that many ports that contain no perl are dependent on another port that DOES require perl. And '-r' catches all of them. EXPLICIT_PACKAGE_DEPENDS=3Dtrue results in only recording immediate dependencies,but has negative impacts in that rebuilds in cases when you suspect some dependency needs fixing, it may well not be found any more. For perl I routinely recommend "portmaster p5-" to catch almost everything and then examining /usr/local/lib/perl5/site_perl for the old version to catch what is left. It is not hard to create a perl module that adds some different directory to @INC, but that is considered bad form. For shareable library version bumps, "pkg_libchk -o" can be used to find explicit dependencies so you can just rebuild these. I've posted details to this list several times. Google "oberman png pkg_libchk" --=20 R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com