lib9p: Make it a private library

lib9p was imported to add a 9p server to bhyve (and I believe this was
the original motivation for writing it in the first place).  Its
external interfaces are kind of strange (from first-hand experience
using it to implement an inetd-based 9p server) and undocumented.
Moreover, upstream has been inactive for over five years.

I suspect there are no third-party consumers.  Let's make it a private
library for now, so as to make it easier to rework external interfaces.
If we get more code written against it, symbol versioning, and some
documentation, we can revisit this decision.

PR:		297499
Reviewed by:	jhb, emaste
Differential Revision:	https://reviews.freebsd.org/D58828
This commit is contained in:
Mark Johnston committed 2026-09-01 15:28:28 +00:00
1 parent f41d83578e
commit 1b8ccb02ac
3 files changed
+5 -1

No files matched your search

+3
View File
@@ -51,6 +51,9 @@
# xargs -n1 | sort | uniq -d;
# done
# 20260813: lib9p.so becomes a private library
OLD_LIBS+=usr/lib/lib9p.so.1
# 20260811: libusb symbol versioning, shared library bumped to version 4
OLD_LIBS+=usr/lib/libusb.so.3
+1
View File
@@ -12,6 +12,7 @@ LIBADD+= casper cap_pwd cap_grp
.endif
LIB= 9p
PRIVATELIB=
PACKAGE= lib${LIB}
SHLIB_MAJOR= 1
SRCS= connection.c \
+1 -1
View File
@@ -12,6 +12,7 @@ __<src.libnames.mk>__: .NOTMAIN
.include <src.opts.mk>
_PRIVATELIBS= \
9p \
atf_c \
atf_cxx \
auditd \
@@ -109,7 +110,6 @@ _LIBRARIES= \
${_INTERNALLIBS} \
${LOCAL_LIBRARIES} \
80211 \
9p \
alias \
archive \
asn1 \