Subversion-1.8.9 source code installation to Support http/https updates
Svn is required for the project. The yum source has a low version and involves security vulnerabilities. Therefore, you can use the source code to compile and install it, and allow it to support http/https link updates.
The software package is:
Apr-1.5.1
Apr-util-1.5.3
Expat-2.1.0
Zlib-1.2.8
Httpd-2.2.27
Scons-2.3.0-1.noarch.rpm + serf-1.3.3 (modules supporting http/https)
Sqlite-autoconf-3080500 + sqlite-amalgamation-3080500 + subversion-1.8.9
#! /Bin/bash
# Create Subversion Environment & Create Subversion User/Group
Groupadd-r svn & useradd-r-g svn-s/sbin/nologin-M svn
# Install Arp-1.5.1
Cd/opt/svn & tar xf apr-1.5.1.tar.gz & cd apr-1.5.1 &./configure -- prefix =/usr/local/apr & make install
# Install Arp-util-1.5.3
Cd/opt/svn & tar xf apr-util-1.5.3.tar.gz & cd apr-util-1.5.3 &&. /configure -- prefix =/usr/local/apr-util -- with-apr =/usr/local/apr & make install
# Install Expat-2.1.0
Cd/opt/svn & tar xf expat-2.1.0.tar.gz & cd expat-2.1.0 &./configure -- prefix =/usr/local/expat & make install
# Install Zlib-1.2.8
Cd/opt/svn & tar xf zlib-1.2.8.tar.gz & cd zlib-1.2.8 &./configure -- shared & make install
# Install Httpd-2.2.27 & Refresh System Dynamic Library
Cd/opt/svn & tar xf httpd-2.2.27.tar.gz & cd httpd-2.2.27 &&. /configure -- prefix =/usr/local/apache -- enable-dav-fs -- enable-so -- enable-modules = so -- enable-maintainer-mode -- enable- rewrite -- with-apr =/usr/local/apr -- with-apr-util =/usr/local/apr-util -- with-defined ded-apr & make install & echo "/usr/local/lib">/etc/ld. so. conf & ldconfig
# Install Scons-2.3.0-1 & Serf-1.3.3
Cd/opt/svn & rpm-ivh scons-2.3.0-1.noarch.rpm & tar xf serf-1.3.3.tar.bz2 & cd serf-1.3.3 & scons PREFIX =/usr/local/serf APR =/usr/local/ apache/bin/apr-1-config APU =/usr/local/apache/bin/apu-1-config install
# Install Sqlite-autoconf-3080500
Cd/opt/svn & tar xf sqlite-autoconf-3080500.tar.gz & cd sqlite-autoconf-3080500 &./configure -- prefix =/usr/local/sqlite & make install
# Install Sqlite-amalgamation-3080500
Cd/opt/svn & mkdir-p/opt/svn/subversion-1.8.9/sqlite-amalgamation/& unzip sqlite-amalgamation-3080500.zip & cd sqlite-amalgamation-3080500 & \ cp-. /sqlite3.c/opt/svn/subversion-1.8.9/sqlite-amalgamation/
# Install Subversion-1.8.9 & Refresh System Dynamic Library
Cd/opt/svn & tar xf subversion-1.8.9.tar.gz & cd subversion-1.8.9 &&. /configure -- prefix =/usr/local/subversion -- with-apxs =/usr/local/apache/bin/apxs -- with-apr =/usr/local/apr --- apr-util =/usr/local/apr-util -- with-sqlite =/usr/local/sqlite -- with-zlib -- enable-maintainer-mode -- with-serf =/usr /local/serf & make install & echo "/usr/local/serf/lib">/etc/ld. so. conf & echo "/usr/local/subversion/lib">/etc/ld. so. conf & ldconfig & ln-s/usr/local/subversion/bin/svn/usr/bin/svn