Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2016 14:07:55 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412620 - in head: . www www/files www/pecl-http2 www/pecl-http2/files
Message-ID:  <201604061407.u36E7tHG058603@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Wed Apr  6 14:07:55 2016
New Revision: 412620
URL: https://svnweb.freebsd.org/changeset/ports/412620

Log:
  [NEW] www/pecl-http2: Extended HTTP Support
  
  pecl-http extension aims to provide a convenient and powerful set of
  functionality for one of PHPs major applications. It eases handling of HTTP
  URLs, dates, redirects, headers and messages, provides means for negotiation
  of clients preferred language and charset, as well as a convenient way to
  send any arbitrary data with caching and resuming capabilities. It provides
  powerful request functionality too.
  
  WWW: http://pecl.php.net/package/pecl_http/
  
  This version is specific to php55 and php56. Repo Copied from www/pecl-http
  
  PR:		208259
  Submitted by:	madpilot

Added:
  head/www/files/
  head/www/files/patch-src_php__http__url.c   (contents, props changed)
  head/www/pecl-http2/
     - copied from r412619, head/www/pecl-http/
  head/www/pecl-http2/files/patch-src_php__http__url.c   (contents, props changed)
Deleted:
  head/www/pecl-http2/files/patch-php_http_url.c
Modified:
  head/UPDATING
  head/www/Makefile
  head/www/pecl-http2/Makefile
  head/www/pecl-http2/distinfo

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Wed Apr  6 13:53:09 2016	(r412619)
+++ head/UPDATING	Wed Apr  6 14:07:55 2016	(r412620)
@@ -5,6 +5,30 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20160406:
+  AFFECTS: All users of www/pecl-http
+  AUTHOR: bofh
+
+  www/pecl-http has been updated to the latest 3.x stable release, which 
+  supports php70+ and a new port www/pecl-http2 has been created for the
+  2.x branch.
+
+  Should users want to continue to use version 2.x, replace www/pecl-http with
+  www/pecl-http2 as follows:
+
+  Using packages:
+
+    # pkg delete pecl-http
+    # pkg install pecl-http2
+
+  Using ports:
+
+    # portupgrade -o www/pecl-http2 www/pecl-http
+
+  OR
+
+    # portmaster -o www/pecl-http2 www/pecl-http
+
 20160404:
   AFFECTS: users of lang/ruby21
   AUTHOR: swills@FreeBSD.org

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Wed Apr  6 13:53:09 2016	(r412619)
+++ head/www/Makefile	Wed Apr  6 14:07:55 2016	(r412620)
@@ -1431,6 +1431,7 @@
     SUBDIR += pecl-amfext
     SUBDIR += pecl-http
     SUBDIR += pecl-http1
+    SUBDIR += pecl-http2
     SUBDIR += pecl-solr
     SUBDIR += pecl-sphinx
     SUBDIR += pecl-swish

Added: head/www/files/patch-src_php__http__url.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/files/patch-src_php__http__url.c	Wed Apr  6 14:07:55 2016	(r412620)
@@ -0,0 +1,13 @@
+--- src/php_http_url.c.orig	2016-04-05 17:53:32 UTC
++++ src/php_http_url.c
+@@ -27,6 +27,10 @@
+ #	include <arpa/inet.h>
+ #endif
+ 
++#if defined(__FreeBSD__) || defined(__DragonFly__)
++#include <stddef.h>
++#endif
++
+ #include "php_http_utf8.h"
+ 
+ static inline char *localhostname(void)

Modified: head/www/pecl-http2/Makefile
==============================================================================
--- head/www/pecl-http/Makefile	Wed Apr  6 13:53:09 2016	(r412619)
+++ head/www/pecl-http2/Makefile	Wed Apr  6 14:07:55 2016	(r412620)
@@ -2,10 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	http
-PORTVERSION=	2.5.3
+PORTVERSION=	2.5.6
 CATEGORIES=	www
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
+PKGNAMESUFFIX=	2
 DISTNAME=	pecl_${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -22,9 +23,10 @@ RUN_DEPENDS=	${LOCALBASE}/lib/php/${PHP_
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libevent.so:devel/libevent2
 
+IGNORE_WITH_PHP=70
 USES=		tar:tgz
 USE_PHP=	yes
 USE_PHPEXT=	yes
-CONFLICTS=	pecl-http1*
+CONFLICTS=	pecl-http1* pecl-http-*
 
 .include <bsd.port.mk>

Modified: head/www/pecl-http2/distinfo
==============================================================================
--- head/www/pecl-http/distinfo	Wed Apr  6 13:53:09 2016	(r412619)
+++ head/www/pecl-http2/distinfo	Wed Apr  6 14:07:55 2016	(r412620)
@@ -1,2 +1,2 @@
-SHA256 (pecl_http-2.5.3.tgz) = 713790881f0308fceff0177340cb8b1ab3f7cb1c2b7906e06146399c7fdc6094
-SIZE (pecl_http-2.5.3.tgz) = 191863
+SHA256 (pecl_http-2.5.6.tgz) = 8435eb9082b8fdc56b630e3d3d8e63617a3bc43d360f6f49fbd7b1856b266be4
+SIZE (pecl_http-2.5.6.tgz) = 200469

Added: head/www/pecl-http2/files/patch-src_php__http__url.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/pecl-http2/files/patch-src_php__http__url.c	Wed Apr  6 14:07:55 2016	(r412620)
@@ -0,0 +1,13 @@
+--- src/php_http_url.c.orig	2016-04-05 17:53:32 UTC
++++ src/php_http_url.c
+@@ -27,6 +27,10 @@
+ #	include <arpa/inet.h>
+ #endif
+ 
++#if defined(__FreeBSD__) || defined(__DragonFly__)
++#include <stddef.h>
++#endif
++
+ #include "php_http_utf8.h"
+ 
+ static inline char *localhostname(void)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604061407.u36E7tHG058603>