lmcp 0.5.4: ship lmcp.service systemd unit template

This commit is contained in:
2026-04-21 22:23:54 +02:00
parent 0a58b1e14f
commit 1b0b609ae7
3 changed files with 15 additions and 4 deletions
+3 -2
View File
@@ -3,7 +3,7 @@
# Source of truth: git.reauktion.de/marfrit/lmcp # Source of truth: git.reauktion.de/marfrit/lmcp
pkgname=lmcp pkgname=lmcp
pkgver=0.5.3 pkgver=0.5.4
pkgrel=1 pkgrel=1
pkgdesc="Lightweight MCP (Model Context Protocol) server in pure Lua" pkgdesc="Lightweight MCP (Model Context Protocol) server in pure Lua"
arch=('any') arch=('any')
@@ -11,7 +11,7 @@ url="https://git.reauktion.de/marfrit/lmcp"
license=('MIT') license=('MIT')
depends=('lua' 'lua-socket') depends=('lua' 'lua-socket')
source=("${pkgname}-${pkgver}.tar.gz::https://git.reauktion.de/marfrit/lmcp/archive/v${pkgver}.tar.gz") source=("${pkgname}-${pkgver}.tar.gz::https://git.reauktion.de/marfrit/lmcp/archive/v${pkgver}.tar.gz")
sha256sums=('821cb89927ea5f65e2849c526ef98692f1a55032911e7c3115c97d0814ddf08b') sha256sums=('af72b8c1d88255456b75d2c53cd5c451a8923417e5498ef31858539397e09caf')
package() { package() {
cd "${pkgname}" cd "${pkgname}"
@@ -20,6 +20,7 @@ package() {
install -Dm644 server.lua "${pkgdir}/usr/share/lua/5.4/server.lua" install -Dm644 server.lua "${pkgdir}/usr/share/lua/5.4/server.lua"
install -Dm644 hub.lua "${pkgdir}/usr/share/lua/5.4/hub.lua" install -Dm644 hub.lua "${pkgdir}/usr/share/lua/5.4/hub.lua"
install -Dm644 examples/lmcp-hub.service "${pkgdir}/usr/share/doc/${pkgname}/examples/lmcp-hub.service" install -Dm644 examples/lmcp-hub.service "${pkgdir}/usr/share/doc/${pkgname}/examples/lmcp-hub.service"
install -Dm644 examples/lmcp.service "${pkgdir}/usr/share/doc/${pkgname}/examples/lmcp.service"
install -Dm644 examples/hub-backends.conf.example "${pkgdir}/usr/share/doc/${pkgname}/examples/hub-backends.conf.example" install -Dm644 examples/hub-backends.conf.example "${pkgdir}/usr/share/doc/${pkgname}/examples/hub-backends.conf.example"
install -Dm755 example_server.lua "${pkgdir}/usr/bin/lmcp-example" install -Dm755 example_server.lua "${pkgdir}/usr/bin/lmcp-example"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+3 -2
View File
@@ -7,9 +7,9 @@
# package (Architecture: all, depends on lua + lua-socket). # package (Architecture: all, depends on lua + lua-socket).
set -euo pipefail set -euo pipefail
PKGVER=0.5.3 PKGVER=0.5.4
PKGREL=1 PKGREL=1
LMCP_TARBALL_SHA256=821cb89927ea5f65e2849c526ef98692f1a55032911e7c3115c97d0814ddf08b LMCP_TARBALL_SHA256=af72b8c1d88255456b75d2c53cd5c451a8923417e5498ef31858539397e09caf
HERE=$(dirname "$(readlink -f "$0")") HERE=$(dirname "$(readlink -f "$0")")
# Reproducible build: pin all file mtimes + ar member timestamps to a fixed # Reproducible build: pin all file mtimes + ar member timestamps to a fixed
@@ -38,6 +38,7 @@ cp lmcp/server.lua "$ROOT/usr/share/lua/5.4/"
cp lmcp/hub.lua "$ROOT/usr/share/lua/5.4/" cp lmcp/hub.lua "$ROOT/usr/share/lua/5.4/"
mkdir -p "$ROOT/usr/share/doc/lmcp/examples" mkdir -p "$ROOT/usr/share/doc/lmcp/examples"
cp lmcp/examples/lmcp-hub.service "$ROOT/usr/share/doc/lmcp/examples/" cp lmcp/examples/lmcp-hub.service "$ROOT/usr/share/doc/lmcp/examples/"
cp lmcp/examples/lmcp.service "$ROOT/usr/share/doc/lmcp/examples/"
cp lmcp/examples/hub-backends.conf.example "$ROOT/usr/share/doc/lmcp/examples/" cp lmcp/examples/hub-backends.conf.example "$ROOT/usr/share/doc/lmcp/examples/"
install -m 755 lmcp/example_server.lua "$ROOT/usr/bin/lmcp-example" install -m 755 lmcp/example_server.lua "$ROOT/usr/bin/lmcp-example"
cp lmcp/README.md "$ROOT/usr/share/doc/lmcp/" cp lmcp/README.md "$ROOT/usr/share/doc/lmcp/"
+9
View File
@@ -1,3 +1,12 @@
lmcp (0.5.4-1) bookworm trixie; urgency=medium
* Ship examples/lmcp.service systemd unit template alongside the
existing lmcp-hub.service. Copy-and-edit starting point for
per-host lmcp instances — no more hand-writing the unit on each
new Arch or Debian host.
-- Markus Fritsche <mfritsche@reauktion.de> Tue, 21 Apr 2026 16:55:00 +0000
lmcp (0.5.3-1) bookworm trixie; urgency=medium lmcp (0.5.3-1) bookworm trixie; urgency=medium
* hub.lua: hard wall-clock cap on ssh fallback via `timeout` — * hub.lua: hard wall-clock cap on ssh fallback via `timeout` —