cvs commit: ports/shells/bash Makefile pkg-plist

Joseph S. Atkinson jsatkinson at embarqmail.com
Wed Mar 25 17:17:26 PDT 2009


I've had this idea for a while now... feel free to shoot it down in flames.

PORTVERSION=	1.0
PORTREVISION=	1
CHASEVERSION=	1.0 # this is my idea

Sets a version number that if you are upgrading from a version lesser 
than this version, all dependent ports should be rebuilt as well. Minor 
bumps wouldn't change this so moving from 0.9.7 to 1.0_1 would trigger 
recursive depends since the current versions are built against less than 
CHASEVERSION version. But if we bump to 1.0_1 to fix a plist nit or 
other such, people who have already built 1.0 will just get the updated 
package and not recurse upwards. The port maintainer is responsible for 
noting if the change is significant enough to merit changes down the 
line. If he fails to do this properly, he could add it later when 
noticed, and the old @pkgdep line in installed port entries could then 
be compared and signify the need to be rebuilt.

And if for some reason, there is subtle breakage we discover later that 
requires a local fix that is significant enough to require recursive 
building... we just set CHASEVERSION=1.0_2 when we apply the update and 
set PORTREVISION=2.


More information about the cvs-all mailing list