summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-03-19 08:15:16 -0700
committerCy Schubert <cy@FreeBSD.org>2024-03-19 08:18:52 -0700
commit52032b3d50c0a267cb6f3701e4f7ae7c7cf540c1 (patch)
treeef5a430ce621b4b94260ee7f6e8b259539822a41
parentsysutils/bhyve+: Move man pages to share/man (diff)
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.
-rw-r--r--net/rdist6/Makefile9
1 files 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} \