diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 04:47:45 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 04:47:45 +0100 |
commit | f3d2975053ac056d84e872af7498a51d3d81fbd2 (patch) | |
tree | 66156d51cf44f30e7322f453e01134dddba10ca9 /rsync/Pkgfile | |
parent | c42d52ef73123d38394acaa646ff82d0e5aff6a9 (diff) | |
download | opt-f3d2975053ac056d84e872af7498a51d3d81fbd2.tar.gz opt-f3d2975053ac056d84e872af7498a51d3d81fbd2.tar.bz2 opt-f3d2975053ac056d84e872af7498a51d3d81fbd2.tar.xz opt-f3d2975053ac056d84e872af7498a51d3d81fbd2.zip |
Recette de rsync ajoutée.
Diffstat (limited to 'rsync/Pkgfile')
-rw-r--r-- | rsync/Pkgfile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/rsync/Pkgfile b/rsync/Pkgfile new file mode 100644 index 0000000..7c895f1 --- /dev/null +++ b/rsync/Pkgfile @@ -0,0 +1,27 @@ +description="Utility for incremental file transfers over networks." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" +url="http://rsync.samba.org" +depends=(openssh acl) + +name=rsync +version=3.0.7 +release=1 +source=( + http://rsync.samba.org/ftp/rsync/src/$name-$version.tar.gz + rsyncd.conf + rsyncd + rsync.driver +) +build () +{ + cd $name-$version; + ./configure --prefix=$prefix --mandir=$mandir --with-rsh=ssh --with-included-popt; + 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 +} |