Bug 210611 - Feature request: Add rc.d script for svnliteserve
Summary: Feature request: Add rc.d script for svnliteserve
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 10.3-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-rc mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-06-27 05:39 UTC by kennedy.greg
Modified: 2018-10-04 14:03 UTC (History)
3 users (show)

See Also:


Attachments
svnliteserve rc.d script (1.08 KB, text/plain)
2016-06-27 05:39 UTC, kennedy.greg
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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. ?