From owner-svn-ports-branches@freebsd.org Tue May 3 03:17:17 2016 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50287B2B80D; Tue, 3 May 2016 03:17:17 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 14795144D; Tue, 3 May 2016 03:17:17 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u433HGgp057329; Tue, 3 May 2016 03:17:16 GMT (envelope-from junovitch@FreeBSD.org) Received: (from junovitch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u433HGSw057326; Tue, 3 May 2016 03:17:16 GMT (envelope-from junovitch@FreeBSD.org) Message-Id: <201605030317.u433HGSw057326@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: junovitch set sender to junovitch@FreeBSD.org using -f From: Jason Unovitch Date: Tue, 3 May 2016 03:17:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r414514 - in branches/2016Q2/lang/php70: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2016 03:17:17 -0000 Author: junovitch Date: Tue May 3 03:17:15 2016 New Revision: 414514 URL: https://svnweb.freebsd.org/changeset/ports/414514 Log: MFH: r412802 r412806 r413401 r414509 Add configtest support for php-fpm rc script. PR: 208325 Submitted by: ganbold Approved by: miwi Sponsored by: A-Team Systems Bump PORTREVISION. Suggested by: mat - Restore ?= which was removed in r412806 Approved by: portmgr (blanket) lang/php70: update 7.0.5 -> 7.0.6 Changelog: http://www.php.net/ChangeLog-7.php#7.0.6 Security: CVE-2016-3074 Security: https://vuxml.FreeBSD.org/freebsd/5764c634-10d2-11e6-94fa-002590263bf5.html Approved by: ports-secteam (with hat) Modified: branches/2016Q2/lang/php70/Makefile branches/2016Q2/lang/php70/distinfo branches/2016Q2/lang/php70/files/php-fpm.in Directory Properties: branches/2016Q2/ (props changed) Modified: branches/2016Q2/lang/php70/Makefile ============================================================================== --- branches/2016Q2/lang/php70/Makefile Tue May 3 03:15:24 2016 (r414513) +++ branches/2016Q2/lang/php70/Makefile Tue May 3 03:17:15 2016 (r414514) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= php70 -PORTVERSION= 7.0.5 +PORTVERSION= 7.0.6 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions Modified: branches/2016Q2/lang/php70/distinfo ============================================================================== --- branches/2016Q2/lang/php70/distinfo Tue May 3 03:15:24 2016 (r414513) +++ branches/2016Q2/lang/php70/distinfo Tue May 3 03:17:15 2016 (r414514) @@ -1,2 +1,2 @@ -SHA256 (php-7.0.5.tar.bz2) = 2c09af7fe64537ea795f098b9b542ead407ef83f7cdc65b3787115ccbbb51de9 -SIZE (php-7.0.5.tar.bz2) = 14086522 +SHA256 (php-7.0.6.tar.bz2) = 14ddf192a9965c858c1e742a61456be2f34a4db87556172c0d76f08de96329b7 +SIZE (php-7.0.6.tar.bz2) = 14102594 Modified: branches/2016Q2/lang/php70/files/php-fpm.in ============================================================================== --- branches/2016Q2/lang/php70/files/php-fpm.in Tue May 3 03:15:24 2016 (r414513) +++ branches/2016Q2/lang/php70/files/php-fpm.in Tue May 3 03:17:15 2016 (r414514) @@ -17,11 +17,16 @@ name="php_fpm" rcvar=php_fpm_enable +start_precmd="php_fpm_checkconfig" +restart_precmd="php_fpm_checkconfig" +reload_precmd="php_fpm_checkconfig" +configtest_cmd="php_fpm_checkconfig" + load_rc_config "$name" : ${php_fpm_enable="NO"} -extra_commands="reload logrotate" +extra_commands="reload configtest logrotate" command="%%PREFIX%%/sbin/php-fpm" pidfile="/var/run/php-fpm.pid" @@ -40,4 +45,10 @@ php_fpm_logrotate() { kill -USR1 $rc_pid } +php_fpm_checkconfig() +{ + echo "Performing sanity check on php-fpm configuration:" + eval ${command} -t +} + run_rc_command "$1"