darkfi 6de436658b darkirc: switch recommendation from docker to podman for android builds před 2 roky
..
config 7266011ec1 replace ircd with darkirc před 2 roky
proof cbd120da96 darkirc: Preliminary RLN code layout před 2 roky
script d2e705b8cc darkirc: Add "no-autojoin" CAP před 2 roky
src 69a26b7fd3 event_graph: return sorted Vec<Events> instead of Vec<blake3::Hash> to reduce dag_get() calls před 2 roky
.gitignore fbcebe5e43 chore: updated some .gitignore files před 2 roky
Cargo.toml 27fd3785f8 chore: Update crate dependencies and CI Rust version před 2 roky
Makefile 6de436658b darkirc: switch recommendation from docker to podman for android builds před 2 roky
README.md ae3c67a7e0 replace ircd with darkirc throughout the codebase před 2 roky
android.Dockerfile 6de436658b darkirc: switch recommendation from docker to podman for android builds před 2 roky
build.rs 0e6f51e895 chore: Update copyright year in license headers před 2 roky
darkirc_config.toml cc9d4a87c4 darkirc/darkirc_config: seed fallback torrc onion added před 2 roky

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