Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2015 03:11:40 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r391967 - in head/devel: . pecl-trace
Message-ID:  <201507140311.t6E3BeIN068498@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Tue Jul 14 03:11:40 2015
New Revision: 391967
URL: https://svnweb.freebsd.org/changeset/ports/391967

Log:
  New port: devel/pecl-trace
  
  Trace is a low-overhead tracing tool for PHP.
  
  It can trace all PHP execution, function calls, request information during
  run-time. And provides features like Filter, Statistics, Current Status and
  so on.
  It is very useful to locate blocking, heavy-load problems and debug in all
  environments, especially in production environments.
  
  WWW: https://pecl.php.net/package/trace
  
  PR:		200363
  Submitted by:	Gasol Wu <gasol.wu@gmail.com>

Added:
  head/devel/pecl-trace/
  head/devel/pecl-trace/Makefile   (contents, props changed)
  head/devel/pecl-trace/distinfo   (contents, props changed)
  head/devel/pecl-trace/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jul 14 02:56:46 2015	(r391966)
+++ head/devel/Makefile	Tue Jul 14 03:11:40 2015	(r391967)
@@ -3611,6 +3611,7 @@
     SUBDIR += pecl-swoole
     SUBDIR += pecl-sync
     SUBDIR += pecl-test_helpers
+    SUBDIR += pecl-trace
     SUBDIR += pecl-uopz
     SUBDIR += pecl-uploadprogress
     SUBDIR += pecl-uri_template

Added: head/devel/pecl-trace/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pecl-trace/Makefile	Tue Jul 14 03:11:40 2015	(r391967)
@@ -0,0 +1,39 @@
+# Created by: Gasol Wu <gasol.wu@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	trace
+PORTVERSION=	0.3.0
+CATEGORIES=	devel
+MASTER_SITES=	http://pecl.php.net/get/
+PKGNAMEPREFIX=	pecl-
+DIST_SUBDIR=	PECL
+
+MAINTAINER=	gasol.wu@gmail.com
+COMMENT=	Low-overhead tracing tool for PHP
+
+LICENSE=	APACHE20
+
+WRKSRC=		${WRKDIR}/${DISTNAME}/extension
+CMDTOOLSRC=	${WRKSRC}/../cmdtool
+
+GNU_CONFIGURE=	yes
+USES=		gmake shebangfix tar:tgz
+USE_PHP=	yes
+USE_PHP_BUILD=	yes
+USE_PHPEXT=	yes
+
+SHEBANG_FILES=	${CMDTOOLSRC}/phptrace
+PLIST_FILES=	bin/phptrace \
+		bin/trace-php
+
+post-patch:
+	${REINPLACE_CMD} -e 's|Darwin|FreeBSD|g' ${CMDTOOLSRC}/phptrace
+
+post-build:
+	(cd ${CMDTOOLSRC} && ${GMAKE} ${MAKE_ENV})
+
+post-install:
+	${INSTALL_PROGRAM} ${CMDTOOLSRC}/trace-php ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${CMDTOOLSRC}/phptrace ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>

Added: head/devel/pecl-trace/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pecl-trace/distinfo	Tue Jul 14 03:11:40 2015	(r391967)
@@ -0,0 +1,2 @@
+SHA256 (PECL/trace-0.3.0.tgz) = aa5f6a91a77ef11f4102b542847b32fce03ea7777081ebb86a812228526b38f7
+SIZE (PECL/trace-0.3.0.tgz) = 76354

Added: head/devel/pecl-trace/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pecl-trace/pkg-descr	Tue Jul 14 03:11:40 2015	(r391967)
@@ -0,0 +1,9 @@
+Trace is a low-overhead tracing tool for PHP.
+
+It can trace all PHP execution, function calls, request information during
+run-time. And provides features like Filter, Statistics, Current Status and
+so on.
+It is very useful to locate blocking, heavy-load problems and debug in all
+environments, especially in production environments.
+
+WWW: https://pecl.php.net/package/trace



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507140311.t6E3BeIN068498>