[MacPorts] PortfileRecipes modified
MacPorts
noreply at macports.org
Tue Jun 2 00:43:35 PDT 2009
Changed page "PortfileRecipes" by ryandesign at macports.org from 72.177.51.50*
Page URL: <http://trac.macports.org/wiki/PortfileRecipes>
Diff URL: <http://trac.macports.org/wiki/PortfileRecipes?action=diff&version=9>
Revision 9
Comment: some edits to stealth updates
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: PortfileRecipes
=========================================================================
--- PortfileRecipes (version: 8)
+++ PortfileRecipes (version: 9)
@@ -106,7 +106,7 @@
It is better to make a user upgrade to a newer Xcode than for a port maintainer to spend time testing old versions.
== Dealing with stealth updates == #stealth-updates
-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:
+Some 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:
{{{
dist_subdir ${name}/${version}_${revision}
}}}
-------8<------8<------8<------8<------8<------8<------8<------8<--------
* The IP shown here might not mean anything if the user or the server is
behind a proxy.
--
MacPorts <http://www.macports.org/>
Ports system for Mac OS
This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on PortfileRecipes. If it was not you, please
report to .
More information about the macports-changes
mailing list