Deprecated: Stalwart 0.16 is end-of-life; only needed while migrating to Stalwart 1.x
Expires: 2027-11-02
mail/stalwart-migrate 1.0.5 FreeBSD
Migrate Stalwart Mail Server data stores from v0.16 to v1
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
219175d62e- License
- AGPLv3, SELv2
- Categories
Description
stalwart-migrate moves the data of a Stalwart Mail and Collaboration Server v0.16.27 deployment to Stalwart v1, and can move it back again if the upgrade has to be reverted.
Stalwart v1 changes the on-disk layout of the data store, so a v0.16 store cannot be upgraded in place. The tool copies every account, message, calendar, address book, file and setting from the running v0.16 store into a new, empty v1 store, converting each object with the v1 code as it goes. The copy can be repeated while v0.16 keeps serving users; each repetition transfers only what changed, so the final switch needs only a short downtime window.
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install stalwart-migrate
From the ports tree:
cd /usr/ports/mail/stalwart-migrate/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= stalwart-migrate>0:mail/stalwart-migrate
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | - | - | - | - |
| FreeBSD:14:quarterly | - | - | n/a | - | - |
| FreeBSD:15:latest | - | 1.0.5 | n/a | - | - |
| FreeBSD:15:quarterly | - | - | n/a | n/a | n/a |
| FreeBSD:16:latest | - | - | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
bindgen: devel/rust-bindgen-cli
Library 1
libzstd.so: archivers/zstd
Test 1
${LOCALBASE}/lib/librocksdb.so: databases/rocksdb
The full lists below include those, and their dependencies in turn.
Build dependencies 25
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- databases/sqlite3
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libedit
- devel/libunistring
- devel/libuv
- devel/llvm19
- devel/pkgconf
- devel/rust-bindgen-cli
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/rust
- lang/tcl86
- math/libtommath
- ports-mgmt/pkg
- print/indexinfo
- security/libssh2
- security/rhash
- textproc/expat2
- www/libnghttp2
Run dependencies 6
No port depends on this one.
Configuration
Options name: mail_stalwart-migrate
| Option | Default | Description |
|---|---|---|
| AZURE | off | Azure Blob Storage backend |
| CLI_PLAN | off | Script to convert stalwart-cli plans to the v1 schema |
| DOCS | off | Build and/or install documentation |
| ENTERPRISE | off | Enterprise features (must match the Stalwart v1 build) |
| MYSQL | on | MySQL backend |
| POSTGRES | on | PostgreSQL backend |
| REDIS | on | Redis backend |
| ROCKSDB | on | RocksDB backend |
| S3 | on | S3 storage backend |
| SQLITE | on | SQLite backend |
- USES
- cargo llvm:build,noexport sqlite
- Service scripts
- none
Files
distinfo 834
| File | Size | SHA256 |
|---|---|---|
| rust/crates/RustyXML-0.3.0.crate | 17517 | 8b5ace29ee3216de37c0546865ad08edef58b0f9e76838ed8959a84a990e58c5 |
| rust/crates/adler2-2.0.1.crate | 13366 | 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa |
| rust/crates/adler32-1.2.0.crate | 6411 | aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234 |
| rust/crates/aead-0.5.2.crate | 15509 | d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0 |
| rust/crates/aead-0.6.1.crate | 18672 | 1973cfbc1a2daf9cf550e74e1f088c28e7f7d8c1e1418fb6c9dc5184b7e84c99 |
| rust/crates/aes-0.8.4.crate | 124812 | b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0 |
| rust/crates/aes-0.9.3.crate | 112408 | 35f0f96ce78e38c3dc6d8948aa8163d06385be74000f3c7a95bf1eef35d3ea32 |
| rust/crates/aes-gcm-0.10.3.crate | 148991 | 831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1 |
| rust/crates/aes-gcm-0.11.1.crate | 155976 | 7f2b8006a0c83f52b62ba44a97b58bf76fe2f70a329e588f67f89691d93d498f |
| rust/crates/aes-gcm-siv-0.12.1.crate | 29235 | 4c32325128cb24de2a2d14d92da7569dae7073f9e47334521d494747fa94d902 |
| rust/crates/ahash-0.8.12.crate | 43413 | 5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75 |
| rust/crates/aho-corasick-1.1.5.crate | 184315 | c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba |
| rust/crates/allocator-api2-0.2.21.crate | 63622 | 683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923 |
| rust/crates/android_system_properties-0.1.6.crate | 5625 | ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc |
| rust/crates/anstream-1.0.0.crate | 28916 | 824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d |
| rust/crates/anstyle-1.0.14.crate | 17787 | 940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000 |
| rust/crates/anstyle-parse-1.0.0.crate | 22042 | 52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e |
| rust/crates/anstyle-query-1.1.5.crate | 10264 | 40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc |
| rust/crates/anstyle-wincon-3.0.11.crate | 12638 | 291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d |
| rust/crates/anyhow-1.0.104.crate | 48819 | 330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470 |