ports/81889: svn will not work with scponly via ssh+svn://

Matthias Fechner idefix at fechner.net
Sat Jun 4 10:30:03 UTC 2005


>Number:         81889
>Category:       ports
>Synopsis:       svn will not work with scponly via ssh+svn://
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 04 10:30:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Fechner
>Release:        FreeBSD 5.4-STABLE
>Organization:
>Environment:
FreeBSD server.idefix.loc 5.4-STABLE FreeBSD 5.4-STABLE #1: Thu May 26 00:19:28 CEST 2005     root at server.idefix.loc:/usr/obj/usr/src/sys/SERVER2  i386
>Description:
SVN will not work over ssh, because scponly refuses to start svnserve, which is used, if working over ssh.
>How-To-Repeat:
Compile scponly and svn. Create a repository local and try to access it via "svn ssh+svn://path/repository"
>Fix:
Include the following patch into the Makefile of the ports:

--- Makefile.orig       Fri Apr 29 15:38:03 2005
+++ Makefile    Fri Apr 29 15:38:07 2005
@@ -48,6 +48,10 @@
 # default: undefined
 # define if you want to enable subversion compatibility.
 #
+# WITH_SCPONLY_SVNSERVE
+# default: undefined
+# define if you want to enable subversion compatibility with svn+ssh://
+#
 # WITH_SCPONLY_UNISON
 # default: undefined
 # define if you want to enable unison compatibility.
@@ -113,6 +117,12 @@
 BUILD_DEPENDS+=        svn:${PORTSDIR}/devel/subversion
 RUN_DEPENDS+=  ${BUILD_DEPENDS}
 CONFIGURE_ARGS+=--enable-svn-compat
+.endif
+
+.if defined(WITH_SCPONLY_SVNSERVE)
+BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion
+RUN_DEPENDS+=   ${BUILD_DEPENDS}

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list