parazyd c6227e38e4 net: Create datastore in P2p::new() 2 năm trước cách đây
..
config 7266011ec1 replace ircd with darkirc 2 năm trước cách đây
proof cbd120da96 darkirc: Preliminary RLN code layout 2 năm trước cách đây
script d2e705b8cc darkirc: Add "no-autojoin" CAP 2 năm trước cách đây
src c6227e38e4 net: Create datastore in P2p::new() 2 năm trước cách đây
.gitignore 3b84503365 darkirc: Add native Android cross-build instructions 2 năm trước cách đây
Cargo.toml 8c33d59f40 chore: updated all repo references to codeberg 2 năm trước cách đây
Makefile a9a6cb4ef9 darkirc: NickServ account registration 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 3e0ddde295 darkirc: fix update line in android.Dockerfile 2 năm trước cách đây
build.rs 0e6f51e895 chore: Update copyright year in license headers 2 năm trước cách đây
darkirc_config.toml c6aa5c1544 net: Define a datastore path 2 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