diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2018-03-08 19:48:41 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2018-03-08 19:48:41 +0000 |
commit | a1993564e04f29ecbaa05be740547c8677d423cd (patch) | |
tree | a942b9de6ec3ced252f123bf8a905b18d685aa72 /ftp/php-fastdfs | |
parent | net/pear-Net_Sieve: Update to 1.4.3 (diff) |
Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
PR: 226242
Submitted by: mat
Exp-run by: antoine
Approved by: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14208
Notes
Notes:
svn path=/head/; revision=463917
Diffstat (limited to 'ftp/php-fastdfs')
-rw-r--r-- | ftp/php-fastdfs/Makefile | 28 | ||||
-rw-r--r-- | ftp/php-fastdfs/distinfo | 3 | ||||
-rw-r--r-- | ftp/php-fastdfs/pkg-descr | 3 | ||||
-rw-r--r-- | ftp/php-fastdfs/pkg-message | 15 |
4 files changed, 49 insertions, 0 deletions
diff --git a/ftp/php-fastdfs/Makefile b/ftp/php-fastdfs/Makefile new file mode 100644 index 000000000000..82e6c1d7ed92 --- /dev/null +++ b/ftp/php-fastdfs/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= fastdfs +DISTVERSION= 5.0.11 +CATEGORIES= ftp +PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} + +MAINTAINER= daniel@blodan.se +COMMENT?= PHP module for accessing a FastDFS cluster + +LICENSE= GPLv3+ + +LIB_DEPENDS= libfastcommon.so:devel/libfastcommon \ + libfdfsclient.so:ftp/fastdfs + +USE_GITHUB= yes +GH_ACCOUNT= happyfish100 +GH_PROJECT= fastdfs +GH_TAGNAME= 1e50b4f + +USES= php:ext + +WRKSRC_SUBDIR= php_client +CONFIGURE_ENV= ROOT=${LOCALBASE} + +PHP_MODNAME= fastdfs_client + +.include <bsd.port.mk> diff --git a/ftp/php-fastdfs/distinfo b/ftp/php-fastdfs/distinfo new file mode 100644 index 000000000000..e6d441229a4b --- /dev/null +++ b/ftp/php-fastdfs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1502819567 +SHA256 (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 42ef67951c55fb416282cd20389dde5709016913debbb87465b9b744fa3dacf9 +SIZE (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 336996 diff --git a/ftp/php-fastdfs/pkg-descr b/ftp/php-fastdfs/pkg-descr new file mode 100644 index 000000000000..d90caa5fc86a --- /dev/null +++ b/ftp/php-fastdfs/pkg-descr @@ -0,0 +1,3 @@ +PHP module for accessing a FastDFS cluster + +WWW: https://github.com/happyfish100/fastdfs diff --git a/ftp/php-fastdfs/pkg-message b/ftp/php-fastdfs/pkg-message new file mode 100644 index 000000000000..993d158f9115 --- /dev/null +++ b/ftp/php-fastdfs/pkg-message @@ -0,0 +1,15 @@ +Before you can start using this module; +- Make sure you have configured client.conf to point to your FastDFS cluster + and that you see the cluster with fdfs_monitor +- Add this to your php.ini file +================================================================== +fastdfs_client.base_path = /var/tmp +fastdfs_client.connect_timeout = 2 +fastdfs_client.network_timeout = 60 +fastdfs_client.log_level = info +fastdfs_client.log_filename = +fastdfs_client.http.anti_steal_secret_key = +fastdfs_client.tracker_group_count = 1 +fastdfs_client.tracker_group0 = /usr/local/etc/fdfs/client.conf +fastdfs_client.use_connection_pool = false +fastdfs_client.connection_pool_max_idle_time = 3600 |