From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 13 17:46:57 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1CDB82B for ; Wed, 13 May 2015 17:46:57 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 940D71DFB for ; Wed, 13 May 2015 17:46:57 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4DHkv9X091822 for ; Wed, 13 May 2015 17:46:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 200175] www/py-graphite-web pkg-message and graphite.wsgi.example need updating Date: Wed, 13 May 2015 17:46:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kaspars@fx.lv X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: swills@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2015 17:46:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200175 Bug ID: 200175 Summary: www/py-graphite-web pkg-message and graphite.wsgi.example need updating Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: swills@FreeBSD.org Reporter: kaspars@fx.lv Assignee: swills@FreeBSD.org Flags: maintainer-feedback?(swills@FreeBSD.org) I tried installing Graphite using this port but two small issues that prevent this port from working out of the box. First, the provided example in pkg-message needs updating as it does not work as-is with apache24 (worked with apache22 before). Fix: --- pkg-message.in 2014-09-14 06:58:14.000000000 +0300 +++ pkg-message.in_fixed 2015-05-13 20:39:25.505087000 +0300 @@ -56,20 +56,23 @@ SetHandler None - Order deny,allow - Allow from all + AllowOverride All + Options All + Require all granted # The graphite.wsgi file has to be accessible by apache. It won't # be visible to clients because of the DocumentRoot though. - Order deny,allow - Allow from all + AllowOverride All + Options All + Require all granted - Order deny,allow - Allow from all + AllowOverride All + Options All + Require all granted More info on why this is so: http://httpd.apache.org/docs/2.4/upgrading.html And the other problem - patch-conf__graphite.wsgi.example contains wrong path to the graphite webapp. Fix: --- patch-conf__graphite.wsgi.example 2014-09-14 06:58:14.000000000 +0300 +++ patch-conf__graphite.wsgi.example_fixed 2015-05-13 20:41:08.553705000 +0300 @@ -3,7 +3,7 @@ @@ -1,8 +1,10 @@ import os, sys -sys.path.append('/opt/graphite/webapp') -+sys.path.append('%%PREFIX%%/graphite/webapp') ++sys.path.append('/usr/ports/www/py-graphite-web/files') os.environ['DJANGO_SETTINGS_MODULE'] = 'graphite.settings' +import django This could have very well worked with STABLE but with CURRENT and apache24 these fixes are required in order to successfully use graphite. -- You are receiving this mail because: You are the assignee for the bug.