ports/157191: [new port] net-mgmt/zenpack-MACReport: Lists MAC address and the Device and Interface associated info
Anthony Garcia
agarcia at experts-exchange.com
Mon Sep 12 23:20:10 UTC 2011
The following reply was made to PR ports/157191; it has been noted by GNATS.
From: Anthony Garcia <agarcia at experts-exchange.com>
To: bug-followup at FreeBSD.org, zenoss at experts-exchange.com
Cc:
Subject: Re: ports/157191: [new port] net-mgmt/zenpack-MACReport: Lists MAC
address and the Device and Interface associated info
Date: Mon, 12 Sep 2011 16:16:37 -0700
This is a multi-part message in MIME format.
--------------070305080205020905090406
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Updated port Makefile to use new bsd.zenoss.mk file.
--
~Anthony Garcia
--------------070305080205020905090406
Content-Type: text/plain;
name="zenpack-MACReport.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="zenpack-MACReport.shar"
# 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-MACReport
# zenpack-MACReport/files
# zenpack-MACReport/files/pkg-deinstall.in
# zenpack-MACReport/files/pkg-message.in
# zenpack-MACReport/distinfo
# zenpack-MACReport/pkg-descr
# zenpack-MACReport/pkg-plist
# zenpack-MACReport/Makefile
#
echo c - zenpack-MACReport
mkdir -p zenpack-MACReport > /dev/null 2>&1
echo c - zenpack-MACReport/files
mkdir -p zenpack-MACReport/files > /dev/null 2>&1
echo x - zenpack-MACReport/files/pkg-deinstall.in
sed 's/^X//' >zenpack-MACReport/files/pkg-deinstall.in << 'c718c1e34a3f20d20d88a77e745c6bfb'
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
c718c1e34a3f20d20d88a77e745c6bfb
echo x - zenpack-MACReport/files/pkg-message.in
sed 's/^X//' >zenpack-MACReport/files/pkg-message.in << '35ec73302e0ff61917b5ca6ba354261d'
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
35ec73302e0ff61917b5ca6ba354261d
echo x - zenpack-MACReport/distinfo
sed 's/^X//' >zenpack-MACReport/distinfo << 'ffb8afb28f5b444c4071c88728ce4ca1'
XSHA256 (mac-report-1.0.1?old_path=%2F&format=zip) = 085e200d48736f73ff7adaf008930d9d6f533dd6ff262963051d6210522de436
XSIZE (mac-report-1.0.1?old_path=%2F&format=zip) = 5491
ffb8afb28f5b444c4071c88728ce4ca1
echo x - zenpack-MACReport/pkg-descr
sed 's/^X//' >zenpack-MACReport/pkg-descr << 'e8c965ba25b16b7407527babc42a4c02'
XThis ZenPack consists of a report for listing each MAC address and the Device
Xand Interface it is associated with. This report makes use of the layer 2
Xcatalog already present in Zenoss. It only allows sorting by MAC address and is
Xnot exportable. The author made this decision because the processing time was
Xtoo great for an installation with more than a few thousand interfaces. The
Xauthor can make another one available that is exportable and sortable by the
Xother two fields (device and interface), if anyone decides they would like to
Xlive through the painful wait time.
X
XMore details can be found at provided url.
X
XWWW: http://community.zenoss.org/docs/DOC-3512
e8c965ba25b16b7407527babc42a4c02
echo x - zenpack-MACReport/pkg-plist
sed 's/^X//' >zenpack-MACReport/pkg-plist << 'cecc65d00e8673aed365b3ddae089782'
Xzenoss/ZenPack/%%ZPACK%%
X at dirrmtry zenoss/ZenPack
cecc65d00e8673aed365b3ddae089782
echo x - zenpack-MACReport/Makefile
sed 's/^X//' >zenpack-MACReport/Makefile << '45ee9622aca000a086f4392767fe9291'
X# New ports collection makefile for: MACReport
X# Date created: 13 May 2011
X# Whom: Zenoss <zenoss at experts-exchange.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= MACReport
XPORTVERSION= 1.0.1
XCATEGORIES= net-mgmt
XMASTER_SITES= http://zenpacks.zenoss.org/trac-zenpacks/changeset/1002/tags/
XDISTFILES= mac-report-${PORTVERSION}?old_path=%2F\&format=zip
X
XMAINTAINER= zenoss at experts-exchange.com
XCOMMENT= Lists MAC address and the Device and Interface associated info
X
XUSE_ZIP= yes
XZPACKGROUP= community
XWRKSRC= ${WRKDIR}/tags/mac-report-${PORTVERSION}
X
XZPACKPREFIX= ZenPacks.sodonnell.
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/Mk/bsd.zenoss.mk"
X.include <bsd.port.post.mk>
45ee9622aca000a086f4392767fe9291
exit
--------------070305080205020905090406--
More information about the freebsd-ports-bugs
mailing list