mirror of
https://github.com/aziascreations/BakaShrot.git
synced 2026-11-23 20:58:46 +01:00
Moved the PureBasic version to OldSource/, Started the Rust rewrite in Source/
The rewrite's plan and decisions are in revamp.md. Steps 0 to 10 are done: the workspace and checks, bakashrot-proto, bakashrot-pki and bakashrot-cert, bakashrot-config, bakashrot-storage (schema v9), the server and the client library (every request but replication's, attachments and retention included), the C DLL with its C, PureBasic and Python bindings, and the bakashrot tool. Step 11 (replication) is next. OldSource/ is the old implementation, kept building and passing as the reference. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RwFeVTGs2SsufaH6zquzcb
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
[InternetShortcut]
|
||||
URL=https://download.libsodium.org/libsodium/releases/
|
||||
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* ISC License
|
||||
*
|
||||
* Copyright (c) 2013-2026
|
||||
* Frank Denis <j at pureftpd dot org>
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
@@ -0,0 +1,26 @@
|
||||
# Runtime redistributables
|
||||
|
||||
DLLs the release needs next to its exes that Windows doesn't always have,
|
||||
packaged by `Release.ps1`.
|
||||
|
||||
| File | Needed by | From | Version |
|
||||
|---|---|---|---|
|
||||
| `x64/vcruntime140.dll` | `libsodium.dll` (the official MSVC build) | Visual Studio 2026 (18) Community, `VC\Redist\MSVC\14.51.36231\x64\Microsoft.VC145.CRT\` | 14.51.36247.0 |
|
||||
|
||||
SHA-256 of `x64/vcruntime140.dll`:
|
||||
`D1F4225DF2CD877DBF130D5668A021DCE3F94118455FF5EC952061C30AFC9CE7`
|
||||
|
||||
- **Why:** `libsodium.dll` imports `vcruntime140.dll` (the Visual C++
|
||||
2015-2026 runtime). Without it, on a Windows without that runtime
|
||||
installed, `BakaShrot_Server.exe`, `BakaShrot_Client.dll` and every tool
|
||||
fail to load. Next to the exe, it's found before any installed one.
|
||||
- **Not needed:** the other DLLs of that folder (`msvcp140.dll`,
|
||||
`vcruntime140_1.dll`, ...): nothing imports them. The `api-ms-win-crt-*`
|
||||
DLLs libsodium also imports are the Universal CRT, part of Windows 10 and
|
||||
later, so the release needs Windows 10+.
|
||||
- **Allowed:** files from Visual Studio's `VC\Redist` folder are the ones its
|
||||
license lets you redistribute with an app.
|
||||
- **Updating:** copy the newer one from that folder, update this table and
|
||||
the hash. To check what a binary imports:
|
||||
`grep -a -o -i -E "(vcruntime[0-9_]*|msvcp[0-9_]*|api-ms-win-crt-[a-z0-9-]+)\.dll" <file>`
|
||||
- x86 isn't built, so there's no `x86/`.
|
||||
Binary file not shown.
Reference in New Issue
Block a user