2006-02-23 16:26:10 +01:00
|
|
|
# Description: Utility for incremental file transfers over networks
|
2022-04-16 11:59:00 +02:00
|
|
|
# URL: https://rsync.samba.org
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: acl openssl zlib zstd
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=rsync
|
2022-10-21 10:45:30 +02:00
|
|
|
version=3.2.7
|
2017-05-22 16:29:15 +02:00
|
|
|
release=1
|
2018-01-29 18:49:09 +01:00
|
|
|
source=(https://download.samba.org/pub/rsync/$name-$version.tar.gz \
|
2022-04-16 11:59:00 +02:00
|
|
|
rsyncd.conf rsyncd rsync.driver)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
2022-04-16 11:59:00 +02:00
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2007-08-24 08:33:40 +02:00
|
|
|
|
2022-04-16 11:59:00 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--with-rsh=ssh \
|
|
|
|
--with-included-zlib=no \
|
|
|
|
--with-included-popt=yes \
|
|
|
|
--disable-xxhash \
|
|
|
|
--disable-lz4
|
2008-03-12 16:51:48 +01:00
|
|
|
|
2022-04-16 11:59:00 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-08-24 08:33:40 +02:00
|
|
|
|
2022-04-16 11:59:00 +02:00
|
|
|
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
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|