[arch-commits] Commit in php-mongo/repos (6 files)

Ike Devolder idevolder at nymeria.archlinux.org
Sat Aug 10 15:35:42 UTC 2013


    Date: Saturday, August 10, 2013 @ 17:35:42
  Author: idevolder
Revision: 95373

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

Added:
  php-mongo/repos/community-staging-i686/
  php-mongo/repos/community-staging-i686/PKGBUILD
    (from rev 95372, php-mongo/trunk/PKGBUILD)
  php-mongo/repos/community-staging-i686/mongo.ini
    (from rev 95372, php-mongo/trunk/mongo.ini)
  php-mongo/repos/community-staging-x86_64/
  php-mongo/repos/community-staging-x86_64/PKGBUILD
    (from rev 95372, php-mongo/trunk/PKGBUILD)
  php-mongo/repos/community-staging-x86_64/mongo.ini
    (from rev 95372, php-mongo/trunk/mongo.ini)

------------------------------------+
 community-staging-i686/PKGBUILD    |   30 ++++++++++++++++++++++++++++++
 community-staging-i686/mongo.ini   |   28 ++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD  |   30 ++++++++++++++++++++++++++++++
 community-staging-x86_64/mongo.ini |   28 ++++++++++++++++++++++++++++
 4 files changed, 116 insertions(+)

Copied: php-mongo/repos/community-staging-i686/PKGBUILD (from rev 95372, php-mongo/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-08-10 15:35:42 UTC (rev 95373)
@@ -0,0 +1,30 @@
+# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Jarek Sedlacek <jareksedlacek at gmail.com>
+
+pkgname=php-mongo
+pkgver=1.4.2
+pkgrel=2
+pkgdesc="Officially supported PHP driver for MongoDB"
+arch=("i686" "x86_64")
+url="http://www.mongodb.org/display/DOCS/PHP+Language+Center"
+license=("APACHE")
+depends=("php")
+backup=("etc/php/conf.d/mongo.ini")
+source=(
+	"http://pecl.php.net/get/mongo-$pkgver.tgz"
+	"mongo.ini"
+)
+
+build() {
+	cd mongo-$pkgver
+	phpize
+	./configure --prefix=/usr --enable-mongo
+}
+
+package() {
+	cd mongo-$pkgver
+	make INSTALL_ROOT="$pkgdir" install
+	install -Dm644 "$srcdir/mongo.ini" "$pkgdir/etc/php/conf.d/mongo.ini"
+}
+sha256sums=('ecbf8621c418c35abb0d5e9719432a2f315db2559023861105635bae5bfbd120'
+            'c89685eee842d5c3a85149a5bb8e310e62bf1a17f94183bb66401593ab2b191b')

Copied: php-mongo/repos/community-staging-i686/mongo.ini (from rev 95372, php-mongo/trunk/mongo.ini)
===================================================================
--- community-staging-i686/mongo.ini	                        (rev 0)
+++ community-staging-i686/mongo.ini	2013-08-10 15:35:42 UTC (rev 95373)
@@ -0,0 +1,28 @@
+; Tell PHP to load the Mongo Extension on startup
+extension=mongo.so
+
+[mongo]
+; If the driver should reconnect to mongo
+mongo.auto_reconnect = False
+
+; Whether to allow persistent connections
+mongo.allow_persistent = On
+
+; Maximum number of persistent connections (-1 means unlimited)
+mongo.max_persistent = -1
+
+; Maximum number of links (persistent and non-persistent, -1 means unlimited)
+mongo.max_connections = -1
+
+; Default host for mongo connection
+mongo.default_host = localhost
+
+; Default port for mongo database
+mongo.default_port = 27017
+
+; When saving files to the database, size of chunks to split them into
+mongo.chunk_size = 262400
+
+; Specify an alternate character to $ to use for special db functions ($set, $push, $exists, etc.)
+mongo.cmd = "$"
+

Copied: php-mongo/repos/community-staging-x86_64/PKGBUILD (from rev 95372, php-mongo/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-08-10 15:35:42 UTC (rev 95373)
@@ -0,0 +1,30 @@
+# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Jarek Sedlacek <jareksedlacek at gmail.com>
+
+pkgname=php-mongo
+pkgver=1.4.2
+pkgrel=2
+pkgdesc="Officially supported PHP driver for MongoDB"
+arch=("i686" "x86_64")
+url="http://www.mongodb.org/display/DOCS/PHP+Language+Center"
+license=("APACHE")
+depends=("php")
+backup=("etc/php/conf.d/mongo.ini")
+source=(
+	"http://pecl.php.net/get/mongo-$pkgver.tgz"
+	"mongo.ini"
+)
+
+build() {
+	cd mongo-$pkgver
+	phpize
+	./configure --prefix=/usr --enable-mongo
+}
+
+package() {
+	cd mongo-$pkgver
+	make INSTALL_ROOT="$pkgdir" install
+	install -Dm644 "$srcdir/mongo.ini" "$pkgdir/etc/php/conf.d/mongo.ini"
+}
+sha256sums=('ecbf8621c418c35abb0d5e9719432a2f315db2559023861105635bae5bfbd120'
+            'c89685eee842d5c3a85149a5bb8e310e62bf1a17f94183bb66401593ab2b191b')

Copied: php-mongo/repos/community-staging-x86_64/mongo.ini (from rev 95372, php-mongo/trunk/mongo.ini)
===================================================================
--- community-staging-x86_64/mongo.ini	                        (rev 0)
+++ community-staging-x86_64/mongo.ini	2013-08-10 15:35:42 UTC (rev 95373)
@@ -0,0 +1,28 @@
+; Tell PHP to load the Mongo Extension on startup
+extension=mongo.so
+
+[mongo]
+; If the driver should reconnect to mongo
+mongo.auto_reconnect = False
+
+; Whether to allow persistent connections
+mongo.allow_persistent = On
+
+; Maximum number of persistent connections (-1 means unlimited)
+mongo.max_persistent = -1
+
+; Maximum number of links (persistent and non-persistent, -1 means unlimited)
+mongo.max_connections = -1
+
+; Default host for mongo connection
+mongo.default_host = localhost
+
+; Default port for mongo database
+mongo.default_port = 27017
+
+; When saving files to the database, size of chunks to split them into
+mongo.chunk_size = 262400
+
+; Specify an alternate character to $ to use for special db functions ($set, $push, $exists, etc.)
+mongo.cmd = "$"
+




More information about the arch-commits mailing list