From: Alan T. DeKok Date: Thu, 26 Jan 2023 18:20:23 +0000 (-0500) Subject: not needed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=349f062b46e67efc14aa93ea6f9ac854f4afcbee;p=thirdparty%2Ffreeradius-server.git not needed --- diff --git a/scripts/build/redhat b/scripts/build/redhat deleted file mode 100644 index 3754e670aec..00000000000 --- a/scripts/build/redhat +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh -# -# Script to (mostly) automatically install "hard to build" prerequisites for v4. -# -# This is mainly useful for RH9 which doesn't have the necessary binary or -# -devel packages. It's a temporary hack which should be removed when those -# packages are available. The "builddep" tool should be used instead. -# -# This script also is "top to bottom", and doesn't check if the files already -# exist, etc. So don't run it twice. Or if you do, just run the commands -# manually. -# -# $ git clone https://github.com/FreeRADIUS/freeradius-server.git -# $ cd freeradius-server -# $ ./scripts/build/redhat -# $ ./configure ... args ... -# $ make -# - -# Base directory where things will be built -BASE_DIR=$(pwd) -[ -d build ] || mkdir build - -# -# Install prerequisites. -# -sudo yum install -y cmake3 gcc git openssl-devel python-devel wget rpm-build - -# -# Install a development version of libkqueue. -# -# The release versions of libkqueue are missing a large number of bug fixes. -# -# -LIBKQUEUE_VERSION=${LIBKQUEUE_VERSION:-2.6.1} - -cd build -mkdir -p libkqueue -cd libkqueue - -wget https://github.com/mheily/libkqueue/archive/v${LIBKQUEUE_VERSION}.tar.gz -tar -xvzf v${LIBKQUEUE_VERSION}.tar.gz -cd ./libkqueue-${LIBKQUEUE_VERSION} -cmake3 -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib . -make - -# Only these two commands need sudo -sudo cpack3 -G RPM -sudo yum install *.rpm - -# Back to base dir -cd $BASE_DIR - -# -# Install libtalloc-devel -# -LIBTALLOC_VERSION=${LIBTALLOC_VERSION:-2.4.0} - -cd build -mkdir -p libtalloc -cd libtalloc - -curl -LOk https://www.samba.org/ftp/talloc/talloc-${LIBTALLOC_VERSION}.tar.gz - -tar zxvf talloc-${LIBTALLOC_VERSION}.tar.gz - -cd talloc-${LIBTALLOC_VERSION} - -./configure - -make -sudo make install - -# -# Install libpcap-devel -# -LIBPCAP_VERSION=${LIBPCAP_VERSION:-1.10.3} - -# libpcap specific deps -sudo yum install -y flex bison - -cd build -mkdir -p libpcap -cd libpcap - -wget https://www.tcpdump.org/release/libpcap-${LIBPCAP_VERSION}.tar.gz - -tar zxvf libpcap-${LIBPCAP_VERSION}.tar.gz - -cd libpcap-${LIBPCAP_VERSION} - -./configure - -make -sudo make install