让 svn 支持 https 协议的 checkout

安装 neon
wget http://www.webdav.org/neon/neon-0.25.5.tar.gz
./configure --with-ssl --with-libs=/usr/lib/openssl/
--prefix=/usr/local/neon
make
make install
编译 subversion 时带上 --with-ssl  --with-neon=/usr/local/neon/
./configure --prefix=/usr/local/svn --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-sqlite=/usr/local/sqlite  --with-neon=/usr/local/neon --with-ssl
make
make install
安装好后查看:
svn --version
svn, version 1.7.1 (r1186859)
   compiled Dec 20 2012, 12:37:46


Copyright (C) 2011 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/


The following repository access (RA) modules are available:


* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme

* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme


转载请注明文章转自:良玉的博客 [ http://blog.uouo123.com ]

你可能感兴趣的:(linux,SVN,https)