summaryrefslogtreecommitdiff
path: root/ftp/php-fastdfs
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-07-03 15:13:58 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-07-03 15:13:58 +0000
commit61c827b33eb6e83a20977a661ceb5d0f00ee078e (patch)
tree8fa417fd262b07f6a38fbbb6998c4e22b82dee2d /ftp/php-fastdfs
parentFix build with non-default LOCALBASE, PREFIX (diff)
Update to 6.06
PR: 246912 Submitted by: Daniel Ylitalo <daniel@blodan.se> (maintainer)
Diffstat (limited to 'ftp/php-fastdfs')
-rw-r--r--ftp/php-fastdfs/Makefile10
-rw-r--r--ftp/php-fastdfs/distinfo6
-rw-r--r--ftp/php-fastdfs/files/patch-config.m411
3 files changed, 19 insertions, 8 deletions
diff --git a/ftp/php-fastdfs/Makefile b/ftp/php-fastdfs/Makefile
index 82e6c1d7ed92..01f3337cc1a9 100644
--- a/ftp/php-fastdfs/Makefile
+++ b/ftp/php-fastdfs/Makefile
@@ -1,24 +1,24 @@
# $FreeBSD$
PORTNAME= fastdfs
-DISTVERSION= 5.0.11
+DISTVERSION= 6.0.6
CATEGORIES= ftp
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= daniel@blodan.se
-COMMENT?= PHP module for accessing a FastDFS cluster
+COMMENT= PHP module for accessing a FastDFS cluster
LICENSE= GPLv3+
LIB_DEPENDS= libfastcommon.so:devel/libfastcommon \
libfdfsclient.so:ftp/fastdfs
+USES= php:ext
+
USE_GITHUB= yes
GH_ACCOUNT= happyfish100
GH_PROJECT= fastdfs
-GH_TAGNAME= 1e50b4f
-
-USES= php:ext
+GH_TAGNAME= V6.06
WRKSRC_SUBDIR= php_client
CONFIGURE_ENV= ROOT=${LOCALBASE}
diff --git a/ftp/php-fastdfs/distinfo b/ftp/php-fastdfs/distinfo
index e6d441229a4b..ad482792c10d 100644
--- a/ftp/php-fastdfs/distinfo
+++ b/ftp/php-fastdfs/distinfo
@@ -1,3 +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
+TIMESTAMP = 1591016269
+SHA256 (happyfish100-fastdfs-6.0.6-V6.06_GH0.tar.gz) = d724266719235c7901bf3281134903dfdbc925c44b4c4a9f7fb451ae916c80e1
+SIZE (happyfish100-fastdfs-6.0.6-V6.06_GH0.tar.gz) = 809328
diff --git a/ftp/php-fastdfs/files/patch-config.m4 b/ftp/php-fastdfs/files/patch-config.m4
new file mode 100644
index 000000000000..dfbb549369a4
--- /dev/null
+++ b/ftp/php-fastdfs/files/patch-config.m4
@@ -0,0 +1,11 @@
+--- config.m4.orig 2019-12-30 23:36:03 UTC
++++ config.m4
+@@ -10,7 +10,7 @@ if test "$PHP_FASTDFS_CLIENT" != "no"; t
+ ROOT=/usr
+ fi
+
+- PHP_ADD_INCLUDE($ROOT/local/include)
++ PHP_ADD_INCLUDE($ROOT/include)
+
+ PHP_ADD_LIBRARY_WITH_PATH(fastcommon, $ROOT/lib, FASTDFS_CLIENT_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(fdfsclient, $ROOT/lib, FASTDFS_CLIENT_SHARED_LIBADD)