Changes between Version 58 and Version 59 of PortfileRecipes
- Timestamp:
- Mar 6, 2013, 9:00:45 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortfileRecipes
v58 v59 467 467 468 468 * `registry_active` returns a list containing information about active ports. Given a particular name, only one active port can match, so the returning list has at most one element, which we save as `installed`. (If we had not provided an argument, the list would have had one element for every active port.) 469 * `installed` is now a list containing information on the active port. The elements relevant to version checking are the the second, third, and sixth, which contain the port version, revision, and epoch, respectively.469 * `installed` is now a list containing information on the active port. The elements relevant to version checking are the port version, revision, and epoch, which are at indices 1, 2, and 5, respectively. 470 470 * If the active port is not recent enough, we deactivate it using `registry_deactivate_composite`. The second argument is a version number, which in this case we leave empty. The third argument is a list of options; setting `ports_nodepcheck` to 1 forces deactivation regardless of whether there are active dependents. This is fine, since `kerberos5` will be reinstalled shortly.