ports/157133: [new port] net-mgmt/zenpack-ApacheMonitor: Provides performance monitoring of the Apache HTTP Server
Anthony Garcia
agarcia at experts-exchange.com
Sat Sep 10 01:00:31 UTC 2011
The following reply was made to PR ports/157133; 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/157133: [new port] net-mgmt/zenpack-ApacheMonitor: Provides
performance monitoring of the Apache HTTP Server
Date: Fri, 09 Sep 2011 17:41:27 -0700
This is a multi-part message in MIME format.
--------------090204040507040801000404
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
--------------090204040507040801000404
Content-Type: text/plain;
name="zenpack-ApacheMonitor.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="zenpack-ApacheMonitor.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=_sh11655
# Made on 2011-09-09 17:34 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-ApacheMonitor/pkg-plist
# 271 -rw-r--r-- zenpack-ApacheMonitor/files/pkg-deinstall.in
# 165 -rw-r--r-- zenpack-ApacheMonitor/files/pkg-message.in
# 199 -rw-r--r-- zenpack-ApacheMonitor/distinfo
# 189 -rw-r--r-- zenpack-ApacheMonitor/pkg-descr
# 673 -rw-r--r-- zenpack-ApacheMonitor/Makefile
# 50 -rw-r--r-- zenpack-ApacheMonitor/pkg-plist
# 271 -rw-r--r-- zenpack-ApacheMonitor/files/pkg-deinstall.in
# 165 -rw-r--r-- zenpack-ApacheMonitor/files/pkg-message.in
# 271 -rw-r--r-- zenpack-ApacheMonitor/files/pkg-deinstall.in
# 165 -rw-r--r-- zenpack-ApacheMonitor/files/pkg-message.in
# 199 -rw-r--r-- zenpack-ApacheMonitor/distinfo
# 189 -rw-r--r-- zenpack-ApacheMonitor/pkg-descr
# 673 -rw-r--r-- zenpack-ApacheMonitor/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-ApacheMonitor/pkg-plist ==============
if test ! -d 'zenpack-ApacheMonitor'; then
mkdir 'zenpack-ApacheMonitor'
if test $? -eq 0
then ${echo} 'x - created directory `zenpack-ApacheMonitor'\''.'
else ${echo} 'x - failed to create directory `zenpack-ApacheMonitor'\''.'
exit 1
fi
fi
if test -f 'zenpack-ApacheMonitor/pkg-plist' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/pkg-plist (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/pkg-plist (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/pkg-plist' &&
zenoss/ZenPack/%%ZPACK%%
@dirrmtry zenoss/ZenPack
SHAR_EOF
(set 20 11 09 09 17 32 37 'zenpack-ApacheMonitor/pkg-plist'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/pkg-plist'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/pkg-plist failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/pkg-plist: MD5 check failed'
) << SHAR_EOF
fa623748dc890098e6820efd23d340ef zenpack-ApacheMonitor/pkg-plist
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/pkg-plist'` -ne 50 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/pkg-plist is not 50'
fi
fi
# ============= zenpack-ApacheMonitor/files/pkg-deinstall.in ==============
if test ! -d 'zenpack-ApacheMonitor'; then
mkdir 'zenpack-ApacheMonitor'
if test $? -eq 0
then ${echo} 'x - created directory `zenpack-ApacheMonitor'\''.'
else ${echo} 'x - failed to create directory `zenpack-ApacheMonitor'\''.'
exit 1
fi
fi
if test ! -d 'zenpack-ApacheMonitor/files'; then
mkdir 'zenpack-ApacheMonitor/files'
if test $? -eq 0
then ${echo} 'x - created directory `zenpack-ApacheMonitor/files'\''.'
else ${echo} 'x - failed to create directory `zenpack-ApacheMonitor/files'\''.'
exit 1
fi
fi
if test -f 'zenpack-ApacheMonitor/files/pkg-deinstall.in' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/files/pkg-deinstall.in (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/files/pkg-deinstall.in (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/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-ApacheMonitor/files/pkg-deinstall.in'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/files/pkg-deinstall.in'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/files/pkg-deinstall.in failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/files/pkg-deinstall.in: MD5 check failed'
) << SHAR_EOF
08976029b6b8cab94e4960b798168b03 zenpack-ApacheMonitor/files/pkg-deinstall.in
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/files/pkg-deinstall.in'` -ne 271 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/files/pkg-deinstall.in is not 271'
fi
fi
# ============= zenpack-ApacheMonitor/files/pkg-message.in ==============
if test ! -d 'zenpack-ApacheMonitor/files'; then
mkdir 'zenpack-ApacheMonitor/files'
if test $? -eq 0
then ${echo} 'x - created directory `zenpack-ApacheMonitor/files'\''.'
else ${echo} 'x - failed to create directory `zenpack-ApacheMonitor/files'\''.'
exit 1
fi
fi
if test -f 'zenpack-ApacheMonitor/files/pkg-message.in' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/files/pkg-message.in (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/files/pkg-message.in (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/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-ApacheMonitor/files/pkg-message.in'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/files/pkg-message.in'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/files/pkg-message.in failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/files/pkg-message.in: MD5 check failed'
) << SHAR_EOF
d12e6c28a4a20670ec16ec98a6e2ffc4 zenpack-ApacheMonitor/files/pkg-message.in
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/files/pkg-message.in'` -ne 165 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/files/pkg-message.in is not 165'
fi
fi
# ============= zenpack-ApacheMonitor/distinfo ==============
if test -f 'zenpack-ApacheMonitor/distinfo' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/distinfo (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/distinfo (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/distinfo' &&
SHA256 (ZenPacks.zenoss.ApacheMonitor?old_path=%2F&format=zip) = 905b9baa0fbbaf1b6316338ed6bbd33c1d2c086f7b742b023a5c2517b3925d8a
SIZE (ZenPacks.zenoss.ApacheMonitor?old_path=%2F&format=zip) = 17112
SHAR_EOF
(set 20 11 09 09 17 32 37 'zenpack-ApacheMonitor/distinfo'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/distinfo'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/distinfo failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/distinfo: MD5 check failed'
) << SHAR_EOF
653c3145bbe7729a523fe1faa54e05b9 zenpack-ApacheMonitor/distinfo
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/distinfo'` -ne 199 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/distinfo is not 199'
fi
fi
# ============= zenpack-ApacheMonitor/pkg-descr ==============
if test -f 'zenpack-ApacheMonitor/pkg-descr' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/pkg-descr (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/pkg-descr (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/pkg-descr' &&
This ZenPack provides performance monitoring of the Apache HTTP Server.
X
This ZenPack is documented in the Zenoss Extended Monitoring Guide.
X
WWW: http://community.zenoss.org/docs/DOC-3442
SHAR_EOF
(set 20 11 09 09 17 32 37 'zenpack-ApacheMonitor/pkg-descr'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/pkg-descr'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/pkg-descr failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/pkg-descr: MD5 check failed'
) << SHAR_EOF
d2fabf9ac51d47aa9f2813172242591d zenpack-ApacheMonitor/pkg-descr
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/pkg-descr'` -ne 189 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/pkg-descr is not 189'
fi
fi
# ============= zenpack-ApacheMonitor/Makefile ==============
if test -f 'zenpack-ApacheMonitor/Makefile' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/Makefile (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/Makefile (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/Makefile' &&
# New ports collection makefile for: ApacheMonitor
# Date created: 12 May 2011
# Whom: Zenoss <zenoss at experts-exchange.com>
#
# $FreeBSD$
#
X
PORTNAME= ApacheMonitor
PORTVERSION= 2.1.2
CATEGORIES= net-mgmt www
MASTER_SITES= http://dev.zenoss.org/trac/changeset/26203/tags/zenoss-3.1.0/zenpacks/
DISTFILES= ${ZPACKPREFIX}${PORTNAME}?old_path=%2F\&format=zip
X
MAINTAINER= zenoss at experts-exchange.com
COMMENT= Provides performance monitoring of the Apache HTTP Server
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-ApacheMonitor/Makefile'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/Makefile'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/Makefile failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/Makefile: MD5 check failed'
) << SHAR_EOF
014adb87a1e1284b300466335b313a84 zenpack-ApacheMonitor/Makefile
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/Makefile'` -ne 673 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/Makefile is not 673'
fi
fi
# ============= zenpack-ApacheMonitor/pkg-plist ==============
if test -f 'zenpack-ApacheMonitor/pkg-plist' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/pkg-plist (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/pkg-plist (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/pkg-plist' &&
zenoss/ZenPack/%%ZPACK%%
@dirrmtry zenoss/ZenPack
SHAR_EOF
(set 20 11 09 09 17 32 37 'zenpack-ApacheMonitor/pkg-plist'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/pkg-plist'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/pkg-plist failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/pkg-plist: MD5 check failed'
) << SHAR_EOF
fa623748dc890098e6820efd23d340ef zenpack-ApacheMonitor/pkg-plist
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/pkg-plist'` -ne 50 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/pkg-plist is not 50'
fi
fi
# ============= zenpack-ApacheMonitor/files/pkg-deinstall.in ==============
if test -f 'zenpack-ApacheMonitor/files/pkg-deinstall.in' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/files/pkg-deinstall.in (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/files/pkg-deinstall.in (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/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-ApacheMonitor/files/pkg-deinstall.in'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/files/pkg-deinstall.in'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/files/pkg-deinstall.in failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/files/pkg-deinstall.in: MD5 check failed'
) << SHAR_EOF
08976029b6b8cab94e4960b798168b03 zenpack-ApacheMonitor/files/pkg-deinstall.in
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/files/pkg-deinstall.in'` -ne 271 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/files/pkg-deinstall.in is not 271'
fi
fi
# ============= zenpack-ApacheMonitor/files/pkg-message.in ==============
if test -f 'zenpack-ApacheMonitor/files/pkg-message.in' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/files/pkg-message.in (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/files/pkg-message.in (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/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-ApacheMonitor/files/pkg-message.in'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/files/pkg-message.in'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/files/pkg-message.in failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/files/pkg-message.in: MD5 check failed'
) << SHAR_EOF
d12e6c28a4a20670ec16ec98a6e2ffc4 zenpack-ApacheMonitor/files/pkg-message.in
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/files/pkg-message.in'` -ne 165 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/files/pkg-message.in is not 165'
fi
fi
# ============= zenpack-ApacheMonitor/files/pkg-deinstall.in ==============
if test -f 'zenpack-ApacheMonitor/files/pkg-deinstall.in' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/files/pkg-deinstall.in (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/files/pkg-deinstall.in (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/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-ApacheMonitor/files/pkg-deinstall.in'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/files/pkg-deinstall.in'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/files/pkg-deinstall.in failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/files/pkg-deinstall.in: MD5 check failed'
) << SHAR_EOF
08976029b6b8cab94e4960b798168b03 zenpack-ApacheMonitor/files/pkg-deinstall.in
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/files/pkg-deinstall.in'` -ne 271 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/files/pkg-deinstall.in is not 271'
fi
fi
# ============= zenpack-ApacheMonitor/files/pkg-message.in ==============
if test -f 'zenpack-ApacheMonitor/files/pkg-message.in' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/files/pkg-message.in (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/files/pkg-message.in (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/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-ApacheMonitor/files/pkg-message.in'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/files/pkg-message.in'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/files/pkg-message.in failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/files/pkg-message.in: MD5 check failed'
) << SHAR_EOF
d12e6c28a4a20670ec16ec98a6e2ffc4 zenpack-ApacheMonitor/files/pkg-message.in
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/files/pkg-message.in'` -ne 165 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/files/pkg-message.in is not 165'
fi
fi
# ============= zenpack-ApacheMonitor/distinfo ==============
if test -f 'zenpack-ApacheMonitor/distinfo' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/distinfo (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/distinfo (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/distinfo' &&
SHA256 (ZenPacks.zenoss.ApacheMonitor?old_path=%2F&format=zip) = 905b9baa0fbbaf1b6316338ed6bbd33c1d2c086f7b742b023a5c2517b3925d8a
SIZE (ZenPacks.zenoss.ApacheMonitor?old_path=%2F&format=zip) = 17112
SHAR_EOF
(set 20 11 09 09 17 32 37 'zenpack-ApacheMonitor/distinfo'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/distinfo'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/distinfo failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/distinfo: MD5 check failed'
) << SHAR_EOF
653c3145bbe7729a523fe1faa54e05b9 zenpack-ApacheMonitor/distinfo
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/distinfo'` -ne 199 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/distinfo is not 199'
fi
fi
# ============= zenpack-ApacheMonitor/pkg-descr ==============
if test -f 'zenpack-ApacheMonitor/pkg-descr' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/pkg-descr (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/pkg-descr (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/pkg-descr' &&
This ZenPack provides performance monitoring of the Apache HTTP Server.
X
This ZenPack is documented in the Zenoss Extended Monitoring Guide.
X
WWW: http://community.zenoss.org/docs/DOC-3442
SHAR_EOF
(set 20 11 09 09 17 32 37 'zenpack-ApacheMonitor/pkg-descr'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/pkg-descr'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/pkg-descr failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/pkg-descr: MD5 check failed'
) << SHAR_EOF
d2fabf9ac51d47aa9f2813172242591d zenpack-ApacheMonitor/pkg-descr
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/pkg-descr'` -ne 189 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/pkg-descr is not 189'
fi
fi
# ============= zenpack-ApacheMonitor/Makefile ==============
if test -f 'zenpack-ApacheMonitor/Makefile' && test "$first_param" != -c; then
${echo} 'x -SKIPPING zenpack-ApacheMonitor/Makefile (file already exists)'
else
${echo} 'x - extracting zenpack-ApacheMonitor/Makefile (text)'
sed 's/^X//' << 'SHAR_EOF' > 'zenpack-ApacheMonitor/Makefile' &&
# New ports collection makefile for: ApacheMonitor
# Date created: 12 May 2011
# Whom: Zenoss <zenoss at experts-exchange.com>
#
# $FreeBSD$
#
X
PORTNAME= ApacheMonitor
PORTVERSION= 2.1.2
CATEGORIES= net-mgmt www
MASTER_SITES= http://dev.zenoss.org/trac/changeset/26203/tags/zenoss-3.1.0/zenpacks/
DISTFILES= ${ZPACKPREFIX}${PORTNAME}?old_path=%2F\&format=zip
X
MAINTAINER= zenoss at experts-exchange.com
COMMENT= Provides performance monitoring of the Apache HTTP Server
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-ApacheMonitor/Makefile'; eval "$shar_touch") &&
chmod 0644 'zenpack-ApacheMonitor/Makefile'
if test $? -ne 0
then ${echo} 'restore of zenpack-ApacheMonitor/Makefile failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'zenpack-ApacheMonitor/Makefile: MD5 check failed'
) << SHAR_EOF
014adb87a1e1284b300466335b313a84 zenpack-ApacheMonitor/Makefile
SHAR_EOF
else
test `LC_ALL=C wc -c < 'zenpack-ApacheMonitor/Makefile'` -ne 673 && \
${echo} 'restoration warning: size of zenpack-ApacheMonitor/Makefile is not 673'
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
--------------090204040507040801000404--
More information about the freebsd-ports-bugs
mailing list