From owner-svn-ports-head@freebsd.org Wed Apr 6 14:07:57 2016 Return-Path: Delivered-To: svn-ports-head@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 64263B05ABE; Wed, 6 Apr 2016 14:07:57 +0000 (UTC) (envelope-from bofh@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 1BDEE162F; Wed, 6 Apr 2016 14:07:57 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u36E7uG4058609; Wed, 6 Apr 2016 14:07:56 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u36E7tHG058603; Wed, 6 Apr 2016 14:07:55 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201604061407.u36E7tHG058603@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Wed, 6 Apr 2016 14:07:55 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2016 14:07:57 -0000 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 + #endif + ++#if defined(__FreeBSD__) || defined(__DragonFly__) ++#include ++#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 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 + #endif + ++#if defined(__FreeBSD__) || defined(__DragonFly__) ++#include ++#endif ++ + #include "php_http_utf8.h" + + static inline char *localhostname(void)