hello,

initially driven by some special need and then because starting to have fun with fiddling around fixing compile issues , i managed to create static builds of every rsync version available since 1.6.5 (dating back to 1997).

i did not yet test if all builds are really functional, but i can tell that i can locally create a copy of some dir with rsync 1.6.5 :)

would someone find this useful to share binaries & docs ?

it could probably be valuable for testing/debugging purpose or special use case (like mine) or just for "information technology nostalgia" (studying how opensource tool evolved or whatever).

regarding docs, i'm currently waiting for lib issue to be fixed in alpine:edge (using docker container for build env)

regards
Roland

ps:
yes, i'm aware that using static versions have security implications, so for sure i would write a big warning wherever i share that docs or builds...

root@s740:~/rsync-static# ./rsync-3.4.1-static -V
rsync  version 3.4.1  protocol version 32
Copyright (C) 1996-2025 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, symlinks, symtimes, hardlinks, hardlink-specials,
    hardlink-symlinks, IPv6, atimes, batchfiles, inplace, append, ACLs,
    xattrs, optional secluded-args, iconv, prealloc, stop-at, no crtimes
Optimizations:
    no SIMD-roll, no asm-roll, openssl-crypto, no asm-MD5
Checksum list:
    xxh128 xxh3 xxh64 (xxhash) md5 md4 sha1 none
Compress list:
    zstd lz4 zlibx zlib none
Daemon auth list:
    sha512 sha256 sha1 md5 md4

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.


# ./rsync-1.6.5-static  -v
rsync version 1.6.5 Copyright Andrew Tridgell and Paul Mackerras

Usage:    rsync [options] src user@host:dest
OR    rsync [options] user@host:src dest

Options:
-v, --verbose            increase verbosity
-c, --checksum           always checksum
-a, --archive            archive mode (same as -rlptDog)
-r, --recursive          recurse into directories
-R, --relative           use relative path names
-b, --backup             make backups (default ~ extension)
-u, --update             update only (don't overwrite newer files)
-l, --links              preserve soft links
-H, --hard-links         preserve hard links
-p, --perms              preserve permissions
-o, --owner              preserve owner (root only)
-g, --group              preserve group
-D, --devices            preserve devices (root only)
-t, --times              preserve times
-S, --sparse             handle sparse files efficiently
-n, --dry-run            show what would have been transferred
-x, --one-file-system    don't cross filesystem boundaries
-B, --block-size SIZE    checksum blocking size
-e, --rsh COMMAND        specify rsh replacement
    --rsync-path PATH    specify path to rsync on the remote machine
-C, --cvs-exclude        auto ignore files in the same way CVS does
    --delete             delete files that don't exist on the sending side
-I, --ignore-times       don't exclude files that match length and time
-z, --compress           compress file data
    --exclude FILE       exclude file FILE
    --exclude-from FILE  exclude files listed in FILE
    --suffix SUFFIX      override backup suffix
    --version            print version number

the backup suffix defaults to ~
the block size defaults to 700
root@s740:~/rsync-static# ./rsync-1.6.5-static  --version
rsync version 1.6.5  protocol version 14



root@s740:~/rsync-static# ls -ltr
total 36574
-rwxr-xr-x  1 root root  189320 Mar  7 13:29 rsync-1.6.5-static
-rwxr-xr-x  1 root root  189320 Mar  7 13:29 rsync-1.6.6-static
-rwxr-xr-x  1 root root  189384 Mar  7 13:29 rsync-1.6.7-static
-rwxr-xr-x  1 root root  189384 Mar  7 13:29 rsync-1.6.8-static
-rwxr-xr-x  1 root root  205832 Mar  7 13:29 rsync-1.6.9-static
-rwxr-xr-x  1 root root  209992 Mar  7 13:29 rsync-1.7.0-static
-rwxr-xr-x  1 root root  209992 Mar  7 13:29 rsync-1.7.1-static
-rwxr-xr-x  1 root root  209992 Mar  7 13:29 rsync-1.7.2-static
-rwxr-xr-x  1 root root  209992 Mar  7 13:29 rsync-1.7.3-static
-rwxr-xr-x  1 root root  209992 Mar  7 13:29 rsync-1.7.4-static
-rwxr-xr-x  1 root root  289272 Mar  7 13:29 rsync-2.0.0-static
-rwxr-xr-x  1 root root  293496 Mar  7 13:29 rsync-2.0.10-static
-rwxr-xr-x  1 root root  309016 Mar  7 13:29 rsync-2.0.11-static
-rwxr-xr-x  1 root root  309016 Mar  7 13:29 rsync-2.0.12-static
-rwxr-xr-x  1 root root  309080 Mar  7 13:29 rsync-2.0.13-static
-rwxr-xr-x  1 root root  309080 Mar  7 13:29 rsync-2.0.14-static
-rwxr-xr-x  1 root root  309080 Mar  7 13:29 rsync-2.0.15-static
-rwxr-xr-x  1 root root  309112 Mar  7 13:29 rsync-2.0.16-static
-rwxr-xr-x  1 root root  309112 Mar  7 13:29 rsync-2.0.17-static
-rwxr-xr-x  1 root root  309112 Mar  7 13:29 rsync-2.0.18-static
-rwxr-xr-x  1 root root  313304 Mar  7 13:29 rsync-2.0.19-static
-rwxr-xr-x  1 root root  289368 Mar  7 13:29 rsync-2.0.1-static
-rwxr-xr-x  1 root root  289368 Mar  7 13:29 rsync-2.0.2-static
-rwxr-xr-x  1 root root  289368 Mar  7 13:29 rsync-2.0.3-static
-rwxr-xr-x  1 root root  293464 Mar  7 13:29 rsync-2.0.4-static
-rwxr-xr-x  1 root root  293496 Mar  7 13:29 rsync-2.0.5-static
-rwxr-xr-x  1 root root  293496 Mar  7 13:29 rsync-2.0.6-static
-rwxr-xr-x  1 root root  293496 Mar  7 13:29 rsync-2.0.7-static
-rwxr-xr-x  1 root root  293496 Mar  7 13:29 rsync-2.0.8-static
-rwxr-xr-x  1 root root  293496 Mar  7 13:29 rsync-2.0.9-static
-rwxr-xr-x  1 root root  317400 Mar  7 13:29 rsync-2.1.0-static
-rwxr-xr-x  1 root root  317464 Mar  7 13:29 rsync-2.1.1-static
-rwxr-xr-x  1 root root  321816 Mar  7 13:29 rsync-2.2.0-static
-rwxr-xr-x  1 root root  326136 Mar  7 13:29 rsync-2.2.1-static
-rwxr-xr-x  1 root root  334552 Mar  7 13:29 rsync-2.3.0-static
-rwxr-xr-x  1 root root  334552 Mar  7 13:29 rsync-2.3.1-static
-rwxr-xr-x  1 root root  334648 Mar  7 13:29 rsync-2.3.2-static
-rwxr-xr-x  1 root root  334648 Mar  7 13:29 rsync-2.3.3-static
-rwxr-xr-x  1 root root  338840 Mar  7 13:29 rsync-2.4.0-static
-rwxr-xr-x  1 root root  338840 Mar  7 13:29 rsync-2.4.1-static
-rwxr-xr-x  1 root root  342968 Mar  7 13:29 rsync-2.4.2-static
-rwxr-xr-x  1 root root  342968 Mar  7 13:29 rsync-2.4.3-static
-rwxr-xr-x  1 root root  343032 Mar  7 13:29 rsync-2.4.4-static
-rwxr-xr-x  1 root root  343096 Mar  7 13:29 rsync-2.4.5-static
-rwxr-xr-x  1 root root  343128 Mar  7 13:29 rsync-2.4.6-static
-rwxr-xr-x  1 root root  343128 Mar  7 13:29 rsync-2.4.8-static
-rwxr-xr-x  1 root root  533528 Mar  7 13:29 rsync-2.5.0-static
-rwxr-xr-x  1 root root  537688 Mar  7 13:29 rsync-2.5.1-static
-rwxr-xr-x  1 root root  541848 Mar  7 13:29 rsync-2.5.2-static
-rwxr-xr-x  1 root root  541912 Mar  7 13:29 rsync-2.5.3-static
-rwxr-xr-x  1 root root  541912 Mar  7 13:29 rsync-2.5.4-static
-rwxr-xr-x  1 root root  541912 Mar  7 13:29 rsync-2.5.5-static
-rwxr-xr-x  1 root root  550168 Mar  7 13:29 rsync-2.5.6-static
-rwxr-xr-x  1 root root  550168 Mar  7 13:29 rsync-2.5.7-static
-rwxr-xr-x  1 root root  562712 Mar  7 13:29 rsync-2.6.0-static
-rwxr-xr-x  1 root root  571256 Mar  7 13:29 rsync-2.6.1-static
-rwxr-xr-x  1 root root  571256 Mar  7 13:29 rsync-2.6.2-static
-rwxr-xr-x  1 root root  575672 Mar  7 13:29 rsync-2.6.3-static
-rwxr-xr-x  1 root root  626328 Mar  7 13:29 rsync-2.6.4-static
-rwxr-xr-x  1 root root  630456 Mar  7 13:29 rsync-2.6.5-static
-rwxr-xr-x  1 root root  650456 Mar  7 13:29 rsync-2.6.6-static
-rwxr-xr-x  1 root root  681592 Mar  7 13:29 rsync-2.6.7-static
-rwxr-xr-x  1 root root  681624 Mar  7 13:29 rsync-2.6.8-static
-rwxr-xr-x  1 root root  686168 Mar  7 13:29 rsync-2.6.9-static
-rwxr-xr-x  1 root root  791288 Mar  7 13:29 rsync-3.0.0-static
-rwxr-xr-x  1 root root  800184 Mar  7 13:29 rsync-3.0.1-static
-rwxr-xr-x  1 root root  800184 Mar  7 13:29 rsync-3.0.2-static
-rwxr-xr-x  1 root root  800184 Mar  7 13:29 rsync-3.0.3-static
-rwxr-xr-x  1 root root  804280 Mar  7 13:29 rsync-3.0.4-static
-rwxr-xr-x  1 root root  804280 Mar  7 13:29 rsync-3.0.5-static
-rwxr-xr-x  1 root root  804312 Mar  7 13:29 rsync-3.0.6-static
-rwxr-xr-x  1 root root  808408 Mar  7 13:29 rsync-3.0.7-static
-rwxr-xr-x  1 root root  808440 Mar  7 13:29 rsync-3.0.8-static
-rwxr-xr-x  1 root root  808440 Mar  7 13:29 rsync-3.0.9-static
-rwxr-xr-x  1 root root  863640 Mar  7 13:29 rsync-3.1.0-static
-rwxr-xr-x  1 root root  867832 Mar  7 13:29 rsync-3.1.1-static
-rwxr-xr-x  1 root root  867832 Mar  7 13:29 rsync-3.1.2-static
-rwxr-xr-x  1 root root  876248 Mar  7 13:29 rsync-3.1.3-static
-rwxr-xr-x  1 root root 1528312 Mar  7 13:29 rsync-3.2.0-static
-rwxr-xr-x  1 root root 1528408 Mar  7 13:29 rsync-3.2.1-static
-rwxr-xr-x  1 root root 1544920 Mar  7 13:29 rsync-3.2.2-static
-rwxr-xr-x  1 root root 1553624 Mar  7 13:29 rsync-3.2.3-static
-rwxr-xr-x  1 root root 1558040 Mar  7 13:29 rsync-3.2.4-static
-rwxr-xr-x  1 root root 1566296 Mar  7 13:29 rsync-3.2.5-static
-rwxr-xr-x  1 root root 1566264 Mar  7 13:29 rsync-3.2.6-static
-rwxr-xr-x  1 root root 6328608 Mar  7 13:29 rsync-3.2.7-static
-rwxr-xr-x  1 root root 6328608 Mar  7 13:29 rsync-3.3.0-static
-rwxr-xr-x  1 root root 6332704 Mar  7 13:29 rsync-3.4.0-static
-rwxr-xr-x  1 root root 6332704 Mar  7 13:29 rsync-3.4.1-static
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to