]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
not needed
authorAlan T. DeKok <aland@freeradius.org>
Thu, 26 Jan 2023 18:20:23 +0000 (13:20 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 26 Jan 2023 18:20:23 +0000 (13:20 -0500)
scripts/build/redhat [deleted file]

diff --git a/scripts/build/redhat b/scripts/build/redhat
deleted file mode 100644 (file)
index 3754e67..0000000
+++ /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