From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 19 23:20:11 2011 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 45E6C1065678 for ; Thu, 19 May 2011 23:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 340CB8FC13 for ; Thu, 19 May 2011 23:20:10 +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 p4JNKA1t032573 for ; Thu, 19 May 2011 23:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4JNKARn032572; Thu, 19 May 2011 23:20:10 GMT (envelope-from gnats) Resent-Date: Thu, 19 May 2011 23:20:10 GMT Resent-Message-Id: <201105192320.p4JNKARn032572@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, Jeffrey Leung Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 826541065672 for ; Thu, 19 May 2011 23:14:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 70A458FC12 for ; Thu, 19 May 2011 23:14:22 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4JNEMUr077027 for ; Thu, 19 May 2011 23:14:22 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4JNEMgA077026; Thu, 19 May 2011 23:14:22 GMT (envelope-from nobody) Message-Id: <201105192314.p4JNEMgA077026@red.freebsd.org> Date: Thu, 19 May 2011 23:14:22 GMT From: Jeffrey Leung To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157190: [new port] net-mgmt/zenpack-GraphPortlet: Enables users to show any graph/multi graph reports on their dashboard 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: Thu, 19 May 2011 23:20:11 -0000 >Number: 157190 >Category: ports >Synopsis: [new port] net-mgmt/zenpack-GraphPortlet: Enables users to show any graph/multi graph reports on their dashboard >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: Thu May 19 23:20:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jeffrey Leung >Release: 8.2-RELEASE >Organization: Experts Exchange, LLC. >Environment: FreeBSD walrus.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Zenpacks extend the capabilities of Zenoss. This port builds cleanly in Tinderbox. This port depends on the following PR: ports/156655 >How-To-Repeat: >Fix: 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: # # zenpack-GraphPortlet # zenpack-GraphPortlet/files # zenpack-GraphPortlet/files/pkg-deinstall.in # zenpack-GraphPortlet/files/pkg-message.in # zenpack-GraphPortlet/pkg-plist # zenpack-GraphPortlet/pkg-descr # zenpack-GraphPortlet/distinfo # zenpack-GraphPortlet/Makefile # echo c - zenpack-GraphPortlet mkdir -p zenpack-GraphPortlet > /dev/null 2>&1 echo c - zenpack-GraphPortlet/files mkdir -p zenpack-GraphPortlet/files > /dev/null 2>&1 echo x - zenpack-GraphPortlet/files/pkg-deinstall.in sed 's/^X//' >zenpack-GraphPortlet/files/pkg-deinstall.in << 'a792bfee33810d0ee9555d8e9a4c3ccc' X#!/bin/sh X Xif [ "$2" = "DEINSTALL" ]; then X echo "To de-activate this Zenpack, run the following command as the zenoss user: X X%%ZENHOME%%/bin/zenpack --remove %%ZPACKPREFIX%%%%PORTNAME%% X XIMPORTANT: De-activating a Zenpack will also remove all its associated data" X Xfi a792bfee33810d0ee9555d8e9a4c3ccc echo x - zenpack-GraphPortlet/files/pkg-message.in sed 's/^X//' >zenpack-GraphPortlet/files/pkg-message.in << '11fbb16db09f22856400d0176fc9b94e' X XTo activate this Zenpack, run the following commands as the zenoss user: X X%%ZENHOME%%/bin/zenpack --install %%ZPACKHOME%%/%%ZPACK%% X%%ZENHOME%%/bin/zopectl restart 11fbb16db09f22856400d0176fc9b94e echo x - zenpack-GraphPortlet/pkg-plist sed 's/^X//' >zenpack-GraphPortlet/pkg-plist << 'e8420ecb760bb196da32c5a09d43b7b8' Xzenoss/ZenPack/%%ZPACK%% X@dirrmtry zenoss/ZenPack e8420ecb760bb196da32c5a09d43b7b8 echo x - zenpack-GraphPortlet/pkg-descr sed 's/^X//' >zenpack-GraphPortlet/pkg-descr << '3576ec69c0a58dbc51b23f2002c604dd' XThis ZenPack adds a portlet called "Show Graph" which enables users to show any Xgraph/multi graph reports on their dashboard. Several columns (as defined in Xreport options) are supported. X XMore details can be found at the provided url. X XWWW: http://community.zenoss.org/docs/DOC-3421 3576ec69c0a58dbc51b23f2002c604dd echo x - zenpack-GraphPortlet/distinfo sed 's/^X//' >zenpack-GraphPortlet/distinfo << '6d849cd3728546603a59ba3a0db6be0b' XSHA256 (graph-portlet-1.03?old_path=%2F&format=zip) = 69d89200f437f0b80d9d1508d4b550677a49037ac15dc8a98bfe542299c590e1 XSIZE (graph-portlet-1.03?old_path=%2F&format=zip) = 7289 6d849cd3728546603a59ba3a0db6be0b echo x - zenpack-GraphPortlet/Makefile sed 's/^X//' >zenpack-GraphPortlet/Makefile << '546fe4302a1cc43a6afda67ce1349f78' X# New ports collection makefile for: ShowGraphPortlet X# Date created: 12 May 2011 X# Whom: Zenoss X# X# $FreeBSD$ X# X XPORTNAME= ShowGraphPortlet XPORTVERSION= 1.03 XCATEGORIES= net-mgmt www XMASTER_SITES= http://zenpacks.zenoss.org/trac-zenpacks/changeset/1002/tags/ XDISTFILES= graph-portlet-${PORTVERSION}?old_path=%2F\&format=zip X XMAINTAINER= zenoss@experts-exchange.com XCOMMENT= Enables users to show any graph/multi graph reports on their dashboard X XBUILD_DEPENDS= zenoss>=3.1.0:${PORTSDIR}/net-mgmt/zenoss XRUN_DEPENDS= zenoss>=3.1.0:${PORTSDIR}/net-mgmt/zenoss X XFETCH_ARGS= -o - > ${DISTDIR}/${DISTFILES} XUSE_ZIP= yes XPKGNAMEPREFIX:= zenpack-community- XWRKSRC= ${WRKDIR}/tags/graph-portlet-${PORTVERSION}/ X XZENHOME= ${LOCALBASE}/zenoss XZPACKHOME= ${LOCALBASE}/zenoss/ZenPack XZPACKPREFIX= ZenPacks.SCC. XZPACK= ${ZPACKPREFIX}${PORTNAME}-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg XPLIST_SUB= ZPACK=${ZPACK} XSUB_LIST= ZENHOME=${ZENHOME} \ X ZPACK=${ZPACK} \ X ZPACKHOME=${ZPACKHOME} \ X ZPACKPREFIX=${ZPACKPREFIX} \ X PORTNAME=${PORTNAME} XSUB_FILES= pkg-message pkg-deinstall X XSHAREOWN= zenoss XSHAREGRP= zenoss X X#zenoss provides its own python 2.6 - we build against that for application compatibility XPYTHON_VERSION= python2.6 XPYTHON_CMD= ${ZENHOME}/bin/python XPYSETUP= ./setup.py X XMAKE_ENV+= ZENHOME=${ZENHOME} \ X INSTANCE_HOME=${ZENHOME} \ X PYTHONPATH=${ZENHOME}/lib/python \ X PATH=${ZENHOME}/bin:${PATH} X X.if !defined(UID) XUID!= /usr/bin/id -u X.endif X Xdo-build: X.if ${UID} != 0 && !defined(INSTALL_AS_USER) X @${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target" X @cd ${.CURDIR} && \ X ${SU_CMD} "${MAKE} ${__softMAKEFLAGS} ${.TARGET}" X @${ECHO_MSG} "===> Returning to user credentials" X.else X cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} bdist_egg X.endif X Xdo-install: X ${MKDIR} ${ZPACKHOME} X ${INSTALL_DATA} ${WRKSRC}/dist/${ZPACK} ${ZPACKHOME} X @${CAT} ${PKGMESSAGE} X X.include 546fe4302a1cc43a6afda67ce1349f78 exit >Release-Note: >Audit-Trail: >Unformatted: