git: a4422b4ac4c9 - main - news/inn, news/inn-current: Switch BERKELEYDB to db18

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Fri, 24 Jul 2026 21:59:16 UTC
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a4422b4ac4c9fa493f7cdcf836d192ebb03e88ce

commit a4422b4ac4c9fa493f7cdcf836d192ebb03e88ce
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2026-07-21 20:16:11 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-07-24 21:57:55 +0000

    news/inn, news/inn-current: Switch BERKELEYDB to db18
    
    databases/db5 is EOL.  Depend on databases/db18 instead and document
    the in-place ovdb_init -u upgrade for ovdb overview users.
    
    PR:             279151
---
 UPDATING                  | 17 +++++++++++++++++
 news/inn-current/Makefile |  2 +-
 news/inn/Makefile         |  4 ++--
 3 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/UPDATING b/UPDATING
index 2bd60bfdf8f7..a6577019a920 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,23 @@ 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.
 
+20260724:
+  AFFECTS: users of news/inn, news/inn-current
+  AUTHOR: kbowling@FreeBSD.org
+
+  The BERKELEYDB option now depends on databases/db18 instead of
+  databases/db5 (EOL).  If you use the ovdb overview method, stop the
+  news system, upgrade the port, then upgrade the overview database
+  in-place as the news user before restarting:
+
+    # service innd stop
+    # pkg upgrade news/inn   # or rebuild from ports
+    # su -m news -c 'ovdb_init -u'
+    # service innd start
+
+  The upgrade is in-place and cannot be undone.  See ovdb_init(8) for
+  details.  Users not using ovdb can ignore this entry.
+
 20260721:
   AFFECTS: users of security/openssh-portable
   AUTHOR: bdrewery@FreeBSD.org
diff --git a/news/inn-current/Makefile b/news/inn-current/Makefile
index 22d0bdcaf34e..05ee878c98d1 100644
--- a/news/inn-current/Makefile
+++ b/news/inn-current/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	inn-current
 PORTVERSION=	${SNAPSHOT}
-PORTREVISION=	0
+PORTREVISION=	1
 MASTER_SITE_SUBDIR=	inn/snapshots
 DISTNAME=	inn-${BRANCH}-${SNAPSHOT}
 
diff --git a/news/inn/Makefile b/news/inn/Makefile
index ba3245cbcc22..5bdfc0b22aae 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -1,6 +1,6 @@
 PORTNAME?=	inn
 PORTVERSION?=	2.7.4
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	news
 MASTER_SITES=	ISC
 MASTER_SITE_SUBDIR?=	${PORTNAME}
@@ -98,7 +98,7 @@ SQLITE_DESC=		Enable SQLite (for ovsqlite overview method)
 TAGGED_HASH_DESC=	Use tagged hash table for history
 UUCP_RNEWS_DESC=	Install rnews suitable for use with net/freebsd-uucp
 
-BERKELEYDB_USES=		bdb
+BERKELEYDB_USES=		bdb:18
 BERKELEYDB_CONFIGURE_ON=	--with-bdb-include=${BDB_INCLUDE_DIR} \
 				--with-bdb-lib=${LOCALBASE}/lib \
 				--with-bdb=${LOCALBASE}