core/rsync/Pkgfile
Juergen Daubert 9bcb9c3899 rsync: update to 3.1.1
build against internal zlib for now. With system zlib we get errors
for ports -u:

Updating file list from crux.nu::ports/crux-3.0/core/
This rsync lacks old-style --compress due to its external zlib.  Try -zz.
Continuing without compression.

Looks like upstream has modified the bundled zlib to do misc magic.
2014-06-25 15:51:55 +02:00

30 lines
833 B
Plaintext

# Description: Utility for incremental file transfers over networks
# URL: http://rsync.samba.org
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: acl
name=rsync
version=3.1.1
release=1
source=(http://rsync.samba.org/ftp/$name/src/$name-$version.tar.gz \
rsyncd.conf rsyncd rsync.driver)
build () {
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/man \
--with-rsh=ssh \
--with-included-popt \
--with-included-zlib
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
}