CentOS + Subversion (for https)

yumのものは古いので、いつもソースから入れるんだけど、つい忘れちゃうのでメモ。
特に、httpsからチェックアウトする時に怒られてしまうので…。

  • yum install neon, yum install neon-develしとくこと。
  • apr, apr-utilも自分で取ってきておくこと。
  • そのあとconfigureで指定。with-ssl付けておかないと、httpsがダメになっちゃう。
  • ./configure --with-apr=/usr/local/src/apr-1.4.2 --with-apr-util=/usr/local/src/apr-util-1.3.10 --with-ssl

うまくコンパイル&インストールできたら、こんな感じになる。

# svn --version
svn, version 1.6.12 (r955767)
   compiled Mar 10 2011, 15:47:43

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see
http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

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.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

コメント

人気の投稿