From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 20 00:20:08 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 D4C791065672 for ; Fri, 20 May 2011 00:20:08 +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 B0D938FC19 for ; Fri, 20 May 2011 00:20:08 +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 p4K0K84e049494 for ; Fri, 20 May 2011 00:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4K0K85b049493; Fri, 20 May 2011 00:20:08 GMT (envelope-from gnats) Resent-Date: Fri, 20 May 2011 00:20:08 GMT Resent-Message-Id: <201105200020.p4K0K85b049493@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 76AF0106564A for ; Fri, 20 May 2011 00:11:05 +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 653DB8FC15 for ; Fri, 20 May 2011 00:11:05 +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 p4K0B56B022822 for ; Fri, 20 May 2011 00:11:05 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4K0B5Xp022821; Fri, 20 May 2011 00:11:05 GMT (envelope-from nobody) Message-Id: <201105200011.p4K0B5Xp022821@red.freebsd.org> Date: Fri, 20 May 2011 00:11:05 GMT From: Jeffrey Leung To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157196: [new port] net-mgmt/zenpack-DellMon: Provides additional monitoring options for Dell machines 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: Fri, 20 May 2011 00:20:08 -0000 >Number: 157196 >Category: ports >Synopsis: [new port] net-mgmt/zenpack-DellMon: Provides additional monitoring options for Dell machines >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: Fri May 20 00:20:08 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-DellMon # zenpack-DellMon/files # zenpack-DellMon/files/pkg-deinstall.in # zenpack-DellMon/files/pkg-message.in # zenpack-DellMon/distinfo # zenpack-DellMon/pkg-descr # zenpack-DellMon/pkg-plist # zenpack-DellMon/Makefile # echo c - zenpack-DellMon mkdir -p zenpack-DellMon > /dev/null 2>&1 echo c - zenpack-DellMon/files mkdir -p zenpack-DellMon/files > /dev/null 2>&1 echo x - zenpack-DellMon/files/pkg-deinstall.in sed 's/^X//' >zenpack-DellMon/files/pkg-deinstall.in << '474bf22067692142021bec4bfff1fe48' 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 474bf22067692142021bec4bfff1fe48 echo x - zenpack-DellMon/files/pkg-message.in sed 's/^X//' >zenpack-DellMon/files/pkg-message.in << 'b0e21ed971af24ae1a8fe36a7b1b24a7' 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 b0e21ed971af24ae1a8fe36a7b1b24a7 echo x - zenpack-DellMon/distinfo sed 's/^X//' >zenpack-DellMon/distinfo << '6a396d48b3d4a8ee5a0aea1c9a99d8ab' XSHA256 (epuzanov-ZenPacks.community.DellMon-dellmon-2.4-0-g9697659.tar.gz) = cab497f06939e5e495a7cb4e893afe56d2798f17f4f06399eb6c5c0dff3bfe29 XSIZE (epuzanov-ZenPacks.community.DellMon-dellmon-2.4-0-g9697659.tar.gz) = 57087 6a396d48b3d4a8ee5a0aea1c9a99d8ab echo x - zenpack-DellMon/pkg-descr sed 's/^X//' >zenpack-DellMon/pkg-descr << '131bde313df77a154ddc693e9b448ac7' XThis ZenPack provides additional monitoring options for Dell machines with Xadditional zCollectorPlugins: X* community.snmp.DellCPUMap X* community.snmp.DellDeviceMap X* community.snmp.DellExpansionCardMap X* community.snmp.DellFanMap X* community.snmp.DellHardDiskMap X* community.snmp.DellLogicalDiskMap X* community.snmp.DellMemoryModuleMap X* community.snmp.DellNicMap X* community.snmp.DellPowerSupplyMap X* community.snmp.DellTemperatureSensorMap XReports: X* /Device Reports/Dell PowerEdge Reports/DRAC Controllers X* /Device Reports/Dell PowerEdge Reports/Storage Controllers X* /Device Reports/Dell PowerEdge Reports/Hard Disks X XWWW: http://community.zenoss.org/docs/DOC-3410 131bde313df77a154ddc693e9b448ac7 echo x - zenpack-DellMon/pkg-plist sed 's/^X//' >zenpack-DellMon/pkg-plist << '9ffeaebce8322d05aacecf38aab6a441' Xzenoss/ZenPack/%%ZPACK%% X@dirrmtry zenoss/ZenPack 9ffeaebce8322d05aacecf38aab6a441 echo x - zenpack-DellMon/Makefile sed 's/^X//' >zenpack-DellMon/Makefile << '7104e4c8203a8b678ccfd0ee3eb7794b' X# New ports collection makefile for: DellMon X# Date created: 13 May 2011 X# Whom: Zenoss X# X# $FreeBSD$ X# X XPORTNAME= DellMon XPORTVERSION= 2.4 XCATEGORIES= net-mgmt XMASTER_SITES= https://github.com/epuzanov/${ZPACKPREFIX}${PORTNAME}/tarball/dellmon-2.4/ XDISTNAME= epuzanov-${ZPACKPREFIX}${PORTNAME}-dellmon-2.4-0-g9697659 X XMAINTAINER= zenoss@experts-exchange.com XCOMMENT= Provides additional monitoring options for Dell machines 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} XPKGNAMEPREFIX:= zenpack-community- XWRKSRC= ${WRKDIR}/epuzanov-${ZPACKPREFIX}${PORTNAME}-a4ae347 X XZENHOME= ${LOCALBASE}/zenoss XZPACKHOME= ${LOCALBASE}/zenoss/ZenPack XZPACKPREFIX= ZenPacks.community. XZPACK= ${ZPACKPREFIX}${PORTNAME}-2.4-${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 7104e4c8203a8b678ccfd0ee3eb7794b exit >Release-Note: >Audit-Trail: >Unformatted: