Bug 81889 - svn will not work with scponly via ssh+svn://
Summary: svn will not work with scponly via ssh+svn://
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Norikatsu Shigemura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-04 11:30 UTC by Matthias Fechner
Modified: 2005-06-20 15:30 UTC (History)
0 users

See Also:


Attachments
file.diff (691 bytes, patch)
2005-06-04 11:30 UTC, Matthias Fechner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Fechner freebsd_committer freebsd_triage 2005-06-04 11:30:01 UTC
SVN will not work over ssh, because scponly refuses to start svnserve, which is used, if working over ssh.

Fix: Include the following patch into the Makefile of the ports:
How-To-Repeat: Compile scponly and svn. Create a repository local and try to access it via "svn ssh+svn://path/repository"
Comment 1 Norikatsu Shigemura freebsd_committer freebsd_triage 2005-06-06 03:28:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rushani

Over to maintainer.
Comment 2 Hideyuki KURASHINA freebsd_committer freebsd_triage 2005-06-15 17:02:32 UTC
Responsible Changed
From-To: rushani->nork

I approved submitter's patch. 

Please commit the patch. thank you.
Comment 3 Norikatsu Shigemura freebsd_committer freebsd_triage 2005-06-18 19:51:07 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 4 Matthias Fechner freebsd_committer freebsd_triage 2005-06-20 10:42:10 UTC
My patch seems to be cutted at the end.
Here is a new diff, which will solve this problem:

--- Makefile.orig       Mon Jun 20 11:06:55 2005
+++ Makefile    Mon Jun 20 11:07:11 2005
@@ -122,6 +122,7 @@ CONFIGURE_ARGS+=--enable-svn-compat
 .if defined(WITH_SCPONLY_SVNSERVE)
 BUILD_DEPENDS+=        svn:${PORTSDIR}/devel/subversion
 RUN_DEPENDS+=  ${BUILD_DEPENDS}
+CONFIGURE_ARGS+=--enable-svnserv-compat
 .endif

 .if defined(WITH_SCPONLY_UNISON)

-- 
Thx
Matthias
Comment 5 Hideyuki KURASHINA freebsd_committer freebsd_triage 2005-06-20 15:19:56 UTC
Hi, Shigemura-san

>>> On Mon, 20 Jun 2005 22:28:46 +0900 (JST), Norikatsu Shigemura <nork@FreeBSD.org> said:

> Hi Kurashina-san.
> 
> 	May I commit this OK?

Yes, of course.

As one more additional note, I've also overlooked that the target of
BUILD_DEPENDS should be

  svnserve:${PORTSDIR}/devel/subversion

if WITH_SCPONLY_SVNSERVE defined.  Please also take care this one.


> On Mon, 20 Jun 2005 09:50:21 GMT
> Matthias Fechner <idefix@fechner.net> wrote:
> > The following reply was made to PR ports/81889; it has been noted by GNATS.
> > From: Matthias Fechner <idefix@fechner.net>
> > To: bug-followup@FreeBSD.org, idefix@fechner.net
> > Cc:  
> > Subject: Re: ports/81889: svn will not work with scponly via ssh+svn://
> > Date: Mon, 20 Jun 2005 11:42:10 +0200
> >  My patch seems to be cutted at the end.
> >  Here is a new diff, which will solve this problem:
> >  --- Makefile.orig       Mon Jun 20 11:06:55 2005
> >  +++ Makefile    Mon Jun 20 11:07:11 2005
> >  @@ -122,6 +122,7 @@ CONFIGURE_ARGS+=--enable-svn-compat
> >   .if defined(WITH_SCPONLY_SVNSERVE)
> >   BUILD_DEPENDS+=        svn:${PORTSDIR}/devel/subversion
> >   RUN_DEPENDS+=  ${BUILD_DEPENDS}
> >  +CONFIGURE_ARGS+=--enable-svnserv-compat
> >   .endif
> >  
> >   .if defined(WITH_SCPONLY_UNISON)
> 

Thanks,

-- rushani