32 lines
918 B
Plaintext
32 lines
918 B
Plaintext
# Description: Utility for incremental file transfers over networks
|
|
# URL: https://rsync.samba.org
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: acl openssl zlib
|
|
|
|
name=rsync
|
|
version=3.2.3
|
|
release=1
|
|
source=(https://download.samba.org/pub/rsync/$name-$version.tar.gz \
|
|
rsyncd.conf rsyncd rsync.driver)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--with-rsh=ssh \
|
|
--with-included-zlib=no \
|
|
--with-included-popt=yes \
|
|
--disable-xxhash \
|
|
--disable-lz4 \
|
|
--disable-zstd
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d $PKG/etc/{rc.d,ports/drivers} $PKG/var/log
|
|
install -m 755 $SRC/rsyncd $PKG/etc/rc.d
|
|
install -m 644 $SRC/rsyncd.conf $PKG/etc
|
|
install -m 755 $SRC/rsync.driver $PKG/etc/ports/drivers/rsync
|
|
touch $PKG/var/log/rsyncd.log
|
|
}
|