svn commit: r504466 - in head/devel/pecl-swoole: . files

Vanilla I. Shu vanilla at FreeBSD.org
Tue Jun 18 05:43:53 UTC 2019


Author: vanilla
Date: Tue Jun 18 05:43:51 2019
New Revision: 504466
URL: https://svnweb.freebsd.org/changeset/ports/504466

Log:
  Update to 4.3.5.

Added:
  head/devel/pecl-swoole/files/patch-src_server_static__handler.cc   (contents, props changed)
Modified:
  head/devel/pecl-swoole/Makefile
  head/devel/pecl-swoole/distinfo
  head/devel/pecl-swoole/files/patch-config.m4

Modified: head/devel/pecl-swoole/Makefile
==============================================================================
--- head/devel/pecl-swoole/Makefile	Tue Jun 18 02:33:01 2019	(r504465)
+++ head/devel/pecl-swoole/Makefile	Tue Jun 18 05:43:51 2019	(r504466)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	swoole
-PORTVERSION=	4.3.1
+PORTVERSION=	4.3.5
 CATEGORIES=	devel net
 
 MAINTAINER=	vanilla at FreeBSD.org

Modified: head/devel/pecl-swoole/distinfo
==============================================================================
--- head/devel/pecl-swoole/distinfo	Tue Jun 18 02:33:01 2019	(r504465)
+++ head/devel/pecl-swoole/distinfo	Tue Jun 18 05:43:51 2019	(r504466)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1554984024
-SHA256 (PECL/swoole-4.3.1.tgz) = 8078960cd654b1a4a72cd3b092e672455e28013d56670ccdd4f882281c6425dd
-SIZE (PECL/swoole-4.3.1.tgz) = 1311706
+TIMESTAMP = 1560827376
+SHA256 (PECL/swoole-4.3.5.tgz) = d9c640f6275403d9a871998643d79a7f3e8e51593591c1c08e53e93af189b075
+SIZE (PECL/swoole-4.3.5.tgz) = 1348319

Modified: head/devel/pecl-swoole/files/patch-config.m4
==============================================================================
--- head/devel/pecl-swoole/files/patch-config.m4	Tue Jun 18 02:33:01 2019	(r504465)
+++ head/devel/pecl-swoole/files/patch-config.m4	Tue Jun 18 05:43:51 2019	(r504466)
@@ -1,6 +1,6 @@
---- config.m4.orig	2019-02-02 14:04:33 UTC
+--- config.m4.orig	2019-06-14 08:30:12 UTC
 +++ config.m4
-@@ -227,7 +227,7 @@ if test "$PHP_SWOOLE" != "no"; then
+@@ -296,7 +296,7 @@ if test "$PHP_SWOOLE" != "no"; then
      AC_CHECK_LIB(c, poll, AC_DEFINE(HAVE_POLL, 1, [have poll]))
      AC_CHECK_LIB(c, sendfile, AC_DEFINE(HAVE_SENDFILE, 1, [have sendfile]))
      AC_CHECK_LIB(c, kqueue, AC_DEFINE(HAVE_KQUEUE, 1, [have kqueue]))

Added: head/devel/pecl-swoole/files/patch-src_server_static__handler.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pecl-swoole/files/patch-src_server_static__handler.cc	Tue Jun 18 05:43:51 2019	(r504466)
@@ -0,0 +1,11 @@
+--- src/server/static_handler.cc.orig	2019-06-18 03:17:11 UTC
++++ src/server/static_handler.cc
+@@ -168,7 +168,7 @@ int static_handler::send_response()
+         {
+             date_format = SW_HTTP_ASCTIME_DATE;
+         }
+-        if (date_format && mktime(&tm3) - (int) timezone >= file_mtime)
++        if (date_format && mktime(&tm3) - (long)timezone >= file_mtime)
+         {
+             response.info.len = sw_snprintf(header_buffer, sizeof(header_buffer), "HTTP/1.1 304 Not Modified\r\n"
+                     "%s"


More information about the svn-ports-all mailing list