From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 22:03:43 2012 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 945081065673 for ; Sun, 12 Aug 2012 22:03:43 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8F98FC08 for ; Sun, 12 Aug 2012 22:03:43 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id B63E92087E for ; Mon, 13 Aug 2012 00:03:33 +0200 (CEST) Message-ID: <50282839.6060800@FreeBSD.org> Date: Mon, 13 Aug 2012 00:03:37 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: "apache@FreeBSD.org" X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Subject: bsd.apache.mk rewrite / cleanup X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "apache@FreeBSD.org" List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 22:03:43 -0000 Hi all, the bsd.apache.mk script has undergone a rewrite for better support of options NG. changed: - make.conf pa-rams like WITH(OUT)_MODULES should be given in UPPER case. Code to convert make.conf pa-rams to UPPER case is in place - cleanup old constructs which are working in a sub-shell (@for ... ${GREP} ...) the parts are replaced to use make logic. - adjust apache20/apache22 ports for the new bsd.apache.mk. The bsd.apache.mk file should be touched again to support options NG in apache2x but those changes are only a view lines. I want to keep make.conf support the same way it works now even if apache22 is rewritten with options NG support. This means against new options NG logic the make.conf has priority over options set by "make config" (old behavior). To give make.conf and command line pa-rams a higher priority is needed for static and other special builds. I've done endless tests with the rewritten bsd.apache.mk and have not found any backward incompatible issues (except if we remove the UPPERCASE convert part) There is additional room for more cleanup, some comments are in the patch (MFC TODO). For anyone interested in review before I commit the patches http://people.freebsd.org/~ohauer/diffs/apache/bsd.apache.mk_rewrite_2012-08-12.txt -- olli From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 22:20:45 2012 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCF15106564A for ; Sun, 12 Aug 2012 22:20:45 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id 75DDF8FC12 for ; Sun, 12 Aug 2012 22:20:45 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id C71592087E for ; Mon, 13 Aug 2012 00:20:42 +0200 (CEST) Message-ID: <50282C44.4020707@FreeBSD.org> Date: Mon, 13 Aug 2012 00:20:52 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-apache@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: http://www.freebsd.org/cgi/query-pr.cgi?pr=170124 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "apache@FreeBSD.org" List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 22:20:45 -0000 On 2012-08-07 16:58, Marcello Coutinho wrote: > HI, > > Sorry for the direct email. > > Can you check/merge this patches? I'm trying to get spread perl module on > modsecurity. > > att, > Marcello Coutinho I will look into this the next days -- olli From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 22:21:47 2012 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFBFE106564A for ; Sun, 12 Aug 2012 22:21:47 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id 69B168FC08 for ; Sun, 12 Aug 2012 22:21:47 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id 4889C2087E for ; Mon, 13 Aug 2012 00:21:46 +0200 (CEST) Message-ID: <50282C85.8010201@FreeBSD.org> Date: Mon, 13 Aug 2012 00:21:57 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-apache@freebsd.org References: <201208061026.24106.alex@hugo.bmg.gv.at> In-Reply-To: <201208061026.24106.alex@hugo.bmg.gv.at> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: PR: ports/167964 www/mod_authn_otp X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "apache@FreeBSD.org" List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 22:21:47 -0000 On 2012-08-06 10:26, Alexander Hausner wrote: > Dear all! > > I've submitted a pr ports/167964: New port:www/mod_authn_otp on Wed, 16 May > 2012. What is the state of this pr? Shall I modify anything and resubmit? > > Best regards, > > Alex Sorry, I will look into this during the next days -- olli From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 22:25:22 2012 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F23E4106566B for ; Sun, 12 Aug 2012 22:25:21 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id AC15B8FC0C for ; Sun, 12 Aug 2012 22:25:21 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id 795142087E; Mon, 13 Aug 2012 00:25:18 +0200 (CEST) Message-ID: <50282D58.5070605@FreeBSD.org> Date: Mon, 13 Aug 2012 00:25:28 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: apache@freebsd.org References: <201208112122.q7BLMn3g037694@gateway.ipv6.occnc.com> In-Reply-To: <201208112122.q7BLMn3g037694@gateway.ipv6.occnc.com> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: curtis@occnc.com Subject: Re: patch to apache for IPv6 only httpd X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "apache@FreeBSD.org" List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 22:25:22 -0000 On 2012-08-11 23:22, Curtis Villamizar wrote: > FYI- > > This very simple patch prevents an assert when httpd is run on a > server that has no IPv4 address. An example is a BSD jail running > with only an IPv6 address on the interface (no loopback so no > 127.0.0.1 address to bind to). > > Copy the patch below into the files directory as > /usr/ports/www/apache22/files/patch-server__config.c > > The port maintainer is on the Cc. No bug has been reported. > > BTW- I noticed this a long time ago. I don't remember if I reported > it or forgot to. Appologies if this is a duplicate. It is not in the > httpd-2.2.22.tar.bz2 tarball, in the distinfo dated 23 July 2012. > > Curtis > > > --- ./server/config.c.orig 2010-10-07 09:56:54.000000000 -0700 > +++ ./server/config.c 2011-09-26 21:20:35.000000000 -0700 > @@ -1979,6 +1979,9 @@ > /* NOT virtual host; don't match any real network interface */ > rv = apr_sockaddr_info_get(&s->addrs->host_addr, > NULL, APR_INET, 0, 0, p); > + if (rv != APR_SUCCESS) > + rv = apr_sockaddr_info_get(&s->addrs->host_addr, > + NULL, APR_UNSPEC, 0, 0, p); > ap_assert(rv == APR_SUCCESS); /* otherwise: bug or no storage */ > > s->addrs->host_port = 0; /* matches any port */ Hi Curtis, Is this patch also relevant if apache22 was build with -DWITH_IPV6_V6ONLY ? -- olli From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 22:26:32 2012 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F6C9106564A for ; Sun, 12 Aug 2012 22:26:32 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id C65B18FC17 for ; Sun, 12 Aug 2012 22:26:31 +0000 (UTC) Received: by qadc11 with SMTP id c11so583941qad.13 for ; Sun, 12 Aug 2012 15:26:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=eFFWjcYUJfZ8gtMnNhXh/lGBK7HzgD8QgqQuuSNC6tI=; b=KWjCRyShB2b+8ZkBuby/EKigp9PNCuknFsJUcKSU52AZCvLB7fd4UVYqagnif+8kuO hWTg/2FzaXFAaGN9gLvP/0cuCo13pyemS3TO/ADKlfGfIO52KdmGLrJW0h3dHoGZi97C L8bc24jdvrwY7iYLhE1t8GM/bUFDoFJbKTLb+gr1SaehUHv+q2xq0y9ihgUg/5fu4C6g r+WxfZbqiis8krQFQgtCSMxV40Ax/2cMn3FFP6yf6F9SGHACpyGNMdq+rj4tavKy9ZWg kcNf86HBHRbelD7pY2HPFNzsq/P8GWcL7NEqoNm7faY76+QLSJeNeNZBQR0bg6um6Q5f 167w== MIME-Version: 1.0 Received: by 10.224.177.5 with SMTP id bg5mr21260091qab.40.1344810390457; Sun, 12 Aug 2012 15:26:30 -0700 (PDT) Received: by 10.49.85.41 with HTTP; Sun, 12 Aug 2012 15:26:30 -0700 (PDT) X-Originating-IP: [64.134.66.62] In-Reply-To: <50282839.6060800@FreeBSD.org> References: <50282839.6060800@FreeBSD.org> Date: Sun, 12 Aug 2012 18:26:30 -0400 Message-ID: From: "Philip M. Gollucci" To: "apache@FreeBSD.org" X-Gm-Message-State: ALoCoQki2IXxlEqMOkA2TxUGCiQg4xmhGwnMjd8gOJL5svJkAgxu3yF/20ZXtsXW+OHClKYrWIMn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: bsd.apache.mk rewrite / cleanup X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 22:26:32 -0000 Looks fine to me. Why don't we just act on removing www/apache20 and devel/apr0. Then committing this is simpler Then making www/apache24 is easier Then moving APACHE_PORT to www/apache24 is 'easier' minus the MPM change. On Sun, Aug 12, 2012 at 6:03 PM, Olli Hauer wrote: > Hi all, > > the bsd.apache.mk script has undergone a rewrite for better support of > options NG. > > changed: > - make.conf pa-rams like WITH(OUT)_MODULES should be given in UPPER case. > Code to convert make.conf pa-rams to UPPER case is in place > - cleanup old constructs which are working in a sub-shell (@for ... > ${GREP} ...) > the parts are replaced to use make logic. > - adjust apache20/apache22 ports for the new bsd.apache.mk. > > The bsd.apache.mk file should be touched again to support options NG in > apache2x > but those changes are only a view lines. > > I want to keep make.conf support the same way it works now even if apache22 > is rewritten with options NG support. This means against new options NG > logic > the make.conf has priority over options set by "make config" (old > behavior). > To give make.conf and command line pa-rams a higher priority is needed for > static and other special builds. > > I've done endless tests with the rewritten bsd.apache.mk and have not > found any > backward incompatible issues (except if we remove the UPPERCASE convert > part) > > There is additional room for more cleanup, some comments are in the patch > (MFC TODO). > > For anyone interested in review before I commit the patches > > http://people.freebsd.org/~ohauer/diffs/apache/bsd.apache.mk_rewrite_2012-08-12.txt > > -- > olli > _______________________________________________ > freebsd-apache@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-apache > To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org" > -- --------------------------------------------------------------------------------------------- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Director Operations, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 22:27:20 2012 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9053106566C for ; Sun, 12 Aug 2012 22:27:20 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6F23E8FC15 for ; Sun, 12 Aug 2012 22:27:20 +0000 (UTC) Received: by qcsg15 with SMTP id g15so2317162qcs.13 for ; Sun, 12 Aug 2012 15:27:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=xdRbIq3d4REJgunCHGduO2X97zd09rf5uxxEx6zh3B8=; b=CQoX/7BGDaUVECMIKKEZxicJz72hfsHL/eu/P+mf0G+2dn1gf/z+mvuy/RFbiReycS CzxJOgookUGfnItE/lfRp1gTRy+0V7VSl2OAtdmE1l9JucY+OMUX5BCHHDQecPxBmF0X B6A6dCBJvo+t8Arzyg1Jliyu0nAYtYd0c17IaQq17w/69pfekSRuK9aWtvtlA4dzRQGS +KlBP8E52YvlftPDVILuBrm8q1cGCiDBw6KYLzs6kDl+gPNroDF0HPWVaHGwJEZg8G4O cIuwiBqGSTgyJcLgSre6WipGjWfeuC4CWz3Qn2Aac84rp3y/tWP51Eb18IofkEm0Fyhl 6Unw== MIME-Version: 1.0 Received: by 10.224.188.83 with SMTP id cz19mr21158570qab.23.1344810439686; Sun, 12 Aug 2012 15:27:19 -0700 (PDT) Received: by 10.49.85.41 with HTTP; Sun, 12 Aug 2012 15:27:19 -0700 (PDT) X-Originating-IP: [64.134.66.62] In-Reply-To: <50282D58.5070605@FreeBSD.org> References: <201208112122.q7BLMn3g037694@gateway.ipv6.occnc.com> <50282D58.5070605@FreeBSD.org> Date: Sun, 12 Aug 2012 18:27:19 -0400 Message-ID: From: "Philip M. Gollucci" To: "apache@FreeBSD.org" X-Gm-Message-State: ALoCoQmLb02UhWSgUEeKwv7iec+P7nwazS/auLBIB19xSPqeM7SyJBXA8I9iLDlVf0nwMckbODzD Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: curtis@occnc.com Subject: Re: patch to apache for IPv6 only httpd X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 22:27:20 -0000 This needs to be sent back to dev@httpd.apache.org for upstream commit. This shouldn't be a permenant local fbsd patch. On Sun, Aug 12, 2012 at 6:25 PM, Olli Hauer wrote: > On 2012-08-11 23:22, Curtis Villamizar wrote: > > FYI- > > > > This very simple patch prevents an assert when httpd is run on a > > server that has no IPv4 address. An example is a BSD jail running > > with only an IPv6 address on the interface (no loopback so no > > 127.0.0.1 address to bind to). > > > > Copy the patch below into the files directory as > > /usr/ports/www/apache22/files/patch-server__config.c > > > > The port maintainer is on the Cc. No bug has been reported. > > > > BTW- I noticed this a long time ago. I don't remember if I reported > > it or forgot to. Appologies if this is a duplicate. It is not in the > > httpd-2.2.22.tar.bz2 tarball, in the distinfo dated 23 July 2012. > > > > Curtis > > > > > > --- ./server/config.c.orig 2010-10-07 09:56:54.000000000 -0700 > > +++ ./server/config.c 2011-09-26 21:20:35.000000000 -0700 > > @@ -1979,6 +1979,9 @@ > > /* NOT virtual host; don't match any real network interface */ > > rv = apr_sockaddr_info_get(&s->addrs->host_addr, > > NULL, APR_INET, 0, 0, p); > > + if (rv != APR_SUCCESS) > > + rv = apr_sockaddr_info_get(&s->addrs->host_addr, > > + NULL, APR_UNSPEC, 0, 0, p); > > ap_assert(rv == APR_SUCCESS); /* otherwise: bug or no storage */ > > > > s->addrs->host_port = 0; /* matches any port */ > > Hi Curtis, > > Is this patch also relevant if apache22 was build with > -DWITH_IPV6_V6ONLY ? > > -- > olli > _______________________________________________ > freebsd-apache@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-apache > To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org" > -- --------------------------------------------------------------------------------------------- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Director Operations, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 22:27:40 2012 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EFDE1065673 for ; Sun, 12 Aug 2012 22:27:40 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id 18B5F8FC1C for ; Sun, 12 Aug 2012 22:27:40 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id 9AD2C2087E; Mon, 13 Aug 2012 00:27:36 +0200 (CEST) Message-ID: <50282DE2.8090205@FreeBSD.org> Date: Mon, 13 Aug 2012 00:27:46 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: apache@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Looking for new apache@ members X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "apache@FreeBSD.org" List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 22:27:40 -0000 On 2012-08-07 03:24, Philip M. Gollucci wrote: > Please see the http://wiki.freebsd.org/Apache > > I'd like to start by adding wesley@. +1 -- olli From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 22:40:41 2012 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D05A106566C for ; Sun, 12 Aug 2012 22:40:41 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id D8AEE8FC08 for ; Sun, 12 Aug 2012 22:40:40 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id 69CB22087E; Mon, 13 Aug 2012 00:40:37 +0200 (CEST) Message-ID: <502830EF.40604@FreeBSD.org> Date: Mon, 13 Aug 2012 00:40:47 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: "apache@FreeBSD.org" References: <50282839.6060800@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: bsd.apache.mk rewrite / cleanup X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "apache@FreeBSD.org" List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 22:40:41 -0000 On 2012-08-13 00:26, Philip M. Gollucci wrote: > Looks fine to me. Why don't we just act on removing www/apache20 and > devel/apr0. > Then committing this is simpler > Then making www/apache24 is easier > Then moving APACHE_PORT to www/apache24 is 'easier' minus the MPM change. Sounds good to me, should we update the EXPIRE date of apache20 to the end of this month (2012-08-30)? I would have the new bsd.apache.mk in place as soon as possible, therefore most of the time was spend in doing backward tests. -- olli > On Sun, Aug 12, 2012 at 6:03 PM, Olli Hauer wrote: > >> Hi all, >> >> the bsd.apache.mk script has undergone a rewrite for better support of >> options NG. >> >> changed: >> - make.conf pa-rams like WITH(OUT)_MODULES should be given in UPPER case. >> Code to convert make.conf pa-rams to UPPER case is in place >> - cleanup old constructs which are working in a sub-shell (@for ... >> ${GREP} ...) >> the parts are replaced to use make logic. >> - adjust apache20/apache22 ports for the new bsd.apache.mk. >> >> The bsd.apache.mk file should be touched again to support options NG in >> apache2x >> but those changes are only a view lines. >> >> I want to keep make.conf support the same way it works now even if apache22 >> is rewritten with options NG support. This means against new options NG >> logic >> the make.conf has priority over options set by "make config" (old >> behavior). >> To give make.conf and command line pa-rams a higher priority is needed for >> static and other special builds. >> >> I've done endless tests with the rewritten bsd.apache.mk and have not >> found any >> backward incompatible issues (except if we remove the UPPERCASE convert >> part) >> >> There is additional room for more cleanup, some comments are in the patch >> (MFC TODO). >> >> For anyone interested in review before I commit the patches >> >> http://people.freebsd.org/~ohauer/diffs/apache/bsd.apache.mk_rewrite_2012-08-12.txt >> >> -- >> olli >> _______________________________________________ >> freebsd-apache@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-apache >> To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org" >> > > > From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 22:56:34 2012 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5961C106566C; Sun, 12 Aug 2012 22:56:34 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id 147908FC0C; Sun, 12 Aug 2012 22:56:34 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id 596B22087E; Mon, 13 Aug 2012 00:56:31 +0200 (CEST) Message-ID: <502834A9.8080707@FreeBSD.org> Date: Mon, 13 Aug 2012 00:56:41 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: FreeBSD Ports X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: "apache@FreeBSD.org" Subject: HEADS up, apache20 and apr0 will be removed on 2012-08-18 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Ports List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 22:56:34 -0000 HEADS up, apache20 and apr0 will be removed on 2012-08-18 -- olli From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 22:57:37 2012 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB905106567A; Sun, 12 Aug 2012 22:57:37 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id 4134C8FC1B; Sun, 12 Aug 2012 22:57:37 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id 7F1092087E; Mon, 13 Aug 2012 00:57:36 +0200 (CEST) Message-ID: <502834EB.8030300@FreeBSD.org> Date: Mon, 13 Aug 2012 00:57:47 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-apache@freebsd.org References: <201208112122.q7BLMn3g037694@gateway.ipv6.occnc.com> <50282D58.5070605@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "Philip M. Gollucci" Subject: Re: patch to apache for IPv6 only httpd X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "apache@FreeBSD.org" List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 22:57:37 -0000 On 2012-08-13 00:27, Philip M. Gollucci wrote: > This needs to be sent back to dev@httpd.apache.org for upstream commit. > This shouldn't be a permenant local > fbsd patch. OK, should I include the patch as extra patch if apache is build with -DWITH_IPV6_V6ONLY ? I can do this with the commit for the rewritten bsd.apache.mk. But I full agree, the fix should go upstream. -- olli > > On Sun, Aug 12, 2012 at 6:25 PM, Olli Hauer wrote: > >> On 2012-08-11 23:22, Curtis Villamizar wrote: >>> FYI- >>> >>> This very simple patch prevents an assert when httpd is run on a >>> server that has no IPv4 address. An example is a BSD jail running >>> with only an IPv6 address on the interface (no loopback so no >>> 127.0.0.1 address to bind to). >>> >>> Copy the patch below into the files directory as >>> /usr/ports/www/apache22/files/patch-server__config.c >>> >>> The port maintainer is on the Cc. No bug has been reported. >>> >>> BTW- I noticed this a long time ago. I don't remember if I reported >>> it or forgot to. Appologies if this is a duplicate. It is not in the >>> httpd-2.2.22.tar.bz2 tarball, in the distinfo dated 23 July 2012. >>> >>> Curtis >>> >>> >>> --- ./server/config.c.orig 2010-10-07 09:56:54.000000000 -0700 >>> +++ ./server/config.c 2011-09-26 21:20:35.000000000 -0700 >>> @@ -1979,6 +1979,9 @@ >>> /* NOT virtual host; don't match any real network interface */ >>> rv = apr_sockaddr_info_get(&s->addrs->host_addr, >>> NULL, APR_INET, 0, 0, p); >>> + if (rv != APR_SUCCESS) >>> + rv = apr_sockaddr_info_get(&s->addrs->host_addr, >>> + NULL, APR_UNSPEC, 0, 0, p); >>> ap_assert(rv == APR_SUCCESS); /* otherwise: bug or no storage */ >>> >>> s->addrs->host_port = 0; /* matches any port */ >> >> Hi Curtis, >> >> Is this patch also relevant if apache22 was build with >> -DWITH_IPV6_V6ONLY ? >> >> -- >> olli >> _______________________________________________ >> freebsd-apache@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-apache >> To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org" >> > > > From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 23:53:48 2012 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D94D1065672 for ; Sun, 12 Aug 2012 23:53:48 +0000 (UTC) (envelope-from curtis@occnc.com) Received: from gateway.ipv6.occnc.com (gateway.ipv6.occnc.com [IPv6:2001:470:1f07:1545::1:132]) by mx1.freebsd.org (Postfix) with ESMTP id 2C9198FC0A for ; Sun, 12 Aug 2012 23:53:48 +0000 (UTC) Received: from newharbor.ipv6.occnc.com (newharbor.ipv6.occnc.com [IPv6:2001:470:1f07:1545::1:320]) (authenticated bits=0) by gateway.ipv6.occnc.com (8.14.5/8.14.5) with ESMTP id q7CNrOji075223; Sun, 12 Aug 2012 19:53:25 -0400 (EDT) (envelope-from curtis@occnc.com) Message-Id: <201208122353.q7CNrOji075223@gateway.ipv6.occnc.com> To: "apache@FreeBSD.org" From: Curtis Villamizar In-reply-to: Your message of "Mon, 13 Aug 2012 00:25:28 +0200." <50282D58.5070605@FreeBSD.org> Date: Sun, 12 Aug 2012 19:53:24 -0400 Cc: curtis@occnc.com Subject: Re: patch to apache for IPv6 only httpd X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: curtis@occnc.com List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 23:53:48 -0000 In message <50282D58.5070605@FreeBSD.org> Olli Hauer writes: > On 2012-08-11 23:22, Curtis Villamizar wrote: > > FYI- > > > > This very simple patch prevents an assert when httpd is run on a > > server that has no IPv4 address. An example is a BSD jail running > > with only an IPv6 address on the interface (no loopback so no > > 127.0.0.1 address to bind to). > > > > Copy the patch below into the files directory as > > /usr/ports/www/apache22/files/patch-server__config.c > > > > The port maintainer is on the Cc. No bug has been reported. > > > > BTW- I noticed this a long time ago. I don't remember if I reported > > it or forgot to. Appologies if this is a duplicate. It is not in the > > httpd-2.2.22.tar.bz2 tarball, in the distinfo dated 23 July 2012. > > > > Curtis > > > > > > --- ./server/config.c.orig 2010-10-07 09:56:54.000000000 -0700 > > +++ ./server/config.c 2011-09-26 21:20:35.000000000 -0700 > > @@ -1979,6 +1979,9 @@ > > /* NOT virtual host; don't match any real network interface */ > > rv = apr_sockaddr_info_get(&s->addrs->host_addr, > > NULL, APR_INET, 0, 0, p); > > + if (rv != APR_SUCCESS) > > + rv = apr_sockaddr_info_get(&s->addrs->host_addr, > > + NULL, APR_UNSPEC, 0, 0, p); > > ap_assert(rv == APR_SUCCESS); /* otherwise: bug or no storage */ > > > > s->addrs->host_port = 0; /* matches any port */ > > Hi Curtis, > > Is this patch also relevant if apache22 was build with > -DWITH_IPV6_V6ONLY ? > > -- > olli No. Apache was not built with -DWITH_IPV6_V6ONLY. It is apache built with dual stack support though I don't think the code is any different if built with WITH_IPV6_V6ONLY. Nothing here is conditionally compiled. I also checked the .h where APR_INET is defined (in srclib/apr/include/apr_network_io.h). It is unconditionally defined to AF_INET. The code compiles but the server fails to run, giving an assert when starting up. Its a simple patch. APR_INET6 could be used instead of APR_UNSPEC in the patch. Curtis From owner-freebsd-apache@FreeBSD.ORG Sun Aug 12 23:56:45 2012 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E271106566C for ; Sun, 12 Aug 2012 23:56:45 +0000 (UTC) (envelope-from curtis@occnc.com) Received: from gateway.ipv6.occnc.com (gateway.ipv6.occnc.com [IPv6:2001:470:1f07:1545::1:132]) by mx1.freebsd.org (Postfix) with ESMTP id 17D2F8FC12 for ; Sun, 12 Aug 2012 23:56:44 +0000 (UTC) Received: from newharbor.ipv6.occnc.com (newharbor.ipv6.occnc.com [IPv6:2001:470:1f07:1545::1:320]) (authenticated bits=0) by gateway.ipv6.occnc.com (8.14.5/8.14.5) with ESMTP id q7CNuLUY075297; Sun, 12 Aug 2012 19:56:22 -0400 (EDT) (envelope-from curtis@occnc.com) Message-Id: <201208122356.q7CNuLUY075297@gateway.ipv6.occnc.com> To: "Philip M. Gollucci" From: Curtis Villamizar In-reply-to: Your message of "Sun, 12 Aug 2012 18:27:19 EDT." Date: Sun, 12 Aug 2012 19:56:21 -0400 Cc: "apache@FreeBSD.org" , curtis@occnc.com Subject: Re: patch to apache for IPv6 only httpd X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: curtis@occnc.com List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 23:56:45 -0000 In message "Philip M. Gollucci" writes: > This needs to be sent back to dev@httpd.apache.org for upstream > commit. This shouldn't be a permenant local fbsd patch. I agree that long term this needs to go upstream. Are temporary FreeBSD patch files looked down upon? The patch file can always be removed when distinfo is updated. Curtis > On Sun, Aug 12, 2012 at 6:25 PM, Olli Hauer wrote: > > > On 2012-08-11 23:22, Curtis Villamizar wrote: > > > FYI- > > > > > > This very simple patch prevents an assert when httpd is run on a > > > server that has no IPv4 address. An example is a BSD jail running > > > with only an IPv6 address on the interface (no loopback so no > > > 127.0.0.1 address to bind to). > > > > > > Copy the patch below into the files directory as > > > /usr/ports/www/apache22/files/patch-server__config.c > > > > > > The port maintainer is on the Cc. No bug has been reported. > > > > > > BTW- I noticed this a long time ago. I don't remember if I reported > > > it or forgot to. Appologies if this is a duplicate. It is not in the > > > httpd-2.2.22.tar.bz2 tarball, in the distinfo dated 23 July 2012. > > > > > > Curtis > > > > > > > > > --- ./server/config.c.orig 2010-10-07 09:56:54.000000000 -0700 > > > +++ ./server/config.c 2011-09-26 21:20:35.000000000 -0700 > > > @@ -1979,6 +1979,9 @@ > > > /* NOT virtual host; don't match any real network interface */ > > > rv = apr_sockaddr_info_get(&s->addrs->host_addr, > > > NULL, APR_INET, 0, 0, p); > > > + if (rv != APR_SUCCESS) > > > + rv = apr_sockaddr_info_get(&s->addrs->host_addr, > > > + NULL, APR_UNSPEC, 0, 0, p); > > > ap_assert(rv == APR_SUCCESS); /* otherwise: bug or no storage */ > > > > > > s->addrs->host_port = 0; /* matches any port */ > > > > Hi Curtis, > > > > Is this patch also relevant if apache22 was build with > > -DWITH_IPV6_V6ONLY ? > > > > -- > > olli > > _______________________________________________ > > freebsd-apache@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-apache > > To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org" > > -- > --------------------------------------------------------------------------------------------- > 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C > Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 > Member, Apache Software Foundation > Committer, FreeBSD Foundation > Consultant, P6M7G8 Inc. > Director Operations, Ridecharge Inc. > > Work like you don't need the money, > love like you'll never get hurt, > and dance like nobody's watching. From owner-freebsd-apache@FreeBSD.ORG Mon Aug 13 11:06:15 2012 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0A4F1065675 for ; Mon, 13 Aug 2012 11:06:15 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BB82A8FC15 for ; Mon, 13 Aug 2012 11:06:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7DB6FRx006403 for ; Mon, 13 Aug 2012 11:06:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7DB6Ffd006401 for apache@FreeBSD.org; Mon, 13 Aug 2012 11:06:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 Aug 2012 11:06:15 GMT Message-Id: <201208131106.q7DB6Ffd006401@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 Cc: Subject: Current problem reports assigned to apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 11:06:15 -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/168769 apache [PATCH] www/apache22: Add SuexecUserdir support o ports/168710 apache [PATCH] www/mod_auth_cas: update to 1.0.9.1 o ports/167965 apache if to make port (www/apache22) with an option: WITH_AL o ports/167964 apache New port:www/mod_authn_otp f ports/166488 apache [PATCH] www/mod_auth_imap2: add dovecot patch o ports/165809 apache add mod_proxy patch to www/apache22 o ports/159608 apache www/apache22: apache WITH_BDB_BASE settings described o ports/158565 apache www/apache22: Add rlimits based on login class for mpm o ports/157554 apache www/apache22: Apache RLimitNPROC does not work as inte o ports/156787 apache www/mod_auth_kerb2 fails on undefined symbol with base o ports/153406 apache www/apache22's SUEXEC_RSRCLIMIT option does not take e o ports/147282 apache errors when starting www/apache22 after installation o o ports/137729 apache www/mod_auth_kerb2 port broken on 8.0-BETA2 due to sec o ports/130479 apache www/apache22 configure_args busted o ports/125183 apache www/apache22 wrong SUEXEC_DOCROOT o ports/124375 apache security/heimdal: www/mod_auth_kerb doesn't compile ag 16 problems total. From owner-freebsd-apache@FreeBSD.ORG Mon Aug 13 11:07:03 2012 Return-Path: Delivered-To: freebsd-apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F77A106564A for ; Mon, 13 Aug 2012 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2FDD18FC17 for ; Mon, 13 Aug 2012 11:07:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7DB73QG007035 for ; Mon, 13 Aug 2012 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7DB727H007032 for freebsd-apache@FreeBSD.org; Mon, 13 Aug 2012 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 Aug 2012 11:07:02 GMT Message-Id: <201208131107.q7DB727H007032@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-apache@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 11:07:03 -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/170124 apache net/spread: perl extension included in spread-src is b o ports/169958 apache unify all apache22-xxx-mpm options to www/apache22 mak 2 problems total. From owner-freebsd-apache@FreeBSD.ORG Mon Aug 13 14:33:01 2012 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83897106564A for ; Mon, 13 Aug 2012 14:33:01 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 37C958FC0A for ; Mon, 13 Aug 2012 14:33:00 +0000 (UTC) Received: by qatn12 with SMTP id n12so1031621qat.13 for ; Mon, 13 Aug 2012 07:33:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=o/T+3n9EuANQiCsvCwuoswDJhZs9bcmLrcHEDAQ2VWI=; b=WDmDZm2cYJ2EReLEjHpaNNTFaNvS3U2eqN6SKrraLbwARSKK2x1ba/n0hGFMOjI7DL EYB1BQ54XnxI3Tcrrx5cOzAE/pxh15oSmOLSwhb4iKOCetWSaiOvqg8nkNbDuC0Lc7Uw Bh1sV/bv+3SSYP6nMuBnAsmsjKRGlfmJzl7pnZTkHPdCSgNCf9Zh75Hef60CVqB2TSXF VkVOxoAfDra1mbeq53hJmawTWS92qT8ml5+SghMR6XpWK6wU8lVNEB7tKE8Cq8CzUISK cU5RJza2WtbSN19YRnPZRNTRt0stgTodYswV3oCnqaQnY8OwyQT0f6IqdTUHqiiPz8+C BLoA== MIME-Version: 1.0 Received: by 10.224.177.5 with SMTP id bg5mr25487646qab.40.1344868380288; Mon, 13 Aug 2012 07:33:00 -0700 (PDT) Received: by 10.49.85.41 with HTTP; Mon, 13 Aug 2012 07:33:00 -0700 (PDT) X-Originating-IP: [68.101.40.130] In-Reply-To: <201208122353.q7CNrOji075223@gateway.ipv6.occnc.com> References: <50282D58.5070605@FreeBSD.org> <201208122353.q7CNrOji075223@gateway.ipv6.occnc.com> Date: Mon, 13 Aug 2012 14:33:00 +0000 Message-ID: From: "Philip M. Gollucci" To: curtis@occnc.com X-Gm-Message-State: ALoCoQn6LGq6cnApPy8rhzPQn9p5mGcT0z24GyS8GOFxmYrF20A632HUZiXyhU7sKJ+hwZURI0iO Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "apache@FreeBSD.org" Subject: Re: patch to apache for IPv6 only httpd X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 14:33:01 -0000 What happens if you try to bind to an ip address the machine doesn't have whether v4 or v6 with this patch ? On Sun, Aug 12, 2012 at 11:53 PM, Curtis Villamizar wrote: > > In message <50282D58.5070605@FreeBSD.org> > Olli Hauer writes: > > > On 2012-08-11 23:22, Curtis Villamizar wrote: > > > FYI- > > > > > > This very simple patch prevents an assert when httpd is run on a > > > server that has no IPv4 address. An example is a BSD jail running > > > with only an IPv6 address on the interface (no loopback so no > > > 127.0.0.1 address to bind to). > > > > > > Copy the patch below into the files directory as > > > /usr/ports/www/apache22/files/patch-server__config.c > > > > > > The port maintainer is on the Cc. No bug has been reported. > > > > > > BTW- I noticed this a long time ago. I don't remember if I reported > > > it or forgot to. Appologies if this is a duplicate. It is not in the > > > httpd-2.2.22.tar.bz2 tarball, in the distinfo dated 23 July 2012. > > > > > > Curtis > > > > > > > > > --- ./server/config.c.orig 2010-10-07 09:56:54.000000000 -0700 > > > +++ ./server/config.c 2011-09-26 21:20:35.000000000 -0700 > > > @@ -1979,6 +1979,9 @@ > > > /* NOT virtual host; don't match any real network interface */ > > > rv = apr_sockaddr_info_get(&s->addrs->host_addr, > > > NULL, APR_INET, 0, 0, p); > > > + if (rv != APR_SUCCESS) > > > + rv = apr_sockaddr_info_get(&s->addrs->host_addr, > > > + NULL, APR_UNSPEC, 0, 0, p); > > > ap_assert(rv == APR_SUCCESS); /* otherwise: bug or no storage */ > > > > > > s->addrs->host_port = 0; /* matches any port */ > > > > Hi Curtis, > > > > Is this patch also relevant if apache22 was build with > > -DWITH_IPV6_V6ONLY ? > > > > -- > > olli > > > No. Apache was not built with -DWITH_IPV6_V6ONLY. It is apache built > with dual stack support though I don't think the code is any different > if built with WITH_IPV6_V6ONLY. Nothing here is conditionally > compiled. I also checked the .h where APR_INET is defined (in > srclib/apr/include/apr_network_io.h). It is unconditionally defined > to AF_INET. > > The code compiles but the server fails to run, giving an assert when > starting up. Its a simple patch. APR_INET6 could be used instead of > APR_UNSPEC in the patch. > > Curtis > _______________________________________________ > freebsd-apache@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-apache > To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org" > -- --------------------------------------------------------------------------------------------- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Director Operations, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. From owner-freebsd-apache@FreeBSD.ORG Mon Aug 13 18:08:58 2012 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC1A9106566C for ; Mon, 13 Aug 2012 18:08:58 +0000 (UTC) (envelope-from curtis@occnc.com) Received: from gateway.ipv6.occnc.com (gateway.ipv6.occnc.com [IPv6:2001:470:1f07:1545::1:132]) by mx1.freebsd.org (Postfix) with ESMTP id 630E58FC14 for ; Mon, 13 Aug 2012 18:08:58 +0000 (UTC) Received: from newharbor.ipv6.occnc.com (newharbor.ipv6.occnc.com [IPv6:2001:470:1f07:1545::1:320]) (authenticated bits=0) by gateway.ipv6.occnc.com (8.14.5/8.14.5) with ESMTP id q7DI8Xgb004238; Mon, 13 Aug 2012 14:08:33 -0400 (EDT) (envelope-from curtis@occnc.com) Message-Id: <201208131808.q7DI8Xgb004238@gateway.ipv6.occnc.com> To: "Philip M. Gollucci" From: Curtis Villamizar In-reply-to: Your message of "Mon, 13 Aug 2012 14:33:00 -0000." Date: Mon, 13 Aug 2012 14:08:33 -0400 Cc: "apache@FreeBSD.org" , curtis@occnc.com Subject: Re: patch to apache for IPv6 only httpd X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: curtis@occnc.com List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 18:08:59 -0000 In message "Philip M. Gollucci" writes: > What happens if you try to bind to an ip address the machine doesn't > have whether v4 or v6 with this patch ? In that case there is no change to the behavior although "assert" may not be the best diagnostic, the same thing happens with or without the patch if the address is not present. The code here insures that the server does not start unless it has at least one valid address. The hostname is provided as NULL and a lookup is done. The old code looks for any valid IPv4 address. The code breaks if there are no IPv4 addresses, there are only valid IPv6 addresses. The patch repeats the check with AF_UNSPEC (accept anything) and this would pick up a valid IPv6 address and avoid the assert. If there were no valid addresses, then prior code that produced a list of addresses is broken and this code does the same as before the patch - it asserts. apr_sockaddr_info_get is in srclib/apr/network_io/unix/sockaddr.c where it does some checking, calls call_resolver if getaddrinfo exists, otherwise gethostbyname with the hostname. In call_resolver getaddrinfo (see man page) is called which returns a struct addrinfo which has a list of addresses. If an address string is provided, there will be one address in the list. call_resolver will only return an AF_INET or AF_INET6 address (it creates a linked list in the argument p, using calloc to allocate entries). The assumption in this code is that you can't get here without a valid address, but then in testing that assumption, only a valid IPv4 address is accepted. After this test, the result does not appear to be used (otherwise DS machines wouldn't work). The addresses from the config file are used in alloc_listener which calls apr_sockaddr_info_get with APR_UNSPEC and a port number. The addresses from the config file may have absolutely nothing to do with the list of addresses returned by gethostbyname in the prior check. Curtis > On Sun, Aug 12, 2012 at 11:53 PM, Curtis Villamizar wrote: > > > > > In message <50282D58.5070605@FreeBSD.org> > > Olli Hauer writes: > > > > > On 2012-08-11 23:22, Curtis Villamizar wrote: > > > > FYI- > > > > > > > > This very simple patch prevents an assert when httpd is run on a > > > > server that has no IPv4 address. An example is a BSD jail running > > > > with only an IPv6 address on the interface (no loopback so no > > > > 127.0.0.1 address to bind to). > > > > > > > > Copy the patch below into the files directory as > > > > /usr/ports/www/apache22/files/patch-server__config.c > > > > > > > > The port maintainer is on the Cc. No bug has been reported. > > > > > > > > BTW- I noticed this a long time ago. I don't remember if I reported > > > > it or forgot to. Appologies if this is a duplicate. It is not in the > > > > httpd-2.2.22.tar.bz2 tarball, in the distinfo dated 23 July 2012. > > > > > > > > Curtis > > > > > > > > > > > > --- ./server/config.c.orig 2010-10-07 09:56:54.000000000 -0700 > > > > +++ ./server/config.c 2011-09-26 21:20:35.000000000 -0700 > > > > @@ -1979,6 +1979,9 @@ > > > > /* NOT virtual host; don't match any real network interface */ > > > > rv = apr_sockaddr_info_get(&s->addrs->host_addr, > > > > NULL, APR_INET, 0, 0, p); > > > > + if (rv != APR_SUCCESS) > > > > + rv = apr_sockaddr_info_get(&s->addrs->host_addr, > > > > + NULL, APR_UNSPEC, 0, 0, p); > > > > ap_assert(rv == APR_SUCCESS); /* otherwise: bug or no storage */ > > > > > > > > s->addrs->host_port = 0; /* matches any port */ > > > > > > Hi Curtis, > > > > > > Is this patch also relevant if apache22 was build with > > > -DWITH_IPV6_V6ONLY ? > > > > > > -- > > > olli > > > > > > No. Apache was not built with -DWITH_IPV6_V6ONLY. It is apache built > > with dual stack support though I don't think the code is any different > > if built with WITH_IPV6_V6ONLY. Nothing here is conditionally > > compiled. I also checked the .h where APR_INET is defined (in > > srclib/apr/include/apr_network_io.h). It is unconditionally defined > > to AF_INET. > > > > The code compiles but the server fails to run, giving an assert when > > starting up. Its a simple patch. APR_INET6 could be used instead of > > APR_UNSPEC in the patch. > > > > Curtis From owner-freebsd-apache@FreeBSD.ORG Mon Aug 13 19:46:51 2012 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF896106566B for ; Mon, 13 Aug 2012 19:46:51 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id 516FA8FC16 for ; Mon, 13 Aug 2012 19:46:51 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id C845E2089A; Mon, 13 Aug 2012 21:46:46 +0200 (CEST) Message-ID: <5029599B.6050601@FreeBSD.org> Date: Mon, 13 Aug 2012 21:46:35 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: "apache@FreeBSD.org" References: <201208131808.q7DI8Xgb004238@gateway.ipv6.occnc.com> In-Reply-To: <201208131808.q7DI8Xgb004238@gateway.ipv6.occnc.com> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: "Philip M. Gollucci" , curtis@occnc.com Subject: Re: patch to apache for IPv6 only httpd X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "apache@FreeBSD.org" List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 19:46:52 -0000 On 2012-08-13 20:08, Curtis Villamizar wrote: > In message > "Philip M. Gollucci" writes: > >> What happens if you try to bind to an ip address the machine doesn't >> have whether v4 or v6 with this patch ? > > > In that case there is no change to the behavior although "assert" may > not be the best diagnostic, the same thing happens with or without the > patch if the address is not present. > > The code here insures that the server does not start unless it has at > least one valid address. The hostname is provided as NULL and a > lookup is done. The old code looks for any valid IPv4 address. The > code breaks if there are no IPv4 addresses, there are only valid IPv6 > addresses. The patch repeats the check with AF_UNSPEC (accept > anything) and this would pick up a valid IPv6 address and avoid the > assert. If there were no valid addresses, then prior code that > produced a list of addresses is broken and this code does the same as > before the patch - it asserts. > > apr_sockaddr_info_get is in srclib/apr/network_io/unix/sockaddr.c > where it does some checking, calls call_resolver if getaddrinfo > exists, otherwise gethostbyname with the hostname. In call_resolver > getaddrinfo (see man page) is called which returns a struct addrinfo > which has a list of addresses. If an address string is provided, > there will be one address in the list. call_resolver will only return > an AF_INET or AF_INET6 address (it creates a linked list in the > argument p, using calloc to allocate entries). > > The assumption in this code is that you can't get here without a valid > address, but then in testing that assumption, only a valid IPv4 > address is accepted. > > After this test, the result does not appear to be used (otherwise DS > machines wouldn't work). The addresses from the config file are used > in alloc_listener which calls apr_sockaddr_info_get with APR_UNSPEC > and a port number. The addresses from the config file may have > absolutely nothing to do with the list of addresses returned by > gethostbyname in the prior check. > > Curtis I think we can include the diff from Curtis as general patch. The test for an IPv6 address (APR_INE6) will be done only if the first test on APR_INET fails. @Phillip any objection? @Cutis: the resulting patch with APR_INET6 instead APR_UNSPEC --- ./server/config.c.orig 2012-08-13 21:15:02.000000000 +0200 +++ ./server/config.c 2012-08-13 21:22:15.000000000 +0200 @@ -1979,6 +1979,11 @@ /* NOT virtual host; don't match any real network interface */ rv = apr_sockaddr_info_get(&s->addrs->host_addr, NULL, APR_INET, 0, 0, p); + /* Support for IPv6 only, reported by Curtis Villamizar */ + /* http://lists.freebsd.org/pipermail/freebsd-apache/2012-August/002836.html */ + if (rv != APR_SUCCESS) + rv = apr_sockaddr_info_get(&s->addrs->host_addr, + NULL, APR_INET6, 0, 0, p); ap_assert(rv == APR_SUCCESS); /* otherwise: bug or no storage */ s->addrs->host_port = 0; /* matches any port */ From owner-freebsd-apache@FreeBSD.ORG Tue Aug 14 19:45:53 2012 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED8721065673 for ; Tue, 14 Aug 2012 19:45:53 +0000 (UTC) (envelope-from sueb@hoffmancontrols.com) Received: from mainstreetinternet.com (mail1.maininet.com [204.15.52.3]) by mx1.freebsd.org (Postfix) with ESMTP id C15218FC24 for ; Tue, 14 Aug 2012 19:45:53 +0000 (UTC) Received: from [213.92.101.6] (account sueb@hoffmancontrols.com HELO hoffmancontrols.com) by mainstreetinternet.com (CommuniGate Pro SMTP 4.1.3) with ESMTP id 86459723 for freebsd-apache@freebsd.org; Tue, 14 Aug 2012 14:45:53 -0500 Date: Tue, 14 Aug 2012 21:45:50 +0600 From: =?windows-1251?Q?=CA=E0=F2=FF_=D1=EA=EE=F0=EE=F5=EE=E4=EE=E2=E0?= Organization: hbpdxwjzjra X-Priority: 3 (Normal) Message-ID: <114672082.20120814214550@hoffmancontrols.com> To: freebsd-apache@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Subject: =?windows-1251?b?1eD++OroLCDs7rgg8e7r7fbl?= X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 19:45:54 -0000 трямс, адрессок имейл твой мне кинулла Галя...!))) если свободен и есть желание подружиться, залазь ко мне на страничку http://seks-vodnoklassnikax.ru