forked from Lainports/freebsd-ports
Add php71-fastdfs 5.0.8 (copied from php70-fastdfs)
PR: 216494 Submitted by: Daniel Ylitalo <daniel@blodan.se>
This commit is contained in:
parent
ceeb325af4
commit
2e247cfda0
6 changed files with 62 additions and 0 deletions
|
|
@ -69,6 +69,7 @@
|
|||
SUBDIR += php70-fastdfs
|
||||
SUBDIR += php70-ftp
|
||||
SUBDIR += php71-curl
|
||||
SUBDIR += php71-fastdfs
|
||||
SUBDIR += php71-ftp
|
||||
SUBDIR += phpwebftp
|
||||
SUBDIR += plasma-applet-ftpmonitor
|
||||
|
|
|
|||
29
ftp/php71-fastdfs/Makefile
Normal file
29
ftp/php71-fastdfs/Makefile
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= fastdfs
|
||||
PORTVERSION= 5.0.8
|
||||
CATEGORIES= ftp
|
||||
PKGNAMEPREFIX= php71-
|
||||
|
||||
MAINTAINER= daniel@blodan.se
|
||||
COMMENT= PHP 7.1 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= 56 70
|
||||
PHP_VER= 71
|
||||
|
||||
WRKSRC_SUBDIR= php_client
|
||||
|
||||
PHP_MODNAME= fastdfs_client
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
ftp/php71-fastdfs/distinfo
Normal file
3
ftp/php71-fastdfs/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1477046089
|
||||
SHA256 (happyfish100-fastdfs-5.0.8-87659981148a362812912b6d4752d281ac05f0b6_GH0.tar.gz) = c901415de55cad67fe31678091ce131ad4973bce19770f1a03b0be38ba02662d
|
||||
SIZE (happyfish100-fastdfs-5.0.8-87659981148a362812912b6d4752d281ac05f0b6_GH0.tar.gz) = 335406
|
||||
11
ftp/php71-fastdfs/files/patch-config.m4
Normal file
11
ftp/php71-fastdfs/files/patch-config.m4
Normal file
|
|
@ -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)
|
||||
3
ftp/php71-fastdfs/pkg-descr
Normal file
3
ftp/php71-fastdfs/pkg-descr
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
PHP module for accessing a FastDFS cluster
|
||||
|
||||
WWW: https://github.com/happyfish100/fastdfs
|
||||
15
ftp/php71-fastdfs/pkg-message
Normal file
15
ftp/php71-fastdfs/pkg-message
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue