From deee67755991994742ef144400857dd5f6b8aafa Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sun, 9 Aug 2026 05:19:13 +0200 Subject: chore: add RPM/DEB packaging artifacts — 5.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3 packages: python3-meshbay-common (dep), meshbay-hub, meshbay-node. RPM: spec files with pre/post scriptlets (useradd, systemd macros). DEB: DEBIAN/control + postinst for hub, control for node + common. Systemd: hub.service (system, security hardening) + node.service (user template @%i, EnvironmentFile for MESHBAY_UNLOCK_KEY). packaging/README.md: build + install instructions. Co-Authored-By: Claude Sonnet 4.6 (1M context) --- packaging/rpm/python3-meshbay-common.spec | 42 +++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 packaging/rpm/python3-meshbay-common.spec (limited to 'packaging/rpm/python3-meshbay-common.spec') diff --git a/packaging/rpm/python3-meshbay-common.spec b/packaging/rpm/python3-meshbay-common.spec new file mode 100644 index 0000000..7687e90 --- /dev/null +++ b/packaging/rpm/python3-meshbay-common.spec @@ -0,0 +1,42 @@ +Name: python3-meshbay-common +Version: 0.1.0 +Release: 1%{?dist} +Summary: MeshBay shared cryptographic primitives and protocol types +License: AGPLv3+ +URL: https://meshbay.org +Source0: meshbay-common-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel >= 3.12 +BuildRequires: python3-pip +BuildRequires: python3-hatchling + +Requires: python3 >= 3.12 +Requires: python3-cryptography >= 43.0 +Requires: python3-pyjwt >= 2.9 +Requires: python3-blake3 >= 1.0 +Requires: python3-msgpack >= 1.1 +Requires: python3-zstandard >= 0.23 + +%description +Shared library for MeshBay hub and node packages. +Provides: Ed25519/X25519 operations, GEK wrap/unwrap, chunk +encryption/signing, keystore AES-256-GCM, and MNP protocol types. + +%prep +%autosetup -n meshbay-common-%{version} + +%build +%{python3} -m pip wheel --no-deps --wheel-dir dist . + +%install +%{python3} -m pip install --root %{buildroot} --no-index --find-links dist meshbay-common + +%files +%license LICENSE +%{python3_sitelib}/meshbay_common/ +%{python3_sitelib}/meshbay_common-*.dist-info/ + +%changelog +* Sat Aug 09 2026 MeshBay Team - 0.1.0-1 +- Initial package -- cgit v1.2.3