x ed32be1a60 doc: Document P2P transport mixing преди 2 седмици
..
config ed32be1a60 doc: Document P2P transport mixing преди 2 седмици
script db41ac54f7 darkirc: reverse commitbot's push events order преди 7 месеца
src 6c484aa541 darkirc: Prevent partial reply frames преди 3 седмици
.gitignore fbcebe5e43 chore: updated some .gitignore files преди 2 години
Cargo.toml b1ad210c9f darkirc/Cargo.toml: removed android stuff преди 3 седмици
Makefile fac3892c4b event_graph: [WIP] implement slashing, storing shares, recover secret преди 4 месеца
README.md 4f30aae91d doc: Update book links преди 7 месеца
android.Dockerfile 3202d51b38 darkirc: fix Dockerfile for android builds преди 11 месеца
build.rs 6d3df4ab59 darkirc: remove sqlcipher from build преди 3 седмици
darkirc_config.toml ed32be1a60 doc: Document P2P transport mixing преди 2 седмици

README.md

darkirc

Check the Installation Guide for more detailed information about the ins and outs of darkirc.

Android build

  1. Install android-ndk
  2. Compile openssl with the Android toolchain
  3. Compile sqlcipher with the Android toolchain and the openssl lib
  4. Compile darkirc

OpenSSL

$ git clone https://github.com/openssl/openssl
$ cd openssl
$ export ANDROID_NDK_ROOT="/opt/android-ndk"
$ export PATH="$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
$ ./Configure android-arm64 -D__ANDROID_API__=32
$ make -j$(nproc)

SQLcipher

$ git clone https://github.com/sqlcipher/sqlcipher
$ cd sqlcipher
$ sed -e 's/strchrnul//' -i configure
$ export ANDROID_NDK_ROOT="/opt/android-ndk"
$ export PATH="$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
$ CC=aarch64-linux-android32-clang \
  CPPFLAGS="-I$PWD/../openssl/include" \
  LDFLAGS="-L$PWD/../openssl" \
  ./configure \
      --host=aarch64-linux-android32 \
      --disable-shared \
      --enable-static \
      --enable-cross-thread-connections \
      --enable-releasemode \
      --disable-tcl
$ make -j$(nproc)
$ ./libtool --mode install install libsqlcipher.la $PWD

DarkIRC

$ make darkirc.android64