git: cddce522f185 - stable/13 - ping6(8): Add ping6(8) as MLINK to ping(8)

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

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

commit cddce522f185c3a69977917b35efcf7bf96374bb
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:42:07 +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 9fa227b121a9..fd4e1d98e631 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -3156,7 +3156,6 @@ OLD_FILES+=usr/share/man/man4/hme.4.gz
 OLD_FILES+=usr/share/man/man4/if_hme.4.gz
 
 # 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 5d98e4ca518b..3ec7656f7bc1 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"