我本地用的是1.6.2,脚本如下:
#!/bin/sh
echo "This script will reconfigure subversion to work with certs correctly."
echo "Steps outlined by dcrooke and compiled into this script by Kalosaurusrex"
echo "Please see the ubuntuforums.org thread for more information, questions or help."
echo "http://ubuntuforums.org/showthread.php?p=6057983"
echo ""
echo ""
echo "Please run this script as USER ONLY."
echo ""
echo "Press control-c to quit..else the script will start in 5 seconds."
sleep 5
sudo apt-get update
sudo apt-get install build-essential openssl ssh expat libxyssl-dev libssl-dev
sudo apt-get remove subversion
sudo dpkg --purge subversion
wget http://subversion.tigris.org/downloads/subversion-1.6.2.tar.gz
wget http://subversion.tigris.org/downloads/subversion-deps-1.6.2.tar.gz
tar xvfz subversion-1.6.2.tar.gz
tar xvfz subversion-deps-1.6.2.tar.gz
cd subversion-1.6.2/neon/
./configure --prefix=/usr/local --with-ssl --with-pic
make
sudo make install
cd ..
rm -rf neon
./configure --prefix=/usr/local --with-ssl --with-neon=/usr/local
make
sudo make install
cd ..
rm -rf subversion-1.6.2
rm subversion-1.6.2.tar.gz
rm subversion-deps-1.6.2.tar.gz
exit 0
本文提供了一个用于重新配置Subversion以正确处理证书的脚本。该脚本由Kalosaurus rex整理并详细介绍了安装过程,包括卸载旧版本、下载新版本、编译安装等步骤。
1762

被折叠的 条评论
为什么被折叠?



