2006-02-23 15:26:10 +00:00
|
|
|
# Description: Utility for incremental file transfers over networks
|
2017-01-27 09:56:27 +01:00
|
|
|
# URL: https://rsync.samba.org
|
2008-03-12 16:51:48 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2014-06-25 15:51:55 +02:00
|
|
|
# Depends on: acl
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=rsync
|
2018-01-17 14:04:04 +01:00
|
|
|
version=3.1.3pre1
|
2017-05-22 16:29:15 +02:00
|
|
|
release=1
|
2018-01-17 14:04:04 +01:00
|
|
|
source=(https://download.samba.org/pub/rsync/src-previews/$name-$version.tar.gz \
|
2008-03-12 16:51:48 +01:00
|
|
|
rsyncd.conf rsyncd rsync.driver)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2007-08-24 08:33:40 +02:00
|
|
|
|
2006-11-10 08:50:22 +01:00
|
|
|
./configure --prefix=/usr \
|
2007-10-26 12:59:38 +02:00
|
|
|
--with-rsh=ssh \
|
2013-10-01 18:48:53 +02:00
|
|
|
--with-included-popt \
|
2014-06-25 15:51:55 +02:00
|
|
|
--with-included-zlib
|
2008-03-12 16:51:48 +01:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-08-24 08:33:40 +02:00
|
|
|
|
2008-03-12 16:51:48 +01:00
|
|
|
install -d $PKG/etc/{rc.d,ports/drivers} $PKG/var/log
|
2006-03-12 11:35:14 +00:00
|
|
|
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
|
2006-02-23 15:26:10 +00:00
|
|
|
touch $PKG/var/log/rsyncd.log
|
|
|
|
}
|