Changes between Version 8 and Version 9 of PortfileRecipes


Ignore:
Timestamp:
Jun 2, 2009, 7:43:32 AM (15 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

some edits to stealth updates

Legend:

Unmodified
Added
Removed
Modified
  • PortfileRecipes

    v8 v9  
    107107
    108108== Dealing with stealth updates == #stealth-updates
    109 Some software may update their distfile with new changes without changing the version number (eg, it stays example-1.2.tar.gz); another case where this happens is when the distfile is unversioned (eg, example.tar.gz).  The safest way to deal with this is to keep the port's version unchanged (eg, stays at 1.2) while increasing the revision.  This however causes upgrade issues for those with it already as the update will include different checksums, but those who've already downloaded the distfile now have incorrect checksums.  To work around this, set dist_subdir so that it includes the version and revision:
     109Some software may update their distfile with new changes without changing the version number (e.g., it stays example-1.2.tar.gz); another case where this happens is when the distfile is unversioned (e.g., example.tar.gz).  The safest way to deal with this is to keep the port's version unchanged (e.g., stays at 1.2) while increasing the revision.  This however will cause a checksum mismatch for those who already have the previous distfile.  To work around this, set dist_subdir so that it includes the version and revision:
    110110{{{
    111111dist_subdir   ${name}/${version}_${revision}