From owner-svn-ports-all@freebsd.org Tue Jul 28 18:32:19 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 328269AD70B; Tue, 28 Jul 2015 18:32:19 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 16B4FB3C; Tue, 28 Jul 2015 18:32:19 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6SIWI7l064216; Tue, 28 Jul 2015 18:32:18 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6SIWILX064213; Tue, 28 Jul 2015 18:32:18 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201507281832.t6SIWILX064213@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Tue, 28 Jul 2015 18:32:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393088 - in head/sysutils/ganglia-webfrontend: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 18:32:19 -0000 Author: feld Date: Tue Jul 28 18:32:17 2015 New Revision: 393088 URL: https://svnweb.freebsd.org/changeset/ports/393088 Log: Fix file permissions so WWWDIR is not writable by WWWOWN Improve pkg-message notes on setting up Apache and Nginx PR: 201908 Modified: head/sysutils/ganglia-webfrontend/Makefile head/sysutils/ganglia-webfrontend/files/pkg-message.in head/sysutils/ganglia-webfrontend/pkg-plist Modified: head/sysutils/ganglia-webfrontend/Makefile ============================================================================== --- head/sysutils/ganglia-webfrontend/Makefile Tue Jul 28 18:13:49 2015 (r393087) +++ head/sysutils/ganglia-webfrontend/Makefile Tue Jul 28 18:32:17 2015 (r393088) @@ -2,6 +2,7 @@ PORTNAME= ganglia PORTVERSION= 3.7.0 +PORTREVISION= 1 CATEGORIES= sysutils net parallel www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-web/${PORTVERSION} PKGNAMESUFFIX= -webfrontend Modified: head/sysutils/ganglia-webfrontend/files/pkg-message.in ============================================================================== --- head/sysutils/ganglia-webfrontend/files/pkg-message.in Tue Jul 28 18:13:49 2015 (r393087) +++ head/sysutils/ganglia-webfrontend/files/pkg-message.in Tue Jul 28 18:32:17 2015 (r393088) @@ -8,7 +8,7 @@ web server configuration file. Example apache22 configuration: - Alias /ganglia/ "%%WWWDIR%%" + Alias /ganglia "%%WWWDIR%%/" Options Indexes FollowSymlinks MultiViews AllowOverride None @@ -18,13 +18,21 @@ Example apache22 configuration: Example apache24 configuration: - Alias /ganglia/ "%%WWWDIR%%" + Alias /ganglia "%%WWWDIR%%/" Options Indexes FollowSymlinks MultiViews AllowOverride None Require all granted +Nginx configuration: + + If you are running Nginx and your document root is set to + %%PREFIX%%/www, + then you just need to ensure PHP files are handled correctly. + If you are using a different document root, then you will need to create + the appropriate location directive. + The default configuration is stored in %%WWWDIR%%/conf_default.php. If you want to customize the configuration make customizations to Modified: head/sysutils/ganglia-webfrontend/pkg-plist ============================================================================== --- head/sysutils/ganglia-webfrontend/pkg-plist Tue Jul 28 18:13:49 2015 (r393087) +++ head/sysutils/ganglia-webfrontend/pkg-plist Tue Jul 28 18:32:17 2015 (r393088) @@ -1,6 +1,3 @@ -@owner %%WWWOWN%% -@group %%WWWGRP%% -@mode 0644 @sample %%DATADIR%%/conf/default.json.sample @sample %%DATADIR%%/conf/event_color.json.sample @sample %%DATADIR%%/conf/events.json.sample @@ -1102,6 +1099,8 @@ %%WWWDIR%%/version.php %%WWWDIR%%/view_content.php %%WWWDIR%%/views_view.php +@owner %%WWWOWN%% +@group %%WWWGRP%% @mode 0755 @dir %%DATADIR%%/dwoo/cache @dir %%DATADIR%%/dwoo/compiled