Changes between Version 13 and Version 14 of howto/SyncingWithSVN
- Timestamp:
- Jun 16, 2015, 6:20:12 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/SyncingWithSVN
v13 v14 28 28 svn co https://svn.macports.org/repository/macports/trunk/dports/ . 29 29 }}} 30 If you prefer, the repository is also available via HTTP :30 If you prefer, the repository is also available via HTTP, which may be easier to sync later. 31 31 {{{ 32 32 svn co http://svn.macports.org/repository/macports/trunk/dports/ . … … 38 38 Edit $prefix/etc/macports/sources.conf to comment out the rsync entry and add the "file" entry: 39 39 40 Note: don't forget to replace $prefix .40 Note: don't forget to replace $prefix, so the initial part will start with "file:///" (three slashes). 41 41 42 42 {{{ … … 45 45 }}} 46 46 47 At this point, if you don't care about future updates, you can manually build a portindex, like this: 48 49 {{{ 50 cd $prefix/var/macports/sources/svn.macports.org/trunk/dports/ 51 portindex 52 }}} 53 54 and you're ready to go. If you want to enable easy future updates, see step 3 "Configure Subversion" instead. 55 47 56 === Step 3: '''Configure Subversion''' === 48 57 49 58 First, tell subversion to use your proxy to connect to the server: 50 1. If $prefix/var/macports/home/.subversion/servers doesn't exist, create it by copying the corresponding file from another user. (SVN automatically creates this file if it doesn't exist.)59 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 60 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. 52 61 … … 56 65 3. SVN will store the certificate in a file in the directory `$HOME/.subversion/auth/svn.ssl.server`. In that directory, find the file that contains the string "`https://svn.macports.org`" and copy it into `$prefix/var/macports/home/.subversion/auth/svn.ssl.server`. 57 66 58 Or, you can use SVN over HTTP, in which case you don't need to worry about the certificate .67 Or, you can use SVN over HTTP, in which case you don't need to worry about the certificate or the 3 steps above. 59 68 60 69 == Optional Parts ==