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

2016-10-21 Thread Bartłomiej Piotrowski
Date: Friday, October 21, 2016 @ 21:21:35
  Author: bpiotrowski
Revision: 192892

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

Added:
  mongodb/repos/community-staging-i686/
  mongodb/repos/community-staging-i686/PKGBUILD
(from rev 192891, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-staging-i686/boost160.patch
(from rev 192891, mongodb/trunk/boost160.patch)
  mongodb/repos/community-staging-i686/mongodb-3.2.10-boost-1.62.0.patch
(from rev 192891, mongodb/trunk/mongodb-3.2.10-boost-1.62.0.patch)
  
mongodb/repos/community-staging-i686/mongodb-3.2.10-network_interface_asio_integration_test.patch
(from rev 192891, 
mongodb/trunk/mongodb-3.2.10-network_interface_asio_integration_test.patch)
  mongodb/repos/community-staging-i686/mongodb.conf
(from rev 192891, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-staging-i686/mongodb.install
(from rev 192891, mongodb/trunk/mongodb.install)
  mongodb/repos/community-staging-i686/mongodb.service
(from rev 192891, mongodb/trunk/mongodb.service)
  mongodb/repos/community-staging-x86_64/
  mongodb/repos/community-staging-x86_64/PKGBUILD
(from rev 192891, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-staging-x86_64/boost160.patch
(from rev 192891, mongodb/trunk/boost160.patch)
  mongodb/repos/community-staging-x86_64/mongodb-3.2.10-boost-1.62.0.patch
(from rev 192891, mongodb/trunk/mongodb-3.2.10-boost-1.62.0.patch)
  
mongodb/repos/community-staging-x86_64/mongodb-3.2.10-network_interface_asio_integration_test.patch
(from rev 192891, 
mongodb/trunk/mongodb-3.2.10-network_interface_asio_integration_test.patch)
  mongodb/repos/community-staging-x86_64/mongodb.conf
(from rev 192891, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-staging-x86_64/mongodb.install
(from rev 192891, mongodb/trunk/mongodb.install)
  mongodb/repos/community-staging-x86_64/mongodb.service
(from rev 192891, mongodb/trunk/mongodb.service)

---+
 community-staging-i686/PKGBUILD
   |  104 ++
 community-staging-i686/boost160.patch  
   |   11 +
 community-staging-i686/mongodb-3.2.10-boost-1.62.0.patch   
   |   15 +
 
community-staging-i686/mongodb-3.2.10-network_interface_asio_integration_test.patch
   |   23 ++
 community-staging-i686/mongodb.conf
   |8 
 community-staging-i686/mongodb.install 
   |   20 +
 community-staging-i686/mongodb.service 
   |   10 
 community-staging-x86_64/PKGBUILD  
   |  104 ++
 community-staging-x86_64/boost160.patch
   |   11 +
 community-staging-x86_64/mongodb-3.2.10-boost-1.62.0.patch 
   |   15 +
 
community-staging-x86_64/mongodb-3.2.10-network_interface_asio_integration_test.patch
 |   23 ++
 community-staging-x86_64/mongodb.conf  
   |8 
 community-staging-x86_64/mongodb.install   
   |   20 +
 community-staging-x86_64/mongodb.service   
   |   10 
 14 files changed, 382 insertions(+)

Copied: mongodb/repos/community-staging-i686/PKGBUILD (from rev 192891, 
mongodb/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-10-21 21:21:35 UTC (rev 192892)
@@ -0,0 +1,104 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Sven-Hendrik Haase 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Mathias Stearn 
+# Contributor: Alec Thomas
+
+pkgname=mongodb
+pkgver=3.2.10
+pkgrel=2
+pkgdesc='A high-performance, open source, schema-free document-oriented 
database'
+arch=('i686' 'x86_64')
+url='http://www.mongodb.org'
+license=('AGPL3')
+depends=('pcre' 'snappy' 'openssl' 'libsasl' 'boost-libs' 'yaml-cpp')
+[[ "$CARCH" == "x86_64" ]] && depends+=('wiredtiger')
+makedepends=('scons' 'readline' 'ncurses' 'libpcap' 'boost')
+checkdepends=('python2-pymongo' 'python2-yaml')
+optdepends=('libpcap: needed for mongosniff'
+'mongodb-tools: mongoimport, mongodump, mongotop, etc')
+backup=('etc/mongodb.conf')
+install=mongodb.install
+source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz;
+'boost160.patch'
+'mongodb.conf' 'mongodb.service'
+'mongodb-3.2.10-boost-1.62.0.patch'
+'mongodb-3.2.10-network_interface_asio_integration_test.patch')

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

2015-08-26 Thread Felix Yan
Date: Wednesday, August 26, 2015 @ 09:57:43
  Author: fyan
Revision: 138782

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

Added:
  mongodb/repos/community-i686/PKGBUILD
(from rev 138780, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-i686/mongodb.conf
(from rev 138780, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-i686/mongodb.install
(from rev 138780, mongodb/trunk/mongodb.install)
  mongodb/repos/community-i686/mongodb.service
(from rev 138780, mongodb/trunk/mongodb.service)
  mongodb/repos/community-x86_64/PKGBUILD
(from rev 138781, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-x86_64/mongodb.conf
(from rev 138781, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-x86_64/mongodb.install
(from rev 138781, mongodb/trunk/mongodb.install)
  mongodb/repos/community-x86_64/mongodb.service
(from rev 138781, mongodb/trunk/mongodb.service)
Deleted:
  mongodb/repos/community-i686/PKGBUILD
  mongodb/repos/community-i686/mongodb.conf
  mongodb/repos/community-i686/mongodb.install
  mongodb/repos/community-i686/mongodb.service
  mongodb/repos/community-x86_64/PKGBUILD
  mongodb/repos/community-x86_64/mongodb.conf
  mongodb/repos/community-x86_64/mongodb.install
  mongodb/repos/community-x86_64/mongodb.service

--+
 /PKGBUILD|  140 +
 /mongodb.conf|   16 
 /mongodb.install |   64 
 /mongodb.service |   20 +
 community-i686/PKGBUILD  |   70 --
 community-i686/mongodb.conf  |8 --
 community-i686/mongodb.install   |   32 
 community-i686/mongodb.service   |   10 --
 community-x86_64/PKGBUILD|   70 --
 community-x86_64/mongodb.conf|8 --
 community-x86_64/mongodb.install |   32 
 community-x86_64/mongodb.service |   10 --
 12 files changed, 240 insertions(+), 240 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-08-26 07:57:16 UTC (rev 138781)
+++ community-i686/PKGBUILD 2015-08-26 07:57:43 UTC (rev 138782)
@@ -1,70 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan felixonm...@archlinux.org
-# Contributor: Sven-Hendrik Haase s...@lutzhaase.com
-# Contributor: Thomas Dziedzic  gostrc at gmail 
-# Contributor: Mathias Stearn math...@10gen.com
-# Contributor: Alec Thomas
-
-pkgname=mongodb
-pkgver=3.0.5
-pkgrel=1
-pkgdesc='A high-performance, open source, schema-free document-oriented 
database'
-arch=('i686' 'x86_64')
-url='http://www.mongodb.org'
-license=('AGPL3')
-depends=('pcre' 'snappy' 'openssl' 'libsasl' 'boost-libs') # 'libyaml' 
'yaml-cpp' 'v8' 'gperftools')
-makedepends=('scons' 'readline' 'ncurses' 'libpcap' 'boost')
-checkdepends=('python2-pymongo')
-optdepends=('libpcap: needed for mongosniff'
-'mongodb-tools: mongoimport, mongodump, mongotop, etc')
-backup=('etc/mongodb.conf')
-install=mongodb.install
-source=(http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz;
-'mongodb.conf' 'mongodb.service')
-sha512sums=('17c66f9501e6517feba069f85bb468a421c45300306977ebfed71e6ce120e2bed64f14698e470c644360e23f40132171d64ac85f0962aa3ba824a48cf228775a'
-
'05dead727d3ea5fe8af1a3c3888693f6b3e2b8cb7f197a5d793352e10d2c524e96c9a5c55ad2e88c1114643a9612ec0b26a2574b48a5260a9b51ec8941461f1c'
-
'177251404b2e818ae2b546fe8b13cb76e348c99e85c7bef22a04b0f07b600fd515a309ede50214f4198594388a6d2b31f46e945b9dae84aabb4dfa13b1123bb9')
-
-_scons_args=(
-  --use-system-pcre
-  --use-system-snappy
-  --use-sasl-client
-  --use-system-boost
-  --variant-dir=build
-  --ssl
-  --c++11=on
-  --disable-warnings-as-errors
-)
-# --use-system-v8 (Doesn't compile)
-# --use-system-yaml (Doesn't compile)
-# --use-system-tcmalloc (Disabled as upstream suggests in 
https://jira.mongodb.org/browse/SERVER-17447?focusedCommentId=841890page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-841890)
-
-build() {
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons all ${_scons_args[@]}
-}
-
-check() {
-  # Tests not passing
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons smoke smokeCppUnittests smokeJsCore --smokedbprefix=$srcdir 
${_scons_args[@]} || warning Tests failed
-}
-
-package() {
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons install --prefix=$pkgdir/usr ${_scons_args[@]}
-
-  install -Dm644 $srcdir/mongodb.conf $pkgdir/etc/mongodb.conf
-  install -Dm644 $srcdir/mongodb.service 
$pkgdir/usr/lib/systemd/system/mongodb.service
-  install -dm700 $pkgdir/var/lib/mongodb
-  install -dm755 $pkgdir/var/log/mongodb
-}

Copied: mongodb/repos/community-i686/PKGBUILD (from rev 138780, 
mongodb/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD

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

2015-06-18 Thread Felix Yan
Date: Thursday, June 18, 2015 @ 08:06:08
  Author: fyan
Revision: 135542

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

Added:
  mongodb/repos/community-i686/PKGBUILD
(from rev 135541, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-i686/mongodb.conf
(from rev 135541, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-i686/mongodb.install
(from rev 135541, mongodb/trunk/mongodb.install)
  mongodb/repos/community-i686/mongodb.service
(from rev 135541, mongodb/trunk/mongodb.service)
  mongodb/repos/community-x86_64/PKGBUILD
(from rev 135541, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-x86_64/mongodb.conf
(from rev 135541, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-x86_64/mongodb.install
(from rev 135541, mongodb/trunk/mongodb.install)
  mongodb/repos/community-x86_64/mongodb.service
(from rev 135541, mongodb/trunk/mongodb.service)
Deleted:
  mongodb/repos/community-i686/PKGBUILD
  mongodb/repos/community-i686/mongodb.conf
  mongodb/repos/community-i686/mongodb.install
  mongodb/repos/community-i686/mongodb.service
  mongodb/repos/community-x86_64/PKGBUILD
  mongodb/repos/community-x86_64/mongodb.conf
  mongodb/repos/community-x86_64/mongodb.install
  mongodb/repos/community-x86_64/mongodb.service

--+
 /PKGBUILD|  144 +
 /mongodb.conf|   16 
 /mongodb.install |   64 
 /mongodb.service |   20 +
 community-i686/PKGBUILD  |   72 --
 community-i686/mongodb.conf  |8 --
 community-i686/mongodb.install   |   32 
 community-i686/mongodb.service   |   10 --
 community-x86_64/PKGBUILD|   72 --
 community-x86_64/mongodb.conf|8 --
 community-x86_64/mongodb.install |   32 
 community-x86_64/mongodb.service |   10 --
 12 files changed, 244 insertions(+), 244 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-06-18 06:05:17 UTC (rev 135541)
+++ community-i686/PKGBUILD 2015-06-18 06:06:08 UTC (rev 135542)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan felixonm...@archlinux.org
-# Contributor: Sven-Hendrik Haase s...@lutzhaase.com
-# Contributor: Thomas Dziedzic  gostrc at gmail 
-# Contributor: Mathias Stearn math...@10gen.com
-# Contributor: Alec Thomas
-
-pkgname=mongodb
-pkgver=3.0.3
-pkgrel=1
-pkgdesc='A high-performance, open source, schema-free document-oriented 
database'
-arch=('i686' 'x86_64')
-url='http://www.mongodb.org'
-license=('AGPL3')
-depends=('pcre' 'snappy' 'openssl' 'libsasl' 'boost-libs') # 'libyaml' 
'yaml-cpp' 'v8' 'gperftools')
-makedepends=('scons' 'readline' 'ncurses' 'libpcap' 'boost' 'clang')
-checkdepends=('python2-pymongo')
-optdepends=('libpcap: needed for mongosniff'
-'mongodb-tools: mongoimport, mongodump, mongotop, etc')
-backup=('etc/mongodb.conf')
-install=mongodb.install
-source=(http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz;
-'mongodb.conf' 'mongodb.service')
-sha512sums=('23655d98ba7c0ba5d76c29964babb69a43714f5ca41843b0e8ae7bc5fa4dbba7b67022af4909a34f363406d4db58db39f9a03b4348a46eceb13067210bf8f23f'
-
'05dead727d3ea5fe8af1a3c3888693f6b3e2b8cb7f197a5d793352e10d2c524e96c9a5c55ad2e88c1114643a9612ec0b26a2574b48a5260a9b51ec8941461f1c'
-
'177251404b2e818ae2b546fe8b13cb76e348c99e85c7bef22a04b0f07b600fd515a309ede50214f4198594388a6d2b31f46e945b9dae84aabb4dfa13b1123bb9')
-
-_scons_args=(
-  --use-system-pcre
-  --use-system-snappy
-  --use-sasl-client
-  --use-system-boost
-  --variant-dir=build
-  --ssl
-  --disable-warnings-as-errors
-  --cc=clang --cxx=clang++
-  LIBS=atomic
-)
-# --use-system-v8 (Doesn't compile)
-# --use-system-yaml (Doesn't compile)
-# --use-system-tcmalloc (Disabled as upstream suggests in 
https://jira.mongodb.org/browse/SERVER-17447?focusedCommentId=841890page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-841890)
-# LIBS=atomic is a workaround for https://jira.mongodb.org/browse/SERVER-17447
-
-build() {
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons all ${_scons_args[@]}
-}
-
-check() {
-  # Tests not passing
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons smoke smokeCppUnittests smokeJsCore --smokedbprefix=$srcdir 
${_scons_args[@]} || warning Tests failed
-}
-
-package() {
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons install --prefix=$pkgdir/usr ${_scons_args[@]}
-
-  install -Dm644 $srcdir/mongodb.conf $pkgdir/etc/mongodb.conf
-  install -Dm644 $srcdir/mongodb.service 
$pkgdir/usr/lib/systemd/system/mongodb.service
-  install -dm700 $pkgdir/var/lib/mongodb
-  install -dm755 $pkgdir/var/log/mongodb
-}

Copied: mongodb/repos/community-i686/PKGBUILD (from rev 135541, 

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

2015-05-16 Thread Felix Yan
Date: Saturday, May 16, 2015 @ 08:34:05
  Author: fyan
Revision: 133558

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

Added:
  mongodb/repos/community-i686/PKGBUILD
(from rev 133557, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-i686/mongodb.conf
(from rev 133557, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-i686/mongodb.install
(from rev 133557, mongodb/trunk/mongodb.install)
  mongodb/repos/community-i686/mongodb.service
(from rev 133557, mongodb/trunk/mongodb.service)
  mongodb/repos/community-x86_64/PKGBUILD
(from rev 133557, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-x86_64/mongodb.conf
(from rev 133557, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-x86_64/mongodb.install
(from rev 133557, mongodb/trunk/mongodb.install)
  mongodb/repos/community-x86_64/mongodb.service
(from rev 133557, mongodb/trunk/mongodb.service)
Deleted:
  mongodb/repos/community-i686/PKGBUILD
  mongodb/repos/community-i686/mongodb.conf
  mongodb/repos/community-i686/mongodb.install
  mongodb/repos/community-i686/mongodb.service
  mongodb/repos/community-x86_64/PKGBUILD
  mongodb/repos/community-x86_64/mongodb.conf
  mongodb/repos/community-x86_64/mongodb.install
  mongodb/repos/community-x86_64/mongodb.service

--+
 /PKGBUILD|  144 +
 /mongodb.conf|   16 
 /mongodb.install |   64 
 /mongodb.service |   20 +
 community-i686/PKGBUILD  |   72 --
 community-i686/mongodb.conf  |8 --
 community-i686/mongodb.install   |   32 
 community-i686/mongodb.service   |   10 --
 community-x86_64/PKGBUILD|   72 --
 community-x86_64/mongodb.conf|8 --
 community-x86_64/mongodb.install |   32 
 community-x86_64/mongodb.service |   10 --
 12 files changed, 244 insertions(+), 244 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-05-16 06:33:22 UTC (rev 133557)
+++ community-i686/PKGBUILD 2015-05-16 06:34:05 UTC (rev 133558)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan felixonm...@archlinux.org
-# Contributor: Sven-Hendrik Haase s...@lutzhaase.com
-# Contributor: Thomas Dziedzic  gostrc at gmail 
-# Contributor: Mathias Stearn math...@10gen.com
-# Contributor: Alec Thomas
-
-pkgname=mongodb
-pkgver=3.0.2
-pkgrel=2
-pkgdesc='A high-performance, open source, schema-free document-oriented 
database'
-arch=('i686' 'x86_64')
-url='http://www.mongodb.org'
-license=('AGPL3')
-depends=('pcre' 'snappy' 'openssl' 'libsasl' 'boost-libs') # 'libyaml' 
'yaml-cpp' 'v8' 'gperftools')
-makedepends=('scons' 'readline' 'ncurses' 'libpcap' 'boost' 'clang')
-checkdepends=('python2-pymongo')
-optdepends=('libpcap: needed for mongosniff'
-'mongodb-tools: mongoimport, mongodump, mongotop, etc')
-backup=('etc/mongodb.conf')
-install=mongodb.install
-source=(http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz;
-'mongodb.conf' 'mongodb.service')
-sha512sums=('ec14529f39459835644dd681a98133c276bb96c676ce3ad91c20dff1ce96aeda3e14f08c05019a72a6f8eaadfed7e176944b42187a273b3e82001946126931d7'
-
'05dead727d3ea5fe8af1a3c3888693f6b3e2b8cb7f197a5d793352e10d2c524e96c9a5c55ad2e88c1114643a9612ec0b26a2574b48a5260a9b51ec8941461f1c'
-
'177251404b2e818ae2b546fe8b13cb76e348c99e85c7bef22a04b0f07b600fd515a309ede50214f4198594388a6d2b31f46e945b9dae84aabb4dfa13b1123bb9')
-
-_scons_args=(
-  --use-system-pcre
-  --use-system-snappy
-  --use-sasl-client
-  --use-system-boost
-  --variant-dir=build
-  --ssl
-  --disable-warnings-as-errors
-  --cc=clang --cxx=clang++
-  LIBS=atomic
-)
-# --use-system-v8 (Doesn't compile)
-# --use-system-yaml (Doesn't compile)
-# --use-system-tcmalloc (Disabled as upstream suggests in 
https://jira.mongodb.org/browse/SERVER-17447?focusedCommentId=841890page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-841890)
-# LIBS=atomic is a workaround for https://jira.mongodb.org/browse/SERVER-17447
-
-build() {
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons all ${_scons_args[@]}
-}
-
-check() {
-  # Tests not passing
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons smoke smokeCppUnittests smokeJsCore --smokedbprefix=$srcdir 
${_scons_args[@]} || warning Tests failed
-}
-
-package() {
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons install --prefix=$pkgdir/usr ${_scons_args[@]}
-
-  install -Dm644 $srcdir/mongodb.conf $pkgdir/etc/mongodb.conf
-  install -Dm644 $srcdir/mongodb.service 
$pkgdir/usr/lib/systemd/system/mongodb.service
-  install -dm700 $pkgdir/var/lib/mongodb
-  install -dm755 $pkgdir/var/log/mongodb
-}

Copied: mongodb/repos/community-i686/PKGBUILD (from rev 133557, 

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

2015-03-20 Thread Felix Yan
Date: Friday, March 20, 2015 @ 16:39:42
  Author: fyan
Revision: 129634

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

Added:
  mongodb/repos/community-testing-i686/PKGBUILD
(from rev 129633, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-testing-i686/mongodb.conf
(from rev 129633, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-testing-i686/mongodb.install
(from rev 129633, mongodb/trunk/mongodb.install)
  mongodb/repos/community-testing-i686/mongodb.service
(from rev 129633, mongodb/trunk/mongodb.service)
  mongodb/repos/community-testing-x86_64/PKGBUILD
(from rev 129633, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-testing-x86_64/mongodb.conf
(from rev 129633, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-testing-x86_64/mongodb.install
(from rev 129633, mongodb/trunk/mongodb.install)
  mongodb/repos/community-testing-x86_64/mongodb.service
(from rev 129633, mongodb/trunk/mongodb.service)
Deleted:
  mongodb/repos/community-testing-i686/PKGBUILD
  mongodb/repos/community-testing-i686/mongodb.conf
  mongodb/repos/community-testing-i686/mongodb.install
  mongodb/repos/community-testing-i686/mongodb.service
  mongodb/repos/community-testing-x86_64/PKGBUILD
  mongodb/repos/community-testing-x86_64/mongodb.conf
  mongodb/repos/community-testing-x86_64/mongodb.install
  mongodb/repos/community-testing-x86_64/mongodb.service

--+
 /PKGBUILD|  144 +
 /mongodb.conf|   16 +++
 /mongodb.install |   64 
 /mongodb.service |   20 
 community-testing-i686/PKGBUILD  |   72 --
 community-testing-i686/mongodb.conf  |8 -
 community-testing-i686/mongodb.install   |   32 --
 community-testing-i686/mongodb.service   |   10 --
 community-testing-x86_64/PKGBUILD|   72 --
 community-testing-x86_64/mongodb.conf|8 -
 community-testing-x86_64/mongodb.install |   32 --
 community-testing-x86_64/mongodb.service |   10 --
 12 files changed, 244 insertions(+), 244 deletions(-)

Deleted: community-testing-i686/PKGBUILD
===
--- community-testing-i686/PKGBUILD 2015-03-20 15:39:06 UTC (rev 129633)
+++ community-testing-i686/PKGBUILD 2015-03-20 15:39:42 UTC (rev 129634)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan felixonm...@archlinux.org
-# Contributor: Sven-Hendrik Haase s...@lutzhaase.com
-# Contributor: Thomas Dziedzic  gostrc at gmail 
-# Contributor: Mathias Stearn math...@10gen.com
-# Contributor: Alec Thomas
-
-pkgname=mongodb
-pkgver=3.0.0
-pkgrel=1
-pkgdesc='A high-performance, open source, schema-free document-oriented 
database'
-arch=('i686' 'x86_64')
-url='http://www.mongodb.org'
-license=('AGPL3')
-depends=('pcre' 'snappy' 'openssl' 'libsasl' 'boost-libs') # 'libyaml' 
'yaml-cpp' 'v8' 'gperftools')
-makedepends=('scons' 'readline' 'ncurses' 'libpcap' 'boost' 'clang')
-checkdepends=('python2-pymongo')
-optdepends=('libpcap: needed for mongosniff'
-'mongodb-tools: mongoimport, mongodump, mongotop, etc')
-backup=('etc/mongodb.conf')
-install=mongodb.install
-source=(http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz;
-'mongodb.conf' 'mongodb.service')
-sha512sums=('e9a50066754500d53b2e825bc9c4e7ccb692ce45a852b1ff52ba6cd2bbcbd826efea4c1018c68821bb4070a01335db0e19fd35f09f1eee6ba89d52bb96c228a7'
-
'05dead727d3ea5fe8af1a3c3888693f6b3e2b8cb7f197a5d793352e10d2c524e96c9a5c55ad2e88c1114643a9612ec0b26a2574b48a5260a9b51ec8941461f1c'
-
'177251404b2e818ae2b546fe8b13cb76e348c99e85c7bef22a04b0f07b600fd515a309ede50214f4198594388a6d2b31f46e945b9dae84aabb4dfa13b1123bb9')
-
-_scons_args=(
-  --use-system-pcre
-  --use-system-snappy
-  --use-sasl-client
-  --use-system-boost
-  --variant-dir=build
-  --ssl
-  --disable-warnings-as-errors
-  --cc=clang --cxx=clang++
-  LIBS=atomic
-)
-# --use-system-v8 (Doesn't compile)
-# --use-system-yaml (Doesn't compile)
-# --use-system-tcmalloc (Disabled as upstream suggests in 
https://jira.mongodb.org/browse/SERVER-17447?focusedCommentId=841890page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-841890)
-# LIBS=atomic is a workaround for https://jira.mongodb.org/browse/SERVER-17447
-
-build() {
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons all ${_scons_args[@]}
-}
-
-check() {
-  # Tests not passing
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons smoke smokeCppUnittests smokeJsCore --smokedbprefix=$srcdir 
${_scons_args[@]} || warning Tests failed
-}
-
-package() {
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons install --prefix=$pkgdir/usr ${_scons_args[@]}
-
-  install -Dm644 $srcdir/mongodb.conf $pkgdir/etc/mongodb.conf
-  install 

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

2015-02-26 Thread Felix Yan
Date: Thursday, February 26, 2015 @ 17:49:26
  Author: fyan
Revision: 128291

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

Added:
  mongodb/repos/community-testing-i686/PKGBUILD
(from rev 128289, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-testing-i686/mongodb.conf
(from rev 128289, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-testing-i686/mongodb.install
(from rev 128289, mongodb/trunk/mongodb.install)
  mongodb/repos/community-testing-i686/mongodb.service
(from rev 128289, mongodb/trunk/mongodb.service)
  mongodb/repos/community-testing-x86_64/PKGBUILD
(from rev 128289, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-testing-x86_64/mongodb.conf
(from rev 128289, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-testing-x86_64/mongodb.install
(from rev 128290, mongodb/trunk/mongodb.install)
  mongodb/repos/community-testing-x86_64/mongodb.service
(from rev 128290, mongodb/trunk/mongodb.service)
Deleted:
  mongodb/repos/community-testing-i686/PKGBUILD
  mongodb/repos/community-testing-i686/mongodb.conf
  mongodb/repos/community-testing-i686/mongodb.install
  mongodb/repos/community-testing-i686/mongodb.service
  mongodb/repos/community-testing-x86_64/PKGBUILD
  mongodb/repos/community-testing-x86_64/mongodb.conf
  mongodb/repos/community-testing-x86_64/mongodb.install
  mongodb/repos/community-testing-x86_64/mongodb.service

--+
 /PKGBUILD|  190 +
 /mongodb.conf|   16 ++
 /mongodb.install |   64 +
 /mongodb.service |   20 +++
 community-testing-i686/PKGBUILD  |   95 --
 community-testing-i686/mongodb.conf  |8 -
 community-testing-i686/mongodb.install   |   32 
 community-testing-i686/mongodb.service   |   10 -
 community-testing-x86_64/PKGBUILD|   95 --
 community-testing-x86_64/mongodb.conf|8 -
 community-testing-x86_64/mongodb.install |   32 
 community-testing-x86_64/mongodb.service |   10 -
 12 files changed, 290 insertions(+), 290 deletions(-)

Deleted: community-testing-i686/PKGBUILD
===
--- community-testing-i686/PKGBUILD 2015-02-26 16:49:08 UTC (rev 128290)
+++ community-testing-i686/PKGBUILD 2015-02-26 16:49:26 UTC (rev 128291)
@@ -1,95 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan felixonm...@archlinux.org
-# Contributor: Sven-Hendrik Haase s...@lutzhaase.com
-# Contributor: Thomas Dziedzic  gostrc at gmail 
-# Contributor: Mathias Stearn math...@10gen.com
-# Contributor: Alec Thomas
-
-pkgname=mongodb
-pkgver=2.6.8
-pkgrel=1
-pkgdesc='A high-performance, open source, schema-free document-oriented 
database'
-arch=('i686' 'x86_64')
-url='http://www.mongodb.org'
-license=('AGPL3')
-depends=('pcre' 'snappy' 'openssl' 'gperftools' 'libsasl' 'boost-libs') # 
'libyaml' 'yaml-cpp' 'v8')
-makedepends=('scons' 'readline' 'ncurses' 'libpcap' 'boost' 'clang')
-checkdepends=('python2-pymongo')
-optdepends=('libpcap: needed for mongosniff')
-backup=('etc/mongodb.conf')
-install=mongodb.install
-source=(http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz;
-'mongodb.conf' 'mongodb.service')
-sha512sums=('6fa69750debb40d0be4d5d057125320d97e882e30c43c664fcb6ec6a9e6a8bff5e63637fc8952a6d898556b2c2ce84254d135387dc0879bf65dbd5e91b8732ef'
-
'05dead727d3ea5fe8af1a3c3888693f6b3e2b8cb7f197a5d793352e10d2c524e96c9a5c55ad2e88c1114643a9612ec0b26a2574b48a5260a9b51ec8941461f1c'
-
'177251404b2e818ae2b546fe8b13cb76e348c99e85c7bef22a04b0f07b600fd515a309ede50214f4198594388a6d2b31f46e945b9dae84aabb4dfa13b1123bb9')
-
-prepare() {
-  cd mongodb-src-r${pkgver}
-
-  # Add missing include required for std::swap()
-  # https://github.com/mongodb/mongo/commit/2d5d662
-  if grep -q '#include algorithm' src/mongo/shell/linenoise_utf8.h; then
-error 'algorithm include has been fixed upstream; remove this local fix.'
-return 1
-  fi
-  sed -i '1i #include algorithm' src/mongo/shell/linenoise_utf8.h
-}
-
-build() {
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons all \
---use-system-pcre \
---use-system-snappy \
---use-system-tcmalloc \
---use-sasl-client \
---use-system-boost \
---ssl \
---disable-warnings-as-errors \
---cc=clang --cxx=clang++
-# --use-system-v8 \
-# --use-system-yaml \
-}
-
-check() {
-  # Tests not passing
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd mongodb-src-r${pkgver}
-
-  scons smokeAll \
---use-system-pcre \
---use-system-snappy \
---use-system-tcmalloc \
---use-sasl-client \
---use-system-boost \
---ssl \
---disable-warnings-as-errors \
---cc=clang --cxx=clang++ \
---smokedbprefix=$srcdir || warning Tests failed
-}
-
-package() {
-  export SCONSFLAGS=$MAKEFLAGS
-
-  cd 

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

2013-03-29 Thread Stéphane Gaudreault
Date: Friday, March 29, 2013 @ 20:32:21
  Author: stephane
Revision: 87298

db-move: moved mongodb from [community-staging] to [community-testing] (i686, 
x86_64)

Added:
  mongodb/repos/community-testing-i686/
  mongodb/repos/community-testing-i686/PKGBUILD
(from rev 87277, mongodb/repos/community-staging-i686/PKGBUILD)
  mongodb/repos/community-testing-i686/SConscript.client.patch
(from rev 87277, 
mongodb/repos/community-staging-i686/SConscript.client.patch)
  mongodb/repos/community-testing-i686/mongodb.conf
(from rev 87277, mongodb/repos/community-staging-i686/mongodb.conf)
  mongodb/repos/community-testing-i686/mongodb.install
(from rev 87277, mongodb/repos/community-staging-i686/mongodb.install)
  mongodb/repos/community-testing-i686/mongodb.service
(from rev 87277, mongodb/repos/community-staging-i686/mongodb.service)
  mongodb/repos/community-testing-i686/removeWerror.patch
(from rev 87277, mongodb/repos/community-staging-i686/removeWerror.patch)
  mongodb/repos/community-testing-x86_64/
  mongodb/repos/community-testing-x86_64/PKGBUILD
(from rev 87277, mongodb/repos/community-staging-x86_64/PKGBUILD)
  mongodb/repos/community-testing-x86_64/SConscript.client.patch
(from rev 87277, 
mongodb/repos/community-staging-x86_64/SConscript.client.patch)
  mongodb/repos/community-testing-x86_64/mongodb.conf
(from rev 87277, mongodb/repos/community-staging-x86_64/mongodb.conf)
  mongodb/repos/community-testing-x86_64/mongodb.install
(from rev 87277, mongodb/repos/community-staging-x86_64/mongodb.install)
  mongodb/repos/community-testing-x86_64/mongodb.service
(from rev 87277, mongodb/repos/community-staging-x86_64/mongodb.service)
  mongodb/repos/community-testing-x86_64/removeWerror.patch
(from rev 87277, mongodb/repos/community-staging-x86_64/removeWerror.patch)
Deleted:
  mongodb/repos/community-staging-i686/
  mongodb/repos/community-staging-x86_64/

--+
 community-testing-i686/PKGBUILD  |   71 +
 community-testing-i686/SConscript.client.patch   |   13 +++
 community-testing-i686/mongodb.conf  |8 ++
 community-testing-i686/mongodb.install   |   32 +
 community-testing-i686/mongodb.service   |   10 ++
 community-testing-i686/removeWerror.patch|   11 +++
 community-testing-x86_64/PKGBUILD|   71 +
 community-testing-x86_64/SConscript.client.patch |   13 +++
 community-testing-x86_64/mongodb.conf|8 ++
 community-testing-x86_64/mongodb.install |   32 +
 community-testing-x86_64/mongodb.service |   10 ++
 community-testing-x86_64/removeWerror.patch  |   11 +++
 12 files changed, 290 insertions(+)

Copied: mongodb/repos/community-testing-i686/PKGBUILD (from rev 87277, 
mongodb/repos/community-staging-i686/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-03-29 19:32:21 UTC (rev 87298)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Felix Yan felixonm...@gmail.com
+# Contributor: Sven-Hendrik Haase s...@lutzhaase.com
+# Contributor: Thomas Dziedzic  gostrc at gmail 
+# Contributor: Mathias Stearn math...@10gen.com
+# Contributor: Alec Thomas
+
+pkgname=mongodb
+pkgver=2.4.1
+pkgrel=2
+pkgdesc='A high-performance, open source, schema-free document-oriented 
database'
+arch=('i686' 'x86_64')
+url='http://www.mongodb.org'
+license=('AGPL3')
+depends=('boost-libs')
+makedepends=('scons' 'boost' 'libpcap')
+checkdepends=('python2-pymongo')
+optdepends=('libpcap: needed for mongosniff')
+backup=('etc/mongodb.conf')
+install=mongodb.install
+source=(http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz;
+'mongodb.conf' 'mongodb.service' 'SConscript.client.patch'
+'removeWerror.patch')
+
+build() {
+  # fucking mongo aint no fun to package
+  export SCONSFLAGS=$MAKEFLAGS
+
+  cd mongodb-src-r${pkgver}
+
+  # fix https://jira.mongodb.org/browse/SERVER-5575
+  patch -Np1 -i ${srcdir}/SConscript.client.patch
+
+  # failed to build with -Werror since 2.4.0
+  patch -Np1 -i $srcdir/removeWerror.patch
+
+  scons all --use-system-boost # --sharedclient currently fails
+}
+
+COMMENT
+check() {
+  export SCONSFLAGS=$MAKEFLAGS
+
+  cd mongodb-src-r${pkgver}
+
+  scons smokeAll --smokedbprefix=$srcdir
+}
+COMMENT
+
+package() {
+  export SCONSFLAGS=$MAKEFLAGS
+
+  cd mongodb-src-r${pkgver}
+
+  scons install --use-system-boost --full --prefix=$pkgdir/usr # 
--sharedclient currently fails
+
+  install -Dm644 $srcdir/mongodb.conf $pkgdir/etc/mongodb.conf
+  [[ -f $pkgdir/usr/lib ]]  rm $pkgdir/usr/lib # wtf mongo
+  install -Dm644 $srcdir/mongodb.service 
$pkgdir/usr/lib/systemd/system/mongodb.service
+  install -dm700 $pkgdir/var/lib/mongodb
+  install -dm755 $pkgdir/var/log/mongodb
+
+  # the earlier 

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

2013-03-20 Thread Felix Yan
Date: Wednesday, March 20, 2013 @ 11:22:00
  Author: fyan
Revision: 86590

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

Added:
  mongodb/repos/community-testing-i686/
  mongodb/repos/community-testing-i686/PKGBUILD
(from rev 86589, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-testing-i686/SConscript.client.patch
(from rev 86589, mongodb/trunk/SConscript.client.patch)
  mongodb/repos/community-testing-i686/mongodb.conf
(from rev 86589, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-testing-i686/mongodb.install
(from rev 86589, mongodb/trunk/mongodb.install)
  mongodb/repos/community-testing-i686/mongodb.rc
(from rev 86589, mongodb/trunk/mongodb.rc)
  mongodb/repos/community-testing-i686/mongodb.service
(from rev 86589, mongodb/trunk/mongodb.service)
  mongodb/repos/community-testing-i686/removeWerror.patch
(from rev 86589, mongodb/trunk/removeWerror.patch)
  mongodb/repos/community-testing-x86_64/
  mongodb/repos/community-testing-x86_64/PKGBUILD
(from rev 86589, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-testing-x86_64/SConscript.client.patch
(from rev 86589, mongodb/trunk/SConscript.client.patch)
  mongodb/repos/community-testing-x86_64/mongodb.conf
(from rev 86589, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-testing-x86_64/mongodb.install
(from rev 86589, mongodb/trunk/mongodb.install)
  mongodb/repos/community-testing-x86_64/mongodb.rc
(from rev 86589, mongodb/trunk/mongodb.rc)
  mongodb/repos/community-testing-x86_64/mongodb.service
(from rev 86589, mongodb/trunk/mongodb.service)
  mongodb/repos/community-testing-x86_64/removeWerror.patch
(from rev 86589, mongodb/trunk/removeWerror.patch)

--+
 community-testing-i686/PKGBUILD  |   71 +
 community-testing-i686/SConscript.client.patch   |   13 +++
 community-testing-i686/mongodb.conf  |8 ++
 community-testing-i686/mongodb.install   |   32 +
 community-testing-i686/mongodb.rc|   39 +++
 community-testing-i686/mongodb.service   |   10 ++
 community-testing-i686/removeWerror.patch|   11 +++
 community-testing-x86_64/PKGBUILD|   71 +
 community-testing-x86_64/SConscript.client.patch |   13 +++
 community-testing-x86_64/mongodb.conf|8 ++
 community-testing-x86_64/mongodb.install |   32 +
 community-testing-x86_64/mongodb.rc  |   39 +++
 community-testing-x86_64/mongodb.service |   10 ++
 community-testing-x86_64/removeWerror.patch  |   11 +++
 14 files changed, 368 insertions(+)

Copied: mongodb/repos/community-testing-i686/PKGBUILD (from rev 86589, 
mongodb/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-03-20 10:22:00 UTC (rev 86590)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Felix Yan felixonm...@gmail.com
+# Contributor: Sven-Hendrik Haase s...@lutzhaase.com
+# Contributor: Thomas Dziedzic  gostrc at gmail 
+# Contributor: Mathias Stearn math...@10gen.com
+# Contributor: Alec Thomas
+
+pkgname=mongodb
+pkgver=2.4.0
+pkgrel=1
+pkgdesc='A high-performance, open source, schema-free document-oriented 
database'
+arch=('i686' 'x86_64')
+url='http://www.mongodb.org'
+license=('AGPL3')
+depends=('boost-libs')
+makedepends=('scons' 'boost' 'libpcap')
+checkdepends=('python2-pymongo')
+optdepends=('libpcap: needed for mongosniff')
+backup=('etc/mongodb.conf')
+install=mongodb.install
+source=(http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz;
+'mongodb.conf' 'mongodb.service' 'SConscript.client.patch'
+'removeWerror.patch')
+
+build() {
+  # fucking mongo aint no fun to package
+  export SCONSFLAGS=$MAKEFLAGS
+
+  cd mongodb-src-r${pkgver}
+
+  # fix https://jira.mongodb.org/browse/SERVER-5575
+  patch -Np1 -i ${srcdir}/SConscript.client.patch
+
+  # failed to build with -Werror since 2.4.0
+  patch -Np1 -i $srcdir/removeWerror.patch
+
+  scons all --use-system-boost # --sharedclient currently fails
+}
+
+COMMENT
+check() {
+  export SCONSFLAGS=$MAKEFLAGS
+
+  cd mongodb-src-r${pkgver}
+
+  scons smokeAll --smokedbprefix=$srcdir
+}
+COMMENT
+
+package() {
+  export SCONSFLAGS=$MAKEFLAGS
+
+  cd mongodb-src-r${pkgver}
+
+  scons install --use-system-boost --full --prefix=$pkgdir/usr # 
--sharedclient currently fails
+
+  install -Dm644 $srcdir/mongodb.conf $pkgdir/etc/mongodb.conf
+  [[ -f $pkgdir/usr/lib ]]  rm $pkgdir/usr/lib # wtf mongo
+  install -Dm644 $srcdir/mongodb.service 
$pkgdir/usr/lib/systemd/system/mongodb.service
+  install -dm700 $pkgdir/var/lib/mongodb
+  install -dm755 $pkgdir/var/log/mongodb
+
+  # the earlier SConscript patch actually gives us some trouble on x86_64 so 
we need to hack it out again

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

2013-01-21 Thread fyan
Date: Tuesday, January 22, 2013 @ 07:43:59
  Author: fyan
Revision: 82631

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

Added:
  mongodb/repos/community-staging-i686/
  mongodb/repos/community-staging-i686/PKGBUILD
(from rev 82630, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-staging-i686/SConscript.client.patch
(from rev 82630, mongodb/trunk/SConscript.client.patch)
  mongodb/repos/community-staging-i686/boost1.50.patch
(from rev 82630, mongodb/trunk/boost1.50.patch)
  mongodb/repos/community-staging-i686/mongodb.conf
(from rev 82630, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-staging-i686/mongodb.install
(from rev 82630, mongodb/trunk/mongodb.install)
  mongodb/repos/community-staging-i686/mongodb.rc
(from rev 82630, mongodb/trunk/mongodb.rc)
  mongodb/repos/community-staging-i686/mongodb.service
(from rev 82630, mongodb/trunk/mongodb.service)
  mongodb/repos/community-staging-x86_64/
  mongodb/repos/community-staging-x86_64/PKGBUILD
(from rev 82630, mongodb/trunk/PKGBUILD)
  mongodb/repos/community-staging-x86_64/SConscript.client.patch
(from rev 82630, mongodb/trunk/SConscript.client.patch)
  mongodb/repos/community-staging-x86_64/boost1.50.patch
(from rev 82630, mongodb/trunk/boost1.50.patch)
  mongodb/repos/community-staging-x86_64/mongodb.conf
(from rev 82630, mongodb/trunk/mongodb.conf)
  mongodb/repos/community-staging-x86_64/mongodb.install
(from rev 82630, mongodb/trunk/mongodb.install)
  mongodb/repos/community-staging-x86_64/mongodb.rc
(from rev 82630, mongodb/trunk/mongodb.rc)
  mongodb/repos/community-staging-x86_64/mongodb.service
(from rev 82630, mongodb/trunk/mongodb.service)

--+
 community-staging-i686/PKGBUILD  |   74 ++
 community-staging-i686/SConscript.client.patch   |   13 +
 community-staging-i686/boost1.50.patch   |  237 +
 community-staging-i686/mongodb.conf  |8 
 community-staging-i686/mongodb.install   |   32 ++
 community-staging-i686/mongodb.rc|   39 +++
 community-staging-i686/mongodb.service   |   10 
 community-staging-x86_64/PKGBUILD|   74 ++
 community-staging-x86_64/SConscript.client.patch |   13 +
 community-staging-x86_64/boost1.50.patch |  237 +
 community-staging-x86_64/mongodb.conf|8 
 community-staging-x86_64/mongodb.install |   32 ++
 community-staging-x86_64/mongodb.rc  |   39 +++
 community-staging-x86_64/mongodb.service |   10 
 14 files changed, 826 insertions(+)

Copied: mongodb/repos/community-staging-i686/PKGBUILD (from rev 82630, 
mongodb/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-01-22 06:43:59 UTC (rev 82631)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Felix Yan felixonm...@gmail.com
+# Contributor: Sven-Hendrik Haase s...@lutzhaase.com
+# Contributor: Thomas Dziedzic  gostrc at gmail 
+# Contributor: Mathias Stearn math...@10gen.com
+# Contributor: Alec Thomas
+
+pkgname=mongodb
+pkgver=2.2.2
+pkgrel=2
+pkgdesc='A high-performance, open source, schema-free document-oriented 
database'
+arch=('i686' 'x86_64')
+url='http://www.mongodb.org'
+license=('AGPL3')
+depends=('boost-libs')
+makedepends=('scons' 'boost' 'libpcap')
+checkdepends=('python2-pymongo')
+optdepends=('libpcap: needed for mongosniff')
+backup=('etc/mongodb.conf')
+install=mongodb.install
+source=(http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz;
+'mongodb.rc' 'mongodb.conf' 'mongodb.service'
+'SConscript.client.patch' 'boost1.50.patch')
+
+build() {
+  # fucking mongo aint no fun to package
+  export SCONSFLAGS=$MAKEFLAGS
+
+  cd mongodb-src-r${pkgver}
+
+  # fix https://jira.mongodb.org/browse/SERVER-5575
+  patch -Np1 -i ${srcdir}/SConscript.client.patch
+
+  # fix boost incompatibility
+  patch -Np1 -i ${srcdir}/boost1.50.patch
+
+  scons all --use-system-boost # --sharedclient currently fails
+}
+
+COMMENT
+check() {
+  export SCONSFLAGS=$MAKEFLAGS
+
+  cd mongodb-src-r${pkgver}
+
+  scons smokeAll --smokedbprefix=$srcdir
+}
+COMMENT
+
+package() {
+  export SCONSFLAGS=$MAKEFLAGS
+
+  cd mongodb-src-r${pkgver}
+
+  scons install --use-system-boost --full --prefix=$pkgdir/usr # 
--sharedclient currently fails
+
+  install -Dm755 $srcdir/mongodb.rc $pkgdir/etc/rc.d/mongodb
+  install -Dm644 $srcdir/mongodb.conf $pkgdir/etc/mongodb.conf
+  [[ -f $pkgdir/usr/lib ]]  rm $pkgdir/usr/lib # wtf mongo
+  install -Dm644 $srcdir/mongodb.service 
$pkgdir/usr/lib/systemd/system/mongodb.service
+  install -dm700 $pkgdir/var/lib/mongodb
+  install -dm755 $pkgdir/var/log/mongodb
+
+  # the earlier SConscript patch actually gives us some trouble on x86_64 so 
we need to hack it