[PHP-WEBMASTER] com web/php: Bump 5.5's EOL date to reflect tomorrow's release.: include/branches.inc

2016-07-20 Thread Adam Harvey
Commit:f02b126d48495cb63050c7424e20970c178386f4
Author:Adam Harvey  Wed, 20 Jul 2016 17:52:50 -0700
Parents:   af8cc32607c926577a2809cff318d3104e85c1cc
Branches:  master

Link:   
http://git.php.net/?p=web/php.git;a=commitdiff;h=f02b126d48495cb63050c7424e20970c178386f4

Log:
Bump 5.5's EOL date to reflect tomorrow's release.

Changed paths:
  M  include/branches.inc


Diff:
diff --git a/include/branches.inc b/include/branches.inc
index 424c899..dce3eb0 100644
--- a/include/branches.inc
+++ b/include/branches.inc
@@ -20,7 +20,7 @@ $BRANCHES = array(
),
'5.5' => array(
'stable'   => '2015-07-10',
-   'security' => '2016-07-10',
+   'security' => '2016-07-21',
),
'5.6' => array(
'stable'   => '2016-12-31',


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-WEBMASTER] com web/php: Remove the "eol" hackery that I added a couple of years ago.: eol.php include/branches.inc include/version.inc

2016-07-20 Thread Adam Harvey
Commit:695ec0732d777515dddf2788fd0569fd370f0725
Author:Adam Harvey  Wed, 20 Jul 2016 19:20:58 -0700
Parents:   f02b126d48495cb63050c7424e20970c178386f4
Branches:  master

Link:   
http://git.php.net/?p=web/php.git;a=commitdiff;h=695ec0732d777515dddf2788fd0569fd370f0725

Log:
Remove the "eol" hackery that I added a couple of years ago.

For "modern" PHP branches (5.3 onwards), we'll base whether they're considered
active purely off the support dates for the branch. To ensure that we don't
immediately remove the download links for EOL branches from the front page,
we'll still consider them "active" for those purposes for 28 days after the
final release.

Basically, rather than having two sources of truth for whether a branch is EOL
or not (the flag and the support dates in branches.inc), we now have one (the
support dates). This should be an improvement.

Changed paths:
  M  eol.php
  M  include/branches.inc
  M  include/version.inc


Diff:
diff --git a/eol.php b/eol.php
index 84f05ea..d3446f9 100644
--- a/eol.php
+++ b/eol.php
@@ -40,11 +40,12 @@ site_header('Unsupported Branches');

 $branches): ?>
 $detail): ?>
-   
+   
+   



-   
+   format('j M Y') ?>



diff --git a/include/branches.inc b/include/branches.inc
index dce3eb0..c548726 100644
--- a/include/branches.inc
+++ b/include/branches.inc
@@ -10,6 +10,12 @@ include_once $_SERVER['DOCUMENT_ROOT'] . 
'/include/version.inc';
  *- security: the end of security support (usually release + 3 years).
  */
 $BRANCHES = array(
+   /* 3.0 is here because version_compare() can't handle the only version 
in
+* $OLDRELEASES, and it saves another special case in
+* get_branch_security_eol_date(). */
+   '3.0' => array(
+   'security' => '2000-10-20',
+   ),
'5.3' => array(
'stable'   => '2013-07-11',
'security' => '2014-08-14',
@@ -28,6 +34,11 @@ $BRANCHES = array(
),
 );
 
+/* Time to keep EOLed branches in the array returned by get_active_branches(),
+ * which is used on the front page download links and the supported versions
+ * page. (Currently 28 days.) */
+$KEEP_EOL = new DateInterval('P28D');
+
 function format_interval($from, $to) {
try {
$from_obj = $from instanceof DateTime ? $from : new 
DateTime($from);
@@ -113,11 +124,12 @@ function get_all_branches() {
 
 function get_active_branches() {
$branches = array();
+   $now = new DateTime;
 
foreach ($GLOBALS['RELEASES'] as $major => $releases) {
foreach ($releases as $version => $release) {
if ($branch = version_number_to_branch($version)) {
-   if (empty($release['eol'])) {
+   if ($now < 
get_branch_security_eol_date($branch)->add($GLOBALS['KEEP_EOL'])) {
$branches[$major][$branch] = $release;
$branches[$major][$branch]['version'] = 
$version;
}
@@ -136,6 +148,7 @@ function get_active_branches() {
 function get_eol_branches($always_include = null) {
$always_include = $always_include ? $always_include : array();
$branches = array();
+   $now = new DateTime;
 
// Gather the last release on each branch into a convenient array.
foreach ($GLOBALS['OLDRELEASES'] as $major => $releases) {
@@ -157,7 +170,7 @@ function get_eol_branches($always_include = null) {
foreach ($GLOBALS['RELEASES'] as $major => $releases) {
foreach ($releases as $version => $release) {
if ($branch = version_number_to_branch($version)) {
-   if (empty($release['eol'])) {
+   if ($now < 
get_branch_security_eol_date($branch)) {
/* This branch isn't EOL: remove it 
from our array. */
if (isset($branches[$major][$branch])) {

unset($branches[$major][$branch]);
@@ -226,6 +239,37 @@ function get_initial_release($branch) {
return null;
 }
 
+function get_final_release($branch) {
+   $branch = version_number_to_branch($branch);
+   if (!$branch) {
+   return null;
+   }
+   $major = substr($branch, 0, strpos($branch, '.'));
+
+   $last = "$branch.0";

[PHP-WEBMASTER] com web/php-distributions: 5.6.24: php-5.6.24.tar.bz2 php-5.6.24.tar.bz2.asc php-5.6.24.tar.gz php-5.6.24.tar.gz.asc php-5.6.24.tar.xz php-5.6.24.tar.xz.asc

2016-07-20 Thread Ferenc Kovacs
Commit:5eb025e5d557131530d6af5c1d1b3ffc834d4f59
Author:kovacs.ferenc  Thu, 21 Jul 2016 
03:08:47 +0200
Parents:   8bd5435a94120f510b259a4a2182a3a1a5d1b52d
Branches:  master

Link:   
http://git.php.net/?p=web/php-distributions.git;a=commitdiff;h=5eb025e5d557131530d6af5c1d1b3ffc834d4f59

Log:
5.6.24

Changed paths:
  A  php-5.6.24.tar.bz2
  A  php-5.6.24.tar.bz2.asc
  A  php-5.6.24.tar.gz
  A  php-5.6.24.tar.gz.asc
  A  php-5.6.24.tar.xz
  A  php-5.6.24.tar.xz.asc


Diff:
diff --git a/php-5.6.24.tar.bz2 b/php-5.6.24.tar.bz2
new file mode 100644
index 000..799f2fd
Binary files /dev/null and b/php-5.6.24.tar.bz2 differ
diff --git a/php-5.6.24.tar.bz2.asc b/php-5.6.24.tar.bz2.asc
new file mode 100644
index 000..b109f64
--- /dev/null
+++ b/php-5.6.24.tar.bz2.asc
@@ -0,0 +1,11 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v1
+
+iQEcBAABAgAGBQJXkCAnAAoJEMK/C8Qzz8izPDoIAO0i4rnokMspfh1/rifkO91d
+fBAThS+PvPFsQphVMxskY65bQnrVmkDTzghvWNsSMbeoFXLE66Sw0xU11dn5z+t6
+If2pgtywyJvjH5uNQE8xDfUHgpeNVLqtnSKMsxOmg4iOK6CZq7TsFAxIzmuH1tEX
+Fc6JMnLrYCBMc1LGpVEqWZJTw1tXZqicsLW1WF1CHs7QzYCMvRswFM9vTdwjSWOy
+ATNcFWa0avwyTji+nloNLOPQh1VRGynzM8jLSkOysLjHXwbwxrqaBVqyRdhj6Foh
+T0CcZU2GhX4hJtJnJLoipRcRT/Gl3TFYUa4zyNlu9bd5bdIheci3WPh/ioF4HrI=
+=Bs66
+-END PGP SIGNATURE-
diff --git a/php-5.6.24.tar.gz b/php-5.6.24.tar.gz
new file mode 100644
index 000..aaf1305
Binary files /dev/null and b/php-5.6.24.tar.gz differ
diff --git a/php-5.6.24.tar.gz.asc b/php-5.6.24.tar.gz.asc
new file mode 100644
index 000..c627d7f
--- /dev/null
+++ b/php-5.6.24.tar.gz.asc
@@ -0,0 +1,11 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v1
+
+iQEcBAABAgAGBQJXkCAyAAoJEMK/C8Qzz8izwvMH/iIjkHLbDou0FgtLnnUFS2+p
+ik/4uyyQ7bf9zVbcBy4LgRd/9qWBANt7aHVL4G1ITm3Y6Lfs2yop4aTdQkGm7bDE
+ArulBQX4un9xOSq77S7FSfz1Cg7V18swbWZzs2ECY6bziMzCcwR5cFp3ikEUYwva
+o7zFRoe2UmlGdddtwCxgC0vhejxKF7AoBTXXYC3pSrT7znnfE5oa083yGBPQ7fUR
+Hg+lh1k+jsnW/msvG6kFvlGF6BW/3xDEH0+wFj7Qin4VzDfdEqGl4y84yF34CUks
+5dNk7JCbrJf30H+2xBzuWYBq8UZtVyyCPENaMnFFYYO+rGuU8YWsRUI9kv8062E=
+=O96R
+-END PGP SIGNATURE-
diff --git a/php-5.6.24.tar.xz b/php-5.6.24.tar.xz
new file mode 100644
index 000..ff39b08
Binary files /dev/null and b/php-5.6.24.tar.xz differ
diff --git a/php-5.6.24.tar.xz.asc b/php-5.6.24.tar.xz.asc
new file mode 100644
index 000..e33d7a6
--- /dev/null
+++ b/php-5.6.24.tar.xz.asc
@@ -0,0 +1,11 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v1
+
+iQEcBAABAgAGBQJXkCA5AAoJEMK/C8Qzz8izPlkH/jV4dd6tlE+hEHL90YbPlXMT
+7BLgC3Bcc64AqPEIBejCzNN6HJjoqitDrPAHZWKSu8k4RP6Itigv+ZPlOyJ2Gjek
+jCuO63ErW/kgz8rKeH6wHYX4Z2EVZqTmSE7eNGRKV+DtzW8KXAaOqiqXznEHqsc7
+Hj8IAgYDIE4oYoCchHBGsO1TB9oCOIDAZ3ogFED6SQLnnrzqpXhiWmaWaeCOB8Ay
+oSFW4+FYEmfaDuE8a7BgNFySPBqCFQ0JYuvNilRVUwrKkE9UKPiJHLrA7GWwH9W1
+Dvs1KRyY/NA1v1tXPn7CpxMSs/rCq7VbA1XjsHeul+AI3gpZRuQI04GrSXy54GU=
+=Cu4K
+-END PGP SIGNATURE-


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-WEBMASTER] com web/php: update 7.0.9 info: distributions

2016-07-20 Thread Anatol Belski
Commit:af8cc32607c926577a2809cff318d3104e85c1cc
Author:Anatol Belski  Wed, 20 Jul 2016 15:41:36 +0200
Parents:   9f424c1c53fb4bf60fcfc592580b3d0da68caa7b
Branches:  master

Link:   
http://git.php.net/?p=web/php.git;a=commitdiff;h=af8cc32607c926577a2809cff318d3104e85c1cc

Log:
update 7.0.9 info

Changed paths:
  M  distributions


Diff:
diff --git a/distributions b/distributions
index 9c69497..8bd5435 16
--- a/distributions
+++ b/distributions
@@ -1 +1 @@
-Subproject commit 9c694970854d791b95be1b33e9159742c686523b
+Subproject commit 8bd5435a94120f510b259a4a2182a3a1a5d1b52d


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-WEBMASTER] com web/php-distributions: reupload 7.0.9: php-7.0.9.tar.bz2 php-7.0.9.tar.bz2.asc php-7.0.9.tar.gz php-7.0.9.tar.gz.asc php-7.0.9.tar.xz php-7.0.9.tar.xz.asc

2016-07-20 Thread Anatol Belski
Commit:8bd5435a94120f510b259a4a2182a3a1a5d1b52d
Author:Anatol Belski  Wed, 20 Jul 2016 15:28:51 +0200
Parents:   9c694970854d791b95be1b33e9159742c686523b
Branches:  master

Link:   
http://git.php.net/?p=web/php-distributions.git;a=commitdiff;h=8bd5435a94120f510b259a4a2182a3a1a5d1b52d

Log:
reupload 7.0.9

Changed paths:
  M  php-7.0.9.tar.bz2
  M  php-7.0.9.tar.bz2.asc
  M  php-7.0.9.tar.gz
  M  php-7.0.9.tar.gz.asc
  M  php-7.0.9.tar.xz
  M  php-7.0.9.tar.xz.asc


Diff:
diff --git a/php-7.0.9.tar.bz2 b/php-7.0.9.tar.bz2
index 29c0378..b2a8326 100644
Binary files a/php-7.0.9.tar.bz2 and b/php-7.0.9.tar.bz2 differ
diff --git a/php-7.0.9.tar.bz2.asc b/php-7.0.9.tar.bz2.asc
index 8a3f684..5a40e5f 100644
--- a/php-7.0.9.tar.bz2.asc
+++ b/php-7.0.9.tar.bz2.asc
@@ -1,11 +1,11 @@
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1
 
-iQEcBAABAgAGBQJXjoghAAoJELyqMOqcDVdjY8oH/AmCIuut88NkIpsyIXHLyIfz
-ikN8QtwHO4Num8vw8xAuCGr7R3UFTkCvoQaw++cS9fo9wZUq761f0CDaCRfMzfIw
-7OjRalMZpK+rvLh2zLgIiGp2mgmfPq1xOm0mxPz80Id7pnXUQIydi3OJaJ/iDamw
-bx0oJBbqPaamGoRwo3VYn6g5HXOpLjqSePlx6OJa/yQ7wZaitdLantQdLOt05ZrD
-FtqQXIx1YKfwVpfw9MfgoCB1IGxZyxGaS323VqKxm/226Q5L8+ZvY3a5puui+V77
-lFMUQyVQhf+nnt/RZqqqjkrCzPMvZONozEZS7DD8ZAYeembj19ZYn0xJZlzDkFs=
-=pAzq
+iQEcBAABAgAGBQJXj3rxAAoJELyqMOqcDVdjQj0IALv/H/ScofqRj7DVGCv2xZ2K
+AVwdR6rm+Etc6YiKVTdXOCeLBCwzDEMPRCgIjtvdyjc69s1orHKMqAJoLoG10/6v
+5ushyE0BdRaGYdyxcHntXb0IMDtXLgvz25jv1DukSStQT83DB8SmB+YOQgzcPkjz
+kolHQO0Fubb3v1F6PdXebat8/Vsd4YdjUSueTK6LuJo06EvH/Xac/SQtbM6GO1Of
+RfLwu14TT8KwHv1ABXk2uLCIxYEWf6DyNZZAQ+QNFKx4r2VxHZ0YwfAoYlpExc0r
+qLqF+M0dftUpItExR4sliZZs0EeMBGzWnF4kgOLG9es/iMVhpQSlIvjKVmJXNvc=
+=ET72
 -END PGP SIGNATURE-
diff --git a/php-7.0.9.tar.gz b/php-7.0.9.tar.gz
index 165d5ea..e107da5 100644
Binary files a/php-7.0.9.tar.gz and b/php-7.0.9.tar.gz differ
diff --git a/php-7.0.9.tar.gz.asc b/php-7.0.9.tar.gz.asc
index b641293..ac3c789 100644
--- a/php-7.0.9.tar.gz.asc
+++ b/php-7.0.9.tar.gz.asc
@@ -1,11 +1,11 @@
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1
 
-iQEcBAABAgAGBQJXjogkAAoJELyqMOqcDVdjp0UIAJZeJgKdfGVkIrIFkmVQkH3W
-/sZvjWswkmswxx2l7rcXSNQCXFzaLkwupctzqhKKx5UeAad9v0N5/MAq7G9gei7L
-wLyYfnomvONsU8z9KOPqMYshksq2Um05LGH1crrHBRNEYjPcTiPzb5GcRs9okSs8
-Z6pPvgi9A+tAROmViz2ClY3TH52A2inekiSsbVnpsLYJJSztTdGRQFUN4VW1gUgU
-VtRILDqzdcIfojN+NSYiTpex+h7vEoqXr5PJWQz68JXXPRE2Bape9BfXMTqQRbcX
-R70oC8S+901+8zJpFa3X3euft1VKljHW1w0ODF7aVd1B35ItYgBxr3d+39VVZ2w=
-=eTBN
+iQEcBAABAgAGBQJXj3r0AAoJELyqMOqcDVdjfjgIAK/84NuHXVH8I9OQe4wxm+Rj
+eDHBhU4kANvxEOGAD+e+JWy/uKnDVflwMDaoNOx6U6SyLSMWlxHYsmF1rMrJ4C06
+46JbBJ5s5mYuJyWKOjB0cJa+QCF0wsJwvHSNvLEYXpNu0fzYJqkvIcB/jNroOSag
+Hg/DbmlFV0UbJb5fpn6jf6lX8bqNzdeXb5MiM6JuDyb0afeC340zzpLj5chDrWLH
+fvyWeI6FPD4Tt9Ad6wDSJffm1OI5GM1GtAnvra8r9R4+DZ+vQsa92NEiTp1/Y8e5
+AsTlk/JQWMi6bIHTcecRn6LYH2sq2YOLKvvztaAlWL7XhrxCNA0UhxLpw4rWEk4=
+=lSGp
 -END PGP SIGNATURE-
diff --git a/php-7.0.9.tar.xz b/php-7.0.9.tar.xz
index c439fca..8b1028d 100644
Binary files a/php-7.0.9.tar.xz and b/php-7.0.9.tar.xz differ
diff --git a/php-7.0.9.tar.xz.asc b/php-7.0.9.tar.xz.asc
index ba03b26..87c0312 100644
--- a/php-7.0.9.tar.xz.asc
+++ b/php-7.0.9.tar.xz.asc
@@ -1,11 +1,11 @@
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1
 
-iQEcBAABAgAGBQJXjognAAoJELyqMOqcDVdj3WcH+wc7wpfsfVeW1DOUN419/IMh
-BTeoaIkqScKRZoLO8EyhmaTYESvGXUq5YDb7fxWhn60+cpGlmViK4UzBGDxEleTy
-nZnTGQbl8pbSeIx870LMlFG+KCpafR0A3yZKRH/z3NrFsEI5OIgmS+oqiJAlfU6z
-o2bjCug/OWOpvkMvG6KK9i+Y2s3ejGbAI5t/jNQY3wN4XaOhJvMQNgd2NymLUC1n
-z03AiYtRZyq3xUsluTwQpWha+2rr5SoELx2vWfXwWDpuqdZ/3Q2XAvm70+iXRS5A
-PNz8AO7wA4DL3atkLQGpsO80urOkZWtyVeujuzbOtDerg4Td9lAEsQ2r/hAX/CY=
-=VfqR
+iQEcBAABAgAGBQJXj3r2AAoJELyqMOqcDVdjKdIH/1piGjXp+1uLy9cYyN1jXoO9
+Zx6V2DL43Xv4uf1ZgdXeQVQ3Bk+GgTxfpY2nngh+ErH6YqqZLeiAe+P4Ud3xotvA
+u60gWm/pk6WbA1yeTGuC43Q+SOBDIlLoGfrosOvW73d2wOLP+G5e0MxkCl0lBO1g
+iOJ9SmHlnttNmVCd/qlmx6OX6ReGDs+WQUxNWkZQeXp3zgM7+kXGm13TUw3RQcfF
+fPw+B0gzN0cU969SPvMkMcrAswRNr3kAcxsitCaIFxQrNML31rTdU3Sjb5Fymb/o
+8RNysugphMGZUheEp50NG/p2vHWPWaDlDgpJ65jxxMJVB5n8PpCHaJXincfeo80=
+=B3u3
 -END PGP SIGNATURE-


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php