git: 780d5edd16d3 - main - net/rsync: drop py-cmarkgfm build dep, fix inert path substitutions
Date: Wed, 24 Jun 2026 01:04:37 UTC
The branch main has been updated by olivier:
URL: https://cgit.FreeBSD.org/ports/commit/?id=780d5edd16d3542e9946905cec8d8028772e5724
commit 780d5edd16d3542e9946905cec8d8028772e5724
Author: Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2026-06-24 00:41:05 +0000
Commit: Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2026-06-24 01:03:13 +0000
net/rsync: drop py-cmarkgfm build dep, fix inert path substitutions
Drop python and py-cmarkgfm from the BUILD_DEPENDS: The tarball ships
pre-rendered nroff man pages, so the upstream md2man toolchain is not needed.
While here, fix a post-patch REINPLACE_CMD pattern that has been silently
inert since 2022 (PR 263787): Replace with two correct substitutions so the
installed man pages reference ${ETCDIR} instead of /etc/rsync*.
Bump PORTREVISION because installed man page content changes.
Sponsored by: Netflix
---
net/rsync/Makefile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index ca7be7b6e0c9..164653014d3c 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -1,5 +1,6 @@
PORTNAME= rsync
DISTVERSION= 3.4.4
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://www.mirrorservice.org/sites/rsync.samba.org/src/ \
http://rsync.mirror.garr.it/src/ \
@@ -13,8 +14,6 @@ WWW= https://rsync.samba.org/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cmarkgfm>=0.8.0:textproc/py-cmarkgfm@${PY_FLAVOR} \
- ${PYTHON_VERSION}:lang/python${PYTHON_SUFFIX}
LIB_DEPENDS= liblz4.so:archivers/liblz4 \
libxxhash.so:devel/xxhash \
libzstd.so:archivers/zstd
@@ -30,6 +29,7 @@ SHEBANG_FILES= runtests.py support/rrsync
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --disable-debug \
+ --disable-md2man \
--enable-ipv6 \
--with-rsyncd-conf=${ETCDIR}/rsyncd.conf
@@ -39,8 +39,6 @@ TEST_TARGET= check
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-BINARY_ALIAS= python3=${PYTHON_VERSION}
-
SUB_LIST= NAME=rsyncd
PORTDOCS= NEWS.md README.md csprotocol.txt tech_report.tex
@@ -75,9 +73,10 @@ CONFIGURE_ARGS+= ac_cv_search_libiconv_open=no
.endif
post-patch:
- @${REINPLACE_CMD} -e 's:/etc/r{1,2}sync:${ETCDIR}/:g' \
+ @${REINPLACE_CMD} -e 's:/etc/rsync/:${ETCDIR}/:g' \
+ -e 's:/etc/rsyncd:${ETCDIR}/rsyncd:g' \
-e 's:/etc/letsencrypt:${PREFIX}/etc/letsencrypt:g' \
- ${WRKSRC}/rsync.1.md ${WRKSRC}/rsyncd.conf.5.md
+ ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
@${REINPLACE_CMD} -e 's|/usr/bin/rsync|${PREFIX}/bin/rsync|g' ${WRKSRC}/support/rrsync
pre-configure: