View | Details | Raw Unified | Return to bug 223714 | Differences between
and this patch

Collapse All | Expand All

(-)php56-fastdfs/Makefile (-4 / +5 lines)
Lines 1-12 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	fastdfs
3
PORTNAME=	fastdfs
4
PORTVERSION=	5.0.11
4
DISTVERSION=	5.0.11
5
CATEGORIES=	ftp
5
CATEGORIES=	ftp
6
PKGNAMEPREFIX=	php56-
6
PKGNAMEPREFIX?=	php56-
7
IGNORE_WITH_PHP?=	70 71 72
7
8
8
MAINTAINER=	daniel@blodan.se
9
MAINTAINER=	daniel@blodan.se
9
COMMENT=	PHP 5.6 module for accessing a FastDFS cluster
10
COMMENT?=	PHP 5.6 module for accessing a FastDFS cluster
10
11
11
LICENSE=	GPLv3+
12
LICENSE=	GPLv3+
12
13
Lines 19-25 Link Here
19
GH_TAGNAME=	1e50b4f
20
GH_TAGNAME=	1e50b4f
20
21
21
USES=			php:ext
22
USES=			php:ext
22
PHP_VER=		56
23
PHP_VER?=		56
23
24
24
WRKSRC_SUBDIR=	php_client
25
WRKSRC_SUBDIR=	php_client
25
CONFIGURE_ENV=	ROOT=${LOCALBASE}
26
CONFIGURE_ENV=	ROOT=${LOCALBASE}
(-)php70-fastdfs/Makefile (-21 / +4 lines)
Lines 1-29 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	fastdfs
3
MASTERDIR=	${.CURDIR}/../php56-fastdfs
4
PORTVERSION=	5.0.11
4
5
CATEGORIES=	ftp
6
PKGNAMEPREFIX=	php70-
5
PKGNAMEPREFIX=	php70-
7
6
8
MAINTAINER=	daniel@blodan.se
9
COMMENT=	PHP 7 module for accessing a FastDFS cluster
7
COMMENT=	PHP 7 module for accessing a FastDFS cluster
10
8
11
LICENSE=	GPLv3+
9
IGNORE_WITH_PHP=	56 71 72
12
13
LIB_DEPENDS=	libfastcommon.so:devel/libfastcommon \
14
		libfdfsclient.so:ftp/fastdfs
15
16
USE_GITHUB=	yes
17
GH_ACCOUNT=	happyfish100
18
GH_PROJECT=	fastdfs
19
GH_TAGNAME=	1e50b4f
20
21
USES=			php:ext
22
PHP_VER=		70
10
PHP_VER=		70
23
11
24
WRKSRC_SUBDIR=	php_client
12
.include "${MASTERDIR}/Makefile"
25
CONFIGURE_ENV=	ROOT=${LOCALBASE}
26
27
PHP_MODNAME=	fastdfs_client
28
29
.include <bsd.port.mk>
(-)php70-fastdfs/distinfo (-3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1502819550
2
SHA256 (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 42ef67951c55fb416282cd20389dde5709016913debbb87465b9b744fa3dacf9
3
SIZE (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 336996
(-)php70-fastdfs/pkg-descr (-3 lines)
Lines 1-3 Link Here
1
PHP module for accessing a FastDFS cluster
2
3
WWW: https://github.com/happyfish100/fastdfs
(-)php70-fastdfs/pkg-message (-15 lines)
Lines 1-15 Link Here
1
Before you can start using this module;
2
- Make sure you have configured client.conf to point to your FastDFS cluster
3
  and that you see the cluster with fdfs_monitor
4
- Add this to your php.ini file
5
==================================================================
6
fastdfs_client.base_path = /var/tmp
7
fastdfs_client.connect_timeout = 2
8
fastdfs_client.network_timeout = 60
9
fastdfs_client.log_level = info
10
fastdfs_client.log_filename =
11
fastdfs_client.http.anti_steal_secret_key =
12
fastdfs_client.tracker_group_count = 1
13
fastdfs_client.tracker_group0 = /usr/local/etc/fdfs/client.conf
14
fastdfs_client.use_connection_pool = false
15
fastdfs_client.connection_pool_max_idle_time = 3600
(-)php71-fastdfs/Makefile (-21 / +4 lines)
Lines 1-29 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	fastdfs
3
MASTERDIR=	${.CURDIR}/../php56-fastdfs
4
PORTVERSION=	5.0.11
4
5
CATEGORIES=	ftp
6
PKGNAMEPREFIX=	php71-
5
PKGNAMEPREFIX=	php71-
7
6
8
MAINTAINER=	daniel@blodan.se
9
COMMENT=	PHP 7.1 module for accessing a FastDFS cluster
7
COMMENT=	PHP 7.1 module for accessing a FastDFS cluster
10
8
11
LICENSE=	GPLv3+
9
IGNORE_WITH_PHP=	56 70 72
12
13
LIB_DEPENDS=	libfastcommon.so:devel/libfastcommon \
14
		libfdfsclient.so:ftp/fastdfs
15
16
USE_GITHUB=	yes
17
GH_ACCOUNT=	happyfish100
18
GH_PROJECT=	fastdfs
19
GH_TAGNAME=	1e50b4f
20
21
USES=			php:ext
22
PHP_VER=		71
10
PHP_VER=		71
23
11
24
WRKSRC_SUBDIR=	php_client
12
.include "${MASTERDIR}/Makefile"
25
CONFIGURE_ENV=	ROOT=${LOCALBASE}
26
27
PHP_MODNAME=	fastdfs_client
28
29
.include <bsd.port.mk>
(-)php71-fastdfs/distinfo (-3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1502819531
2
SHA256 (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 42ef67951c55fb416282cd20389dde5709016913debbb87465b9b744fa3dacf9
3
SIZE (happyfish100-fastdfs-5.0.11-1e50b4f_GH0.tar.gz) = 336996
(-)php71-fastdfs/pkg-descr (-3 lines)
Lines 1-3 Link Here
1
PHP module for accessing a FastDFS cluster
2
3
WWW: https://github.com/happyfish100/fastdfs
(-)php71-fastdfs/pkg-message (-15 lines)
Lines 1-15 Link Here
1
Before you can start using this module;
2
- Make sure you have configured client.conf to point to your FastDFS cluster
3
  and that you see the cluster with fdfs_monitor
4
- Add this to your php.ini file
5
==================================================================
6
fastdfs_client.base_path = /var/tmp
7
fastdfs_client.connect_timeout = 2
8
fastdfs_client.network_timeout = 60
9
fastdfs_client.log_level = info
10
fastdfs_client.log_filename =
11
fastdfs_client.http.anti_steal_secret_key =
12
fastdfs_client.tracker_group_count = 1
13
fastdfs_client.tracker_group0 = /usr/local/etc/fdfs/client.conf
14
fastdfs_client.use_connection_pool = false
15
fastdfs_client.connection_pool_max_idle_time = 3600

Return to bug 223714