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!
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?
Should we test the rc.d script?
Sorry to add noise to this thread, but I think it will be a good feature to add.
Sorry, didn't mean to do that : )
great idea: create a pkg/port or put it into the /usr/src/contrib with some install scripts/readme/makefile/etc. ?