From: Nick Porter Date: Mon, 14 Jul 2025 16:15:02 +0000 (+0100) Subject: Debian 10 repos have been removed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aa05137812e80e2e900405da80f36629d86dfb9;p=thirdparty%2Ffreeradius-server.git Debian 10 repos have been removed --- diff --git a/.github/workflows/ci-deb.yml b/.github/workflows/ci-deb.yml index e43b2e96ad..876f8d223c 100644 --- a/.github/workflows/ci-deb.yml +++ b/.github/workflows/ci-deb.yml @@ -19,7 +19,6 @@ jobs: - { NAME: "ubuntu-20.04", OS: "ubuntu:20.04" } - { NAME: "ubuntu-22.04", OS: "ubuntu:22.04" } - { NAME: "ubuntu-24.04", OS: "ubuntu:24.04" } - - { NAME: "debian-10", OS: "debian:buster" } - { NAME: "debian-11", OS: "debian:bullseye" } - { NAME: "debian-12", OS: "debian:bookworm" } - { NAME: "debian-sid", OS: "debian:sid" } @@ -142,7 +141,6 @@ jobs: - { NAME: "ubuntu-20.04", OS: "ubuntu:20.04" } - { NAME: "ubuntu-22.04", OS: "ubuntu:22.04" } - { NAME: "ubuntu-24.04", OS: "ubuntu:24.04" } - - { NAME: "debian-10", OS: "debian:buster" } - { NAME: "debian-11", OS: "debian:bullseye" } - { NAME: "debian-12", OS: "debian:bookworm" } - { NAME: "debian-sid", OS: "debian:sid" } diff --git a/scripts/crossbuild/docker/debian10/Dockerfile b/scripts/crossbuild/docker/debian10/Dockerfile deleted file mode 100644 index 03a9ce53f8..0000000000 --- a/scripts/crossbuild/docker/debian10/Dockerfile +++ /dev/null @@ -1,85 +0,0 @@ -# Auto generated for debian10 -# from scripts/crossbuild/m4/Dockerfile.deb.m4 -# -# Rebuild this file with `make crossbuild.debian10.regen` -# -ARG from=debian:buster -FROM ${from} as build - -ARG DEBIAN_FRONTEND=noninteractive - -# -# Install add-apt-repository -# -RUN apt-get update && \ - apt-get install -y software-properties-common gnupg2 procps && \ - apt-get clean && \ - rm -r /var/lib/apt/lists/* - -# For clang -RUN add-apt-repository -y "deb http://apt.llvm.org/buster/ llvm-toolchain-buster-8 main" && \ - apt-key adv --fetch-keys http://apt.llvm.org/llvm-snapshot.gpg.key - -RUN apt-get update && \ -# Development utilities - apt-get install -y devscripts equivs git quilt rsync && \ -# Compilers - apt-get install -y g++ llvm-8 clang-8 lldb-8 && \ -# eapol_test dependencies - apt-get install -y libnl-3-dev libnl-genl-3-dev - -# -# Documentation build dependecies -# - -# - doxygen & JSON.pm -RUN apt-get install -y doxygen graphviz libjson-perl -# - antora (npm needed) -RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - -RUN apt-get install -y nodejs -RUN npm i -g @antora/cli@3.1.7 @antora/site-generator-default@3.1.7 -# - pandoc -WORKDIR /tmp -RUN curl -OL $(curl -s https://api.github.com/repos/jgm/pandoc/releases/latest | grep "browser_download_url.*deb" | cut -d '"' -f 4) -RUN apt-get install -y ./pandoc-*.deb -# - asciidoctor -RUN apt-get install -y ruby-dev -RUN gem install asciidoctor - -# -# Set defaults -# -RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 60 && \ - update-alternatives --config clang - -RUN update-alternatives --install /usr/bin/lldb lldb /usr/bin/lldb-8 60 && \ - update-alternatives --config lldb - - -# -# Setup a src dir in /usr/local -# -RUN mkdir -p /usr/local/src/repositories -WORKDIR /usr/local/src/repositories - - -# -# Shallow clone the FreeRADIUS source -# -WORKDIR /usr/local/src/repositories -ARG source=https://github.com/FreeRADIUS/freeradius-server.git -RUN git clone --depth 1 --no-single-branch ${source} - -# -# Install build dependencies for all branches from v3 onwards -# -WORKDIR freeradius-server -RUN for i in $(git for-each-ref --format='%(refname:short)' refs/remotes/origin 2>/dev/null | sed -e 's#origin/##' | egrep "^(v[3-9]*\.[0-9x]*\.x|master)$");\ - do \ - git checkout $i; \ - if [ -e ./debian/control.in ] ; then \ - debian/rules debian/control ; \ - fi ; \ - echo 'y' | \ - mk-build-deps -irt'apt-get -yV' debian/control ; \ - done diff --git a/scripts/docker/dists/debian10/Dockerfile b/scripts/docker/dists/debian10/Dockerfile deleted file mode 100644 index ac2d6509a2..0000000000 --- a/scripts/docker/dists/debian10/Dockerfile +++ /dev/null @@ -1,82 +0,0 @@ -# Auto generated for debian10 -# from scripts/docker/m4/Dockerfile.deb.m4 -# -# Rebuild this file with `make docker.debian10.regen` -# -ARG from=debian:buster -FROM ${from} AS build - -ARG DEBIAN_FRONTEND=noninteractive - -# -# Install build tools -# -RUN apt-get update -RUN apt-get install -y devscripts equivs git quilt gcc - -# -# Create build directory -# -RUN mkdir -p /usr/local/src/repositories/freeradius-server -WORKDIR /usr/local/src/repositories/freeradius-server/ - -# -# Copy the FreeRADIUS directory in -# -COPY . . - -# -# Clean up tree - we want to build from the latest commit, not from -# any cruft left around on the local system -# -RUN git clean -fdxx \ - && git reset --hard HEAD - -ARG release -RUN [ -z "$release" ] || git checkout ${release} ; \ - git status ; \ - git log -1 --oneline - -# -# Install build dependencies -# -RUN if [ -e ./debian/control.in ]; then \ - debian/rules debian/control; \ - fi; \ - echo 'y' | mk-build-deps -irt'apt-get -yV' debian/control - -# -# Build the server -# -# Work around fakeroot problems in Docker when building for different -# platforms - doesn't matter as we run as root in the container anyway. -# -#RUN make -j$(nproc) deb -RUN debian/rules debian/control \ - && dpkg-buildpackage --jobs=auto -b -uc - -# -# Clean environment and run the server -# -FROM ${from} -ARG DEBIAN_FRONTEND=noninteractive - -COPY --from=build /usr/local/src/repositories/*.deb /tmp/ - -RUN ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime - -RUN apt-get update \ - && apt-get install -y tzdata \ - && apt-get install -y /tmp/*.deb \ - && apt-get clean \ - && rm -r /var/lib/apt/lists/* /tmp/*.deb \ - \ - && ln -s /etc/freeradius /etc/raddb - -WORKDIR / -COPY scripts/docker/etc/docker-entrypoint.sh.deb docker-entrypoint.sh -RUN chmod +x docker-entrypoint.sh - -EXPOSE 1812/udp 1813/udp -ENTRYPOINT ["/docker-entrypoint.sh"] -CMD ["freeradius"] diff --git a/scripts/docker/dists/debian10/docker-entrypoint.sh b/scripts/docker/dists/debian10/docker-entrypoint.sh deleted file mode 100755 index 93141b0d74..0000000000 --- a/scripts/docker/dists/debian10/docker-entrypoint.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -set -e - -# this if will check if the first argument is a flag -# but only works if all arguments require a hyphenated flag -# -v; -SL; -f arg; etc will work, but not arg1 arg2 -if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then - set -- freeradius "$@" -fi - -# check for the expected command -if [ "$1" = 'freeradius' ]; then - shift - exec freeradius -f "$@" -fi - -# many people are likely to call "radiusd" as well, so allow that -if [ "$1" = 'radiusd' ]; then - shift - exec freeradius -f "$@" -fi - -# else default to run whatever the user wanted like "bash" or "sh" -exec "$@"