svn commit: r429244 - in head/devel: . pecl-request
Vanilla I. Shu
vanilla at FreeBSD.org
Fri Dec 23 10:50:59 UTC 2016
Author: vanilla
Date: Fri Dec 23 10:50:57 2016
New Revision: 429244
URL: https://svnweb.freebsd.org/changeset/ports/429244
Log:
Add pecl-request 1.0.0b1, provides server-side request and response
objects for PHP 7.
PR: 215436
Submitted by: Gasol Wu <gasol.wu at gmail.com>
Added:
head/devel/pecl-request/
head/devel/pecl-request/Makefile (contents, props changed)
head/devel/pecl-request/distinfo (contents, props changed)
head/devel/pecl-request/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Fri Dec 23 10:49:08 2016 (r429243)
+++ head/devel/Makefile Fri Dec 23 10:50:57 2016 (r429244)
@@ -3854,6 +3854,7 @@
SUBDIR += pecl-qb
SUBDIR += pecl-raphf
SUBDIR += pecl-raphf2
+ SUBDIR += pecl-request
SUBDIR += pecl-runkit
SUBDIR += pecl-scream
SUBDIR += pecl-spl_types
Added: head/devel/pecl-request/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pecl-request/Makefile Fri Dec 23 10:50:57 2016 (r429244)
@@ -0,0 +1,20 @@
+# Created by: Gasol Wu <gasol.wu at gmail.com>
+# $FreeBSD$
+
+PORTNAME= request
+PORTVERSION= 1.0.0b1
+CATEGORIES= devel
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+DIST_SUBDIR= PECL
+
+MAINTAINER= gasol.wu at gmail.com
+COMMENT= Provides server-side request and response objects for PHP 7
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+USES= php:ext tar:tgz
+IGNORE_WITH_PHP= 56
+
+.include <bsd.port.mk>
Added: head/devel/pecl-request/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pecl-request/distinfo Fri Dec 23 10:50:57 2016 (r429244)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1482201871
+SHA256 (PECL/request-1.0.0b1.tgz) = 04e1a5401a3ccab2e03cde742ffb209b4b2c552edceb0c1e8eebbf642373e5b7
+SIZE (PECL/request-1.0.0b1.tgz) = 34666
Added: head/devel/pecl-request/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pecl-request/pkg-descr Fri Dec 23 10:50:57 2016 (r429244)
@@ -0,0 +1,21 @@
+This extension provides server-side request and response objects for PHP 7.
+These are *not* HTTP message objects proper. They are more like wrappers
+for existing global PHP variables and functions, with some limited
+additional convenience functionality.
+
+This extension defines two classes in the global namespace:
+
+- ServerRequest, composed of read-only copies of PHP superglobals and some
+ other commonly-used values, with methods for adding application-specific
+ request information in immutable fashion.
+
+- ServerResponse, essentially a wrapper around (and buffer for) response-
+ related PHP functions, with some additional convenience methods, and self-
+ sending capability.
+
+Documentation: https://gitlab.com/pmjones/ext-request
+
+A PHP 5 userland implementation that tracks this extension is available at
+https://packagist.org/packages/pmjones/request .
+
+WWW: https://pecl.php.net/package/request
More information about the svn-ports-all
mailing list