draoi 3e0ddde295 darkirc: fix update line in android.Dockerfile 2 жил өмнө
..
config 7266011ec1 replace ircd with darkirc 2 жил өмнө
proof cbd120da96 darkirc: Preliminary RLN code layout 2 жил өмнө
script bfb2c01905 bin/darkirc: use none-default ports in test script 2 жил өмнө
src b93ea66864 darkirc: info log flushed bytes on termination 2 жил өмнө
.gitignore 3b84503365 darkirc: Add native Android cross-build instructions 2 жил өмнө
Cargo.toml 4dda409e50 darkirc: Use binary crate version in p2p app_version 2 жил өмнө
Makefile a9a6cb4ef9 darkirc: NickServ account registration 2 жил өмнө
README.md e5e105ca40 update darkirc README 2 жил өмнө
android.Dockerfile 3e0ddde295 darkirc: fix update line in android.Dockerfile 2 жил өмнө
build.rs 0e6f51e895 chore: Update copyright year in license headers 2 жил өмнө
darkirc_config.toml 53834bbd9b darkirc: Bump version to 0.5.0 2 жил өмнө

README.md

darkirc

If you're trying to join the chat, then for now, use the older ircd, Installation Guide.

DarkIRC is still pending a few more upgrades before we switch over.

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