Implement the concept of a "master" port for the set of

sysutils/cfengine* ports.

The idea here is two-fold:

 1.)  Users should not need to ever change port origins
      for a default software version bump;
 2.)  Users should expect to exist an unversioned port
      directory to reflect the latest major version (and
      they should be correct in this expectation).

With this change, users can install the sysutils/cfengine
port, and by default track the latest major version of the
software.  Subsequent version releases, for example the 3.5
branch, will not require any interaction from user side.

Additionally, users can stay on a certain branch release by
adding, in this case, CFENGINE_VERSION version to make.conf
or specifying the branch during build time with:

	# make CFENGINE_VERSION=NN

The list of available CFENGINE_VERSION values are listed
with:

	# make -V VERSIONS

Discussed with:		cy
This commit is contained in:
Glen Barber 2013-01-08 04:33:08 +00:00
parent f82cbeb7df
commit 0fda4454c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310063
2 changed files with 30 additions and 0 deletions

View file

@ -5,6 +5,28 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20130108:
AFFECTS: users of sysutils/cfengine*
AUTHOR: gjb@FreeBSD.org
sysutils/cfengine has been created as a master port for the set of
sysutils/cfengine* ports. Users interested in tracking the latest
stable branch of cfengine should update their port origins to use
the new port, for example:
# portmaster -o sysutils/cfengine sysutils/cfengine33
or
# portupgrade -fo sysutils/cfengine sysutils/cfengine33
or
# pkg set -o sysutils/cfengine33:sysutils/cfengine
Users that switch their port origin and later wish to remain on
a particular cfengine release can override the default version by
adding CFENGINE_VERSION to /etc/make.conf, where CFENGINE_VERSION
is a value from:
# make -V VERSIONS
20130103:
AFFECTS: users of textproc/docproj*
AUTHOR: doceng@FreeBSD.org

View file

@ -0,0 +1,8 @@
# $FreeBSD$
VERSIONS= 22 32 33 34 -devel
CFENGINE_VERSION?= 34
MASTERDIR= ${.CURDIR}/../cfengine${CFENGINE_VERSION}
.include "${MASTERDIR}/Makefile"