Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2025 17:28:47 GMT
From:      Lexi Winter <ivy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fb1ccc04adfe - main - krb5: don't install libdb manual pages
Message-ID:  <202507251728.56PHSlbW093938@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=fb1ccc04adfe6357b84b577704cd641e192d69d8

commit fb1ccc04adfe6357b84b577704cd641e192d69d8
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-07-25 14:07:14 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-07-25 17:31:27 +0000

    krb5: don't install libdb manual pages
    
    This version of libdb is private to Kerberos and not intended for
    external use, so avoid installing manual pages that may conflict
    with another version of libdb.
    
    Reviewed by:    des, cy
    Differential Revision:  https://reviews.freebsd.org/D51418
---
 ObsoleteFiles.inc             |  8 ++++++++
 krb5/plugins/kdb/db2/Makefile | 14 --------------
 2 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 76c7b2eda4e8..808e7be828c5 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -63,6 +63,14 @@ OLD_FILES+=usr/include/dyn.h
 OLD_FILES+=usr/include/dynP.h
 OLD_FILES+=usr/include/gssrpcint.h
 OLD_FILES+=usr/include/import_err.h
+OLD_FILES+=usr/share/man/man3/db_btree.3.gz
+OLD_FILES+=usr/share/man/man3/db_hash.3.gz
+OLD_FILES+=usr/share/man/man3/db_lock.3.gz
+OLD_FILES+=usr/share/man/man3/db_log.3.gz
+OLD_FILES+=usr/share/man/man3/db_mpool.3.gz
+OLD_FILES+=usr/share/man/man3/db_open.3.gz
+OLD_FILES+=usr/share/man/man3/db_recno.3.gz
+OLD_FILES+=usr/share/man/man3/db_txn.3.gz
 OLD_FILES+=usr/share/man/man5/profile.5.gz
 OLD_FILES+=usr/share/man/man8/kamdin.local.8.gz
 
diff --git a/krb5/plugins/kdb/db2/Makefile b/krb5/plugins/kdb/db2/Makefile
index 1d42951c3c97..3230a77171f4 100644
--- a/krb5/plugins/kdb/db2/Makefile
+++ b/krb5/plugins/kdb/db2/Makefile
@@ -29,15 +29,6 @@ SRCS=	\
 
 .include "${KRB5_SRCTOP}/plugins/kdb/db2/libdb2/Makefile.inc"
 
-MAN=	db_btree.3 \
-	db_hash.3 \
-	db_lock.3 \
-	db_log.3 \
-	db_mpool.3 \
-	db_open.3 \
-	db_recno.3 \
-	db_txn.3
-
 CFLAGS+=-I${KRB5_DIR}/plugins/kdb/db2 \
 	-I${KRB5_DIR}/plugins/kdb/db2/libdb2 \
 	-I${KRB5_DIR}/plugins/kdb/db2/libdb2/include \
@@ -55,11 +46,6 @@ CFLAGS+=-I${KRB5_DIR}/plugins/kdb/db2 \
 
 .include <bsd.lib.mk>
 
-.SUFFIXES: .h .c .man .3
-
-.man.3:
-	@cp ${.ALLSRC} ${.TARGET}
-
 .PATH:	${KRB5_DIR}/plugins/kdb/db2 \
 	${KRB5_DIR}/plugins/kdb/db2/libdb2 \
 	${KRB5_DIR}/plugins/kdb/db2/libdb2/man



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507251728.56PHSlbW093938>