git: 52032b3d50c0 - main - net/rdist6: Rename the binary from rdist6 to rdist

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 16:12:12 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=52032b3d50c0a267cb6f3701e4f7ae7c7cf540c1

commit 52032b3d50c0a267cb6f3701e4f7ae7c7cf540c1
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-19 15:15:16 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-19 15:18:52 +0000

    net/rdist6: Rename the binary from rdist6 to rdist
    
    Years ago FreeBSD base had its own /usr/bin/rdist. To avoid confusion
    and allow users to use rdist6 without PATH or alias gymnastics the
    binary was renamed to rdist6. FreeBSD no longer maintains its own
    rdist so we can revert back from rdist6 to rdist ourselves.
---
 net/rdist6/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/net/rdist6/Makefile b/net/rdist6/Makefile
index 6c31d3271a0b..d740af9e0353 100644
--- a/net/rdist6/Makefile
+++ b/net/rdist6/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rdist
 PORTVERSION=	6.1.5
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	net
 MASTER_SITES=	https://fossies.org/linux/misc/old/ \
 		http://www.magnicomp.com/download/rdist/
@@ -11,8 +11,11 @@ WWW=		https://www.magnicomp.com/
 
 MAKE_JOBS_UNSAFE=	yes
 
-# To avoid confusion with /usr/bin/rdist, you may prefer otherwise.
-RDIST_NAME?=	rdist6
+# Years ago base FreeBSD maintained /usr/bin/rdist, but since then it was
+# removed. Users who wish to continue to use the rdist6 name can set
+# RDIST_NAME=rdist6 in their make.conf. Otherwise we install binary named
+# rdist.
+RDIST_NAME?=	rdist
 
 INSTALL_TARGET=	install install.man
 MAKE_ENV=	BUILD_OPT="${CFLAGS}" BUILD_CLIENT=${RDIST_NAME} \