skoupidi 1e8a11f855 darkirc/irc/server: restore comment to its former glory 1 yıl önce
..
config a76b9526bc misc: use ~/.local/share/darkfi for app storage 1 yıl önce
proof cbd120da96 darkirc: Preliminary RLN code layout 2 yıl önce
script a35aa255b6 bots: add telegram mirror bot 1 yıl önce
src 1e8a11f855 darkirc/irc/server: restore comment to its former glory 1 yıl önce
.gitignore fbcebe5e43 chore: updated some .gitignore files 2 yıl önce
Cargo.toml 7739d8a40e blockchain: use sled-overlay record parsing functions 1 yıl önce
Makefile 6de436658b darkirc: switch recommendation from docker to podman for android builds 2 yıl önce
README.md ae3c67a7e0 replace ircd with darkirc throughout the codebase 2 yıl önce
android.Dockerfile 7b0513589d darkirc: use vendored sqlite and deprecate self-compiled sqlcipher. 1 yıl önce
build.rs 0e6f51e895 chore: Update copyright year in license headers 2 yıl önce
darkirc_config.toml a76b9526bc misc: use ~/.local/share/darkfi for app storage 1 yıl önce

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