git: bd7dceb27c08 - stable/14 - ping6(8): Add ping6(8) as MLINK to ping(8)

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Fri, 10 Nov 2023 07:41:56 UTC
The branch stable/14 has been updated by lwhsu:

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

commit bd7dceb27c085c0014f5a09b5d92c6a060d16f23
Author:     Antranig Vartanian <antranigv@freebsd.am>
AuthorDate: 2023-11-07 21:14:59 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-11-10 07:41:32 +0000

    ping6(8): Add ping6(8) as MLINK to ping(8)
    
    Reviewed by:    chuck
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D42203
    
    (cherry picked from commit d6e457328d0e57176b66ba5f5c614becca680fea)
---
 ObsoleteFiles.inc  | 1 -
 sbin/ping/Makefile | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 396f4822b02b..32a044706e51 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -6718,7 +6718,6 @@ OLD_FILES+=usr/share/man/man4/if_hme.4.gz
 OLD_FILES+=usr/include/net/radix_mpath.h
 
 # 20201124: ping6(8) was merged into ping(8)
-OLD_FILES+=usr/share/man/man8/ping6.8.gz
 OLD_FILES+=usr/tests/sbin/ping6/Kyuafile
 OLD_FILES+=usr/tests/sbin/ping6/ping6_c1_s8_t1.out
 OLD_FILES+=usr/tests/sbin/ping6/ping6_test
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile
index 4713b01cac90..1483a93ace37 100644
--- a/sbin/ping/Makefile
+++ b/sbin/ping/Makefile
@@ -20,6 +20,7 @@ CFLAGS+= -DINET6 -DKAME_SCOPEID
 SRCS+=	ping6.c
 LIBADD+= md
 LINKS=	${BINDIR}/ping ${BINDIR}/ping6
+MLINKS=	ping.8 ping6.8
 .endif
 
 .if ${MK_DYNAMICROOT} == "no"