Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2022 16:13:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261523] Mk/bsd.default-versions.mk: Change default db5 (deprecated and EoL) to db18
Message-ID:  <bug-261523-7788-UkFANjhD3D@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261523-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261523-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261523

Yasuhiro Kimura <yasu@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #231569|0                           |1
        is obsolete|                            |
 Attachment #231617|maintainer-approval?(apache |
              Flags|@FreeBSD.org)               |
 Attachment #231617|0                           |1
        is obsolete|                            |

--- Comment #9 from Yasuhiro Kimura <yasu@freebsd.org> ---
Created attachment 235409
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D235409&action=
=3Dedit
Updated patch file

* Remove compatiblity hack to upgrade older plussed versions to 5+ aa there
isn't such case in ports tree anymore.
* Remove INVALID_BDB_VER and replace it with argument of 'USE=3Dbsb'.
* Stop checking if there is already installed version of berkeley db. While
testing migration from db5 to db18, I found following confuging situation.
  (1) Currently default version of bdb is 5. So if a port uses 'USES=3Dbdb'=
, then
install packages depends of db5.
  (2) To migrate to db18, add 'DEFAULT_VERSIONS+=3Dbdb=3D18' to /etc/make.c=
onf.
  (3) Rebuild package installed at (1).
  (4) Now it is expected the package depends on db18. But what really=20=20=
=20=20=20=20
happens is that it still depends on db5. It happens because when db5 is alr=
eady
installed it is used as default version of bdb even if there is
'DEFAULT_VERSIONS+=3Dbdb=3D18' in /etc/make.conf. It's against user's expec=
tation.
So remove the logic.
* Add entry to UPDATING.
* Bump PORTREVISION of ports that use bdb.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261523-7788-UkFANjhD3D>