Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2012 11:21:45 -0400
From:      Michael Scheidell <scheidell@FreeBSD.org>
To:        <ports@freebsd.org>
Subject:   FAQ on PORTREVISION bump?
Message-ID:  <4F732C89.3040804@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Looking for an FAQ on PORTREVISION bumps on commits, pr's.

Basically, I make the decision based on 'hey, if I was running a cronjob 
to do a portupgrade -Rr every night, would I want this to be upgraded'?

I know if something is broken across all builds, it doesn't need a 
portrevision bump.
If portversion is bumped, portrevision needs to be reset to 0 (line 
deleted from Makefile)
pkg-plist changed (except for tweaks for portdocs/portexamples)

options change?  I would think so, I see 'make config' called sometimes 
on portrevision bump, so I assume if I change the defaults, or add an 
option that changes build, I should bump it.

What about things like removing a run_depends that isn't nessessary?  ie:

build_depends= This \ That \ TheOther
run_depends+= $build_depends

but, in reality, you only need 'that' to run.

build_depends= This \ That \ TheOther
run_depends = that

Would the average OP want to rebuild the package just to eliminate the 
extra run depends?  I am thinking, not.  why bother?

make deinstall/reinstall via portupgrade or portmanager won't really do 
anything
make package/ pkg_delete/ pkg_add won't do anything.

So, is there a definitive list?


-- 
Michael Scheidell, CTO
 >*| * SECNAP Network Security Corporation
d: +1.561.948.2259
w: http://people.freebsd.org/~scheidell



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F732C89.3040804>