mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
ftp/php*-fastdfs: Remake to Master/Slave Ports
PR: 223714 Submitted by: Daniel Ylitalo <daniel@blodan.se> (maintainer) Approved by: tz (mentor) Differential Revision: https://reviews.freebsd.org/D13454
This commit is contained in:
parent
12ee0ea93e
commit
ce975ccd40
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456222
@ -1,12 +1,13 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= fastdfs
|
||||
PORTVERSION= 5.0.11
|
||||
DISTVERSION= 5.0.11
|
||||
CATEGORIES= ftp
|
||||
PKGNAMEPREFIX= php56-
|
||||
PKGNAMEPREFIX?= php56-
|
||||
IGNORE_WITH_PHP?= 70 71 72
|
||||
|
||||
MAINTAINER= daniel@blodan.se
|
||||
COMMENT= PHP 5.6 module for accessing a FastDFS cluster
|
||||
COMMENT?= PHP 5.6 module for accessing a FastDFS cluster
|
||||
|
||||
LICENSE= GPLv3+
|
||||
|
||||
@ -19,7 +20,7 @@ GH_PROJECT= fastdfs
|
||||
GH_TAGNAME= 1e50b4f
|
||||
|
||||
USES= php:ext
|
||||
PHP_VER= 56
|
||||
PHP_VER?= 56
|
||||
|
||||
WRKSRC_SUBDIR= php_client
|
||||
CONFIGURE_ENV= ROOT=${LOCALBASE}
|
||||
|
@ -1,29 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= fastdfs
|
||||
PORTVERSION= 5.0.11
|
||||
CATEGORIES= ftp
|
||||
MASTERDIR= ${.CURDIR}/../php56-fastdfs
|
||||
|
||||
PKGNAMEPREFIX= php70-
|
||||
|
||||
MAINTAINER= daniel@blodan.se
|
||||
COMMENT= PHP 7 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
|
||||
IGNORE_WITH_PHP= 56 71 72
|
||||
PHP_VER= 70
|
||||
|
||||
WRKSRC_SUBDIR= php_client
|
||||
CONFIGURE_ENV= ROOT=${LOCALBASE}
|
||||
|
||||
PHP_MODNAME= fastdfs_client
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1502819550
|
||||
SHA256 (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 42ef67951c55fb416282cd20389dde5709016913debbb87465b9b744fa3dacf9
|
||||
SIZE (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 336996
|
@ -1,3 +0,0 @@
|
||||
PHP module for accessing a FastDFS cluster
|
||||
|
||||
WWW: https://github.com/happyfish100/fastdfs
|
@ -1,15 +0,0 @@
|
||||
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
|
@ -1,29 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= fastdfs
|
||||
PORTVERSION= 5.0.11
|
||||
CATEGORIES= ftp
|
||||
MASTERDIR= ${.CURDIR}/../php56-fastdfs
|
||||
|
||||
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= 1e50b4f
|
||||
|
||||
USES= php:ext
|
||||
IGNORE_WITH_PHP= 56 70 72
|
||||
PHP_VER= 71
|
||||
|
||||
WRKSRC_SUBDIR= php_client
|
||||
CONFIGURE_ENV= ROOT=${LOCALBASE}
|
||||
|
||||
PHP_MODNAME= fastdfs_client
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1502819531
|
||||
SHA256 (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 42ef67951c55fb416282cd20389dde5709016913debbb87465b9b744fa3dacf9
|
||||
SIZE (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 336996
|
@ -1,3 +0,0 @@
|
||||
PHP module for accessing a FastDFS cluster
|
||||
|
||||
WWW: https://github.com/happyfish100/fastdfs
|
@ -1,15 +0,0 @@
|
||||
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…
Reference in New Issue
Block a user