From fb1ccc04adfe6357b84b577704cd641e192d69d8 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Fri, 25 Jul 2025 15:07:14 +0100 Subject: [PATCH] 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 76c7b2eda4e..808e7be828c 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 1d42951c3c9..3230a77171f 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 -.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