Changes between Version 10 and Version 11 of howto/ShareArchives2
- Timestamp:
- Sep 7, 2011, 3:21:03 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/ShareArchives2
v10 v11 8 8 == Introduction == 9 9 10 Users with multiple machines can save significant compilation effort by installing pre-built ports from binary archives that have been assembled on another system. Under previous MacPorts releases this [wiki:howto/ShareArchives involved] enabling archive mode on all systems, manually transferring archives, and sometimes manually unpacking the archive before proceeding with the installation. MacPorts 2.0.0 introduces features which permanently enable sarchive mode and includes support for fetching archives from local or remote sources.10 Users with multiple machines can save significant compilation effort by installing pre-built ports from binary archives that have been assembled on another system. Under previous MacPorts releases this [wiki:howto/ShareArchives involved] enabling archive mode on all systems, manually transferring archives, and sometimes manually unpacking the archive before proceeding with the installation. MacPorts 2.0.0 introduces features which permanently enable archive mode and includes support for fetching archives from local or remote sources. 11 11 12 12 == Installation == … … 14 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. 15 15 16 Also, the installation steps will refer to a'''build''' and '''installation''' systems. The '''build''' system compiles, signs, and shares ports and archives. Each '''installation''' system retrieves the archives and installs the port, without having to compile anything.16 Also, the installation steps will refer to '''build''' and '''installation''' systems. The '''build''' system compiles, signs, and shares ports and archives. Each '''installation''' system retrieves the archives and installs the port, without having to compile anything. 17 17 18 18 === Step 1: '''Generate signing keys''' === … … 45 45 === Step 2: '''Let's sign some packages''' === 46 46 47 Now that the keys are generated, we can test signing a package. Any archive will do; the following example uses '''archive.tbz'''. Your example should specify the full path to the private key, the archive, and the archive signature that should be named identically to the input archive and suffixed with '''.rmd160'''.47 Now that the keys are generated, we can test signing a package. Any file will do; the following example uses '''archive.tbz'''. Your example should specify the full path to the private key, the archive, and the archive signature that should be named identically to the input archive and suffixed with '''.rmd160'''. 48 48 49 49 {{{ … … 147 147 You'll also want the lighttpd service to run at all times so your client machines are not deprived of access to the port archives. A simple LaunchD task will handle this: 148 148 149 '''/Library/LaunchDaemons/org.macports. share-archives.plist'''149 '''/Library/LaunchDaemons/org.macports.lighttpd.share-archives.plist''' 150 150 {{{ 151 151 <?xml version="1.0" encoding="UTF-8"?> … … 156 156 <true/> 157 157 <key>Label</key> 158 <string>org.macports. share-archives</string>158 <string>org.macports.lighttpd.share-archives</string> 159 159 <key>LowPriorityIO</key> 160 160 <true/>