[arch-commits] Commit in php-mongodb/repos (8 files)

Felix Yan felixonmars at archlinux.org
Tue Feb 14 06:43:52 UTC 2017


    Date: Tuesday, February 14, 2017 @ 06:43:51
  Author: felixonmars
Revision: 212288

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  php-mongodb/repos/community-staging-i686/
  php-mongodb/repos/community-staging-i686/PKGBUILD
    (from rev 212287, php-mongodb/trunk/PKGBUILD)
  php-mongodb/repos/community-staging-i686/mongodb.ini
    (from rev 212287, php-mongodb/trunk/mongodb.ini)
  php-mongodb/repos/community-staging-i686/php-mongodb.install
    (from rev 212287, php-mongodb/trunk/php-mongodb.install)
  php-mongodb/repos/community-staging-x86_64/
  php-mongodb/repos/community-staging-x86_64/PKGBUILD
    (from rev 212287, php-mongodb/trunk/PKGBUILD)
  php-mongodb/repos/community-staging-x86_64/mongodb.ini
    (from rev 212287, php-mongodb/trunk/mongodb.ini)
  php-mongodb/repos/community-staging-x86_64/php-mongodb.install
    (from rev 212287, php-mongodb/trunk/php-mongodb.install)

----------------------------------------------+
 community-staging-i686/PKGBUILD              |   37 +++++++++++++++++++++++++
 community-staging-i686/mongodb.ini           |    2 +
 community-staging-i686/php-mongodb.install   |   12 ++++++++
 community-staging-x86_64/PKGBUILD            |   37 +++++++++++++++++++++++++
 community-staging-x86_64/mongodb.ini         |    2 +
 community-staging-x86_64/php-mongodb.install |   12 ++++++++
 6 files changed, 102 insertions(+)

Copied: php-mongodb/repos/community-staging-i686/PKGBUILD (from rev 212287, php-mongodb/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-02-14 06:43:51 UTC (rev 212288)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Martin Striz < ms AT martinstriz DOT cz >
+# Contributor: Jarek Sedlacek <jareksedlacek at gmail.com>
+
+pkgname=php-mongodb
+pkgver=1.2.5
+pkgrel=2
+pkgdesc="MongoDB driver for PHP"
+arch=("i686" "x86_64")
+url="http://mongodb.github.io/mongo-php-driver"
+license=("Apache")
+#depends=('php' 'libmongoc')
+depends=('php')
+makedepends=('re2c')
+backup=("etc/php/conf.d/mongodb.ini")
+install=php-mongodb.install
+source=(
+	"https://pecl.php.net/get/mongodb-$pkgver.tgz"
+	"mongodb.ini"
+)
+sha256sums=('1d43c5038cd8cb7e6db57620c40f2cc6385bd538db002c60f61f44376d829848'
+            '242b9ffea6bd84f813c7fc2a767eaa89f83577c5ff10ff36aecec2ca308ff72b')
+
+build() {
+	cd mongodb-$pkgver
+	phpize
+	#./configure --prefix=/usr --with-libbson --with-libmongoc
+	./configure --prefix=/usr
+}
+
+package() {
+	cd mongodb-$pkgver
+	make INSTALL_ROOT="$pkgdir" install
+	install -Dm644 "$srcdir/mongodb.ini" "$pkgdir/etc/php/conf.d/mongodb.ini"
+}

Copied: php-mongodb/repos/community-staging-i686/mongodb.ini (from rev 212287, php-mongodb/trunk/mongodb.ini)
===================================================================
--- community-staging-i686/mongodb.ini	                        (rev 0)
+++ community-staging-i686/mongodb.ini	2017-02-14 06:43:51 UTC (rev 212288)
@@ -0,0 +1,2 @@
+; Tell PHP to load the MongoDB Extension on startup
+extension=mongodb.so

Copied: php-mongodb/repos/community-staging-i686/php-mongodb.install (from rev 212287, php-mongodb/trunk/php-mongodb.install)
===================================================================
--- community-staging-i686/php-mongodb.install	                        (rev 0)
+++ community-staging-i686/php-mongodb.install	2017-02-14 06:43:51 UTC (rev 212288)
@@ -0,0 +1,12 @@
+post_install() {
+  warning
+}
+
+post_upgrade() {
+  warning
+}
+
+warning() {
+  printf "WARNING:\nWhen moving from 'php-mongo' to 'php-mongodb' keep into mind the extension's api is not compatible\n\n"
+  return 0
+}

Copied: php-mongodb/repos/community-staging-x86_64/PKGBUILD (from rev 212287, php-mongodb/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-02-14 06:43:51 UTC (rev 212288)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Martin Striz < ms AT martinstriz DOT cz >
+# Contributor: Jarek Sedlacek <jareksedlacek at gmail.com>
+
+pkgname=php-mongodb
+pkgver=1.2.5
+pkgrel=2
+pkgdesc="MongoDB driver for PHP"
+arch=("i686" "x86_64")
+url="http://mongodb.github.io/mongo-php-driver"
+license=("Apache")
+#depends=('php' 'libmongoc')
+depends=('php')
+makedepends=('re2c')
+backup=("etc/php/conf.d/mongodb.ini")
+install=php-mongodb.install
+source=(
+	"https://pecl.php.net/get/mongodb-$pkgver.tgz"
+	"mongodb.ini"
+)
+sha256sums=('1d43c5038cd8cb7e6db57620c40f2cc6385bd538db002c60f61f44376d829848'
+            '242b9ffea6bd84f813c7fc2a767eaa89f83577c5ff10ff36aecec2ca308ff72b')
+
+build() {
+	cd mongodb-$pkgver
+	phpize
+	#./configure --prefix=/usr --with-libbson --with-libmongoc
+	./configure --prefix=/usr
+}
+
+package() {
+	cd mongodb-$pkgver
+	make INSTALL_ROOT="$pkgdir" install
+	install -Dm644 "$srcdir/mongodb.ini" "$pkgdir/etc/php/conf.d/mongodb.ini"
+}

Copied: php-mongodb/repos/community-staging-x86_64/mongodb.ini (from rev 212287, php-mongodb/trunk/mongodb.ini)
===================================================================
--- community-staging-x86_64/mongodb.ini	                        (rev 0)
+++ community-staging-x86_64/mongodb.ini	2017-02-14 06:43:51 UTC (rev 212288)
@@ -0,0 +1,2 @@
+; Tell PHP to load the MongoDB Extension on startup
+extension=mongodb.so

Copied: php-mongodb/repos/community-staging-x86_64/php-mongodb.install (from rev 212287, php-mongodb/trunk/php-mongodb.install)
===================================================================
--- community-staging-x86_64/php-mongodb.install	                        (rev 0)
+++ community-staging-x86_64/php-mongodb.install	2017-02-14 06:43:51 UTC (rev 212288)
@@ -0,0 +1,12 @@
+post_install() {
+  warning
+}
+
+post_upgrade() {
+  warning
+}
+
+warning() {
+  printf "WARNING:\nWhen moving from 'php-mongo' to 'php-mongodb' keep into mind the extension's api is not compatible\n\n"
+  return 0
+}



More information about the arch-commits mailing list