您的位置:首页 > 理论基础 > 计算机网络

让 svn 支持 https 协议的 checkout

2012-12-20 13:09 423 查看
安装 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]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  svn https linux