手动编译svn
#!/bin/bash
yum -y remove subversion
mkdir -p /dist/{dist,src}
cd /dist/dist
/bin/rm -f openssl* subversion*
# wget "ftp://xmlsoft.org/libxml2/libxml2-2.9.1.tar.gz"
wget "http://www.openssl.org/source/openssl-1.0.1i.tar.gz"
wget "http://apache.fayea.com/apache-mirror/subversion/subversion-1.7.18.tar.gz"
wget "http://apache.dataguru.cn/apr/apr-1.5.1.tar.gz"
wget "http://apache.dataguru.cn/apr/apr-util-1.5.3.tar.gz"
wget "http://www.sqlite.org/2014/sqlite-autoconf-3080500.tar.gz"
wget "http://www.webdav.org/neon/neon-0.30.0.tar.gz"
cd /dist/src
rm -rf openssl*
rm -rf subversion*
rm -rf apr*
rm -rf sqlite*
rm -rf neon*
tar xf /dist/dist/openssl-1.0.1i.tar.gz
cd openssl-1.0.1i
./config --prefix=/usr/local/openssl-1.0.1i shared
./config -t
make
make install
echo '/usr/local/ssl-1.0.1i/lib' >/etc/ld.so.conf.d/openssl.conf
ldconfig -v
cd /dist/src
tar xf /dist/dist/apr-1.5.1.tar.gz
cd apr-1.5.1/
./configure --prefix=/usr/local/apr
make
make install
cd /dist/src
tar xf /dist/dist/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
make install
cd /dist/src
tar xf /dist/dist/sqlite-autoconf-3080500.tar.gz
cd sqlite-autoconf-3080500
./configure --prefix=/usr/local/sqlite
make
make install
cd /dist/src
tar xf /dist/dist/neon-0.30.0.tar.gz
cd neon-0.30.0
./configure --prefix=/usr/local/neon --with-ssl=openssl
make
make install
cd /dist/src
tar xf /dist/dist/subversion-1.7.18.tar.gz
cd subversion-1.7.18
./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-sqlite=/usr/local/sqlite --with-openssl --without-berkeley-db --with-neon=/usr/local/neon
make
make install