guardship 0.1.3-x86_64-linux → 0.2.1-x86_64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +19 -3
- data/libexec/mothership +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 133cea80c3d6c6863734fe28c0d200eed5ce5bdd3fedde18e6a1a49c56351f3a
|
|
4
|
+
data.tar.gz: 0640ec7a29f918f1301ee17067ac7f614fa4b1e8c5bca0c527edf871ab949457
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a04db567422056a03e44156db2155f8ce4cfdc893ce40d09ec3836b25abe29509085f2e85af066b8cc34ee13d981ffd72106f63125fb613e03a3ec8518997eb0
|
|
7
|
+
data.tar.gz: 45723e1cfb7b4f064deea61686da66e0c23505286789a62d3d71237db1d7c20112d7c8ae9af889ae506ddafbfa7794f95f6b2ba940b7ef6e606357beebe2c0c8
|
data/README.md
CHANGED
|
@@ -19,7 +19,9 @@ The generic `guardship` gem is a stub. Platform-specific releases carry the bund
|
|
|
19
19
|
- no bundled native binary
|
|
20
20
|
- Platform gems:
|
|
21
21
|
- `mothership` native binary under `libexec/`
|
|
22
|
-
-
|
|
22
|
+
- built with the `tls` feature: TLS binds, and HTTP/2 to browsers over ALPN
|
|
23
|
+
- `wasm` modules, `tokio-postgres` election and the `tui` dashboard need a
|
|
24
|
+
build from source (`cargo install --path . --features ...`)
|
|
23
25
|
|
|
24
26
|
## Usage
|
|
25
27
|
|
|
@@ -44,22 +46,36 @@ The release build produces one stub gem and one platform gem for each supported
|
|
|
44
46
|
just build
|
|
45
47
|
cd gem
|
|
46
48
|
bundle exec rake gem:build
|
|
47
|
-
mise exec zig@0.17.0 -- bundle exec rake
|
|
49
|
+
mise exec zig@0.17.0 -- bundle exec rake platforms:build
|
|
48
50
|
```
|
|
49
51
|
|
|
50
|
-
`
|
|
52
|
+
`platforms:build` is the common ecosystem entry point for `gem:build_platforms`.
|
|
53
|
+
It compiles and packages every supported platform; it does not publish anything.
|
|
54
|
+
The full matrix needs a macOS host with the Apple SDK for both Darwin targets,
|
|
55
|
+
Rust/rustup, `cargo-zigbuild`, and Zig for Linux and FreeBSD. Missing Rust targets are
|
|
56
|
+
installed automatically, and a failed build stops packaging rather than
|
|
57
|
+
substituting a host binary.
|
|
58
|
+
|
|
59
|
+
Together with `gem:build`, these tasks build:
|
|
51
60
|
|
|
52
61
|
- `guardship-VERSION.gem`
|
|
53
62
|
- `guardship-VERSION-arm64-darwin.gem`
|
|
54
63
|
- `guardship-VERSION-x86_64-darwin.gem`
|
|
55
64
|
- `guardship-VERSION-aarch64-linux.gem`
|
|
56
65
|
- `guardship-VERSION-x86_64-linux.gem`
|
|
66
|
+
- `guardship-VERSION-amd64-freebsd.gem`
|
|
57
67
|
|
|
58
68
|
Linux platform gems are built with `cargo zigbuild` through the configured Zig toolchain. The task uses glibc-versioned targets by default:
|
|
59
69
|
|
|
60
70
|
- `x86_64-unknown-linux-gnu.2.36`
|
|
61
71
|
- `aarch64-unknown-linux-gnu.2.36`
|
|
62
72
|
|
|
73
|
+
The FreeBSD gem is cross-built for FreeBSD 15 and later: `libc` is compiled for
|
|
74
|
+
FreeBSD 15's struct layouts (`--cfg libc_unstable_freebsd_version="15"`; the
|
|
75
|
+
crate defaults to FreeBSD 12), and it links only symbol versions FreeBSD 15
|
|
76
|
+
provides. Its gem platform is `amd64-freebsd`, the CPU name FreeBSD's Ruby
|
|
77
|
+
reports, without a release so FreeBSD 16 matches too.
|
|
78
|
+
|
|
63
79
|
The glibc floor can be changed for a release with `GUARDSHIP_GLIBC_VERSION=2.xx`. Do not use the plain `*-unknown-linux-gnu` Zig targets for the local all-platform release; Rama DNS links resolver symbols such as `res_nquery` require the glibc-versioned target.
|
|
64
80
|
|
|
65
81
|
Publish after the artifacts are present:
|
data/libexec/mothership
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: guardship
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: x86_64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Abdelkader Boudih
|
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
56
56
|
- !ruby/object:Gem::Version
|
|
57
57
|
version: '0'
|
|
58
58
|
requirements: []
|
|
59
|
-
rubygems_version: 4.0.
|
|
59
|
+
rubygems_version: 4.0.10
|
|
60
60
|
specification_version: 4
|
|
61
61
|
summary: Mothership gem wrapper
|
|
62
62
|
test_files: []
|