mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+rsync
This commit is contained in:
parent
2b1bb60caa
commit
ee57760e22
1 changed files with 47 additions and 0 deletions
47
projects/rsync.samba.org/package.yml
Normal file
47
projects/rsync.samba.org/package.yml
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
distributable:
|
||||||
|
url: https://rsync.samba.org/ftp/rsync/rsync-{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: WayneD/rsync/tags
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
zlib.net: ^1
|
||||||
|
facebook.com/zstd: ^1
|
||||||
|
lz4.org: ^1
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
script: |
|
||||||
|
./configure $ARGS
|
||||||
|
make --jobs {{ hw.concurrency }} install
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --disable-debug
|
||||||
|
- --prefix={{prefix}}
|
||||||
|
- --with-rsyncd-conf={{prefix}}/rsyncd.conf #FIXME
|
||||||
|
- --with-included-popt=yes #FIXME
|
||||||
|
- --with-included-zlib=no
|
||||||
|
- --disable-openssl #FIXME rsync still builds with encryption, but it is not hardware-accelerated
|
||||||
|
- --enable-ipv6
|
||||||
|
- --disable-xxhash #FIXME
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/rsync
|
||||||
|
- bin/rsync-ssl
|
||||||
|
|
||||||
|
test: |
|
||||||
|
mkdir a
|
||||||
|
|
||||||
|
echo foo > a/1.txt
|
||||||
|
echo bar > a/2.txt
|
||||||
|
echo baz > a/3.txt
|
||||||
|
|
||||||
|
rsync -artv a/ b
|
||||||
|
|
||||||
|
for x in $(cd a && ls); do
|
||||||
|
test -f b/$x
|
||||||
|
test $(cat a/$x) = $(cat b/$x)
|
||||||
|
done
|
Loading…
Reference in a new issue