Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5b3fcafd242fb8408482534be12d57ef77cf26f5

commit 5b3fcafd242fb8408482534be12d57ef77cf26f5
Author: crazy <[email protected]>
Date:   Sun Apr 30 21:22:33 2017 +0200

mongodb-3.4.4-1-x86_64
* Version bump

diff --git a/source/apps-extra/mongodb/FrugalBuild 
b/source/apps-extra/mongodb/FrugalBuild
index a967648..fb3ddc3 100644
--- a/source/apps-extra/mongodb/FrugalBuild
+++ b/source/apps-extra/mongodb/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: boobaa <[email protected]>

pkgname=mongodb
-pkgver=3.4.2
+pkgver=3.4.4
pkgrel=1
pkgdesc="A scalable, high-performance, open source NoSQL database"
url="http://www.mongodb.org";
@@ -12,7 +12,7 @@ archs=('x86_64')
depends=('libstdc++>=6.2.1-8' 'openssl>=1.0.2-12' 'pcre' 'zlib' 'yaml-cpp' 
'snappy' 'libboost>=1.61.0-3' 'libpcap')
makedepends+=('scons' 'boost>=1.61.0-3')
source=(http://downloads.mongodb.org/src/mongodb-src-r$pkgver.tar.gz)
-sha1sums=('1e020ea885d80f1b7fb7b5c6c279e3e90c055dce')
+sha1sums=('6f9f2d8a3c1c2f4089fd03f8be0b86ff0431d955')
options+=('static')

## TODO: - some default conf ?
diff --git a/source/apps-extra/mongodb/boost.patch 
b/source/apps-extra/mongodb/boost.patch
deleted file mode 100644
index 3567c65..0000000
--- a/source/apps-extra/mongodb/boost.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -uprb mongodb-src-r3.2.0.orig/SConstruct mongodb-src-r3.2.0/SConstruct
---- mongodb-src-r3.2.0.orig/SConstruct 2015-12-02 21:01:34.000000000 +0200
-+++ mongodb-src-r3.2.0/SConstruct      2015-12-22 11:18:23.613216445 +0200
-@@ -2245,6 +2245,7 @@ def doConfigure(myenv):
-             # permit more than four parameters.
-             "BOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD",
-             "BOOST_SYSTEM_NO_DEPRECATED",
-+            "BOOST_OPTIONAL_USE_SINGLETON_DEFINITION_OF_NONE",
-         ]
-     )
-
diff --git a/source/apps-extra/mongodb/mongodb-3.2.0-fix-scons.patch 
b/source/apps-extra/mongodb/mongodb-3.2.0-fix-scons.patch
deleted file mode 100644
index 8b29bd4..0000000
--- a/source/apps-extra/mongodb/mongodb-3.2.0-fix-scons.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From ab6f929ee4584f3f1a040e55a63f493603f228d2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]>
-Date: Fri, 1 Jan 2016 10:27:35 +0100
-Subject: [PATCH] Fix build for Gentoo
-
----
- SConstruct | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/SConstruct b/SConstruct
-index 64c8387..fa9ab8b 100644
---- a/SConstruct
-+++ b/SConstruct
-@@ -1371,7 +1371,6 @@ if env.TargetOSIs('posix'):
-     env.Append( CCFLAGS=["-fno-omit-frame-pointer",
-                          "-fPIC",
-                          "-fno-strict-aliasing",
--                         "-ggdb",
-                          "-pthread",
-                          "-Wall",
-                          "-Wsign-compare",
-@@ -1382,8 +1381,9 @@ if env.TargetOSIs('posix'):
-         if not has_option("disable-warnings-as-errors"):
-             env.Append( CCFLAGS=["-Werror"] )
-
--    env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
-     env.Append( LINKFLAGS=["-fPIC", "-pthread"] )
-+    env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
-+    env.Append( LINKFLAGS=os.environ['LDFLAGS'] )
-
-     # SERVER-9761: Ensure early detection of missing symbols in dependent 
libraries at program
-     # startup.
-@@ -1398,10 +1398,10 @@ if env.TargetOSIs('posix'):
-         env.Append( SHLINKFLAGS=["-Wl,-z,now"] )
-         env.Append( LINKFLAGS=["-rdynamic"] )
-
--    env.Append( LIBS=[] )
-+    env.Append( LIBS=['pcre', 'pcrecpp', 'snappy', 'yaml-cpp'] )
-
--    #make scons colorgcc friendly
--    for key in ('HOME', 'TERM'):
-+    #make scons colorgcc, distcc, ccache friendly
-+    for key in ('HOME', 'PATH', 'TERM'):
-         try:
-             env['ENV'][key] = os.environ[key]
-         except KeyError:
---
-2.6.4
-
diff --git a/source/apps-extra/mongodb/mongodb-3.2.4-boost-1.60.patch 
b/source/apps-extra/mongodb/mongodb-3.2.4-boost-1.60.patch
deleted file mode 100644
index 41c9bd2..0000000
--- a/source/apps-extra/mongodb/mongodb-3.2.4-boost-1.60.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-Fix issues caused by boost::none changes.
-See also: https://bugs.gentoo.org/show_bug.cgi?id=578846
-Adapted from: 
https://github.com/mongodb/mongo/commit/92c3f80f384d2825efeabd0d26aa534c0deb6988
-
---- mongodb-src-r3.2.4/src/mongo/db/ftdc/compressor.cpp
-+++ mongodb-src-r3.2.4/src/mongo/db/ftdc/compressor.cpp
-@@ -47,7 +47,7 @@
-     if (_referenceDoc.isEmpty()) {
-         FTDCBSONUtil::extractMetricsFromDocument(sample, sample, &_metrics);
-         _reset(sample, date);
--        return {boost::none_t()};
-+        return {boost::none};
-     }
-
-     _metrics.resize(0);
-@@ -107,7 +107,7 @@
-     }
-
-     // The buffer is not full, inform the caller
--    return {boost::none_t()};
-+    return {boost::none};
- }
-
- StatusWith<std::tuple<ConstDataRange, Date_t>> 
FTDCCompressor::getCompressedSamples() {
---- mongodb-src-r3.2.4/src/mongo/db/ftdc/compressor_test.cpp
-+++ mongodb-src-r3.2.4/src/mongo/db/ftdc/compressor_test.cpp
-@@ -122,7 +122,7 @@
-     TestTie() : _compressor(&_config) {}
-
-     ~TestTie() {
--        validate(boost::none_t());
-+        validate(boost::none);
-     }
-
-     StatusWith<boost::optional<std::tuple<ConstDataRange, 
FTDCCompressor::CompressorState, Date_t>>>
---- mongodb-src-r3.2.4/src/mongo/db/ftdc/file_writer.cpp
-+++ mongodb-src-r3.2.4/src/mongo/db/ftdc/file_writer.cpp
-@@ -205,7 +205,7 @@
-
- Status FTDCFileWriter::close() {
-     if (_archiveStream.is_open()) {
--        Status s = flush(boost::none_t(), Date_t());
-+        Status s = flush(boost::none, Date_t());
-
-         _archiveStream.close();
-
---- mongodb-src-r3.2.4/src/mongo/util/concurrency/shared_mutex_win.hpp
-+++ mongodb-src-r3.2.4/src/mongo/util/concurrency/shared_mutex_win.hpp
-@@ -175,7 +175,7 @@
-                     return true;
-                 }
-
--                unsigned long const 
res=detail::win32::WaitForSingleObject(unlock_sem,::boost::detail::get_milliseconds_until(wait_until));
-+                unsigned long const 
res=WaitForSingleObject(unlock_sem,::boost::detail::get_milliseconds_until(wait_until));
-                 if(res==detail::win32::timeout)
-                 {
-                     for(;;)
-@@ -328,7 +328,7 @@
-                 {
-                     return true;
-                 }
--                unsigned long const 
wait_res=detail::win32::WaitForMultipleObjects(2,semaphores,true,::boost::detail::get_milliseconds_until(wait_until));
-+                unsigned long const 
wait_res=WaitForMultipleObjects(2,semaphores,true,::boost::detail::get_milliseconds_until(wait_until));
-                 if(wait_res==detail::win32::timeout)
-                 {
-                     for(;;)
-@@ -421,7 +421,7 @@
-                     return;
-                 }
-
--                
BOOST_VERIFY(!detail::win32::WaitForSingleObject(unlock_sem,detail::win32::infinite));
-+                
BOOST_VERIFY(!WaitForSingleObject(unlock_sem,detail::win32::infinite));
-             }
-         }
-
-@@ -502,7 +502,7 @@
-                 {
-                     if(!last_reader)
-                     {
--                        
BOOST_VERIFY(!detail::win32::WaitForSingleObject(upgrade_sem,detail::win32::infinite));
-+                        
BOOST_VERIFY(!WaitForSingleObject(upgrade_sem,detail::win32::infinite));
-                     }
-                     break;
-                 }
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to