<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3b4aaf7e10b3bfe9b0241022bad0c0cc4588b3d6">https://github.com/macports/macports-ports/commit/3b4aaf7e10b3bfe9b0241022bad0c0cc4588b3d6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3b4aaf7e10b3bfe9b0241022bad0c0cc4588b3d6
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Dec 29 11:06:16 2016 -0600

<span style='display:block; white-space:pre;color:#404040;'>    php: Livecheck all stable versions
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/53178
</span>---
 lang/php/Portfile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/php/Portfile b/lang/php/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 341f1e4..fbc066b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/php/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/php/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -138,6 +138,8 @@ switch ${subport_branch} {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set php.oldest_stable_branch 5.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Iterate through branches in reverse order, so that the list of subports in
 # "port info" will show newer versions before older versions.
 set i [llength ${php.branches}]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -347,9 +349,9 @@ subport ${php} {
</span>         default_variants +libedit
     }
     
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {[vercmp ${branch} 5.5] < 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[vercmp ${branch} ${php.oldest_stable_branch}] < 0} {
</span>         notes-append "
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PHP ${branch} has reached end-of-life. Please upgrade to PHP 5.5 or newer. The newest stable version is ${php.latest_stable_branch}.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PHP ${branch} has reached end-of-life. Please upgrade to PHP ${php.oldest_stable_branch} or newer. The newest stable version is ${php.latest_stable_branch}.
</span> 
 To learn how to update your code, please read the following guides:
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -395,7 +397,7 @@ ${phpinidir}/php.ini-recommended.
</span>     }
     
     # Enable livecheck for the two most recent stable PHP branches and the development branch.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {[vercmp ${branch} [lindex ${php.branches} end-2]] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[vercmp ${branch} ${php.oldest_stable_branch}] >= 0} {
</span>         livecheck.type      regex
         default livecheck.url   ${homepage}downloads.php
         default livecheck.regex {get/php-([strsed ${branch} {g/\\./\\./}](?:\\.\[0-9.\]+)*)\\.tar}
</pre><pre style='margin:0'>

</pre>