y cb5534090b [darkirc/build] add license header преди 2 години
..
config 7266011ec1 replace ircd with darkirc преди 2 години
proof cbd120da96 darkirc: Preliminary RLN code layout преди 2 години
script c793cfdfd5 bin/darkirc: [taubot] replace id with ref_id преди 2 години
src 3b84503365 darkirc: Add native Android cross-build instructions преди 2 години
.gitignore 3b84503365 darkirc: Add native Android cross-build instructions преди 2 години
Cargo.toml 3b84503365 darkirc: Add native Android cross-build instructions преди 2 години
Makefile 3b84503365 darkirc: Add native Android cross-build instructions преди 2 години
README.md 3b84503365 darkirc: Add native Android cross-build instructions преди 2 години
android.Dockerfile 546e5a3c46 darkirc: fully working docker image преди 2 години
build.rs cb5534090b [darkirc/build] add license header преди 2 години
darkirc_config.toml 4da0207bbd More explicit error message for users who have failed to generate their own key pair (#235) преди 2 години

README.md

darkirc

Installation Guide

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