A new implementation of OTR with support for version 4.
Clone or download
Latest commit 97644bd Dec 7, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
m4 Remove build dependency on libgcrypt 1.8. Also change the ax append f… Sep 22, 2018
pkgconfig Downgrade LGPL version to 2.1-or-later in order to be compatible with… Sep 10, 2018
src Style Dec 7, 2018
.clang-format Include style Dec 8, 2017
.gitignore Add emacs local config file to ignore Sep 27, 2018
.splintrc Correctly use char as bools Nov 23, 2018
.travis.yml Add integer sanitizer flag to CI Nov 4, 2018
CONTRIBUTORS.txt Fix #51 - Include licensing and copyright information Apr 5, 2018
COPYING Downgrade LGPL version to 2.1-or-later in order to be compatible with… Sep 10, 2018
COPYING.LESSER Downgrade LGPL version to 2.1-or-later in order to be compatible with… Sep 10, 2018
LICENSE.txt Downgrade LGPL version to 2.1-or-later in order to be compatible with… Sep 10, 2018
Makefile.am #165 - This error seems to be a spurious bug in clang-tidy. The va_st… Nov 4, 2018
README.md added coverity badge Oct 31, 2018
STRUCTURE.md Update all naming to match our new naming scheme Apr 4, 2018
STYLE.md Correct some things and add more tests Sep 21, 2018
autogen.sh Downgrade LGPL version to 2.1-or-later in order to be compatible with… Sep 10, 2018
configure.ac OK, ignore unknown pragmas Sep 29, 2018
lsan.supp Add suppresions for LeakSanitizer - for the libotr leak Sep 15, 2018
travis_before_script.sh Use more jobs to compile as fast as possible - but not running the ac… Sep 29, 2018
valgrind.supp Generalize some more suppressions Nov 5, 2018

README.md

OTR Next Generation library

Build Status FOSSA Status Coverity Status

Build

Before you try to build libotr-ng, verify you have installed:

Then, install the following dependencies:

  • libglib2.0-dev
  • libgoldilocks
  • libsodium-dev
  • libotr 4.x
  • libgcrypt 1.8.0 or newer

To generate project configuration:

$ autoreconf --install

To configure the project:

$ ./configure

To build and install:

$ make && make install

To run the tests:

$ make test

Configure library with other options

To configure the project with debug option using gdb:

$ ./configure CFLAGS="-g -ggdb3 -O0" CXXFLAGS="-g -ggdb3 -O0" LDFLAGS="-g -ggdb3" --disable-shared
$ gdb [path/test/executable]

To configure project with debug option using lldb:

$ ./configure CFLAGS="-g -ggdb3 -O0" CXXFLAGS="-g -ggdb3 -O0" LDFLAGS="-g -ggdb3" --disable-shared
$ lldb [path/test/executable]

To configure project with debug option:

$ ./configure --enable-debug

To run make code-style:

Install:

  • clang-format-3.5

License

FOSSA Status