ports/79542: [NEW PORT] devel/pecl-statgrab: A PECL extension to retrieve information from libstatgrab
Tim Bishop
tim at bishnet.net
Mon Apr 4 20:50:06 UTC 2005
>Number: 79542
>Category: ports
>Synopsis: [NEW PORT] devel/pecl-statgrab: A PECL extension to retrieve information from libstatgrab
>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: Mon Apr 04 20:50:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Tim Bishop
>Release: FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD pendennis.ukc.ac.uk 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #1: Sun Jul 18 15:23:54 BST 2004
>Description:
libstatgrab is a library that provides a common interface for
retrieving a variety of system statistics on a number of *NIX like
systems.
This extension allows you to call the functions made available by
libstatgrab library.
WWW: http://pecl.php.net/package/statgrab/
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- pecl-statgrab-0.3.shar begins here ---
# 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:
#
# pecl-statgrab
# pecl-statgrab/Makefile
# pecl-statgrab/distinfo
# pecl-statgrab/pkg-descr
# pecl-statgrab/files
# pecl-statgrab/files/patch-config.m4
#
echo c - pecl-statgrab
mkdir -p pecl-statgrab > /dev/null 2>&1
echo x - pecl-statgrab/Makefile
sed 's/^X//' >pecl-statgrab/Makefile << 'END-of-pecl-statgrab/Makefile'
X# New ports collection makefile for: pecl-statgrab
X# Date created: 04 April 2005
X# Whom: Tim Bishop <tim at bishnet.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= statgrab
XPORTVERSION= 0.3
XCATEGORIES= devel pear
XMASTER_SITES= http://pecl.php.net/get/
XPKGNAMEPREFIX= pecl-
XDISTNAME= Statgrab-${PORTVERSION}
XEXTRACT_SUFX= .tgz
XDIST_SUBDIR= PECL
X
XMAINTAINER= tim at bishnet.net
XCOMMENT= A PECL extension to retrieve information from libstatgrab
X
XLIB_DEPENDS= statgrab.6:${PORTSDIR}/devel/libstatgrab
X
XUSE_PHP= yes
XUSE_PHPEXT= yes
X
XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
X LDFLAGS="-L${LOCALBASE}/lib -ldevstat"
X
X.include <bsd.port.mk>
END-of-pecl-statgrab/Makefile
echo x - pecl-statgrab/distinfo
sed 's/^X//' >pecl-statgrab/distinfo << 'END-of-pecl-statgrab/distinfo'
XMD5 (PECL/Statgrab-0.3.tgz) = c2dd8a7f74de55ef273f96fc9e271512
XSIZE (PECL/Statgrab-0.3.tgz) = 5805
END-of-pecl-statgrab/distinfo
echo x - pecl-statgrab/pkg-descr
sed 's/^X//' >pecl-statgrab/pkg-descr << 'END-of-pecl-statgrab/pkg-descr'
Xlibstatgrab is a library that provides a common interface for
Xretrieving a variety of system statistics on a number of *NIX like
Xsystems.
X
XThis extension allows you to call the functions made available by
Xlibstatgrab library.
X
XWWW: http://pecl.php.net/package/statgrab/
END-of-pecl-statgrab/pkg-descr
echo c - pecl-statgrab/files
mkdir -p pecl-statgrab/files > /dev/null 2>&1
echo x - pecl-statgrab/files/patch-config.m4
sed 's/^X//' >pecl-statgrab/files/patch-config.m4 << 'END-of-pecl-statgrab/files/patch-config.m4'
X--- config.m4.bak Mon Apr 4 20:14:03 2005
X+++ config.m4 Mon Apr 4 20:14:20 2005
X@@ -39,7 +39,7 @@
X ],[
X AC_MSG_ERROR([wrong libstatgrab version or lib not found, Statgrab version 0.10+ is required.])
X ],[
X- -L$STATGRAB_DIR/lib -lm -ldl
X+ -L$STATGRAB_DIR/lib
X ])
X dnl
X PHP_SUBST(STATGRAB_SHARED_LIBADD)
END-of-pecl-statgrab/files/patch-config.m4
exit
--- pecl-statgrab-0.3.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list