summaryrefslogtreecommitdiffstats
path: root/rsync/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'rsync/Pkgfile')
-rw-r--r--rsync/Pkgfile27
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
+}