From c085ece623dca19ef139b7e971a0d8f8dd6d2ee1 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 21 Mar 2008 16:28:20 -0700 Subject: [PATCH] Some RPM spec file improvements: - Added installation of new /etc/xinetd.d/rsync config file. - Added commented-out lines to demonstrate how to use rsync-patches. --- packaging/lsb/rsync.spec | 18 +++++++++++++++++- packaging/lsb/rsync.xinetd | 13 +++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 packaging/lsb/rsync.xinetd diff --git a/packaging/lsb/rsync.spec b/packaging/lsb/rsync.spec index 03994010..4ef50a04 100644 --- a/packaging/lsb/rsync.spec +++ b/packaging/lsb/rsync.spec @@ -3,7 +3,8 @@ Name: rsync Version: 3.0.0 Release: 1 Group: Applications/Internet -Source: http://rsync.samba.org/ftp/rsync/rsync-%{version}.tar.gz +Source0: http://rsync.samba.org/ftp/rsync/rsync-%{version}.tar.gz +Source1: http://rsync.samba.org/ftp/rsync/rsync-patches-%{version}.tar.gz URL: http://rsync.samba.org/ Prefix: %{_prefix} @@ -22,7 +23,14 @@ destination. Rsync is widely used for backups and mirroring and as an improved copy command for everyday use. %prep +# Choose one -- setup source only, or setup source + rsync-patches: %setup -q +#%setup -q -b1 + +# If you you used "%setup -q -b1", choose the patches you wish to apply: +#patch -p1 Released 3.0.0. + +* Fri Mar 21 2008 Wayne Davison +Added installation of /etc/xinetd.d/rsync file and some commented-out +lines that demonstrate how to use the rsync-patches tar file. diff --git a/packaging/lsb/rsync.xinetd b/packaging/lsb/rsync.xinetd new file mode 100644 index 00000000..63fc11c2 --- /dev/null +++ b/packaging/lsb/rsync.xinetd @@ -0,0 +1,13 @@ +# default: off +# description: The rsync server is a good addition to an ftp server, as it +# allows crc checksumming etc. +service rsync +{ + disable = yes + socket_type = stream + wait = no + user = root + server = /usr/bin/rsync + server_args = --daemon + log_on_failure += USERID +} -- 2.34.1