fix: Support Rocky Linux 9 pour le package RPM

Cible: Rocky Linux 9 (compatible RHEL/CentOS)

Changes:
- packaging/Dockerfile.rpm: Build pour Rocky Linux
- packaging/build-rpm.sh: Ajout paramètre distribution (rocky/rhel/centos)
- packaging/rpm/ja4sentinel.spec:
  * Condition %if 0%{?rhel} >= 8 pour compatibilité RHEL
  * Description mise à jour avec Rocky Linux
- packaging/test/Dockerfile.rpm: Test sur Rocky Linux 9
- packaging/test/test-*.sh: Tests spécifiques Rocky Linux
- .github/workflows/build-rpm.yml:
  * Nom du job: 'Build RPM Package (Rocky Linux)'
  * TARGET_DIST: rockylinux:9
  * Simplification du build via Docker

Documentation:
- README.md: Instructions d'installation pour .rpm (Rocky/RHEL) et .deb (Debian/Ubuntu)
- Remplacement des instructions de build par installation via packages

Compatibilité:
- Rocky Linux 8.x et 9.x
- RHEL 8.x et 9.x
- CentOS Stream 8 et 9
- AlmaLinux 8.x et 9.x

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
Jacquin Antoine
2026-02-25 21:17:37 +01:00
parent 61bf05454e
commit 6f7c5450f8
8 changed files with 61 additions and 44 deletions

View File

@ -1,7 +1,7 @@
# Dockerfile for testing RPM package installation
FROM fedora:39
# Dockerfile for testing RPM package installation on Rocky Linux
FROM rockylinux:9
# Install dependencies
# Install dependencies (libpcap is in base repo on Rocky 9)
RUN dnf install -y \
libpcap \
systemd \

View File

@ -1,9 +1,10 @@
#!/bin/bash
# Test script for RPM package installation
# Test script for RPM package installation on Rocky Linux
set -e
echo "=========================================="
echo " JA4Sentinel RPM Package Installation Test"
echo " Target: Rocky Linux 9"
echo "=========================================="
# Colors for output

View File

@ -1,5 +1,5 @@
#!/bin/bash
# Test RPM package installation in Docker container
# Test RPM package installation in Rocky Linux container
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"