From owner-freebsd-www@FreeBSD.ORG Mon Jun 10 11:06:59 2013 Return-Path: Delivered-To: freebsd-www@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 5BCE598 for ; Mon, 10 Jun 2013 11:06:59 +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 4D6B91CA4 for ; Mon, 10 Jun 2013 11:06:59 +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 r5AB6xQ7097177 for ; Mon, 10 Jun 2013 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5AB6wfW097172 for freebsd-www@FreeBSD.org; Mon, 10 Jun 2013 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Jun 2013 11:06:58 GMT Message-Id: <201306101106.r5AB6wfW097172@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-www@FreeBSD.org Subject: Current problem reports assigned to freebsd-www@FreeBSD.org X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: **OBSOLETE** FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 11:06:59 -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 www/179397 www I used mouse focus in open-motif and shift-click3 to i o www/179160 www search "supported hardware" result links all give "pag o www/175861 www ftp6.ua.freebsd.org is not present in docs o www/175685 www HTTPS does not follow visitor among FreeBSD.org sub-do o www/175535 www freebsd.org/ports is out of date o www/172624 www Some RSS feeds on www.freebsd.org are broken o www/171953 www Pipermail creates HTML pages that have the the body co o www/166496 www HP-UX manual pages are mangled o www/161174 www Make http://www.freebsd.org/cgi/search.cgi search GNAT o www/159291 www Error 404 - when I try to send-pr over freebsd.org/es/ o www/149446 www [patch] improve misleading title of "report a bug" f www/146089 www On www.freebsd.org some IPv6 mirror sites do not work o www/145917 www SVG at logo.html is broken s www/140580 www svnweb file logs are useless s www/129923 www Need stylesheet for FreeBSD Subversion DAV tree s www/111791 www FreeBSD website messes up while using "links" browser s www/103522 www Search interface oddity s www/73551 www [request] fix list archive 'quoted-printable' corrupti o www/59307 www [patch] xml/xsl'ify & update publications page s www/51135 www Problems with the mailing-lists search interface 20 problems total. From owner-freebsd-www@FreeBSD.ORG Mon Jun 10 15:51:38 2013 Return-Path: Delivered-To: freebsd-www@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 0D1CA6D for ; Mon, 10 Jun 2013 15:51:38 +0000 (UTC) (envelope-from web@umich.edu) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id CF3681FCC for ; Mon, 10 Jun 2013 15:51:37 +0000 (UTC) Received: by mail-ob0-f179.google.com with SMTP id xk17so10146220obc.24 for ; Mon, 10 Jun 2013 08:51:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent:x-gm-message-state; bh=OO1k+X3FR+5m8Z+zz3AylNcffzjeXydTwHvEoMzRB8E=; b=h+9Ib05/RldcVXFyqk4SvVmK2HU4GdWAslgxhQJNUxDJRGlYtvrOB8o3ShWiyq63oB 6JnGMKmbEGu8eKW63ITGYhn4JHPthVx3MiHEgET8kUV4ZY723AeKUn5IOoc88zLCYhwv Pi9ahtVx3XEv+n5Jxoe4k0S05ZeK3MQxfnI+ISsjYArlvAboePLq+ySqA56qwaUbCLbY 7b3WV5UskwSiPnbO9XmmMxM9e1hDZLpKDhvtPhfbV/ktVGa1KKnxhZnFyBQE0Cc7lHdy x3wLc487ozSw5ZTxmEbEKwzXS4aUmiFtm/NAmDfPMUm8/GySysW8GU1TmLLf1MEhgOJC x4cg== X-Received: by 10.60.97.34 with SMTP id dx2mr7690403oeb.9.1370879497231; Mon, 10 Jun 2013 08:51:37 -0700 (PDT) Received: from localhost (itcom245.staff.itd.umich.edu. [141.213.135.249]) by mx.google.com with ESMTPSA id oe10sm23015224oeb.6.2013.06.10.08.51.36 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Jun 2013 08:51:36 -0700 (PDT) Date: Mon, 10 Jun 2013 11:51:35 -0400 From: William Bulley To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-www@FreeBSD.org Subject: [SOLVED] Re: www/179397: I used mouse focus in open-motif and shift-click3 to iconify xterms, doing so causes cursor to disappear and mouse is unusable! Message-ID: <20130610155135.GA7104@itcom245.staff.itd.umich.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmL/gGaALTk2ylWc3q4wZ6VKQ2t5fEFQjqB/aPFLq4VjdyZRf8byjs0WrcfRd86AO9DjXNS Cc: freebsd-questions@FreeBSD.org X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: **OBSOLETE** FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 15:51:38 -0000 According to FreeBSD-gnats-submit@FreeBSD.org on Fri, 06/07/13 at 06:40: > Thank you very much for your problem report. > It has the internal identification `www/179397'. > The individual assigned to look at your > report is: freebsd-www. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=179397 > > >Category: www > >Responsible: freebsd-www > >Synopsis: I used mouse focus in open-motif and shift-click3 to iconify xterms, doing so causes cursor to disappear and mouse is unusable! > >Arrival-Date: Fri Jun 07 10:40:00 UTC 2013 I may be one of the few people left who use x11-toolkits/open-motif on the FreeBSD desktop, but be that as it may, there is a bug that needs to be fixed in the /usr/ports/x11-servers/xorg-server/files/ directory. In May 2013 this directory included this file: -rw-r--r-- 1 root wheel 3487 May 2 13:08 extra-dix_events.c I upgraded my ports on a nearly identical system on May 23 and again on June 5th of 2013: unix% ll /usr/ports/x11-servers/xorg-server/files/ total 40 drwxr-xr-x 2 root wheel 1024 Jun 5 11:20 . drwxr-xr-x 4 root wheel 512 Jun 5 12:06 .. -rw-r--r-- 1 root wheel 402 Jun 5 11:20 extra-Xserver-hw-xfree86-os-support-bsd-sparc64_video.c -rw-r--r-- 1 root wheel 350 Jun 5 11:20 extra-Xserver-os-xprintf.c -rw-r--r-- 1 root wheel 5536 May 23 12:19 extra-arch-ia64 -rw-r--r-- 1 root wheel 438 May 23 12:19 extra-arch-powerpc -rw-r--r-- 1 root wheel 2467 Jun 5 11:20 extra-clang -rw-r--r-- 1 root wheel 799 May 23 12:19 extra-include_eventstr.h -rw-r--r-- 1 root wheel 493 Jun 5 11:20 extra-new-arch-i386 -rw-r--r-- 1 root wheel 511 Jun 5 11:20 extra-old-arch-i386 -rw-r--r-- 1 root wheel 645 Jun 5 11:20 extra-os-utils.c -rw-r--r-- 1 root wheel 320 Jun 5 11:20 extra-servermd.h -rw-r--r-- 1 root wheel 384 May 23 12:19 patch-Xserver-hw-xfree86-common-xf86Config.c -rw-r--r-- 1 root wheel 469 May 23 12:19 patch-Xserver-hw-xfree86-os-support-bsd-i386_video.c -rw-r--r-- 1 root wheel 471 May 23 12:19 patch-xorgconf.cpp -rw-r--r-- 1 root wheel 155 May 23 12:19 pkg-deinstall.in -rw-r--r-- 1 root wheel 551 May 23 12:19 pkg-install.in The lack of the extra-dix_events.c patch file caused using my three button USB mouse with x11-toolkits/open-motif to fail. Note: all ports were rebuilt on Jun 5th after running "svn update /usr/ports" from within /usr/ports. Once the mouse failed, all I could do was CTRL-ALT-BS and revert to virtual terminals - not a very good desktop substitute. It turns out that the last patch segment of extra-dix_events.c was omitted (along with the entire patch file itself): @@ -3632,7 +3583,8 @@ CheckPassiveGrabsOnWindow( { FixUpEventFromWindow(device, xE, grab->window, None, TRUE); - TryClientEvents(rClient(grab), device, xE, count, mask, + TryClientEvents(rClient(grab), device, xE, count, + GetEventFilter(device, xE), GetEventFilter(device, xE), grab); } The lack of this last patch segment was the cause of my problems with mwm (part of the x11-toolkits/open-motif port) but it did not impact other window managers such as FVWM which may be why this patch was overlooked. Regards, web... -- William Bulley Email: web@umich.edu 72 characters width template ----------------------------------------->| From owner-freebsd-www@FreeBSD.ORG Mon Jun 10 16:00:01 2013 Return-Path: Delivered-To: freebsd-www@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 80C1F584 for ; Mon, 10 Jun 2013 16:00:01 +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 721161069 for ; Mon, 10 Jun 2013 16:00:01 +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 r5AG01OD057304 for ; Mon, 10 Jun 2013 16:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5AG01cE057303; Mon, 10 Jun 2013 16:00:01 GMT (envelope-from gnats) Date: Mon, 10 Jun 2013 16:00:01 GMT Message-Id: <201306101600.r5AG01cE057303@freefall.freebsd.org> To: freebsd-www@FreeBSD.org Cc: From: William Bulley Subject: [SOLVED] Re: www/179397: I used mouse focus in open-motif and shift-click3 to iconify xterms, doing so causes cursor to disappear and mouse is unusable! X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: William Bulley List-Id: **OBSOLETE** FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 16:00:01 -0000 The following reply was made to PR www/179397; it has been noted by GNATS. From: William Bulley To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-www@FreeBSD.org Cc: freebsd-questions@FreeBSD.org Subject: [SOLVED] Re: www/179397: I used mouse focus in open-motif and shift-click3 to iconify xterms, doing so causes cursor to disappear and mouse is unusable! Date: Mon, 10 Jun 2013 11:51:35 -0400 According to FreeBSD-gnats-submit@FreeBSD.org on Fri, 06/07/13 at 06:40: > Thank you very much for your problem report. > It has the internal identification `www/179397'. > The individual assigned to look at your > report is: freebsd-www. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=179397 > > >Category: www > >Responsible: freebsd-www > >Synopsis: I used mouse focus in open-motif and shift-click3 to iconify xterms, doing so causes cursor to disappear and mouse is unusable! > >Arrival-Date: Fri Jun 07 10:40:00 UTC 2013 I may be one of the few people left who use x11-toolkits/open-motif on the FreeBSD desktop, but be that as it may, there is a bug that needs to be fixed in the /usr/ports/x11-servers/xorg-server/files/ directory. In May 2013 this directory included this file: -rw-r--r-- 1 root wheel 3487 May 2 13:08 extra-dix_events.c I upgraded my ports on a nearly identical system on May 23 and again on June 5th of 2013: unix% ll /usr/ports/x11-servers/xorg-server/files/ total 40 drwxr-xr-x 2 root wheel 1024 Jun 5 11:20 . drwxr-xr-x 4 root wheel 512 Jun 5 12:06 .. -rw-r--r-- 1 root wheel 402 Jun 5 11:20 extra-Xserver-hw-xfree86-os-support-bsd-sparc64_video.c -rw-r--r-- 1 root wheel 350 Jun 5 11:20 extra-Xserver-os-xprintf.c -rw-r--r-- 1 root wheel 5536 May 23 12:19 extra-arch-ia64 -rw-r--r-- 1 root wheel 438 May 23 12:19 extra-arch-powerpc -rw-r--r-- 1 root wheel 2467 Jun 5 11:20 extra-clang -rw-r--r-- 1 root wheel 799 May 23 12:19 extra-include_eventstr.h -rw-r--r-- 1 root wheel 493 Jun 5 11:20 extra-new-arch-i386 -rw-r--r-- 1 root wheel 511 Jun 5 11:20 extra-old-arch-i386 -rw-r--r-- 1 root wheel 645 Jun 5 11:20 extra-os-utils.c -rw-r--r-- 1 root wheel 320 Jun 5 11:20 extra-servermd.h -rw-r--r-- 1 root wheel 384 May 23 12:19 patch-Xserver-hw-xfree86-common-xf86Config.c -rw-r--r-- 1 root wheel 469 May 23 12:19 patch-Xserver-hw-xfree86-os-support-bsd-i386_video.c -rw-r--r-- 1 root wheel 471 May 23 12:19 patch-xorgconf.cpp -rw-r--r-- 1 root wheel 155 May 23 12:19 pkg-deinstall.in -rw-r--r-- 1 root wheel 551 May 23 12:19 pkg-install.in The lack of the extra-dix_events.c patch file caused using my three button USB mouse with x11-toolkits/open-motif to fail. Note: all ports were rebuilt on Jun 5th after running "svn update /usr/ports" from within /usr/ports. Once the mouse failed, all I could do was CTRL-ALT-BS and revert to virtual terminals - not a very good desktop substitute. It turns out that the last patch segment of extra-dix_events.c was omitted (along with the entire patch file itself): @@ -3632,7 +3583,8 @@ CheckPassiveGrabsOnWindow( { FixUpEventFromWindow(device, xE, grab->window, None, TRUE); - TryClientEvents(rClient(grab), device, xE, count, mask, + TryClientEvents(rClient(grab), device, xE, count, + GetEventFilter(device, xE), GetEventFilter(device, xE), grab); } The lack of this last patch segment was the cause of my problems with mwm (part of the x11-toolkits/open-motif port) but it did not impact other window managers such as FVWM which may be why this patch was overlooked. Regards, web... -- William Bulley Email: web@umich.edu 72 characters width template ----------------------------------------->| From owner-freebsd-www@FreeBSD.ORG Wed Jun 12 17:50:01 2013 Return-Path: Delivered-To: freebsd-www@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 69CEFF95 for ; Wed, 12 Jun 2013 17:50:01 +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 386411602 for ; Wed, 12 Jun 2013 17:50:01 +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 r5CHo1Gt064486 for ; Wed, 12 Jun 2013 17: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 r5CHo1eo064485; Wed, 12 Jun 2013 17:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 12 Jun 2013 17:50:01 GMT Resent-Message-Id: <201306121750.r5CHo1eo064485@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-www@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Derek Wood Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0007EECE for ; Wed, 12 Jun 2013 17:46:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id CD8D8147E for ; Wed, 12 Jun 2013 17:46:07 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5CHk7Do003287 for ; Wed, 12 Jun 2013 17:46:07 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5CHk75L003286; Wed, 12 Jun 2013 17:46:07 GMT (envelope-from nobody) Message-Id: <201306121746.r5CHk75L003286@oldred.freebsd.org> Date: Wed, 12 Jun 2013 17:46:07 GMT From: Derek Wood To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: www/179521: Google blocks freebsd.org page due to DMCA complaint X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: **OBSOLETE** FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 17:50:01 -0000 >Number: 179521 >Category: www >Synopsis: Google blocks freebsd.org page due to DMCA complaint >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 12 17:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Derek Wood >Release: >Organization: >Environment: >Description: The "master-index.html" page is blocked from google searches due to this DMCA complaint: https://www.chillingeffects.org/notice.cgi?sID=288784 (the freebsd url is #54) There's a thread on the FreeBSD forums about it [1] where a counter notice appears to have been sent from FreeBSD, but that was in April and the issue still remains. [1] http://forums.freebsd.org/showthread.php?t=39120 >How-To-Repeat: google "freebsd master index" >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-www@FreeBSD.ORG Wed Jun 12 22:50:00 2013 Return-Path: Delivered-To: freebsd-www@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 D0FBBB66 for ; Wed, 12 Jun 2013 22:50:00 +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 B3D5618DC for ; Wed, 12 Jun 2013 22:50:00 +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 r5CMo093022681 for ; Wed, 12 Jun 2013 22:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5CMo0Xn022666; Wed, 12 Jun 2013 22:50:00 GMT (envelope-from gnats) Resent-Date: Wed, 12 Jun 2013 22:50:00 GMT Resent-Message-Id: <201306122250.r5CMo0Xn022666@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-www@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A419AB1B for ; Wed, 12 Jun 2013 22:41:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 961EE18B6 for ; Wed, 12 Jun 2013 22:41:25 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5CMfOwJ079905 for ; Wed, 12 Jun 2013 22:41:24 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5CMfOEb079903; Wed, 12 Jun 2013 22:41:24 GMT (envelope-from nobody) Message-Id: <201306122241.r5CMfOEb079903@oldred.freebsd.org> Date: Wed, 12 Jun 2013 22:41:24 GMT From: Alexander To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: www/179525: [Patch] Fix for mod_rpaf2 compatibility with Apache 2.4 X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: **OBSOLETE** FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 22:50:00 -0000 >Number: 179525 >Category: www >Synopsis: [Patch] Fix for mod_rpaf2 compatibility with Apache 2.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 12 22:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alexander >Release: 9.1-RELEASE >Organization: none >Environment: FreeBSD noname.botans.org 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Tue Jun 11 10:40:06 YEKT 2013 root@noname.botans.org:/usr/obj/usr/src/sys/MY amd64 >Description: Port mod_rpaf2 can't be compiled when using apache24 because it is marked as broken. Also it can't be compiled when USE_APACHE is changed to 24 in Makefile because some conn_rec fields was renamed(remote_addr to client_addr and remote_ip to client_ip). >How-To-Repeat: Build apache24 from /usr/ports/www/apache24 and then build /usr/ports/www/mod_rpaf2 >Fix: I've added inline functions which accessing fields using preprocessor directives which checks AP_SERVER_MAJORVERSION_NUMBER and AP_SERVER_MINORVERSION_NUMBER values. This patch was tested on Apache 2.4.4 and 2.2.24 Patch attached with submission follows: --- /usr/ports/www/mod_rpaf2/work/mod_rpaf-0.6/mod_rpaf-2.0.c 2008-01-01 08:05:40.000000000 +0500 +++ mod_rpaf-2.0.c 2013-06-13 03:41:46.000000000 +0600 @@ -86,6 +86,23 @@ request_rec *r; } rpaf_cleanup_rec; +inline apr_sockaddr_t * client_addr(conn_rec *c) { +#if AP_SERVER_MAJORVERSION_NUMBER >= 2 && AP_SERVER_MINORVERSION_NUMBER >= 4 + return c->client_addr; +#else + return c->remote_addr; +#endif +} + +inline char * client_ip(conn_rec *c) { +#if AP_SERVER_MAJORVERSION_NUMBER >= 2 && AP_SERVER_MINORVERSION_NUMBER >= 4 + return c->client_ip; +#else + return c->remote_ip; +#endif +} + + static void *rpaf_create_server_cfg(apr_pool_t *p, server_rec *s) { rpaf_server_cfg *cfg = (rpaf_server_cfg *)apr_pcalloc(p, sizeof(rpaf_server_cfg)); if (!cfg) @@ -147,8 +164,9 @@ static apr_status_t rpaf_cleanup(void *data) { rpaf_cleanup_rec *rcr = (rpaf_cleanup_rec *)data; - rcr->r->connection->remote_ip = apr_pstrdup(rcr->r->connection->pool, rcr->old_ip); - rcr->r->connection->remote_addr->sa.sin.sin_addr.s_addr = apr_inet_addr(rcr->r->connection->remote_ip); + char *ip = client_ip(rcr->r->connection); + ip = apr_pstrdup(rcr->r->connection->pool, rcr->old_ip); + client_addr(rcr->r->connection)->sa.sin.sin_addr.s_addr = apr_inet_addr(ip); return APR_SUCCESS; } @@ -161,7 +179,7 @@ if (!cfg->enable) return DECLINED; - if (is_in_array(r->connection->remote_ip, cfg->proxy_ips) == 1) { + if (is_in_array(client_ip(r->connection), cfg->proxy_ips) == 1) { /* check if cfg->headername is set and if it is use that instead of X-Forwarded-For by default */ if (cfg->headername && (fwdvalue = apr_table_get(r->headers_in, cfg->headername))) { @@ -180,11 +198,12 @@ if (*fwdvalue != '\0') ++fwdvalue; } - rcr->old_ip = apr_pstrdup(r->connection->pool, r->connection->remote_ip); + rcr->old_ip = apr_pstrdup(r->connection->pool, client_ip(r->connection)); rcr->r = r; apr_pool_cleanup_register(r->pool, (void *)rcr, rpaf_cleanup, apr_pool_cleanup_null); - r->connection->remote_ip = apr_pstrdup(r->connection->pool, ((char **)arr->elts)[((arr->nelts)-1)]); - r->connection->remote_addr->sa.sin.sin_addr.s_addr = apr_inet_addr(r->connection->remote_ip); + char *ip = client_ip(r->connection); + ip = apr_pstrdup(r->connection->pool, ((char **)arr->elts)[((arr->nelts)-1)]); + client_addr(r->connection)->sa.sin.sin_addr.s_addr = apr_inet_addr(client_ip(r->connection)); if (cfg->sethostname) { const char *hostvalue; if (hostvalue = apr_table_get(r->headers_in, "X-Forwarded-Host")) { >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-www@FreeBSD.ORG Thu Jun 13 00:10:01 2013 Return-Path: Delivered-To: freebsd-www@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 66066D46 for ; Thu, 13 Jun 2013 00:10:01 +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 471111BEB for ; Thu, 13 Jun 2013 00:10:01 +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 r5D0A1v1046217 for ; Thu, 13 Jun 2013 00:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5D0A0Y1046216; Thu, 13 Jun 2013 00:10:00 GMT (envelope-from gnats) Date: Thu, 13 Jun 2013 00:10:00 GMT Message-Id: <201306130010.r5D0A0Y1046216@freefall.freebsd.org> To: freebsd-www@FreeBSD.org Cc: From: =?KOI8-R?B?4czFy9PBzsTSIO4=?= Subject: Re: www/179525: [Patch] Fix for mod_rpaf2 compatibility with Apache 2.4 X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: =?KOI8-R?B?4czFy9PBzsTSIO4=?= List-Id: **OBSOLETE** FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 00:10:01 -0000 The following reply was made to PR www/179525; it has been noted by GNATS. From: =?KOI8-R?B?4czFy9PBzsTSIO4=?= To: bug-followup@FreeBSD.org Cc: Subject: Re: www/179525: [Patch] Fix for mod_rpaf2 compatibility with Apache 2.4 Date: Thu, 13 Jun 2013 06:07:42 +0600 --047d7b414f284cc5a004defdeb7c Content-Type: multipart/alternative; boundary=047d7b414f284cc59b04defdeb7a --047d7b414f284cc59b04defdeb7a Content-Type: text/plain; charset=ISO-8859-1 Oops seems like i've messed up and real ip is not being detected by Apache. I've fixed my patch and now it works properly: --047d7b414f284cc59b04defdeb7a Content-Type: text/html; charset=ISO-8859-1
Oops seems like i've messed up and real ip is not being detected by Apache. I've fixed my patch and now it works properly:

--047d7b414f284cc59b04defdeb7a-- --047d7b414f284cc5a004defdeb7c Content-Type: text/plain; charset=US-ASCII; name="mod_rpaf-2.0-patch.txt" Content-Disposition: attachment; filename="mod_rpaf-2.0-patch.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hhv6uwpv0 LS0tIG1vZF9ycGFmLTIuMC5jICAgICAgMjAxMy0wNi0xMyAwNjowNjoyOC4wMDAwMDAwMDAgKzA2 MDANCisrKyAvdXNyL3BvcnRzL3d3dy9tb2RfcnBhZjIvd29yay9tb2RfcnBhZi0wLjYvbW9kX3Jw YWYtMi4wLmMgICAyMDA4LTAxLTAxIDA4OjA1OjQwLjAwMDAwMDAwMCArMDUwMA0KQEAgLTg2LDIz ICs4Niw2IEBADQogICAgIHJlcXVlc3RfcmVjICpyOw0KIH0gcnBhZl9jbGVhbnVwX3JlYzsNCg0K LQ0KLWlubGluZSBhcHJfc29ja2FkZHJfdCAqIHJwYWZfY2xpZW50X2FkZHIoY29ubl9yZWMgKmMp IHsNCi0jaWYgQVBfU0VSVkVSX01BSk9SVkVSU0lPTl9OVU1CRVIgPj0gMiAmJiBBUF9TRVJWRVJf TUlOT1JWRVJTSU9OX05VTUJFUiA+PSA0DQotICByZXR1cm4gYy0+Y2xpZW50X2FkZHI7DQotI2Vs c2UNCi0gIHJldHVybiBjLT5yZW1vdGVfYWRkcjsNCi0jZW5kaWYNCi19DQotDQotaW5saW5lIGNo YXIgKiBycGFmX2NsaWVudF9pcChjb25uX3JlYyAqYykgew0KLSNpZiBBUF9TRVJWRVJfTUFKT1JW RVJTSU9OX05VTUJFUiA+PSAyICYmIEFQX1NFUlZFUl9NSU5PUlZFUlNJT05fTlVNQkVSID49IDQN Ci0gIHJldHVybiBjLT5jbGllbnRfaXA7DQotI2Vsc2UNCi0gIHJldHVybiBjLT5yZW1vdGVfaXA7 DQotI2VuZGlmDQotfQ0KLQ0KIHN0YXRpYyB2b2lkICpycGFmX2NyZWF0ZV9zZXJ2ZXJfY2ZnKGFw cl9wb29sX3QgKnAsIHNlcnZlcl9yZWMgKnMpIHsNCiAgICAgcnBhZl9zZXJ2ZXJfY2ZnICpjZmcg PSAocnBhZl9zZXJ2ZXJfY2ZnICopYXByX3BjYWxsb2MocCwgc2l6ZW9mKHJwYWZfc2VydmVyX2Nm ZykpOw0KICAgICBpZiAoIWNmZykNCkBAIC0xNjQsOSArMTQ3LDggQEANCg0KIHN0YXRpYyBhcHJf c3RhdHVzX3QgcnBhZl9jbGVhbnVwKHZvaWQgKmRhdGEpIHsNCiAgICAgcnBhZl9jbGVhbnVwX3Jl YyAqcmNyID0gKHJwYWZfY2xlYW51cF9yZWMgKilkYXRhOw0KLSAgICBjaGFyICpyZW1vdGVfaXAg PSBycGFmX2NsaWVudF9pcChyY3ItPnItPmNvbm5lY3Rpb24pOw0KLSAgICBzdHJjcHkocmVtb3Rl X2lwLGFwcl9wc3RyZHVwKHJjci0+ci0+Y29ubmVjdGlvbi0+cG9vbCwgcmNyLT5vbGRfaXApKTsN Ci0gICAgcnBhZl9jbGllbnRfYWRkcihyY3ItPnItPmNvbm5lY3Rpb24pLT5zYS5zaW4uc2luX2Fk ZHIuc19hZGRyID0gYXByX2luZXRfYWRkcihyZW1vdGVfaXApOw0KKyAgICByY3ItPnItPmNvbm5l Y3Rpb24tPnJlbW90ZV9pcCAgID0gYXByX3BzdHJkdXAocmNyLT5yLT5jb25uZWN0aW9uLT5wb29s LCByY3ItPm9sZF9pcCk7DQorICAgIHJjci0+ci0+Y29ubmVjdGlvbi0+cmVtb3RlX2FkZHItPnNh LnNpbi5zaW5fYWRkci5zX2FkZHIgPSBhcHJfaW5ldF9hZGRyKHJjci0+ci0+Y29ubmVjdGlvbi0+ cmVtb3RlX2lwKTsNCiAgICAgcmV0dXJuIEFQUl9TVUNDRVNTOw0KIH0NCg0KQEAgLTE3OCw4ICsx NjAsOCBAQA0KDQogICAgIGlmICghY2ZnLT5lbmFibGUpDQogICAgICAgICByZXR1cm4gREVDTElO RUQ7DQotICAgIGNoYXIgKnJlbW90ZV9pcCA9IHJwYWZfY2xpZW50X2lwKHItPmNvbm5lY3Rpb24p Ow0KLSAgICBpZiAoaXNfaW5fYXJyYXkocmVtb3RlX2lwLCBjZmctPnByb3h5X2lwcykgPT0gMSkg ew0KKw0KKyAgICBpZiAoaXNfaW5fYXJyYXkoci0+Y29ubmVjdGlvbi0+cmVtb3RlX2lwLCBjZmct PnByb3h5X2lwcykgPT0gMSkgew0KICAgICAgICAgLyogY2hlY2sgaWYgY2ZnLT5oZWFkZXJuYW1l IGlzIHNldCBhbmQgaWYgaXQgaXMgdXNlDQogICAgICAgICAgICB0aGF0IGluc3RlYWQgb2YgWC1G b3J3YXJkZWQtRm9yIGJ5IGRlZmF1bHQgKi8NCiAgICAgICAgIGlmIChjZmctPmhlYWRlcm5hbWUg JiYgKGZ3ZHZhbHVlID0gYXByX3RhYmxlX2dldChyLT5oZWFkZXJzX2luLCBjZmctPmhlYWRlcm5h bWUpKSkgew0KQEAgLTE5OCwxMSArMTgwLDExIEBADQogICAgICAgICAgICAgICAgIGlmICgqZndk dmFsdWUgIT0gJ1wwJykNCiAgICAgICAgICAgICAgICAgICAgICsrZndkdmFsdWU7DQogICAgICAg ICAgICAgfQ0KLSAgICAgICAgICAgIHJjci0+b2xkX2lwID0gYXByX3BzdHJkdXAoci0+Y29ubmVj dGlvbi0+cG9vbCwgcmVtb3RlX2lwKTsNCisgICAgICAgICAgICByY3ItPm9sZF9pcCA9IGFwcl9w c3RyZHVwKHItPmNvbm5lY3Rpb24tPnBvb2wsIHItPmNvbm5lY3Rpb24tPnJlbW90ZV9pcCk7DQog ICAgICAgICAgICAgcmNyLT5yID0gcjsNCiAgICAgICAgICAgICBhcHJfcG9vbF9jbGVhbnVwX3Jl Z2lzdGVyKHItPnBvb2wsICh2b2lkICopcmNyLCBycGFmX2NsZWFudXAsIGFwcl9wb29sX2NsZWFu dXBfbnVsbCk7DQotICAgICAgICAgICAgc3RyY3B5KHJlbW90ZV9pcCxhcHJfcHN0cmR1cChyLT5j b25uZWN0aW9uLT5wb29sLCAoKGNoYXIgKiopYXJyLT5lbHRzKVsoKGFyci0+bmVsdHMpLTEpXSkp Ow0KLSAgICAgICAgICAgIHJwYWZfY2xpZW50X2FkZHIoci0+Y29ubmVjdGlvbiktPnNhLnNpbi5z aW5fYWRkci5zX2FkZHIgPSBhcHJfaW5ldF9hZGRyKHJlbW90ZV9pcCk7DQorICAgICAgICAgICAg ci0+Y29ubmVjdGlvbi0+cmVtb3RlX2lwID0gYXByX3BzdHJkdXAoci0+Y29ubmVjdGlvbi0+cG9v bCwgKChjaGFyICoqKWFyci0+ZWx0cylbKChhcnItPm5lbHRzKS0xKV0pOw0KKyAgICAgICAgICAg IHItPmNvbm5lY3Rpb24tPnJlbW90ZV9hZGRyLT5zYS5zaW4uc2luX2FkZHIuc19hZGRyID0gYXBy X2luZXRfYWRkcihyLT5jb25uZWN0aW9uLT5yZW1vdGVfaXApOw0KICAgICAgICAgICAgIGlmIChj ZmctPnNldGhvc3RuYW1lKSB7DQogICAgICAgICAgICAgICAgIGNvbnN0IGNoYXIgKmhvc3R2YWx1 ZTsNCiAgICAgICAgICAgICAgICAgaWYgKGhvc3R2YWx1ZSA9IGFwcl90YWJsZV9nZXQoci0+aGVh ZGVyc19pbiwgIlgtRm9yd2FyZGVkLUhvc3QiKSkgew0K --047d7b414f284cc5a004defdeb7c-- From owner-freebsd-www@FreeBSD.ORG Sat Jun 15 08:20:00 2013 Return-Path: Delivered-To: freebsd-www@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A1A40116 for ; Sat, 15 Jun 2013 08:20:00 +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 84AA01DCD for ; Sat, 15 Jun 2013 08:20:00 +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 r5F8K0DX018534 for ; Sat, 15 Jun 2013 08:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5F8K0wj018533; Sat, 15 Jun 2013 08:20:00 GMT (envelope-from gnats) Resent-Date: Sat, 15 Jun 2013 08:20:00 GMT Resent-Message-Id: <201306150820.r5F8K0wj018533@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-www@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anton Afanasyev Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AFD2AD09 for ; Sat, 15 Jun 2013 08:13:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id A20731DA3 for ; Sat, 15 Jun 2013 08:13:16 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5F8DGGg037727 for ; Sat, 15 Jun 2013 08:13:16 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5F8DGMN037726; Sat, 15 Jun 2013 08:13:16 GMT (envelope-from nobody) Message-Id: <201306150813.r5F8DGMN037726@oldred.freebsd.org> Date: Sat, 15 Jun 2013 08:13:16 GMT From: Anton Afanasyev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: www/179568: www/squid STRICT_HTTP option has a typo since rev 319969 (STRUCT_HTTP) X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: **OBSOLETE** FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 08:20:00 -0000 >Number: 179568 >Category: www >Synopsis: www/squid STRICT_HTTP option has a typo since rev 319969 (STRUCT_HTTP) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 15 08:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Anton Afanasyev >Release: 9.0-RELEASE-p4 >Organization: >Environment: FreeBSD hexagon.aahome 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0 r242363: Tue Oct 30 15:44:56 PDT 2012 username@machinename:/usr/obj/usr/src/sys/GENERIC i386 >Description: www/squid port Makefile contains a typo in the STRICT_HTTP port option name - it is named STRUCT_HTTP since rev 319969. This manifests itself in the port not showing the option description, and all the other obvious symptoms. >How-To-Repeat: Update ports tree to 319969 or later and try running config on the www/squid port >Fix: s/STRUCT_HTTP/STRICT_HTTP/g Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # www-squid-Makefile_struct_http.patch # echo x - www-squid-Makefile_struct_http.patch sed 's/^X//' >www-squid-Makefile_struct_http.patch << '4135c53d6ec4c1db185a95f084ccbb20' X--- Makefile.old 2013-06-15 00:52:38.903467587 -0700 X+++ Makefile 2013-06-15 00:52:46.876469124 -0700 X@@ -133,3 +133,3 @@ X SSL PINGER DNS_HELPER HTCP VIA_DB CACHE_DIGESTS WCCP WCCPV2 \ X- STRUCT_HTTP IDENT REFERER_LOG USERAGENT_LOG ARP_ACL PF IPFILTER \ X+ STRICT_HTTP IDENT REFERER_LOG USERAGENT_LOG ARP_ACL PF IPFILTER \ X FOLLOW_XFF AUFS COSS KQUEUE LARGEFILE STACKTRACES 4135c53d6ec4c1db185a95f084ccbb20 exit >Release-Note: >Audit-Trail: >Unformatted: