aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ylitalo <daniel@blodan.se>2021-12-28 23:20:29 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2021-12-28 23:22:30 +0000
commit9967c437a2b52c64533fb17d3e33772c8a3f9daa (patch)
tree2a940d582c608b478d517e6419b76d1f7eac4eea
parentb4c9cebf9caf9a842381ca9d7ab62c41ef6bf909 (diff)
downloadports-9967c437a2b52c64533fb17d3e33772c8a3f9daa.tar.gz
ports-9967c437a2b52c64533fb17d3e33772c8a3f9daa.zip
databases/pecl-cassandra: Update 1.3.2=>1.3.2.a.20200527
- Unbreak for php74 PR: 260653 Approved by: daniel@blodan.se
-rw-r--r--databases/pecl-cassandra/Makefile22
-rw-r--r--databases/pecl-cassandra/distinfo6
-rw-r--r--databases/pecl-cassandra/pkg-descr4
3 files changed, 21 insertions, 11 deletions
diff --git a/databases/pecl-cassandra/Makefile b/databases/pecl-cassandra/Makefile
index 7b8b0f20f0fb..80f9d6061bb1 100644
--- a/databases/pecl-cassandra/Makefile
+++ b/databases/pecl-cassandra/Makefile
@@ -1,6 +1,7 @@
PORTNAME= cassandra
-PORTVERSION= 1.3.2
+DISTVERSION= 1.3.2.a.20200527
CATEGORIES= databases
+PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= daniel@blodan.se
COMMENT= Extension to access Cassandra
@@ -8,11 +9,20 @@ COMMENT= Extension to access Cassandra
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libuv.so:devel/libuv \
- libcassandra.so:databases/cassandra-cpp-driver \
- libgmp.so:math/gmp
+LIB_DEPENDS= libcassandra.so:databases/cassandra-cpp-driver \
+ libgmp.so:math/gmp \
+ libuv.so:devel/libuv
-USES= php:pecl localbase
-IGNORE_WITH_PHP= 74 80
+USES= localbase php:ext
+
+USE_GITHUB= yes
+GH_ACCOUNT= datastax
+GH_PROJECT= php-driver
+GH_TAGNAME= 61faee0
+
+IGNORE_WITH_PHP= 80
+PHP_MODNAME= cassandra
+
+WRKSRC_SUBDIR= ext
.include <bsd.port.mk>
diff --git a/databases/pecl-cassandra/distinfo b/databases/pecl-cassandra/distinfo
index 8ac7eb4fd113..4f1ace1d9ace 100644
--- a/databases/pecl-cassandra/distinfo
+++ b/databases/pecl-cassandra/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1539110312
-SHA256 (PECL/cassandra-1.3.2.tgz) = ff80de20482021266426e8c431a2205bc9cb5c18caebe0219de709f6745025df
-SIZE (PECL/cassandra-1.3.2.tgz) = 163700
+TIMESTAMP = 1640733235
+SHA256 (datastax-php-driver-1.3.2.a.20200527-61faee0_GH0.tar.gz) = 3c07153cde31af723f6e0f4694204886500389bf1eceb49e6cef1d696b1b442b
+SIZE (datastax-php-driver-1.3.2.a.20200527-61faee0_GH0.tar.gz) = 314211
diff --git a/databases/pecl-cassandra/pkg-descr b/databases/pecl-cassandra/pkg-descr
index 32338c8a00ad..a174710c0bd9 100644
--- a/databases/pecl-cassandra/pkg-descr
+++ b/databases/pecl-cassandra/pkg-descr
@@ -1,7 +1,7 @@
-A modern, feature-rich and highly tunable PHP client
+A modern, feature-rich and highly tunable PHP client
library for Apache Cassandra and DataStax Enterprise.
-Using exclusively Cassandra's binary protocol and
+Using exclusively Cassandra's binary protocol and
Cassandra Query Language v3.
WWW: https://pecl.php.net/package/cassandra