Changes between Version 57 and Version 58 of PortfileRecipes
- Timestamp:
- Mar 6, 2013, 3:12:59 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortfileRecipes
v57 v58 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 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. 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.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.