From owner-svn-ports-head@FreeBSD.ORG Thu Jul 24 15:01:31 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ECAD043E; Thu, 24 Jul 2014 15:01:31 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C06672909; Thu, 24 Jul 2014 15:01:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6OF1VWC085724; Thu, 24 Jul 2014 15:01:31 GMT (envelope-from ashish@svn.freebsd.org) Received: (from ashish@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6OF1Vut085721; Thu, 24 Jul 2014 15:01:31 GMT (envelope-from ashish@svn.freebsd.org) Message-Id: <201407241501.s6OF1Vut085721@svn.freebsd.org> From: Ashish SHUKLA Date: Thu, 24 Jul 2014 15:01:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362802 - in head/devel/phpsh: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2014 15:01:32 -0000 Author: ashish Date: Thu Jul 24 15:01:30 2014 New Revision: 362802 URL: http://svnweb.freebsd.org/changeset/ports/362802 QAT: https://qat.redports.org/buildarchive/r362802/ Log: - Fix bug when subprocess exits with return code 0 - Fix WWW line in pkg-descr - Add LICENSE information - Fix portlint issues PR: 191736 Submitted by: Gasol Wu Added: head/devel/phpsh/files/patch-src____init__.py (contents, props changed) Modified: head/devel/phpsh/Makefile head/devel/phpsh/pkg-descr Modified: head/devel/phpsh/Makefile ============================================================================== --- head/devel/phpsh/Makefile Thu Jul 24 14:53:06 2014 (r362801) +++ head/devel/phpsh/Makefile Thu Jul 24 15:01:30 2014 (r362802) @@ -3,7 +3,7 @@ PORTNAME= phpsh PORTVERSION= 20110513 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://distfiles.pirateparty.in/%SUBDIR%/ \ ${MASTER_SITE_LOCAL} @@ -12,6 +12,9 @@ MASTER_SITE_SUBDIR= ashish MAINTAINER= ashish@FreeBSD.org COMMENT= Interactive shell for PHP +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + USE_BZIP2= yes USE_PYTHON= yes USE_PYDISTUTILS= yes @@ -24,7 +27,6 @@ PLIST_SUB= PORTNAME=${PORTNAME} PYDISTUTILS_PKGVERSION= 1.3 - OPTIONS_DEFINE= PCNTL PCNTL_DESC= Fork on every command (pcntl PHP extension) Added: head/devel/phpsh/files/patch-src____init__.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/phpsh/files/patch-src____init__.py Thu Jul 24 15:01:30 2014 (r362802) @@ -0,0 +1,11 @@ +--- ./src/__init__.py.orig 2014-07-08 19:24:25.000000000 +0800 ++++ ./src/__init__.py 2014-07-08 19:24:45.000000000 +0800 +@@ -758,7 +758,7 @@ + ret_code = self.p.poll() + if debug: + print "ret_code: " + str(ret_code) +- if ret_code != None: ++ if ret_code not in (None, 0): + if debug: + print "NOOOOO" + print "subprocess died with return code: " + repr(ret_code) Modified: head/devel/phpsh/pkg-descr ============================================================================== --- head/devel/phpsh/pkg-descr Thu Jul 24 14:53:06 2014 (r362801) +++ head/devel/phpsh/pkg-descr Thu Jul 24 15:01:30 2014 (r362802) @@ -4,4 +4,4 @@ was developed at Facebook and ironically in python. It is open source and released under a modified BSD license. -WWW: http://phpsh.org/ +WWW: http://phpsh.org/