commit b3ddaf2fb6ea2b1c211c1900453be53cabbc1e36 Author: Rodrigo Osorio Date: Sun Jun 21 16:23:23 2026 +0200 net/rsync: Add back the FLAGS option This restores support for copying file flags and fixes a long-standing peeve of mine by renaming the command-line option to --file-flags, better matching the naming style of other rsync options. Full backward compatibility is maintained, including with older servers. Differential Revision: Obtained from: des MFH: 2026Q2 diff --git a/net/rsync/Makefile b/net/rsync/Makefile index ca7be7b6e0c9..ac3b566f249f 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/ \ @@ -46,15 +47,16 @@ SUB_LIST= NAME=rsyncd PORTDOCS= NEWS.md README.md csprotocol.txt tech_report.tex # define options -OPTIONS_DEFINE= DOCS ICONV POPT_PORT SSH ZLIB_BASE -OPTIONS_DEFAULT= ICONV SSH ZLIB_BASE -OPTIONS_RADIO= PTS +OPTIONS_DEFINE= DOCS FLAGS ICONV POPT_PORT SSH ZLIB_BASE +OPTIONS_DEFAULT= FLAGS ICONV SSH ZLIB_BASE # options provided upstream POPT_PORT_DESC= Use popt from devel/popt instead of bundled one -PTS_DESC= Functionality provided by third party patches SSH_DESC= Use SSH instead of RSH +FLAGS_DESC= File system flags support patch, adds --file-flags +FLAGS_PATCH_SITES= https://github.com/dag-erling/${PORTNAME}/commit/ +FLAGS_PATCHFILES= f0a074858d5ad050d407ed05ce2165b4e096a863.patch:-p1 ZLIB_BASE_DESC= Use zlib from base instead of bundled one ICONV_USES= iconv:translit diff --git a/net/rsync/distinfo b/net/rsync/distinfo index ce9eef57c1fc..bed97dcdb63f 100644 --- a/net/rsync/distinfo +++ b/net/rsync/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1780903220 +TIMESTAMP = 1782143430 SHA256 (rsync-3.4.4.tar.gz) = bd88cf82fa653da32314fb229136407c5c90f80d1758d8f4b091767877d8fa96 SIZE (rsync-3.4.4.tar.gz) = 1223040 +SHA256 (f0a074858d5ad050d407ed05ce2165b4e096a863.patch) = 961b1106debb7d3506ea545a62fb0a0562eb25f5008c44b30eed12f42a0c7ede +SIZE (f0a074858d5ad050d407ed05ce2165b4e096a863.patch) = 50280 diff --git a/net/rsync/files/extrapatch-main.c b/net/rsync/files/extrapatch-main.c deleted file mode 100644 index f42e7a290635..000000000000 --- a/net/rsync/files/extrapatch-main.c +++ /dev/null @@ -1,10 +0,0 @@ ---- main.c.orig 2013-10-02 10:47:24.479295402 +0200 -+++ main.c 2013-10-02 10:47:43.659318579 +0200 -@@ -30,6 +30,7 @@ - #include - #endif - -+extern int force_change; - extern int dry_run; - extern int list_only; - extern int io_timeout;