Private
Public Access
1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
b932f6be38 docs: update changelog for v1.1.13
All checks were successful
CI/CD Pipeline / Code Format (push) Successful in 1s
CI/CD Pipeline / Clippy Lints (push) Successful in 44s
CI/CD Pipeline / All Unit Tests (push) Successful in 1m12s
CI/CD Pipeline / Security Audit (push) Successful in 4s
CI/CD Pipeline / Enrollment Tests (push) Successful in 1m48s
CI/CD Pipeline / Verify Enrollment CLI Flag (push) Successful in 1m25s
CI/CD Pipeline / Build Debian Package (Ubuntu 22.04) (push) Successful in 2m33s
CI/CD Pipeline / Build Arch Package (push) Successful in 2m50s
CI/CD Pipeline / Build Alpine Package (push) Successful in 3m54s
CI/CD Pipeline / Build Debian Package (push) Successful in 2m7s
CI/CD Pipeline / Build RPM Package (push) Successful in 4m13s
2026-05-20 18:54:33 +00:00
5fa7fd0f90 fix: detect apk at /sbin/apk on Alpine (not just /usr/bin/apk); v1.1.13 2026-05-20 18:54:10 +00:00
4 changed files with 11 additions and 3 deletions

2
Cargo.lock generated
View File

@ -1916,7 +1916,7 @@ dependencies = [
[[package]]
name = "linux-patch-api"
version = "1.1.12"
version = "1.1.13"
dependencies = [
"actix",
"actix-rt",

View File

@ -1,6 +1,6 @@
[package]
name = "linux-patch-api"
version = "1.1.12"
version = "1.1.13"
edition = "2021"
authors = ["Echo <echo@moon-dragon.us>"]
description = "Secure remote package management API for Linux systems"

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
linux-patch-api (1.1.13) unstable; urgency=medium
* Fix APK backend detection for Alpine (/sbin/apk not /usr/bin/apk)
-- Echo <echo@moon-dragon.us> Tue, 20 May 2026 13:55:00 -0500
linux-patch-api (1.1.12) unstable; urgency=medium
* Add APK (Alpine Linux) package manager backend

View File

@ -1180,7 +1180,9 @@ pub fn create_backend() -> Result<Box<dyn PackageManagerBackend>> {
} else if std::path::Path::new("/usr/bin/dnf").exists() {
// TODO: Implement DnfBackend for RHEL/CentOS/Fedora
Err(anyhow::anyhow!("DNF backend not yet implemented"))
} else if std::path::Path::new("/usr/bin/apk").exists() {
} else if std::path::Path::new("/usr/bin/apk").exists()
|| std::path::Path::new("/sbin/apk").exists()
{
Ok(Box::new(ApkBackend::new()))
} else if std::path::Path::new("/usr/bin/pacman").exists() {
// TODO: Implement PacmanBackend for Arch