Re: FreeBSD 12.3-R and environment variables
- Reply: David Christensen : "Re: FreeBSD 12.3-R and environment variables"
- In reply to: David Christensen : "FreeBSD 12.3-R and environment variables"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Feb 2022 21:04:21 UTC
From: David Christensen <dpchrist@holgerdanske.com> Subject: FreeBSD 12.3-R and environment variables Date: Sun, 13 Feb 2022 12:45:20 -0800 > freebsd-questions: > > I recently installed FreeBSD 12.3-R: > > 2022-02-13 12:42:03 toor@f4 ~ > # freebsd-version ; uname -a > 12.3-RELEASE > FreeBSD f4.tracy.holgerdanske.com 12.3-RELEASE FreeBSD 12.3-RELEASE > r371126 GENERIC amd64 > > > Why do these environment variables say 12.2, and not 12.3? > > 2022-02-13 12:42:07 toor@f4 ~ > # set | grep -i freebsd > BASH_VERSINFO=([0]="5" [1]="1" [2]="12" [3]="0" [4]="release" > [5]="amd64-portbld-freebsd12.2") > MACHTYPE=amd64-portbld-freebsd12.2 > OSTYPE=freebsd12.2 > > > David > > You seems to install bash by using official package and use it as login shell. Right? If so the answer is that official packages for 12.x are built on 12.2-RELEASE. If you build and install bash on 12.3-RELEASE or after 12.2-RELEASE reachs its EoL, the result will change such as following. # set | grep -i freebsd BASH_VERSINFO=([0]="5" [1]="1" [2]="12" [3]="0" [4]="release" [5]="amd64-portbld-freebsd12.3") MACHTYPE=amd64-portbld-freebsd12.3 OSTYPE=freebsd12.3 --- Yasuhiro Kimura