From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 5 03:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AFF4D76E for ; Mon, 5 Aug 2013 03:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 926CD2544 for ; Mon, 5 Aug 2013 03: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 r753K0Dl029273 for ; Mon, 5 Aug 2013 03: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 r753K0vK029272; Mon, 5 Aug 2013 03:20:00 GMT (envelope-from gnats) Resent-Date: Mon, 5 Aug 2013 03:20:00 GMT Resent-Message-Id: <201308050320.r753K0vK029272@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Brad Davis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0E08370B for ; Mon, 5 Aug 2013 03:15:30 +0000 (UTC) (envelope-from brad@liquidneon.com) Received: from valentine.liquidneon.com (cl-1479.chi-02.us.sixxs.net [IPv6:2001:4978:f:5c6::2]) by mx1.freebsd.org (Postfix) with ESMTP id DB4C02518 for ; Mon, 5 Aug 2013 03:15:29 +0000 (UTC) Received: by valentine.liquidneon.com (Postfix, from userid 1001) id 832AF8FF88; Sun, 4 Aug 2013 21:15:29 -0600 (MDT) Message-Id: <20130805031529.832AF8FF88@valentine.liquidneon.com> Date: Sun, 4 Aug 2013 21:15:29 -0600 (MDT) From: Brad Davis To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/181042: [patch] www/py-graphite-web: Correct setup directions and dependency on mod_wsgi X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Brad Davis List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2013 03:20:00 -0000 >Number: 181042 >Category: ports >Synopsis: [patch] www/py-graphite-web: Correct setup directions and dependency on mod_wsgi >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Aug 05 03:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Brad Davis >Release: FreeBSD 9.1-RELEASE-p5 i386 >Organization: >Environment: >Description: Add a dependency on mod_wsgi since graphite is not useful without it Refine the directions on setting graphite up >How-To-Repeat: >Fix: --- py-graphite.patch begins here --- Index: www/py-graphite-web/Makefile =================================================================== --- www/py-graphite-web/Makefile (revision 324246) +++ www/py-graphite-web/Makefile (working copy) @@ -15,7 +15,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=1.8.10:${PORTSDIR}/graphics/py-cairo \ ${PYTHON_PKGNAMEPREFIX}carbon>=${PORTVERSION}:${PORTSDIR}/databases/py-carbon \ ${PYTHON_PKGNAMEPREFIX}django>=1.3.1:${PORTSDIR}/www/py-django \ - ${PYTHON_PKGNAMEPREFIX}django-tagging>=0.3.1:${PORTSDIR}/www/py-django-tagging + ${PYTHON_PKGNAMEPREFIX}django-tagging>=0.3.1:${PORTSDIR}/www/py-django-tagging \ + ${APACHE_PKGNAMEPREFIX}mod_wsg>0:${PORTSDIR}/www/mod_wsgi3 FETCH_ARGS= -pRr USE_PYTHON= -2.7 Index: www/py-graphite-web/pkg-message =================================================================== --- www/py-graphite-web/pkg-message (revision 324246) +++ www/py-graphite-web/pkg-message (working copy) @@ -5,14 +5,14 @@ To run graphite, you will need to setup Apache by creating a vhost similar to the following: +# I've found that an equal number of processes & threads tends +# to show the best performance for Graphite (ymmv). +WSGIDaemonProcess graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 WSGIImportScript /usr/local/etc/graphite/graphite.wsgi process-group=graphite application-group=%{GLOBAL} ServerName graphite DocumentRoot "/usr/local/graphite/webapp" - # I've found that an equal number of processes & threads tends - # to show the best performance for Graphite (ymmv). - WSGIDaemonProcess graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 WSGIProcessGroup graphite WSGIApplicationGroup %{GLOBAL} @@ -43,7 +43,11 @@ +Configure the SECRET_KEY setting in: ${PYTHON_SITELIBDIR}/graphite/app_settings.py +Copy the ${PYTHON_SITELIBDIR}/graphite/local_settings.py.example to +${PYTHON_SITELIBDIR}/graphite/local_settings.py + Then initialize the sqllite user database and create the admin user: python ${PYTHON_SITELIBDIR}/graphite/manage.py syncdb --- py-graphite.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: