Changes between Version 5 and Version 6 of howto/ShareArchives2
- Timestamp:
- Aug 3, 2011, 4:04:20 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/ShareArchives2
v5 v6 11 11 12 12 == Installation == 13 14 Note: This HowTo assumes a MacPorts installation prefix of '''/opt/local'''. If you have installed to an alternate location, please update the paths accordingly. 13 15 14 16 === Step 1: '''Generate signing keys''' === … … 102 104 === Step 3: '''Share archives''' === 103 105 104 In order to retrieve archives from the build system, they must first be shared. MacPorts expects this to be a basic web listing of the software directory (''' ${prefix}/var/macports/software/'''). While Mac OS X ships with an installation of Apache, that's a bit heavy for what we need. Instead, the light weight web server [http://www.lighttpd.net/ lighttpd] can be used with minimal configuration.106 In order to retrieve archives from the build system, they must first be shared. MacPorts expects this to be a basic web listing of the software directory ('''/opt/local/var/macports/software/'''). While Mac OS X ships with an installation of Apache, that's a bit heavy for what we need. Instead, the light weight web server [http://www.lighttpd.net/ lighttpd] can be used with minimal configuration. 105 107 106 108 Conveniently, it's available through MacPorts, so go ahead and install that. … … 187 189 Now, MacPorts needs to be configured to fetch archives from the build system. The '''archive_site_local''' setting can be set to an IP, but it will likely be more convenient to use the Bonjour name of the local system. This name can be found in the '''Sharing''' preference pane. 188 190 189 Add the following to ''' ${prefix}/etc/macports/macports.conf'''191 Add the following to '''/opt/local/etc/macports/macports.conf''' 190 192 {{{ 191 193 archive_site_local http://bonjour.local:6227/ 192 194 }}} 193 195 194 A line indicating the location of the public key must also be added to ''' ${prefix}/etc/macports/pubkeys.conf'''. Something like:196 A line indicating the location of the public key must also be added to '''/opt/local/etc/macports/pubkeys.conf'''. Something like: 195 197 {{{ 196 198 /opt/local/share/macports/local-pubkey.pem