Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rsync 3.3.0 & OpenSSL 3.4.0 #1087

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

abhisit
Copy link
Contributor

@abhisit abhisit commented Mar 11, 2025

New features

  • OpenSSL 3.4.0 (optional, not enable by default)
  • rsync 3.3.0 (optional, not enable by default)

Miscellaneous

  • Typo fixing a destination folder to install libpcap
  • Format libpcap.make
  • Change permission 664 for libpcab.make and tcpdump.make
  • Automatically select libpcap & libopenssl if tcpdump is enabled
  • Fix OpenSSL does not cross compile for AArch64

Build it under due's Debian 10

onie/build-config$ OPENSSL_VERSION=3.4.0 RSYNC_ENABLE=yes make -j<number of jobs> MACHINEROOT=../machine/pegatron MACHINE=pegatron_dm2118_b all

Full build rsync with OpenSSL 3.4.0 log

Testing, rsync is working on ONIE

Show rsync version

ONIE:~ # /usr/bin/rsync --version
rsync  version 3.3.0  protocol version 31
Copyright (C) 1996-2024 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, no 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:
    md5 md4 sha1 none
Compress list:
    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.

Send a file from computer to ONIE device

client computer$ rsync -avhzp hello-rsync.txt root@192.168.xx.yyy:/tmp/
sending incremental file list
hello-rsync.txt

sent 131 bytes  received 35 bytes  332.00 bytes/sec
total size is 14  speedup is 0.08

View a file content on ONIE device

ONIE:~ # cat /tmp/hello-rsync.txt 
Hello, rsync!

Why do we need rsync?

rsync is used to copy files or folders over SSH protocol with integrate checksum/auto-resume from the last point you leave for highly integrity, It is competitor with SCP.

abhisit added 4 commits March 11, 2025 09:17
Signed-off-by: Abhisit Sangjan <abhisit.sangjan@gmail.com>
Signed-off-by: Michael Shych <michaelsh@nvidia.com>
Signed-off-by: Abhisit Sangjan <abhisit.sangjan@gmail.com>
Signed-off-by: Michael Shych <michaelsh@nvidia.com>
Signed-off-by: Abhisit Sangjan <abhisit.sangjan@gmail.com>
Signed-off-by: Michael Shych <michaelsh@nvidia.com>
- Add rsync.make

Signed-off-by: Abhisit Sangjan <abhisit.sangjan@gmail.com>
Signed-off-by: Michael Shych <michaelsh@nvidia.com>
@abhisit abhisit mentioned this pull request Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant