Solved cannot fetch older packages

HI guy,
I have the need to install an older version of php so I am trying to use svn..
pkg install subversion
svn checkout -r r414019 http://svn.freebsd.org/ports/head/lang/php56 php56-20
When I run the command above, I get the following error
Code:
svn: E000043: Error running context: Protocol not supported
Any idea why?
 
I guess wrong syntax.
pkg help checkout
Code:
usage: checkout URL[@REV]... [PATH]
e.g.
svn checkout http://svn.freebsd.org/ports/head/lang/php56 -r r414019 php56-20
 
talsamon thank you for the reply
svn checkout http://svn.freebsd.org/ports/head/lang/php56 php56-20 -r r414019 return
Code:
svn: E170013: Unable to connect to a repository at URL 'http://svn.freebsd.org/ports/head/lang/php56'
svn: E000043: Error running context: Protocol not supported
 
our syntax is correct, but it's https://svn.freebsd.org/... not http://.
I tried http and https, I had the same outcome
svn checkout -r r414019 https://svn.freebsd.org/ports/head/lang/php56 php56-20
Code:
svn: E170013: Unable to connect to a repository at URL 'https://svn.freebsd.org/ports/head/lang/php56'
svn: E000043: Error running context: Protocol not supported
---
svn checkout https://svn.freebsd.org/ports/head/lang/php56 php56-20 -r r414019
Code:
svn: E170013: Unable to connect to a repository at URL 'https://svn.freebsd.org/ports/head/lang/php56'
svn: E000043: Error running context: Protocol not supported
 
Build subversion with the SERF option:
cd /usr/ports/devel/subversion
make config
Code:
+----------------------------- subversion-1.9.4 -------------------------------+
| +--------------------------------------------------------------------------+ |
| | [ ] BDB               Berkeley DB support                                | |
| | [x] DOCS              Build and/or install documentation                 | |
| | [x] FREEBSD_TEMPLATE  FreeBSD Project log template                       | |
| | [ ] MAINTAINER_DEBUG  Build debug version                                | |
| | [ ] NLS               Native Language Support                            | |
| | [ ] SASL              SASL authentication support                        | |
| | [x] SERF              WebDAV/Delta-V (HTTP/HTTPS) repo access module     | |
| | [ ] STATIC            Build static version (no shared libs)              | |
| | [ ] SVNSERVE_WRAPPER  Enable svnserve wrapper (umask setter)             | |
| | [ ] TEST              Run subversion test suite                          | |
| | [ ] TOOLS             Install several tools                              | |
| +--------------------------------------------------------------------------+ |
+------------------------------------------------------------------------------+
|                       <  OK  >            <Cancel>                           |
+------------------------------------------------------------------------------+
make deinstall
make install clean
 
Back
Top