diff --git a/srcpkgs/rsync/files/rsyncd/run b/srcpkgs/rsync/files/rsyncd/run new file mode 100644 index 0000000000..de88e47d46 --- /dev/null +++ b/srcpkgs/rsync/files/rsyncd/run @@ -0,0 +1,3 @@ +#!/bin/sh +[ ! -e /etc/rsyncd.conf ] && exit 1 +exec rsyncd --daemon --no-detach diff --git a/srcpkgs/rsync/template b/srcpkgs/rsync/template index 3ebc79e52b..bf71d5d0ab 100644 --- a/srcpkgs/rsync/template +++ b/srcpkgs/rsync/template @@ -1,7 +1,7 @@ # Template file for 'rsync' pkgname=rsync version=3.1.1 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="perl" makedepends="zlib-devel acl-devel popt-devel" @@ -11,3 +11,7 @@ license="GPL-3" homepage="http://samba.anu.edu.au/rsync/" distfiles="http://www.samba.org/ftp/rsync/src/rsync-$version.tar.gz" checksum=7de4364fcf5fe42f3bdb514417f1c40d10bbca896abe7e7f2c581c6ea08a2621 + +post_install() { + vsv rsyncd +}