Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2019 20:18:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239703] devel/subversion: svnsync with HTTPS fails with SERF=on build option that allegedly adds HTTP/HTTPS support
Message-ID:  <bug-239703-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239703

            Bug ID: 239703
           Summary: devel/subversion: svnsync with HTTPS fails with
                    SERF=3Don build option that allegedly adds HTTP/HTTPS
                    support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: lev@FreeBSD.org
          Reporter: agifford@infowest.com
          Assignee: lev@FreeBSD.org
             Flags: maintainer-feedback?(lev@FreeBSD.org)

I've had a SVN mirroring script to mirror FreeBSD's base source (for use on=
 an
internal network that doesn't have access to FreeBSD's SVN servers for soure
updating), a script that's worked for ages that broke recently.  Analysis
points to the devel/subversion port no longer supporting HTTPS protocol in =
the
svnsync utility.

Here are the errors I see:

$ svn propset svn:sync-from-url --revprop -r 0
https://svn0.us-east.freebsd.org/base file:///data/svn/base
property 'svn:sync-from-url' set on repository revision 0
$ svnadmin setuuid /data/svn/base "ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f"
$ svnsync sync file:///data/svn/base
svnsync: E170013: Unable to connect to a repository at URL
'https://svn0.us-east.freebsd.org/base'
svnsync: E000043: Error running context: Protocol not supported

Oddly these commands work perfectly if I use an older source-compiled versi=
on
of the port, version 1.9.7.

But when I install the latest quarterly ABI pre-built package 1.12.0, it
doesn't work.

So I compiled from source version 1.12.2 and installed it.  It doesn't work
either (same error).

I double-checked port build options.  From the `make config` options, it lo=
oks
like option SERF controls HTTP/HTTPS protocol.  So I checked my 1.12.2 sour=
ce
build.  SERF=3Don.  I checked the quarterly ABI pre-built package, 1.12.0, =
using
`pkg query -e "%n=3Dsubversion" "%n-%v %Ok %Ov` and it showed SERF=3Don.  M=
y old,
WORKING 1.9.7 port also showed SERF=3Don.

This one has left me puzzled and frustrated.  I prefer to use HTTPS (no
man-in-the-middle potential with validated certificate), and prefer to use =
an
up-to-date port version.

THANKS in advance for any help or pointers on how to get HTTP/HTTPS support
back into the svnsync utility within the devel/subversion port!

-Aaron out.

(Unrelated to this bug report tangental note: alleged FreeBSD SVN mirror
svn0.us-west.freebsd.org resolves to a DNS CNAME that points to
svnmir.ysv.freebsd.org which does NOT resolve, despite svn0.us-west.freebsd=
.org
still appearing in FreeBSD's docs.)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239703-7788>