Solved default version question

I was about to build sysutils/bacula-server requiring postgresql. I saw the version it picked was 9.3 and reasoned that's derived from /usr/ports/Mk/bsd.default-versions.mk. My question is simply what is the rationale behind the default version?

9.4 was introduced December 2014, has gone through 5 releases, so I would expect it to be stable.

  1. Was it tried already and found to break some ports?
  2. Is there policy to stick one version behind current for defaults? (where would I find that document, wasn't able to find anything relevant).
  3. Does it just require somebody to ask for it to be bumped?

Please note I'm not asking if postgresql 9.4 works with bacula (I'll try that myself and see what happens), I'm simply trying to understand the ports ecosystem better.
Or in other words, should I not waste my time trying 9.4 because those who know better than me have already figured that out?
 
You are not obligated to use databases/postgresql93-client, if you use make config you can turn that option off and choose another from list below:
Code:
===> The following configuration options are available for bacula-server-7.2.0_1:
            MTX=off: Install mtx for control of autochanger devices
            MYSQL=off: MySQL database support
            NLS=on: Native Language Support
            PGSQL=on: PostgreSQL database support
            PYTHON=off: Python bindings or support
            SQLITE3=off: SQLite 3 database support
===> Use 'make config' to modify these settings

The port databases/postgresql93-client is specified as a dependency so that's the developers progress at the moment. You can always experiment and submit your findings to the project for submittion.
 
Yes I realize that, you misunderstood what I was asking.

This has nothing to do with bacula, that was just an example, but /usr/ports/Mk/bsd.default-versions.mk, which is global to all ports.

I can (and have) built bacula with postgresql-client94, by putting into /etc/make.conf
Code:
PGSQL_DEFAULT?=9.4

My question, restated. What is the rationale behind the default version in /usr/ports/Mk/bsd.default-versions.mk.
 
So kinda #3 I suppose, try it, see what the fallout is.

BTW is this the most appropriate place to ask this, or would I be better going to the FreeBSD-ports mailing list, to keep this cleaner? I'm never quite sure.
Here or the ports@FreeBSD.org mailing list are both fine for questions like this. However, if you were going to ask to have a committer look at changing a port then ports@FreeBSD.org is the way to go since there are many more ports committers that keep an eye on that mailing list.
 
To help clarify for others reading this, while sysutils/bacula does specify that postgresql (in this particular case) is a dependent, it does not specify any version information. The Makefile can control version, but in this particular case it is left to the default, which is provided by /usr/ports/Mk/bsd.default-versions.mk or overridden by other mechanisms.

You can see an example where the version is controlled in /usr/ports/security/scamp/Makefile in this snippet:

Code:
RUN_DEPENDS=  bash>=4.2.42:${PORTSDIR}/shells/bash \
  clamav>=0.97.8:${PORTSDIR}/security/clamav \
  gnupg>=2.0.19:${PORTSDIR}/security/gnupg \
  rsync>=3.0.9:${PORTSDIR}/net/rsync
The excellent Porters Handbook has further information.
 
Back
Top