Changes between Version 5 and Version 6 of howto/ShareArchives2


Ignore:
Timestamp:
Aug 3, 2011, 4:04:20 PM (13 years ago)
Author:
fracai
Comment:

Replaced references to ${prefix} with /opt/local

Legend:

Unmodified
Added
Removed
Modified
  • howto/ShareArchives2

    v5 v6  
    1111
    1212== Installation ==
     13
     14Note: This HowTo assumes a MacPorts installation prefix of '''/opt/local'''. If you have installed to an alternate location, please update the paths accordingly.
    1315
    1416=== Step 1: '''Generate signing keys''' ===
     
    102104=== Step 3: '''Share archives''' ===
    103105
    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.
     106In 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.
    105107
    106108Conveniently, it's available through MacPorts, so go ahead and install that.
     
    187189Now, 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.
    188190
    189 Add the following to '''${prefix}/etc/macports/macports.conf'''
     191Add the following to '''/opt/local/etc/macports/macports.conf'''
    190192{{{
    191193archive_site_local      http://bonjour.local:6227/
    192194}}}
    193195
    194 A line indicating the location of the public key must also be added to '''${prefix}/etc/macports/pubkeys.conf'''. Something like:
     196A line indicating the location of the public key must also be added to '''/opt/local/etc/macports/pubkeys.conf'''. Something like:
    195197{{{
    196198/opt/local/share/macports/local-pubkey.pem