Files
ports/net/rsync/patches/patch-support_rrsync
namn dd1e1ba109 update net/rsync 3.2.4
NEWS: https://download.samba.org/pub/rsync/NEWS#3.2.4

originally from tj@ with tweaks by me:
- --with-nobody-user=_rsync
- remove compat.c (fixed)
- remove configure.sh (use --with-nobody-user=_rsync instead)
- remove receiver.c (upstreamed)
- rrsync patch: churn and moves from perl to python3
- --with-rrsync and brings in python as BUILD_DEPENDS (not RUN_DEPENDS)
    and textproc/py-commonmark, needed to run
    ${WRKSRC}/md-convert. md-convert converts rsync.1.md --> rsync.1, so
    remove patches for man pages and patch markdown files instead.
- When patching markdown files, mainly keep these two changes:
  /usr/bin --> ${PREFIX}/bin and nobody --> _rsync.
- remove rsyncd.conf.5 from ${SUBST_CMD}
- --enable-md5-asm only on amd64, as configure check fails on other
    platforms (from naddy@ to retain
    checking whether to enable MD5 ASM optimizations... yes (x86_64))

feedback from tj@ espie@ sthen@ naddy@
ok sthen@
2022-05-23 00:24:58 +00:00

13 lines
456 B
Plaintext

Index: support/rrsync
--- support/rrsync.orig
+++ support/rrsync
@@ -10,7 +10,7 @@
# You may configure these 2 values to your liking. See also the section of
# short & long options if you want to disable any options that rsync accepts.
-RSYNC = '/usr/bin/rsync'
+RSYNC = '${PREFIX}/bin/rsync'
LOGFILE = 'rrsync.log' # NOTE: the file must exist for a line to be appended!
# The following options are mainly the options that a client rsync can send