Bug 210611

Summary: Feature request: Add rc.d script for svnliteserve
Product: Base System Reporter: kennedy.greg
Component: confAssignee: freebsd-rc mailing list <rc>
Status: New ---    
Severity: Affects Only Me CC: kennedy.greg, uzsolt, yvesguerin
Priority: --- Keywords: patch
Version: 10.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svnliteserve rc.d script none

Description kennedy.greg 2016-06-27 05:39:17 UTC
Created attachment 171854 [details]
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!
Comment 1 kennedy.greg 2016-06-27 05:45:03 UTC
This brings up a couple other issues that I want to mention -
* Does the svn user and group exist already?  I have them because of the port, but not sure if they are already available from a clean install.

* Could these commands be symlinked to regular svn binaries, eg svnliteserve -> svnserve ?  Or, default aliases added to .shrc, or something else instead?
Comment 2 Zsolt Udvari 2017-09-10 17:10:36 UTC
Should we test the rc.d script?
Comment 3 yvesguerin 2017-09-11 11:52:52 UTC
Sorry to add noise to this thread, but I think it will be a good feature to add.
Comment 4 kennedy.greg 2018-10-04 13:23:31 UTC
Sorry, didn't mean to do that : )
Comment 5 yvesguerin 2018-10-04 14:03:18 UTC
great idea: create a pkg/port or put it into the /usr/src/contrib with some install scripts/readme/makefile/etc. ?