summaryrefslogtreecommitdiff
path: root/community/mongodb
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-14 03:52:55 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-14 03:52:55 +0000
commit7c266ff5a9e1f533fd8bd8c2fbbcc05df350dcd3 (patch)
treea65448ff1236d65a3fea9015e7cd01e6483eb282 /community/mongodb
parent3d6877ee9ee7bba813a4b6be30a11d2b1942c656 (diff)
Mon Apr 14 03:47:31 UTC 2014
Diffstat (limited to 'community/mongodb')
-rw-r--r--community/mongodb/PKGBUILD21
-rw-r--r--community/mongodb/removeWerror.patch22
2 files changed, 16 insertions, 27 deletions
diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD
index caf35813c..015f7fe9b 100644
--- a/community/mongodb/PKGBUILD
+++ b/community/mongodb/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 108911 2014-04-07 12:17:25Z fyan $
+# $Id: PKGBUILD 109312 2014-04-13 09:23:07Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
@@ -6,13 +6,13 @@
# Contributor: Alec Thomas
pkgname=mongodb
-pkgver=2.4.10
+pkgver=2.6.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' 'pcre' 'snappy' 'openssl' 'gperftools') # 'libsasl')
+depends=('boost-libs' 'pcre' 'snappy' 'openssl' 'gperftools' 'libsasl') # 'libyaml' 'yaml-cpp' 'v8')
makedepends=('scons' 'boost' 'readline' 'ncurses' 'libpcap')
checkdepends=('python2-pymongo')
optdepends=('libpcap: needed for mongosniff')
@@ -35,9 +35,9 @@ build() {
--use-system-pcre \
--use-system-snappy \
--use-system-tcmalloc \
- --ssl \
- --sharedclient
- # --use-sasl-client
+ --use-sasl-client \
+ --ssl
+ # --use-system-yaml
# --use-system-v8
}
@@ -60,11 +60,10 @@ package() {
--use-system-pcre \
--use-system-snappy \
--use-system-tcmalloc \
+ --use-sasl-client \
--ssl \
- --sharedclient \
- --full \
--prefix="$pkgdir/usr"
- # --use-sasl-client
+ # --use-system-yaml
# --use-system-v8
install -Dm644 "$srcdir/mongodb.conf" "$pkgdir/etc/mongodb.conf"
@@ -73,7 +72,7 @@ package() {
install -dm755 "$pkgdir/var/log/mongodb"
}
-sha512sums=('970364dda2dba18bf979a0fc8291d9656b3cc3ba0aec1ca26d81f14f833e355c023d19b3cfaa81704013bf2c0e732d72de08b0f8236dafe85a3ac4d51b87edc6'
+sha512sums=('60747ebd2fce9cffdb6b5ea3472a4efa46cd7e1ee38aee2a806a15667b5d86a61da89bf176876553ab348c0f3b3b925125921330b333a8349275e6ce79ccd337'
'05dead727d3ea5fe8af1a3c3888693f6b3e2b8cb7f197a5d793352e10d2c524e96c9a5c55ad2e88c1114643a9612ec0b26a2574b48a5260a9b51ec8941461f1c'
'177251404b2e818ae2b546fe8b13cb76e348c99e85c7bef22a04b0f07b600fd515a309ede50214f4198594388a6d2b31f46e945b9dae84aabb4dfa13b1123bb9'
- 'e709f76fa71a10d6b72d2eeae65d715e0a0a7e6cb93704114f22db8662d7102de77bd1e6706049351beb159aaa04548cfe4b14fe6ee498a166c5ad54c8275f84')
+ 'SKIP')
diff --git a/community/mongodb/removeWerror.patch b/community/mongodb/removeWerror.patch
index dd96084da..e25f121bb 100644
--- a/community/mongodb/removeWerror.patch
+++ b/community/mongodb/removeWerror.patch
@@ -1,21 +1,11 @@
---- a/SConstruct 2013-03-16 02:59:55.000000000 +0800
-+++ b/SConstruct 2013-03-20 10:55:20.009645869 +0800
-@@ -692,7 +692,7 @@
+--- a/SConstruct 2014-04-08 22:55:57.206075327 +0800
++++ b/SConstruct 2014-04-08 22:57:58.692240224 +0800
+@@ -819,7 +819,7 @@
"-Winvalid-pch"] )
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
- if linux:
+ if linux or darwin:
- env.Append( CCFLAGS=["-Werror", "-pipe"] )
+ env.Append( CCFLAGS=["-pipe"] )
- if not has_option('clang'):
- env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's
---- a/src/third_party/v8/SConscript 2013-04-17 03:21:23.000000000 +0800
-+++ b/src/third_party/v8/SConscript 2013-04-18 17:41:29.878618892 +0800
-@@ -47,7 +47,6 @@
- 'gcc': {
- 'all': {
- 'CCFLAGS': ['-Wall',
-- '-Werror',
- '-W',
- '-Wno-unused-parameter',
- '-Woverloaded-virtual',
+ env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
+ env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )