mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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:
1 parent
f41d83578e
commit
1b8ccb02ac
3 files changed
+5
-1
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ LIBADD+= casper cap_pwd cap_grp
|
||||
.endif
|
||||
|
||||
LIB= 9p
|
||||
PRIVATELIB=
|
||||
PACKAGE= lib${LIB}
|
||||
SHLIB_MAJOR= 1
|
||||
SRCS= connection.c \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user