Other Can svnlite be used with SASL?

drhowarddrfine

Son of Beastie

Reaction score: 2,500
Messages: 4,450

The Handbook states that the only difference between svnlite and devel/subversion from ports is that subversion can be used with Python and Perl libraries. But I don't see anything in the config files for using SASL.
 

obsigna

Daemon

Reaction score: 909
Messages: 1,321

No it can’t. Subversion utilizes the Cyrus SASL library which is not part of the base system. Since I need SVN with SASL as well, I build devel/subversion from the ports with the respective option enabled.

See the output of the --version information below. In the second case, the ra_svn module can be used with SASL authentication. Yet this info is only half of the truth, because ra_svn can also be configured to do transport encryption using SASL, and by this it is not necessary to setup a web server for providing encrypted access to our SVN repositories.

svnlite --version
Code:
svn, version 1.10.0 (r1827917)
   compiled on bikeshed-rgb-freebsd

Copyright (C) 2018 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_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
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.9 (compiled with 1.3.9)
  - handles 'http' scheme
  - handles 'https' scheme

The following authentication credential caches are available:

* Plaintext cache in /root/.subversion
* GPG-Agent

svn --version
Code:
svn, version 1.13.0 (r1867053)
   compiled Nov  4 2019, 16:13:07 on amd64-portbld-freebsd12.0

Copyright (C) 2019 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_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
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.9 (compiled with 1.3.9)
  - handles 'http' scheme
  - handles 'https' scheme

The following authentication credential caches are available:

* Gnome Keyring
* KWallet (KDE)
 
Top