darkfi 3202d51b38 darkirc: fix Dockerfile for android builds 1 سال پیش
..
config a29f9b40a6 darkirc, darkfid, taud, damd configs: change boolean transport_mixing field to mixed_transport list 1 سال پیش
proof 2492203bf5 darkirc: WIP RLNV2-DIFF 1 سال پیش
script 012f5dec23 darkirc/script/bots: fix accidentally messed up telegram bot 1 سال پیش
src 01f2cd1173 bin/darkirc/irc/client: fix bug with split and join of raw IRC message in process_client resulting in replacement of multiple whitespace chars with one whitespace char in PRIVMSG message text part. this solution splits the messages into predefined parts thus keeping the message part of the PRIVMSG message as whole 1 سال پیش
.gitignore fbcebe5e43 chore: updated some .gitignore files 2 سال پیش
Cargo.toml fda2a84034 chore: Update dependencies 1 سال پیش
Makefile 721502a468 Move from "nightly" toolchain to "stable". 1 سال پیش
README.md ae3c67a7e0 replace ircd with darkirc throughout the codebase 2 سال پیش
android.Dockerfile 3202d51b38 darkirc: fix Dockerfile for android builds 1 سال پیش
build.rs ee73d63d49 chore: fmt 1 سال پیش
darkirc_config.toml 0d852630eb darkirc, darkfid, taud, fud configs: add default nym socks5 proxy url 1 سال پیش

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