diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2016-10-27 05:49:09 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2016-10-27 05:49:09 +0000 |
commit | 0602db1835f35f9e8c51b13bcbca9254f8974c44 (patch) | |
tree | d720e37f939e7ec51f3191db3bea0a027966b860 /ftp/php56-fastdfs | |
parent | devel/py-raven: update 5.13.0 -> 5.31.0 (diff) |
New ports: devel/libfastcommon, ftp/fastdfs, ftp/php(56|70)-fastdfs
FastDFS is an open source high performance distributed file system (DFS).
It's major functions include: file storing, file syncing and file accessing,
and design for high capacity and load balance.
WWW: https://github.com/happyfish100/fastdfs
PR: 213311
Submitted by: Daniel Ylitalo <daniel@blodan.se>
Notes
Notes:
svn path=/head/; revision=424743
Diffstat (limited to 'ftp/php56-fastdfs')
-rw-r--r-- | ftp/php56-fastdfs/Makefile | 28 | ||||
-rw-r--r-- | ftp/php56-fastdfs/distinfo | 3 | ||||
-rw-r--r-- | ftp/php56-fastdfs/files/patch-config.m4 | 11 | ||||
-rw-r--r-- | ftp/php56-fastdfs/pkg-descr | 3 | ||||
-rw-r--r-- | ftp/php56-fastdfs/pkg-message | 15 |
5 files changed, 60 insertions, 0 deletions
diff --git a/ftp/php56-fastdfs/Makefile b/ftp/php56-fastdfs/Makefile new file mode 100644 index 000000000000..36010f780e58 --- /dev/null +++ b/ftp/php56-fastdfs/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= php56-fastdfs +PORTVERSION= 5.0.8 +CATEGORIES= ftp + +MAINTAINER= daniel@blodan.se +COMMENT= PHP 5.6 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= 87659981148a362812912b6d4752d281ac05f0b6 + +USES= php:ext +IGNORE_WITH_PHP= 55 70 +PHP_DEFAULT= 5.6 + +WRKSRC_SUBDIR= php_client + +PHP_MODNAME= fastdfs_client + +.include <bsd.port.mk> diff --git a/ftp/php56-fastdfs/distinfo b/ftp/php56-fastdfs/distinfo new file mode 100644 index 000000000000..52c7d7a25b56 --- /dev/null +++ b/ftp/php56-fastdfs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1477046032 +SHA256 (happyfish100-fastdfs-5.0.8-87659981148a362812912b6d4752d281ac05f0b6_GH0.tar.gz) = c901415de55cad67fe31678091ce131ad4973bce19770f1a03b0be38ba02662d +SIZE (happyfish100-fastdfs-5.0.8-87659981148a362812912b6d4752d281ac05f0b6_GH0.tar.gz) = 335406 diff --git a/ftp/php56-fastdfs/files/patch-config.m4 b/ftp/php56-fastdfs/files/patch-config.m4 new file mode 100644 index 000000000000..2017cab49190 --- /dev/null +++ b/ftp/php56-fastdfs/files/patch-config.m4 @@ -0,0 +1,11 @@ +--- config.m4.orig 2016-08-08 07:17:50 UTC ++++ config.m4 +@@ -7,7 +7,7 @@ if test "$PHP_FASTDFS_CLIENT" != "no"; t + PHP_SUBST(FASTDFS_CLIENT_SHARED_LIBADD) + + if test -z "$ROOT"; then +- ROOT=/usr ++ ROOT=/usr/local + fi + + PHP_ADD_INCLUDE($ROOT/include/fastcommon) diff --git a/ftp/php56-fastdfs/pkg-descr b/ftp/php56-fastdfs/pkg-descr new file mode 100644 index 000000000000..d90caa5fc86a --- /dev/null +++ b/ftp/php56-fastdfs/pkg-descr @@ -0,0 +1,3 @@ +PHP module for accessing a FastDFS cluster + +WWW: https://github.com/happyfish100/fastdfs diff --git a/ftp/php56-fastdfs/pkg-message b/ftp/php56-fastdfs/pkg-message new file mode 100644 index 000000000000..993d158f9115 --- /dev/null +++ b/ftp/php56-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 |