Zenpacks extend the capabilities of Zenoss. This port builds cleanly in Tinderbox. This port depends on the following PR: ports/156655
pkg-message tuning # 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-DeviceSearch # zenpack-DeviceSearch/files # zenpack-DeviceSearch/files/pkg-deinstall.in # zenpack-DeviceSearch/files/pkg-message.in # zenpack-DeviceSearch/distinfo # zenpack-DeviceSearch/pkg-descr # zenpack-DeviceSearch/pkg-plist # zenpack-DeviceSearch/Makefile # echo c - zenpack-DeviceSearch mkdir -p zenpack-DeviceSearch > /dev/null 2>&1 echo c - zenpack-DeviceSearch/files mkdir -p zenpack-DeviceSearch/files > /dev/null 2>&1 echo x - zenpack-DeviceSearch/files/pkg-deinstall.in sed 's/^X//' >zenpack-DeviceSearch/files/pkg-deinstall.in << '511b0e511640c5211a6927e9d3b6e66f' 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 511b0e511640c5211a6927e9d3b6e66f echo x - zenpack-DeviceSearch/files/pkg-message.in sed 's/^X//' >zenpack-DeviceSearch/files/pkg-message.in << '2bfcf8b078944c79fe48a925a66a91cf' 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 2bfcf8b078944c79fe48a925a66a91cf echo x - zenpack-DeviceSearch/distinfo sed 's/^X//' >zenpack-DeviceSearch/distinfo << '307cfb02a9ffe2b52500752e699c3d99' XSHA256 (DeviceSearch-1.0.0.tar.gz) = 3c2c7f7b2b1f1c8ddb1a8421aba010a4cc3258e4f41634341bc8652431211de2 XSIZE (DeviceSearch-1.0.0.tar.gz) = 3642 307cfb02a9ffe2b52500752e699c3d99 echo x - zenpack-DeviceSearch/pkg-descr sed 's/^X//' >zenpack-DeviceSearch/pkg-descr << '3d9e2539d751714e4eea7e7ef243f14c' XThis ZenPack provides the ability to quickly search for Devices by their name Xor by their IP address. Search is triggered by typing 3 or more characters Xinto the text box, which then returns the first 10 matches. The use of the Xasterisk wild-card is supported, so you may search for fuzzy matches Xdynamically. X XWWW: http://community.zenoss.org/docs/DOC-7453 3d9e2539d751714e4eea7e7ef243f14c echo x - zenpack-DeviceSearch/pkg-plist sed 's/^X//' >zenpack-DeviceSearch/pkg-plist << '7b864f212aed568d3abddb7156e475d8' Xzenoss/ZenPack/%%ZPACK%% X@dirrmtry zenoss/ZenPack 7b864f212aed568d3abddb7156e475d8 echo x - zenpack-DeviceSearch/Makefile sed 's/^X//' >zenpack-DeviceSearch/Makefile << '88a8a74d81265ce744c7a2d8f6408330' X# New ports collection makefile for: DeviceSearch X# Date created: 26 May 2011 X# Whom: Zenoss <zenoss@experts-exchange.com> X# X# $FreeBSD$ X# X XPORTNAME= DeviceSearch XPORTVERSION= 1.0.0 XCATEGORIES= net-mgmt XMASTER_SITES= http://www.glenbarber.us/ports/net-mgmt/${PORTDIRNAME}/ X XMAINTAINER= zenoss@experts-exchange.com XCOMMENT= Provides the ability to quickly search for devices in Zenoss 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-core- X XZENHOME= ${LOCALBASE}/zenoss XZPACKHOME= ${LOCALBASE}/zenoss/ZenPack XZPACKPREFIX= ZenPacks.zenoss. 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 <bsd.port.mk> 88a8a74d81265ce744c7a2d8f6408330 exit
Responsible Changed From-To: freebsd-ports-bugs->crees I'll take it.
Updated port Makefile to use new bsd.zenoss.mk file. -- ~Anthony Garcia
crees 2011-10-29 19:31:19 UTC FreeBSD ports repository Modified files: net-mgmt Makefile Added files: net-mgmt/zenpack-devicesearch Makefile distinfo pkg-descr pkg-plist net-mgmt/zenpack-devicesearch/files pkg-deinstall.in pkg-message.in Log: This ZenPack provides the ability to quickly search for Devices by their name or by their IP address. Search is triggered by typing 3 or more characters into the text box, which then returns the first 10 matches. The use of the asterisk wild-card is supported, so you may search for fuzzy matches dynamically. WWW: http://community.zenoss.org/docs/DOC-7453 PR: ports/157505 Submitted by: Zenoss <zenoss@experts-exchange.com> Revision Changes Path 1.265 +1 -0 ports/net-mgmt/Makefile 1.1 +20 -0 ports/net-mgmt/zenpack-devicesearch/Makefile (new) 1.1 +2 -0 ports/net-mgmt/zenpack-devicesearch/distinfo (new) 1.1 +10 -0 ports/net-mgmt/zenpack-devicesearch/files/pkg-deinstall.in (new) 1.1 +8 -0 ports/net-mgmt/zenpack-devicesearch/files/pkg-message.in (new) 1.1 +7 -0 ports/net-mgmt/zenpack-devicesearch/pkg-descr (new) 1.1 +2 -0 ports/net-mgmt/zenpack-devicesearch/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed New port added. Thanks!