git: 9a79f1b8c342 - main - Remove vestiges of keyserv(8)

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Fri, 23 May 2025 21:59:44 UTC
The branch main has been updated by ivy:

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

commit 9a79f1b8c342730653030c1df177b24a144c53b7
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-05-23 21:58:28 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-05-23 21:59:33 +0000

    Remove vestiges of keyserv(8)
    
    This daemon has been removed; also remove things which reference it.
    
    Reviewed by:    manu, des, emaste
    Approved by:    des (mentor)
    Differential Revision:  https://reviews.freebsd.org/D50441
---
 lib/libc/rpc/rpc_secure.3               |  3 +--
 libexec/rc/rc.conf                      |  2 --
 share/man/man5/rc.conf.5                | 18 +-----------------
 targets/pseudo/userland/Makefile.depend |  1 -
 4 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/lib/libc/rpc/rpc_secure.3 b/lib/libc/rpc/rpc_secure.3
index 11b871b5c99d..ce59bba7115f 100644
--- a/lib/libc/rpc/rpc_secure.3
+++ b/lib/libc/rpc/rpc_secure.3
@@ -266,8 +266,7 @@ Inverse of
 .Fn netname2user .
 .Sh SEE ALSO
 .Xr rpc 3 ,
-.Xr xdr 3 ,
-.Xr keyserv 8
+.Xr xdr 3
 .Pp
 The following manuals:
 .Rs
diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index cfb4fa09b1c1..f88bd3919f8b 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -396,8 +396,6 @@ rpcbind_enable="NO"		# Run the portmapper service (YES/NO).
 rpcbind_program="/usr/sbin/rpcbind"	# path to rpcbind, if you want a different one.
 rpcbind_flags=""		# Flags to rpcbind (if enabled).
 rpc_ypupdated_enable="NO"	# Run if NIS master and SecureRPC (or NO).
-keyserv_enable="NO"		# Run the SecureRPC keyserver (or NO).
-keyserv_flags=""		# Flags to keyserv (if enabled).
 nfsv4_server_enable="NO"	# Enable support for NFSv4
 nfsv4_server_only="NO"		# Set NFS server to NFSv4 only
 nfscbd_enable="NO"		# NFSv4 client side callback daemon
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 4b15db07a129..2fd63e4f743d 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd May 11, 2025
+.Dd May 21, 2025
 .Dt RC.CONF 5
 .Os
 .Sh NAME
@@ -2713,22 +2713,6 @@ is set to
 these are the flags to pass to the
 .Xr rpcbind 8
 daemon.
-.It Va keyserv_enable
-.Pq Vt bool
-If set to
-.Dq Li YES ,
-run the
-.Xr keyserv 8
-daemon on boot for running Secure RPC.
-.It Va keyserv_flags
-.Pq Vt str
-If
-.Va keyserv_enable
-is set to
-.Dq Li YES ,
-these are the flags to pass to
-.Xr keyserv 8
-daemon.
 .It Va pppoed_enable
 .Pq Vt bool
 If set to
diff --git a/targets/pseudo/userland/Makefile.depend b/targets/pseudo/userland/Makefile.depend
index 080dcf46eb1f..5f72461ab12e 100644
--- a/targets/pseudo/userland/Makefile.depend
+++ b/targets/pseudo/userland/Makefile.depend
@@ -566,7 +566,6 @@ DIRDEPS+= \
 	usr.sbin/jls \
 	usr.sbin/kbdcontrol \
 	usr.sbin/kbdmap \
-	usr.sbin/keyserv \
 	usr.sbin/kldxref \
 	usr.sbin/lastlogin \
 	usr.sbin/lmcconfig \