community/mongodb to 3.2.5-1

This commit is contained in:
Kevin Mihelich 2016-05-01 00:47:38 +00:00
parent 9f9dfb0284
commit ad43a7ac36
2 changed files with 3 additions and 32 deletions

View file

@ -11,8 +11,8 @@
# - specify mmapv1 as the default storage engine in mongodb.conf # - specify mmapv1 as the default storage engine in mongodb.conf
pkgname=mongodb pkgname=mongodb
pkgver=3.2.3 pkgver=3.2.5
pkgrel=2 pkgrel=1
pkgdesc='A high-performance, open source, schema-free document-oriented database' pkgdesc='A high-performance, open source, schema-free document-oriented database'
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='http://www.mongodb.org' url='http://www.mongodb.org'
@ -27,16 +27,14 @@ backup=('etc/mongodb.conf')
install=mongodb.install install=mongodb.install
source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz" source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz"
'boost160.patch' 'boost160.patch'
'disable-sslv3.patch'
'mongodb.conf' 'mongodb.service' 'mongodb.conf' 'mongodb.service'
'0001-mozjs-platform-support-for-ARM.patch' '0001-mozjs-platform-support-for-ARM.patch'
'0002-issue-693-convert-sys_futex-to-it-s-6-arg-form.patch' '0002-issue-693-convert-sys_futex-to-it-s-6-arg-form.patch'
'0003-issue-693-enable-futex-usage-on-arm.patch' '0003-issue-693-enable-futex-usage-on-arm.patch'
'0004-use-gnu-11-instead-of-c-11.patch' '0004-use-gnu-11-instead-of-c-11.patch'
'0005-fix-options_parser-segfault.patch') '0005-fix-options_parser-segfault.patch')
sha512sums=('43b652da8fb461c36be1566965985aed036d53a8f4ed2a5f4a67e08571697c4030eb682a2a14ebc41991757d7083a268c5161b536d20dc1b3de13dac8df1da53' sha512sums=('dbdb7a9f73c8025faf4a670f55d39fbc48577a0825f9edbb1d072d3237f64a4a84c0e415714182fa1da33a6a40673c8c9f31c3f509aa4a339211c913cbaf945b'
'385c82875174caae433a3b381eb10f98a6fed0c8943788ddefff1de80a898e480bdbbf094a7783285cf2ae11ce3fc6878e57d58183d05be2f0837b206aaa4da6' '385c82875174caae433a3b381eb10f98a6fed0c8943788ddefff1de80a898e480bdbbf094a7783285cf2ae11ce3fc6878e57d58183d05be2f0837b206aaa4da6'
'db2c0a64cb8521334cf4b3658ead12597b93b7e0ac986599f99f6b01dc7e2041352b2bd25cff5e2de30933ff9dc64b189f29be634df5490b21dda1264bcd04f5'
'631d10baac9367e24d064c6ca05f1872dbf211c9d06ce2622d911da3a4f6416c521c649da686e0e283c10dba2802de74d952a45249461d0ca90ed1b316aed1ee' '631d10baac9367e24d064c6ca05f1872dbf211c9d06ce2622d911da3a4f6416c521c649da686e0e283c10dba2802de74d952a45249461d0ca90ed1b316aed1ee'
'177251404b2e818ae2b546fe8b13cb76e348c99e85c7bef22a04b0f07b600fd515a309ede50214f4198594388a6d2b31f46e945b9dae84aabb4dfa13b1123bb9' '177251404b2e818ae2b546fe8b13cb76e348c99e85c7bef22a04b0f07b600fd515a309ede50214f4198594388a6d2b31f46e945b9dae84aabb4dfa13b1123bb9'
'9877ef788fd1170337ef6da267d8fb624f74c59eb98533753d4db9ff841f562e81cbb3ee36431ea11cee4f9354876426bc24edaa68dd43ef2b1f5e5111395696' '9877ef788fd1170337ef6da267d8fb624f74c59eb98533753d4db9ff841f562e81cbb3ee36431ea11cee4f9354876426bc24edaa68dd43ef2b1f5e5111395696'
@ -71,7 +69,6 @@ fi
prepare() { prepare() {
cd mongodb-src-r${pkgver} cd mongodb-src-r${pkgver}
patch -Np1 -i ../boost160.patch patch -Np1 -i ../boost160.patch
patch -Np1 -i ../disable-sslv3.patch
patch -p1 -i ../0001-mozjs-platform-support-for-ARM.patch patch -p1 -i ../0001-mozjs-platform-support-for-ARM.patch
patch -p1 -i ../0002-issue-693-convert-sys_futex-to-it-s-6-arg-form.patch patch -p1 -i ../0002-issue-693-convert-sys_futex-to-it-s-6-arg-form.patch
patch -p1 -i ../0003-issue-693-enable-futex-usage-on-arm.patch patch -p1 -i ../0003-issue-693-enable-futex-usage-on-arm.patch

View file

@ -1,26 +0,0 @@
diff -u -r mongodb-src-r3.2.3/src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp mongodb-src-r3.2.3-nossl3/src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp
--- mongodb-src-r3.2.3/src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp 2016-02-17 19:57:55.000000000 +0100
+++ mongodb-src-r3.2.3-nossl3/src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp 2016-03-03 18:24:21.321007930 +0100
@@ -84,6 +84,14 @@
handle_ = ::SSL_CTX_new(::SSLv2_server_method());
break;
#endif // defined(OPENSSL_NO_SSL2)
+#if defined(OPENSSL_NO_SSL3)
+ case context::sslv3:
+ case context::sslv3_client:
+ case context::sslv3_server:
+ asio::detail::throw_error(
+ asio::error::invalid_argument, "context");
+ break;
+#else // defined(OPENSSL_NO_SSL3)
case context::sslv3:
handle_ = ::SSL_CTX_new(::SSLv3_method());
break;
@@ -93,6 +101,7 @@
case context::sslv3_server:
handle_ = ::SSL_CTX_new(::SSLv3_server_method());
break;
+#endif // defined(OPENSSL_NO_SSL3)
case context::tlsv1:
handle_ = ::SSL_CTX_new(::TLSv1_method());
break;