pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/php-mongodb
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 28 16:22:25 UTC 2024
Modified Files:
pkgsrc/databases/php-mongodb: Makefile distinfo
Added Files:
pkgsrc/databases/php-mongodb/patches: patch-.._package.xml
patch-src_libmongocrypt_src_os__posix_os__dll.c
Log Message:
databases/php-mongodb: update to 1.17.2
Drop php56 and support php74 and later.
Currently, it dose not use databases/mongo-c-driver but use bundled
libraries since we don't have databases/libmongocrypt package yet(?).
Changes from 1.9.1 is too many to write here, please refer
<https://pecl.php.net/package-changelog.php?package=mongodb>.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/databases/php-mongodb/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/databases/php-mongodb/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/databases/php-mongodb/patches/patch-.._package.xml \
pkgsrc/databases/php-mongodb/patches/patch-src_libmongocrypt_src_os__posix_os__dll.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/php-mongodb/Makefile
diff -u pkgsrc/databases/php-mongodb/Makefile:1.22 pkgsrc/databases/php-mongodb/Makefile:1.23
--- pkgsrc/databases/php-mongodb/Makefile:1.22 Thu Feb 15 21:46:17 2024
+++ pkgsrc/databases/php-mongodb/Makefile Wed Feb 28 16:22:25 2024
@@ -1,25 +1,25 @@
-# $NetBSD: Makefile,v 1.22 2024/02/15 21:46:17 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2024/02/28 16:22:25 taca Exp $
MODNAME= mongodb
-PECL_VERSION= 1.9.1
+PECL_VERSION= 1.17.2
CATEGORIES+= databases
MAINTAINER= bartosz.kuzma%gmail.com@localhost
HOMEPAGE= http://docs.mongodb.org/ecosystem/drivers/php/
COMMENT= MongoDB database driver
-PKGREVISION= 6
LICENSE= apache-2.0
-# newer versions support 8.1+
-PHP_VERSIONS_INCOMPATIBLE= 56 81 82 83
+PHP_VERSIONS_SUPPORTED= 74 80 81 82
USE_TOOLS+= pkg-config gmake
-CONFIGURE_ARGS+= --with-libbson
-CONFIGURE_ARGS+= --with-libmongoc
+# To use system mongodb library, we require libmongocrypt package.
+# So, currently bundled libraries.
+CONFIGURE_ARGS+= --with-mongodb-system-libs=no
CONFIGURE_ARGS+= --with-openssl-dir=${BUILDLINK_PREFIX.openssl}
+CPPFLAGS.NetBSD+= -D_POSIX_C_SOURCE=200809L -D_NETBSD_SOURCE
.include "../../security/openssl/buildlink3.mk"
-.include "../../databases/mongo-c-driver/buildlink3.mk"
+#.include "../../databases/mongo-c-driver/buildlink3.mk"
.include "../../devel/snappy/buildlink3.mk"
.include "../../lang/php/json.mk"
.include "../../lang/php/ext.mk"
Index: pkgsrc/databases/php-mongodb/distinfo
diff -u pkgsrc/databases/php-mongodb/distinfo:1.7 pkgsrc/databases/php-mongodb/distinfo:1.8
--- pkgsrc/databases/php-mongodb/distinfo:1.7 Tue Oct 26 10:09:44 2021
+++ pkgsrc/databases/php-mongodb/distinfo Wed Feb 28 16:22:25 2024
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:09:44 nia Exp $
+$NetBSD: distinfo,v 1.8 2024/02/28 16:22:25 taca Exp $
-BLAKE2s (php-mongodb/mongodb-1.9.1.tgz) = 09a54837ecff624626c556881bfacb4b004007e7b4ea67eb17f63db2df318a81
-SHA512 (php-mongodb/mongodb-1.9.1.tgz) = e1ff9fba2268020862e917a38946a7f5f4cc5caf22b38e9ccf60b491cdee20f55b9643e8904cd934de48d31ca69b1c26dd86454f74572ce977669f908d4ffe51
-Size (php-mongodb/mongodb-1.9.1.tgz) = 1285984 bytes
+BLAKE2s (php-mongodb/mongodb-1.17.2.tgz) = 0661923e1a4b3d4716b7a68a3ceff78a2e0b90b8f603297156cae413f63665df
+SHA512 (php-mongodb/mongodb-1.17.2.tgz) = ed32d07f370cf197ce38f3590055da115f6048777004e98cc6372d6f369bf3e65dc86d38afebcce999e4200fa018a7ae45fe4d8c08204ac17584eb28e4fc1ce3
+Size (php-mongodb/mongodb-1.17.2.tgz) = 2064433 bytes
+SHA1 (patch-.._package.xml) = 5d6a12088042a84fa37ab82011340df3dcf652a8
+SHA1 (patch-src_libmongocrypt_src_os__posix_os__dll.c) = 569bb5d1361d556eea3fe9b0405be0f783eebb70
Added files:
Index: pkgsrc/databases/php-mongodb/patches/patch-.._package.xml
diff -u /dev/null pkgsrc/databases/php-mongodb/patches/patch-.._package.xml:1.1
--- /dev/null Wed Feb 28 16:22:26 2024
+++ pkgsrc/databases/php-mongodb/patches/patch-.._package.xml Wed Feb 28 16:22:25 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-.._package.xml,v 1.1 2024/02/28 16:22:25 taca Exp $
+
+Refelect changed source file.
+
+--- ../package.xml.orig 2024-02-25 06:41:06.729643259 +0000
++++ ../package.xml
+@@ -768,7 +768,7 @@ necessary to build a fully-functional Mo
+ <file md5sum="e4fda5158a681c96467131a2ad1e659c" name="src/libmongocrypt/src/mlib/thread.h" role="src" />
+ <file md5sum="9dbd0440750ffc0ef2bb8135f0d75900" name="src/libmongocrypt/src/mlib/user-check.h" role="src" />
+ <file md5sum="9c0cd74b3c026396ed50fd40839c1a26" name="src/libmongocrypt/src/mlib/windows-lean.h" role="src" />
+- <file md5sum="47262bf9af244d06df735d27a04fc5a1" name="src/libmongocrypt/src/os_posix/os_dll.c" role="src" />
++ <file md5sum="b688ad7a909ffd26bc1bbd63210e286d" name="src/libmongocrypt/src/os_posix/os_dll.c" role="src" />
+ <file md5sum="f7dec90cf8f0979d483f519bff304e57" name="src/libmongocrypt/src/os_posix/os_mutex.c" role="src" />
+ <file md5sum="757d1de50f1295e3c8110817fb6c2d05" name="src/libmongocrypt/src/os_win/os_dll.c" role="src" />
+ <file md5sum="16e57d2c27c267fdadfb2659e309ed7b" name="src/libmongocrypt/src/os_win/os_mutex.c" role="src" />
Index: pkgsrc/databases/php-mongodb/patches/patch-src_libmongocrypt_src_os__posix_os__dll.c
diff -u /dev/null pkgsrc/databases/php-mongodb/patches/patch-src_libmongocrypt_src_os__posix_os__dll.c:1.1
--- /dev/null Wed Feb 28 16:22:26 2024
+++ pkgsrc/databases/php-mongodb/patches/patch-src_libmongocrypt_src_os__posix_os__dll.c Wed Feb 28 16:22:25 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_libmongocrypt_src_os__posix_os__dll.c,v 1.1 2024/02/28 16:22:25 taca Exp $
+
+Add support for NetBSD.
+
+--- src/libmongocrypt/src/os_posix/os_dll.c.orig 2024-02-25 06:40:43.615857808 +0000
++++ src/libmongocrypt/src/os_posix/os_dll.c
+@@ -95,7 +95,7 @@ mcr_dll_path_result mcr_dll_path(mcr_dll
+ return (mcr_dll_path_result){.error_string = mstr_copy_cstr("Handle not found in loaded modules")};
+ }
+
+-#elif defined(__linux__) || defined(__FreeBSD__)
++#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
+
+ #include <link.h>
+
Home |
Main Index |
Thread Index |
Old Index