26 lines
766 B
Plaintext
26 lines
766 B
Plaintext
# Description: Utility for incremental file transfers over networks
|
|
# URL: http://rsync.samba.org
|
|
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
|
|
# Depends on: openssh
|
|
|
|
name=rsync
|
|
version=2.6.9
|
|
release=1
|
|
source=(http://rsync.samba.org/ftp/$name/$name-$version.tar.gz \
|
|
rsyncd.conf rsyncd rsync.driver)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--with-rsh=ssh
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
mkdir -p $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
|
|
}
|