From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 28 05:00:30 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88AEB1065670 for ; Thu, 28 Jun 2012 05:00:30 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6463B8FC12 for ; Thu, 28 Jun 2012 05:00:30 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5S50UEQ091160 for ; Thu, 28 Jun 2012 05:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5S50Uel091159; Thu, 28 Jun 2012 05:00:30 GMT (envelope-from gnats) Resent-Date: Thu, 28 Jun 2012 05:00:30 GMT Resent-Message-Id: <201206280500.q5S50Uel091159@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gasol Wu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49602106566C for ; Thu, 28 Jun 2012 04:55:54 +0000 (UTC) (envelope-from gasolwu@kkbox.com) Received: from kkbox.com (mail-out-2.kkbox.com [203.69.67.211]) by mx1.freebsd.org (Postfix) with ESMTP id D6BEC8FC0A for ; Thu, 28 Jun 2012 04:55:53 +0000 (UTC) Received: by goingmarry.kkbox.com (Postfix, from userid 1033) id A3433747040; Thu, 28 Jun 2012 12:55:52 +0800 (CST) Message-Id: <20120628045552.A3433747040@goingmarry.kkbox.com> Date: Thu, 28 Jun 2012 12:55:52 +0800 (CST) From: Gasol Wu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/169506: [NEW PORT] devel/pecl-inotify: The inotify extension allows to use inotify functions in a PHP script. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2012 05:00:30 -0000 >Number: 169506 >Category: ports >Synopsis: [NEW PORT] devel/pecl-inotify: The inotify extension allows to use inotify functions in a PHP script. >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: Thu Jun 28 05:00:30 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Gasol Wu >Release: FreeBSD 9.0-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD goingmarry 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 >Description: The inotify extension allows to use inotify functions in a PHP script. WWW: http://pecl.php.net/package/inotify Generated with FreeBSD Port Tools 0.99_6 (mode: new) >How-To-Repeat: >Fix: --- .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-inotify # pecl-inotify/pkg-descr # pecl-inotify/Makefile # pecl-inotify/distinfo # pecl-inotify/files # pecl-inotify/files/patch-config.m4 # echo c - pecl-inotify mkdir -p pecl-inotify > /dev/null 2>&1 echo x - pecl-inotify/pkg-descr sed 's/^X//' >pecl-inotify/pkg-descr << '3c00785ba4251b2714cfe092719cd802' XThe inotify extension allows to use inotify functions in a PHP script. X XWWW: http://pecl.php.net/package/inotify 3c00785ba4251b2714cfe092719cd802 echo x - pecl-inotify/Makefile sed 's/^X//' >pecl-inotify/Makefile << 'f39f6f9c69e29d48db96ce679d566ab0' X# New ports collection makefile for: pecl-inotify X# Date created: 2012-06-26 X# Whom: Gasol Wu X# X# $FreeBSD$ X# X XPORTNAME= inotify XPORTVERSION= 0.1.6 XCATEGORIES= devel XMASTER_SITES= http://pecl.php.net/get/ XPKGNAMEPREFIX= pecl- XEXTRACT_SUFX= .tgz XDIST_SUBDIR= PECL X XMAINTAINER= gasol.wu@gmail.com XCOMMENT= The inotify extension allows to use inotify functions in a PHP script. X XLICENSE= PHP301 X XLIB_DEPENDS= inotify:${PORTSDIR}/devel/libinotify XUSE_PHP= yes XUSE_PHP_BUILD= yes XUSE_PHPIZE= yes XUSE_PHPEXT= yes XIGNORE_WITH_PHP=4 X X.include f39f6f9c69e29d48db96ce679d566ab0 echo x - pecl-inotify/distinfo sed 's/^X//' >pecl-inotify/distinfo << '626c82b48618967770117e655757688f' XSHA256 (PECL/inotify-0.1.6.tgz) = 979f80a25d4eb0de282617ffc0df46f07346a8383f310b9b943e48992e5b494e XSIZE (PECL/inotify-0.1.6.tgz) = 8568 626c82b48618967770117e655757688f echo c - pecl-inotify/files mkdir -p pecl-inotify/files > /dev/null 2>&1 echo x - pecl-inotify/files/patch-config.m4 sed 's/^X//' >pecl-inotify/files/patch-config.m4 << '7baf8ab8a812282f20f2517cbfdfa8a7' X--- ./config.m4.orig 2012-05-04 17:51:20.000000000 +0800 X+++ ./config.m4 2012-06-27 12:05:19.620198000 +0800 X@@ -1,22 +1,52 @@ X dnl $Id: config.m4 262896 2008-07-17 19:11:16Z lbarnaud $ X dnl config.m4 for extension inotify X X-PHP_ARG_ENABLE(inotify, whether to enable inotify support, X-[ --enable-inotify Enable inotify support]) X+PHP_ARG_WITH(inotify, whether to enable inotify support, X+[ --with-inotify Enable inotify support]) X X if test "$PHP_INOTIFY" != "no"; then X+ SEARCH_PATH="/usr /usr/local" X+ SEARCH_FOR="/sys/inotify.h" X X- AC_TRY_RUN([ X- #include X- void testfunc(int (*passedfunc)()) { X- } X- int main() { X- testfunc(inotify_init); X- return 0; X- } X- ],[],[ X- AC_MSG_ERROR(Your system does not support inotify) X+ if test "$PHP_INOTIFY" = "yes"; then X+ AC_MSG_CHECKING([for libinotify headers in default path]) X+ for i in $SEARCH_PATH ; do X+ if test -r $i/include/$SEARCH_FOR; then X+ LIBINOTIFY_DIR=$i X+ AC_MSG_RESULT(found in $i) X+ fi X+ done X+ else X+ AC_MSG_CHECKING([for libinotify headers in $PHP_INOTIFY]) X+ if test -r $PHP_INOTIFY/$SEARCH_FOR; then X+ LIBINOTIFY_DIR=$PHP_INOTIFY X+ AC_MSG_RESULT([found]) X+ fi X+ fi X+ X+ if test -z "$LIBINOTIFY_DIR"; then X+ AC_MSG_RESULT([not found]) X+ AC_MSG_ERROR([Cannot find libevent headers]) X+ fi X+ X+ PHP_ADD_INCLUDE($LIBINOTIFY_DIR/include) X+ X+ LIBNAME=inotify X+ LIBSYMBOL=inotify_init X+ X+ if test "x$PHP_LIBDIR" = "x"; then X+ PHP_LIBDIR=lib X+ fi X+ X+ PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL, X+ [ X+ PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $LIBINOTIFY_DIR/$PHP_LIBDIR, LIBINOTIFY_SHARED_LIBADD) X+ ],[ X+ AC_MSG_ERROR([Your system does not support inotify]) X+ ],[ X+ -L$LIBINOTIFY_DIR/$PHP_LIBDIR X ]) X X+ PHP_SUBST(LIBINOTIFY_SHARED_LIBADD) X PHP_NEW_EXTENSION(inotify, inotify.c, $ext_shared) X fi 7baf8ab8a812282f20f2517cbfdfa8a7 exit --- .shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: