remove leveldb from master branch

Since we now build against system leveldb and no longer
against a git submodule, drop the submodule from git master.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
add src/leveldb to .gitignore

Add src/leveldb to .gitignore in master, since the directory
may get checked out by older branches. Ignore it since it's not
needed in master.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
configure.ac: check for libsnappy

Since libsnappy is needed by leveldb, check if the lib is installed
before check for leveldb.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph.spec.in: fix leveldb handling

There is no need to add leveldb as 'Requires:'. The RPM build system
will find this dependency by itself.

Add leveldb-devel to BuildRequires: since this is what the package
really needs to build ceph correctly with libleveldb1.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
README: add leveldb-dev to package list needed for build

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
debian/control: add libleveldb-dev to Build-Depends:

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
debian/control: fix Depends

Remove request for libleveldb1 version > 1.2. Every libleveldb1 package
should work, otherwise the SO name/version of the library should change.

Fixes: #3945

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
SyntheticClient.cc: use static_cast instead of C-Style cast

Use static_cast<T>() instead of C-Style cast.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
CephBroker.h: use static_cast instead of C-Style cast

Use static_cast<T>() instead of C-Style cast.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
TextTable: pass const string by refrence to define_column()

Pass 'const string heading' by reference to define_column().

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph_argparse.cc: accept also 0/1 for boolean injectargs

Accept also 0 (as false) and 1 (true) as arguments for
boolean option on injectargs.

Fixes: #4261

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
common/armor.c: reduce scope of some variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
cls_acl.cc: remove unused variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
cls_crypto.cc: remove some unused variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Merge pull request #80 from dalgaaf/wip-da-4261

ceph_argparse.cc: accept also 0/1 for boolean injectargs

Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #79 from dalgaaf/wip-da-leveldb

Some fixes related to switch to system leveldb

Reviewed-by: Sage Weil <sage@inktank.com>
ceph_context.cc: remove unused variable 'args' from do_command

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
code_environment.cc: move variable ret in get_process_name()

Move 'ret' in get_process_name() to the correct block to suppress
warning about unused variable in cppcheck.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
config.cc: remove unused variable 'val' from parse_injectargs()

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
obj_bencher.cc: use static_cast instead of C-Style cast

Use static_cast<T>() instead of C-Style cast.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>