Page MenuHomeFreeBSD

Feature request: Add rc.d script for svnliteserve
Changes PlannedPublic

Authored by kennedy.greg_gmail.com on May 18 2019, 11:37 PM.
Tags
Referenced Files
Unknown Object (File)
Dec 20 2023, 7:20 AM
Unknown Object (File)
Nov 18 2023, 8:19 AM
Unknown Object (File)
Nov 18 2023, 6:17 AM
Unknown Object (File)
Oct 11 2023, 12:34 PM
Unknown Object (File)
Oct 11 2023, 12:34 PM
Unknown Object (File)
Aug 23 2023, 2:55 AM
Unknown Object (File)
Jul 2 2023, 4:22 AM
Unknown Object (File)
May 9 2023, 11:34 PM

Details

Reviewers
None
Group Reviewers
Contributor Reviews (src)
Summary

This was originally added as a bug to FreeBSD bugtracker here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210611

svnliteserve rc.d script

As of FreeBSD 10.0, a "light" version of Subversion has been integrated into the base system. It includes most of the svn tools, though the filenames have been changed (e.g. "svnlite" instead of "svn", "svnliteserve" instead of "svnserve" etc.) Most people probably would use this for the client, but it turns out the server binary is included as well.

I want to setup a Subversion server using this integrated version. Everything works fine, except we are missing a preinstalled rc.d/ script for svnliteserve. I have created one by modifying the svnserve script from devel/subversion port. I placed it in /etc/rc.d, set up the permissions, and can now run the server using the base binaries.

I would like to see this get added to a future release, so that FreeBSD can be used "out of the box" to run an svn server!

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

I can't review for you, but I think it would be smart if you got some individual reviewers attached instead of just the whole group?
It's a good idea though. :)

Hi,

Can you make sure that it also works with the WITH_SVN build option? (That installs svnlite as svn)

Hmm, that's a good point... I am pretty sure this is not going to work for WITH_SVN build, because the filenames are hard-coded to svnlite*. I will have to go back and modify the svnlite build script to have it create this file, rather than placing a copy of it in the etc/rc.d folder.

Moving this out of the queue until I can change it.

I feel that this might not be applicable as we've removed svn from base.

BTW, I somehow was hesitated to have this because the svn(lite) in base is supposed to used for retrieve the latest source code and ports, doc. It's note recommended to use as a network server. The subversion from ports is still the best option for building a subversion server.