From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 23 22:06:54 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8B7C1065676 for ; Sun, 23 May 2010 22:06:54 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 936328FC0A for ; Sun, 23 May 2010 22:06:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4NM6ssf017036 for ; Sun, 23 May 2010 22:06:54 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4NM6sjr017035; Sun, 23 May 2010 22:06:54 GMT (envelope-from gnats) Resent-Date: Sun, 23 May 2010 22:06:54 GMT Resent-Message-Id: <201005232206.o4NM6sjr017035@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, Patrick Tracanelli Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B734106566C for ; Sun, 23 May 2010 16:40:26 +0000 (UTC) (envelope-from eksffa@main.bh.freebsdbrasil.com.br) Received: from main.bh.freebsdbrasil.com.br (main.bh.freebsdbrasil.com.br [201.48.151.226]) by mx1.freebsd.org (Postfix) with ESMTP id 6C6FA8FC13 for ; Sun, 23 May 2010 16:40:25 +0000 (UTC) Received: from main.bh.freebsdbrasil.com.br (localhost [127.0.0.1]) by main.bh.freebsdbrasil.com.br (8.14.3/8.14.2) with ESMTP id o4NGeNuK006824 for ; Sun, 23 May 2010 13:40:23 -0300 (BRT) (envelope-from eksffa@main.bh.freebsdbrasil.com.br) Received: (from eksffa@localhost) by main.bh.freebsdbrasil.com.br (8.14.3/8.14.2/Submit) id o4NGeNA1006823; Sun, 23 May 2010 13:40:23 -0300 (BRT) (envelope-from eksffa) Message-Id: <201005231640.o4NGeNA1006823@main.bh.freebsdbrasil.com.br> Date: Sun, 23 May 2010 13:40:23 -0300 (BRT) From: Patrick Tracanelli To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/146875: [NEW PORT] www/thundersnarf: Web reporting and trending analysis for Thunder Cache Pro X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 22:06:54 -0000 >Number: 146875 >Category: ports >Synopsis: [NEW PORT] www/thundersnarf: Web reporting and trending analysis for Thunder Cache Pro >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 23 22:06:54 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Patrick Tracanelli >Release: FreeBSD 7.2-STABLE i386 >Organization: FreeBSD Brasil LTDA >Environment: System: FreeBSD main.bh.freebsdbrasil.com.br 7.2-STABLE FreeBSD 7.2-STABLE #3: Tue Jun 16 08:33:51 BRT 2009 >Description: ThunderSnarf is a web reporting and trending tool for Thunder Cache Pro which has the main goal to provide a strategic overview of how Thunder is caching and what it is caching, aggregating value and helping on decision making regarding the real web acceleration rates and allowing one to identify unefficient cache patterns, plugins, as well as domains which should have a plugin written for and, off course, the top efficient domains and caching patterns as well. WWW: http://www.thundercache.com.br Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- ap20-thundersnarf-1.0b_1.shar begins here --- # 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: # # thundersnarf # thundersnarf/files # thundersnarf/files/pkg-message.in # thundersnarf/Makefile # thundersnarf/distinfo # thundersnarf/pkg-descr # thundersnarf/pkg-plist # echo c - thundersnarf mkdir -p thundersnarf > /dev/null 2>&1 echo c - thundersnarf/files mkdir -p thundersnarf/files > /dev/null 2>&1 echo x - thundersnarf/files/pkg-message.in sed 's/^X//' >thundersnarf/files/pkg-message.in << 'df0adbb9ea54e18087201a6aea67ca1d' X XIf you haven't setup your PostgreSQL server, set it up accordingly and create Xsnortsnarf's database: X X%%PREFIX%%/bin/psql postgres -U pgsql < \ X %%WWWDIR%%/protected/data/db/pg_thundersnarf.sql X XRun Thunder Snarf from /etc/crontab. Schedule it according to your machine Xload availability, for example: X X*/20 * * * * root %%PREFIX%%/bin/thundersnarf >/dev/null 2>&1 df0adbb9ea54e18087201a6aea67ca1d echo x - thundersnarf/Makefile sed 's/^X//' >thundersnarf/Makefile << '4a7e65d99fc99c687b69eea605a4a4c0' X# New ports collection makefile for: thundersnarf X# Date created: 2010-05-20 X# Whom: Patrick Tracanelli X# X# $FreeBSD$ X# X XPORTNAME= thundersnarf XPORTVERSION= 1.0b XPORTREVISION= 1 XCATEGORIES= www XMASTER_SITES= http://www6.freebsdbrasil.com.br/~eksffa/l/dev/thunder/ \ X ${MASTER_SITE_LOCAL}/jmelo X XMAINTAINER= eksffa@freebsdbrasil.com.br XCOMMENT= Web reporting and trending analysis for Thunder Cache Pro X XOPTIONS= APACHE "Install apache for reporting viewing" on \ X PHP "Install PHP for reporting generating" on \ X PGSQL "Install PostgreSQL (report data storing)" on X XUSE_BZIP2= yes X XNO_BUILD= yes XWRKSRC= ${WRKDIR}/${PORTNAME:R} X XMANUAL_PACKAGE_BUILD= This port wants PGSQL 8.4, but 8.2 is default and used to build php5-pgsql dependency. X X.include X X.if defined (WITH_APACHE) XUSE_APACHE= 2.0+ X.endif X X.if defined (WITH_PGSQL) XUSE_PGSQL= yes XWANT_PGSQL_VER= 84 XRUN_DEPENDS+= postgresql-server>=0:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server X.endif X X.if defined(WITH_PHP) && defined(WITH_PGSQL) XRUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql X.endif X X.if defined(WITH_PHP) XUSE_PHP+= curl pcre bcmath pdo mcrypt mhash session pgsql spl dom X.endif X XLIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl:install X XSUB_FILES= pkg-message X Xdo-install: X @${CP} -R ${WRKSRC} ${WWWDIR} X @${INSTALL_SCRIPT} -m 555 ${WRKSRC}/protected/data/bin/thundersnarf ${PREFIX}/bin/ X @${INSTALL_SCRIPT} -m 555 ${WRKSRC}/protected/data/bin/thundersnarf-poll ${PREFIX}/bin/ X @${CHGRP} -R ${WWWGRP} ${WWWDIR}/protected/runtime \ X ${WWWDIR}/assets X @${CHMOD} -R g+rwx ${WWWDIR}/protected/runtime \ X ${WWWDIR}/assets X X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${CP} -Rv ${WRKSRC}/README ${DOCSDIR}/README.pt_BR X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include 4a7e65d99fc99c687b69eea605a4a4c0 echo x - thundersnarf/distinfo sed 's/^X//' >thundersnarf/distinfo << '40bb1e9dd211d4db780768b01042ce64' XMD5 (thundersnarf-1.0b.tar.bz2) = 6b13080fddd0c842bdd04ee3eaf852a3 XSHA256 (thundersnarf-1.0b.tar.bz2) = 43aa4d52971d27bb62b576ef2573be40e1f5e8e99f75f43bdbd79172f153255e XSIZE (thundersnarf-1.0b.tar.bz2) = 1875161 40bb1e9dd211d4db780768b01042ce64 echo x - thundersnarf/pkg-descr sed 's/^X//' >thundersnarf/pkg-descr << 'e2e72c0dab73d748dfb4d8332816ba6c' XThunderSnarf is a web reporting and trending tool for Thunder Cache Pro which Xhas the main goal to provide a strategic overview of how Thunder is caching and Xwhat it is caching, aggregating value and helping on decision making regarding Xthe real web acceleration rates and allowing one to identify unefficient cache Xpatterns, plugins, as well as domains which should have a plugin written for Xand, off course, the top efficient domains and caching patterns as well. X XWWW: http://www.thundercache.com.br e2e72c0dab73d748dfb4d8332816ba6c echo x - thundersnarf/pkg-plist sed 's/^X//' >thundersnarf/pkg-plist << '2252c64805bd9a397a35b6ceb1656c9b' Xbin/thundersnarf Xbin/thundersnarf-poll X%%DOCSDIR%%/README.pt_BR X@dirrm %%DOCSDIR%% X@unexec echo "completely uninstalling %D/%%WWWDIR%%" X@unexec /bin/rm -rf %D/%%WWWDIR%% 2>/dev/null || true 2252c64805bd9a397a35b6ceb1656c9b exit --- ap20-thundersnarf-1.0b_1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: