[MacPorts] howto/SyncingWithSVN modified

MacPorts noreply at macports.org
Thu Jun 18 08:37:02 PDT 2015


Page "howto/SyncingWithSVN" was changed by rogerpack2005 at gmail.com
Diff URL: <https://trac.macports.org/wiki/howto/SyncingWithSVN?action=diff&version=17>
Revision 17
Comment: prefer HTTPS
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/SyncingWithSVN
=========================================================================
--- howto/SyncingWithSVN (version: 16)
+++ howto/SyncingWithSVN (version: 17)
@@ -1,6 +1,6 @@
 [wiki:howto <- Back to the HOWTO section]
 
-= How to sync your ports tree using Subversion (over HTTP) =
+= How to sync your ports tree using Subversion (over HTTP(s)) =
 
  * Audience: end users who cannot use rsync (873/tcp) due to firewalls, proxies, policy, etc. 
  * Requires: MacPorts
@@ -25,11 +25,11 @@
 cd $prefix/var/macports/sources
 mkdir -p svn.macports.org/trunk/dports
 cd svn.macports.org/trunk/dports 
+svn co https://svn.macports.org/repository/macports/trunk/dports/ .
+}}}
+If you prefer, the repository is also available via HTTP, which requires less configuration, but is seen as less secure (subject to a man in the middle attack).
+{{{
 svn co http://svn.macports.org/repository/macports/trunk/dports/ .
-}}}
-If you prefer, the repository is also available via HTTPS, though this will require an extra config step, for automatic updates.
-{{{
-svn co https://svn.macports.org/repository/macports/trunk/dports/ .
 }}}
 
 == Configuration ==
@@ -46,7 +46,7 @@
 
 === Step 3: '''Configure Subversion''' ===
 
-First, tell subversion to use your proxy to connect to the server.  This should not be necessary if your initial SVN checkout was from an http or https URL (and the checkout worked), so most people should not have to do this.  If you needed to configure your own ~/.subversion/servers file to be able to do the initial checkout, then you *do* need this step. 
+First, tell subversion to use your proxy to connect to the server.  This should not be necessary if your initial SVN checkout was from the http or https URL's (and the checkout worked), so most people should not have to do this.  If initial checkout failed, you will need this.  If you needed to configure your own ~/.subversion/servers file to be able to do the initial checkout, then you *do* need this step. 
 1. If the $prefix/var/macports/home/.subversion/servers file doesn't exist, create it by copying the corresponding ~/.subversion/servers file from another user to that location.  (SVN automatically creates this file if it doesn't exist, so you probably already have one.)
 2. Edit the file and set a proxy for hosts at `*.macports.org`.  Different proxy configurations require different sets of options here, but the file is pretty well commented, so it should be easy to figure out what you need.  At a minimum you'll need settings for http-proxy-host and http-proxy-port.
 
@@ -65,7 +65,6 @@
 port -d sync 
 }}}
 
-
 == See also ==
 
 Additional topics related to MacPorts and SVN:
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/SyncingWithSVN>
MacPorts <https://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'howto/SyncingWithSVN' page.
If it was not you, please report to .


More information about the macports-changes mailing list