ports/157135: [new port] net-mgmt/zenpack-DellMonitor: Provides Zenoss monitoring options for Dell machines

Anthony Garcia agarcia at experts-exchange.com
Sat Sep 10 01:00:27 UTC 2011


The following reply was made to PR ports/157135; 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/157135: [new port] net-mgmt/zenpack-DellMonitor: Provides
 Zenoss monitoring options for Dell machines
Date: Fri, 09 Sep 2011 17:44:49 -0700

 This is a multi-part message in MIME format.
 --------------010905060505030406080805
 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
 
 
 --------------010905060505030406080805
 Content-Type: text/plain;
  name="zenpack-DellMonitor.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="zenpack-DellMonitor.shar"
 
 #!/bin/sh
 # This is a shell archive (produced by GNU sharutils 4.6.3).
 # To extract the files from this archive, save it to some FILE, remove
 # everything before the `#!/bin/sh' line above, then type `sh FILE'.
 #
 lock_dir=_sh11952
 # Made on 2011-09-09 17:44 PDT by <agarcia at agarcia-linux>.
 # Source directory was `/home/agarcia/zenpacks'.
 #
 # Existing files will *not* be overwritten, unless `-c' is specified.
 #
 # This shar contains:
 # length mode       name
 # ------ ---------- ------------------------------------------
 #     50 -rw-r--r-- zenpack-DellMonitor/pkg-plist
 #    271 -rw-r--r-- zenpack-DellMonitor/files/pkg-deinstall.in
 #    165 -rw-r--r-- zenpack-DellMonitor/files/pkg-message.in
 #    195 -rw-r--r-- zenpack-DellMonitor/distinfo
 #    446 -rw-r--r-- zenpack-DellMonitor/pkg-descr
 #    626 -rw-r--r-- zenpack-DellMonitor/Makefile
 #     50 -rw-r--r-- zenpack-DellMonitor/pkg-plist
 #    271 -rw-r--r-- zenpack-DellMonitor/files/pkg-deinstall.in
 #    165 -rw-r--r-- zenpack-DellMonitor/files/pkg-message.in
 #    271 -rw-r--r-- zenpack-DellMonitor/files/pkg-deinstall.in
 #    165 -rw-r--r-- zenpack-DellMonitor/files/pkg-message.in
 #    195 -rw-r--r-- zenpack-DellMonitor/distinfo
 #    446 -rw-r--r-- zenpack-DellMonitor/pkg-descr
 #    626 -rw-r--r-- zenpack-DellMonitor/Makefile
 #
 MD5SUM=${MD5SUM-md5sum}
 f=`${MD5SUM} --version | egrep '^md5sum .*(core|text)utils'`
 test -n "${f}" && md5check=true || md5check=false
 ${md5check} || \
   echo 'Note: not verifying md5sums.  Consider installing GNU coreutils.'
 save_IFS="${IFS}"
 IFS="${IFS}:"
 gettext_dir=FAILED
 locale_dir=FAILED
 first_param="$1"
 for dir in $PATH
 do
   if test "$gettext_dir" = FAILED && test -f $dir/gettext \
      && ($dir/gettext --version >/dev/null 2>&1)
   then
     case `$dir/gettext --version 2>&1 | sed 1q` in
       *GNU*) gettext_dir=$dir ;;
     esac
   fi
   if test "$locale_dir" = FAILED && test -f $dir/shar \
      && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
   then
     locale_dir=`$dir/shar --print-text-domain-dir`
   fi
 done
 IFS="$save_IFS"
 if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
 then
   echo=echo
 else
   TEXTDOMAINDIR=$locale_dir
   export TEXTDOMAINDIR
   TEXTDOMAIN=sharutils
   export TEXTDOMAIN
   echo="$gettext_dir/gettext -s"
 fi
 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null
 then if (echo -n test; echo 1,2,3) | grep n >/dev/null
      then shar_n= shar_c='
 '
      else shar_n=-n shar_c= ; fi
 else shar_n= shar_c='\c' ; fi
 f=shar-touch.$$
 st1=200112312359.59
 st2=123123592001.59
 st2tr=123123592001.5 # old SysV 14-char limit
 st3=1231235901
 
 if touch -am -t ${st1} ${f} >/dev/null 2>&1 && \
    test ! -f ${st1} && test -f ${f}; then
   shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
 
 elif touch -am ${st2} ${f} >/dev/null 2>&1 && \
    test ! -f ${st2} && test ! -f ${st2tr} && test -f ${f}; then
   shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
 
 elif touch -am ${st3} ${f} >/dev/null 2>&1 && \
    test ! -f ${st3} && test -f ${f}; then
   shar_touch='touch -am $3$4$5$6$2 "$8"'
 
 else
   shar_touch=:
   echo
   ${echo} 'WARNING: not restoring timestamps.  Consider getting and'
   ${echo} 'installing GNU `touch'\'', distributed in GNU coreutils...'
   echo
 fi
 rm -f ${st1} ${st2} ${st2tr} ${st3} ${f}
 #
 if test ! -d ${lock_dir}
 then : ; else ${echo} 'lock directory '${lock_dir}' exists'
   exit 1
 fi
 if mkdir ${lock_dir}
 then ${echo} 'x - created lock directory `'${lock_dir}\''.'
 else ${echo} 'x - failed to create lock directory `'${lock_dir}\''.'
   exit 1
 fi
 # ============= zenpack-DellMonitor/pkg-plist ==============
 if test ! -d 'zenpack-DellMonitor'; then
   mkdir 'zenpack-DellMonitor'
 if test $? -eq 0
 then ${echo} 'x - created directory `zenpack-DellMonitor'\''.'
 else ${echo} 'x - failed to create directory `zenpack-DellMonitor'\''.'
   exit 1
 fi
 fi
 if test -f 'zenpack-DellMonitor/pkg-plist' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/pkg-plist (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/pkg-plist (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/pkg-plist' &&
 zenoss/ZenPack/%%ZPACK%%
 @dirrmtry zenoss/ZenPack
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/pkg-plist'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/pkg-plist'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/pkg-plist failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/pkg-plist: MD5 check failed'
        ) << SHAR_EOF
 fa623748dc890098e6820efd23d340ef  zenpack-DellMonitor/pkg-plist
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/pkg-plist'` -ne 50 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/pkg-plist is not 50'
   fi
 fi
 # ============= zenpack-DellMonitor/files/pkg-deinstall.in ==============
 if test ! -d 'zenpack-DellMonitor'; then
   mkdir 'zenpack-DellMonitor'
 if test $? -eq 0
 then ${echo} 'x - created directory `zenpack-DellMonitor'\''.'
 else ${echo} 'x - failed to create directory `zenpack-DellMonitor'\''.'
   exit 1
 fi
 fi
 if test ! -d 'zenpack-DellMonitor/files'; then
   mkdir 'zenpack-DellMonitor/files'
 if test $? -eq 0
 then ${echo} 'x - created directory `zenpack-DellMonitor/files'\''.'
 else ${echo} 'x - failed to create directory `zenpack-DellMonitor/files'\''.'
   exit 1
 fi
 fi
 if test -f 'zenpack-DellMonitor/files/pkg-deinstall.in' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/files/pkg-deinstall.in (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/files/pkg-deinstall.in (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/files/pkg-deinstall.in' &&
 #!/bin/sh
 X
 if [ "$2" = "DEINSTALL" ]; then
 X   echo "To de-activate this Zenpack, run the following command as the zenoss user:
 X
 %%ZENHOME%%/bin/zenpack --remove %%ZPACKPREFIX%%%%PORTNAME%%
 X
 IMPORTANT: De-activating a Zenpack will also remove all its associated data"
 X
 fi
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/files/pkg-deinstall.in'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/files/pkg-deinstall.in'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/files/pkg-deinstall.in failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/files/pkg-deinstall.in: MD5 check failed'
        ) << SHAR_EOF
 08976029b6b8cab94e4960b798168b03  zenpack-DellMonitor/files/pkg-deinstall.in
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/files/pkg-deinstall.in'` -ne 271 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/files/pkg-deinstall.in is not 271'
   fi
 fi
 # ============= zenpack-DellMonitor/files/pkg-message.in ==============
 if test ! -d 'zenpack-DellMonitor/files'; then
   mkdir 'zenpack-DellMonitor/files'
 if test $? -eq 0
 then ${echo} 'x - created directory `zenpack-DellMonitor/files'\''.'
 else ${echo} 'x - failed to create directory `zenpack-DellMonitor/files'\''.'
   exit 1
 fi
 fi
 if test -f 'zenpack-DellMonitor/files/pkg-message.in' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/files/pkg-message.in (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/files/pkg-message.in (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/files/pkg-message.in' &&
 X
 To activate this Zenpack, run the following commands as the zenoss user:
 X
 %%ZENHOME%%/bin/zenpack --install %%ZPACKHOME%%/%%ZPACK%%
 %%ZENHOME%%/bin/zopectl restart
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/files/pkg-message.in'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/files/pkg-message.in'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/files/pkg-message.in failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/files/pkg-message.in: MD5 check failed'
        ) << SHAR_EOF
 d12e6c28a4a20670ec16ec98a6e2ffc4  zenpack-DellMonitor/files/pkg-message.in
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/files/pkg-message.in'` -ne 165 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/files/pkg-message.in is not 165'
   fi
 fi
 # ============= zenpack-DellMonitor/distinfo ==============
 if test -f 'zenpack-DellMonitor/distinfo' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/distinfo (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/distinfo (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/distinfo' &&
 SHA256 (ZenPacks.zenoss.DellMonitor?old_path=%2F&format=zip) = 9e613becb673a748875abacf0f79ee1cd81aec852fc5448be103606117f13b5f
 SIZE (ZenPacks.zenoss.DellMonitor?old_path=%2F&format=zip) = 10638
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/distinfo'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/distinfo'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/distinfo failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/distinfo: MD5 check failed'
        ) << SHAR_EOF
 e4500e4c204818295d01f8d5b9d3f00e  zenpack-DellMonitor/distinfo
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/distinfo'` -ne 195 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/distinfo is not 195'
   fi
 fi
 # ============= zenpack-DellMonitor/pkg-descr ==============
 if test -f 'zenpack-DellMonitor/pkg-descr' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/pkg-descr (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/pkg-descr (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/pkg-descr' &&
 DellMonitor provides custom modeling of devices running the Dell OpenManage
 agents. It also contains hardware identification for Dell proprietary hardware.
 The information is collected through the SNMP interface.
 X
 The following information is modeled.
 Hardware Model
 Hardware Serial Number
 Operating System
 CPU Information (socket, speed, cache, voltage)
 PCI Card Information (manufacturer, model)
 X
 WWW: http://community.zenoss.org/docs/DOC-3492
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/pkg-descr'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/pkg-descr'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/pkg-descr failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/pkg-descr: MD5 check failed'
        ) << SHAR_EOF
 bc29da0c59babcb93860a49b9afae440  zenpack-DellMonitor/pkg-descr
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/pkg-descr'` -ne 446 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/pkg-descr is not 446'
   fi
 fi
 # ============= zenpack-DellMonitor/Makefile ==============
 if test -f 'zenpack-DellMonitor/Makefile' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/Makefile (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/Makefile (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/Makefile' &&
 # New ports collection makefile for: DellMonitor
 # Date created:    05 May 2011
 # Whom:      Zenoss <zenoss at experts-exchange.com>
 #
 # $FreeBSD$
 #
 X
 PORTNAME=	DellMonitor
 PORTVERSION=	2.1.0
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://dev.zenoss.org/trac/changeset/26194/tags/zenoss-3.1.0/zenpacks/
 DISTFILES=	${ZPACKPREFIX}${PORTNAME}?old_path=%2F\&format=zip
 X
 COMMENT=	Provides Zenoss monitoring options for Dell machines
 X
 USE_ZIP=	yes
 ZPACKGROUP=	core
 WRKSRC=	        ${WRKDIR}/tags/zenoss-3.1.0/zenpacks/${ZPACKPREFIX}${PORTNAME}/
 X
 X.include <bsd.port.pre.mk>
 X.include "${PORTSDIR}/Mk/bsd.zenoss.mk"
 X.include <bsd.port.post.mk>
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/Makefile'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/Makefile'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/Makefile failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/Makefile: MD5 check failed'
        ) << SHAR_EOF
 2af5d2c5a387283dc4b9cc2eebb6f38b  zenpack-DellMonitor/Makefile
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/Makefile'` -ne 626 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/Makefile is not 626'
   fi
 fi
 # ============= zenpack-DellMonitor/pkg-plist ==============
 if test -f 'zenpack-DellMonitor/pkg-plist' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/pkg-plist (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/pkg-plist (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/pkg-plist' &&
 zenoss/ZenPack/%%ZPACK%%
 @dirrmtry zenoss/ZenPack
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/pkg-plist'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/pkg-plist'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/pkg-plist failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/pkg-plist: MD5 check failed'
        ) << SHAR_EOF
 fa623748dc890098e6820efd23d340ef  zenpack-DellMonitor/pkg-plist
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/pkg-plist'` -ne 50 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/pkg-plist is not 50'
   fi
 fi
 # ============= zenpack-DellMonitor/files/pkg-deinstall.in ==============
 if test -f 'zenpack-DellMonitor/files/pkg-deinstall.in' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/files/pkg-deinstall.in (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/files/pkg-deinstall.in (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/files/pkg-deinstall.in' &&
 #!/bin/sh
 X
 if [ "$2" = "DEINSTALL" ]; then
 X   echo "To de-activate this Zenpack, run the following command as the zenoss user:
 X
 %%ZENHOME%%/bin/zenpack --remove %%ZPACKPREFIX%%%%PORTNAME%%
 X
 IMPORTANT: De-activating a Zenpack will also remove all its associated data"
 X
 fi
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/files/pkg-deinstall.in'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/files/pkg-deinstall.in'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/files/pkg-deinstall.in failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/files/pkg-deinstall.in: MD5 check failed'
        ) << SHAR_EOF
 08976029b6b8cab94e4960b798168b03  zenpack-DellMonitor/files/pkg-deinstall.in
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/files/pkg-deinstall.in'` -ne 271 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/files/pkg-deinstall.in is not 271'
   fi
 fi
 # ============= zenpack-DellMonitor/files/pkg-message.in ==============
 if test -f 'zenpack-DellMonitor/files/pkg-message.in' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/files/pkg-message.in (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/files/pkg-message.in (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/files/pkg-message.in' &&
 X
 To activate this Zenpack, run the following commands as the zenoss user:
 X
 %%ZENHOME%%/bin/zenpack --install %%ZPACKHOME%%/%%ZPACK%%
 %%ZENHOME%%/bin/zopectl restart
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/files/pkg-message.in'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/files/pkg-message.in'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/files/pkg-message.in failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/files/pkg-message.in: MD5 check failed'
        ) << SHAR_EOF
 d12e6c28a4a20670ec16ec98a6e2ffc4  zenpack-DellMonitor/files/pkg-message.in
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/files/pkg-message.in'` -ne 165 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/files/pkg-message.in is not 165'
   fi
 fi
 # ============= zenpack-DellMonitor/files/pkg-deinstall.in ==============
 if test -f 'zenpack-DellMonitor/files/pkg-deinstall.in' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/files/pkg-deinstall.in (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/files/pkg-deinstall.in (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/files/pkg-deinstall.in' &&
 #!/bin/sh
 X
 if [ "$2" = "DEINSTALL" ]; then
 X   echo "To de-activate this Zenpack, run the following command as the zenoss user:
 X
 %%ZENHOME%%/bin/zenpack --remove %%ZPACKPREFIX%%%%PORTNAME%%
 X
 IMPORTANT: De-activating a Zenpack will also remove all its associated data"
 X
 fi
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/files/pkg-deinstall.in'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/files/pkg-deinstall.in'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/files/pkg-deinstall.in failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/files/pkg-deinstall.in: MD5 check failed'
        ) << SHAR_EOF
 08976029b6b8cab94e4960b798168b03  zenpack-DellMonitor/files/pkg-deinstall.in
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/files/pkg-deinstall.in'` -ne 271 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/files/pkg-deinstall.in is not 271'
   fi
 fi
 # ============= zenpack-DellMonitor/files/pkg-message.in ==============
 if test -f 'zenpack-DellMonitor/files/pkg-message.in' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/files/pkg-message.in (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/files/pkg-message.in (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/files/pkg-message.in' &&
 X
 To activate this Zenpack, run the following commands as the zenoss user:
 X
 %%ZENHOME%%/bin/zenpack --install %%ZPACKHOME%%/%%ZPACK%%
 %%ZENHOME%%/bin/zopectl restart
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/files/pkg-message.in'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/files/pkg-message.in'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/files/pkg-message.in failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/files/pkg-message.in: MD5 check failed'
        ) << SHAR_EOF
 d12e6c28a4a20670ec16ec98a6e2ffc4  zenpack-DellMonitor/files/pkg-message.in
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/files/pkg-message.in'` -ne 165 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/files/pkg-message.in is not 165'
   fi
 fi
 # ============= zenpack-DellMonitor/distinfo ==============
 if test -f 'zenpack-DellMonitor/distinfo' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/distinfo (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/distinfo (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/distinfo' &&
 SHA256 (ZenPacks.zenoss.DellMonitor?old_path=%2F&format=zip) = 9e613becb673a748875abacf0f79ee1cd81aec852fc5448be103606117f13b5f
 SIZE (ZenPacks.zenoss.DellMonitor?old_path=%2F&format=zip) = 10638
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/distinfo'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/distinfo'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/distinfo failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/distinfo: MD5 check failed'
        ) << SHAR_EOF
 e4500e4c204818295d01f8d5b9d3f00e  zenpack-DellMonitor/distinfo
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/distinfo'` -ne 195 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/distinfo is not 195'
   fi
 fi
 # ============= zenpack-DellMonitor/pkg-descr ==============
 if test -f 'zenpack-DellMonitor/pkg-descr' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/pkg-descr (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/pkg-descr (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/pkg-descr' &&
 DellMonitor provides custom modeling of devices running the Dell OpenManage
 agents. It also contains hardware identification for Dell proprietary hardware.
 The information is collected through the SNMP interface.
 X
 The following information is modeled.
 Hardware Model
 Hardware Serial Number
 Operating System
 CPU Information (socket, speed, cache, voltage)
 PCI Card Information (manufacturer, model)
 X
 WWW: http://community.zenoss.org/docs/DOC-3492
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/pkg-descr'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/pkg-descr'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/pkg-descr failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/pkg-descr: MD5 check failed'
        ) << SHAR_EOF
 bc29da0c59babcb93860a49b9afae440  zenpack-DellMonitor/pkg-descr
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/pkg-descr'` -ne 446 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/pkg-descr is not 446'
   fi
 fi
 # ============= zenpack-DellMonitor/Makefile ==============
 if test -f 'zenpack-DellMonitor/Makefile' && test "$first_param" != -c; then
   ${echo} 'x -SKIPPING zenpack-DellMonitor/Makefile (file already exists)'
 else
 ${echo} 'x - extracting zenpack-DellMonitor/Makefile (text)'
   sed 's/^X//' << 'SHAR_EOF' > 'zenpack-DellMonitor/Makefile' &&
 # New ports collection makefile for: DellMonitor
 # Date created:    05 May 2011
 # Whom:      Zenoss <zenoss at experts-exchange.com>
 #
 # $FreeBSD$
 #
 X
 PORTNAME=	DellMonitor
 PORTVERSION=	2.1.0
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://dev.zenoss.org/trac/changeset/26194/tags/zenoss-3.1.0/zenpacks/
 DISTFILES=	${ZPACKPREFIX}${PORTNAME}?old_path=%2F\&format=zip
 X
 COMMENT=	Provides Zenoss monitoring options for Dell machines
 X
 USE_ZIP=	yes
 ZPACKGROUP=	core
 WRKSRC=	        ${WRKDIR}/tags/zenoss-3.1.0/zenpacks/${ZPACKPREFIX}${PORTNAME}/
 X
 X.include <bsd.port.pre.mk>
 X.include "${PORTSDIR}/Mk/bsd.zenoss.mk"
 X.include <bsd.port.post.mk>
 SHAR_EOF
   (set 20 11 09 09 17 32 37 'zenpack-DellMonitor/Makefile'; eval "$shar_touch") &&
   chmod 0644 'zenpack-DellMonitor/Makefile'
 if test $? -ne 0
 then ${echo} 'restore of zenpack-DellMonitor/Makefile failed'
 fi
   if ${md5check}
   then (
        ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-DellMonitor/Makefile: MD5 check failed'
        ) << SHAR_EOF
 2af5d2c5a387283dc4b9cc2eebb6f38b  zenpack-DellMonitor/Makefile
 SHAR_EOF
   else
 test `LC_ALL=C wc -c < 'zenpack-DellMonitor/Makefile'` -ne 626 && \
   ${echo} 'restoration warning:  size of zenpack-DellMonitor/Makefile is not 626'
   fi
 fi
 if rm -fr ${lock_dir}
 then ${echo} 'x - removed lock directory `'${lock_dir}\''.'
 else ${echo} 'x - failed to remove lock directory `'${lock_dir}\''.'
   exit 1
 fi
 exit 0
 
 --------------010905060505030406080805--



More information about the freebsd-ports-bugs mailing list