dasman 1b3454dd29 darkirc/script/bots: all bots exit on empty buffer 1 năm trước cách đây
..
config 2bbe39e0ee use `RpcSettings` and `RpcSettingsOpt` 1 năm trước cách đây
proof 2492203bf5 darkirc: WIP RLNV2-DIFF 1 năm trước cách đây
script 1b3454dd29 darkirc/script/bots: all bots exit on empty buffer 1 năm trước cách đây
src 2acd3c60bb darkirc: deathloop fix, clients(bots) closing unexpectly causing an unhandled read buffer of 0 to continue endlessly 1 năm trước cách đây
.gitignore fbcebe5e43 chore: updated some .gitignore files 2 năm trước cách đây
Cargo.toml f5baac83cf chore: Update crate dependencies 1 năm trước cách đây
Makefile 6de436658b darkirc: switch recommendation from docker to podman for android builds 2 năm trước cách đây
README.md ae3c67a7e0 replace ircd with darkirc throughout the codebase 2 năm trước cách đây
android.Dockerfile 7b0513589d darkirc: use vendored sqlite and deprecate self-compiled sqlcipher. 1 năm trước cách đây
build.rs 604f443fd1 chore: Update license header year 1 năm trước cách đây
darkirc_config.toml bfe1ec9285 darkirc: minor cleanup nitpicks 1 năm trước cách đây

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