Date: Thu, 24 Jul 2014 15:01:31 +0000 (UTC) From: Ashish SHUKLA <ashish@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362802 - in head/devel/phpsh: . files Message-ID: <201407241501.s6OF1Vut085721@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <gasol.wu at gmail.com> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407241501.s6OF1Vut085721>