x 3aa0e3b722 zkas: Implement debug symbols in the compiled binary 9 ماه پیش
..
config 757f1d0542 bin/darkirc: DEP-0007: add network profiles to net setting section of darkirc toml configs, use the maximum outbound_connect_timeout from all the network profiles for dag sync timeout 10 ماه پیش
proof 2492203bf5 darkirc: WIP RLNV2-DIFF 1 سال پیش
script db41ac54f7 darkirc: reverse commitbot's push events order 9 ماه پیش
src 3aa0e3b722 zkas: Implement debug symbols in the compiled binary 9 ماه پیش
.gitignore fbcebe5e43 chore: updated some .gitignore files 2 سال پیش
Cargo.toml fcdf5ee488 chore: Update crate dependencies 9 ماه پیش
Makefile 721502a468 Move from "nightly" toolchain to "stable". 1 سال پیش
README.md 4f30aae91d doc: Update book links 9 ماه پیش
android.Dockerfile 3202d51b38 darkirc: fix Dockerfile for android builds 1 سال پیش
build.rs 9785777642 chore: Update copyright license year 9 ماه پیش
darkirc_config.toml 757f1d0542 bin/darkirc: DEP-0007: add network profiles to net setting section of darkirc toml configs, use the maximum outbound_connect_timeout from all the network profiles for dag sync timeout 10 ماه پیش

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