Changes between Version 16 and Version 17 of howto/SyncingWithSVN
- Timestamp:
- Jun 18, 2015, 3:37:01 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/SyncingWithSVN
v16 v17 1 1 [wiki:howto <- Back to the HOWTO section] 2 2 3 = How to sync your ports tree using Subversion (over HTTP ) =3 = How to sync your ports tree using Subversion (over HTTP(s)) = 4 4 5 5 * Audience: end users who cannot use rsync (873/tcp) due to firewalls, proxies, policy, etc. … … 26 26 mkdir -p svn.macports.org/trunk/dports 27 27 cd svn.macports.org/trunk/dports 28 svn co https://svn.macports.org/repository/macports/trunk/dports/ . 29 }}} 30 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). 31 {{{ 28 32 svn co http://svn.macports.org/repository/macports/trunk/dports/ . 29 }}}30 If you prefer, the repository is also available via HTTPS, though this will require an extra config step, for automatic updates.31 {{{32 svn co https://svn.macports.org/repository/macports/trunk/dports/ .33 33 }}} 34 34 … … 47 47 === Step 3: '''Configure Subversion''' === 48 48 49 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 dothis. If you needed to configure your own ~/.subversion/servers file to be able to do the initial checkout, then you *do* need this step.49 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. 50 50 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.) 51 51 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. … … 66 66 }}} 67 67 68 69 68 == See also == 70 69