refactor: remove obsolete packaging files
Some checks failed
Build DEB Package / Build DEB Package (Debian/Ubuntu) (push) Has been cancelled
Build RPM Package / Build RPM Package (Rocky Linux) (push) Has been cancelled

- Remove Dockerfile.deb and Dockerfile.rpm (replaced by Dockerfile.package)
- Remove build-deb.sh and build-rpm.sh (replaced by fpm in Dockerfile.package)
- Remove test Dockerfiles and old test packages
- Keep only: deb/, rpm/, systemd/ directories with maintainer scripts

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
Jacquin Antoine
2026-02-27 16:06:34 +01:00
parent 5b91f0cfb3
commit 9c91884b7f
6 changed files with 0 additions and 322 deletions

View File

@ -1,31 +0,0 @@
# Dockerfile for testing DEB package installation on Debian/Ubuntu
FROM debian:bookworm-slim
ENV DEBIAN_FRONTEND=noninteractive
# Install dependencies
RUN apt-get update && apt-get install -y \
libpcap0.8 \
systemd \
&& rm -rf /var/lib/apt/lists/*
# Create systemd directory (needed for service installation)
RUN mkdir -p /etc/systemd/system
# Copy DEB package
COPY *.deb /tmp/ja4sentinel.deb
# Install the package
RUN dpkg -i /tmp/ja4sentinel.deb || apt-get install -f -y
# Verify installation
RUN echo "=== Verifying installation ===" && \
which ja4sentinel && \
ja4sentinel --version && \
ls -la /etc/ja4sentinel/ && \
ls -la /var/lib/ja4sentinel/ && \
ls -la /usr/lib/systemd/system/ja4sentinel.service && \
echo "=== Installation successful ==="
# Default command: run tests
CMD ["/test-install.sh"]

View File

@ -1,27 +0,0 @@
# Dockerfile for testing RPM package installation on Rocky Linux
FROM rockylinux:9
# Install systemd only (libpcap will be installed as dependency of ja4sentinel)
RUN dnf install -y systemd && dnf clean all
# Create systemd directory (needed for service installation)
RUN mkdir -p /etc/systemd/system
# Copy RPM package
COPY *.rpm /tmp/ja4sentinel.rpm
# Install the package (libpcap dependency should be pulled automatically)
# If it fails, install libpcap first and retry
RUN dnf install -y /tmp/ja4sentinel.rpm || (echo "First attempt failed, installing libpcap..." && dnf install -y libpcap && dnf install -y /tmp/ja4sentinel.rpm)
# Verify installation
RUN echo "=== Verifying installation ===" && \
command -v ja4sentinel && \
ja4sentinel --version && \
ls -la /etc/ja4sentinel/ && \
ls -la /var/lib/ja4sentinel/ && \
ls -la /usr/lib/systemd/system/ja4sentinel.service && \
echo "=== Installation successful ==="
# Default command: run tests
CMD ["/test-install.sh"]