mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-03 12:33:03 -04:00
Change the name of the rsh-ssl-rsync script.
This commit is contained in:
@@ -76,7 +76,7 @@ install: all
|
||||
install-ssl-client: rsync-ssl
|
||||
-${MKDIR_P} ${DESTDIR}${bindir}
|
||||
${INSTALLCMD} -m 755 rsync-ssl ${DESTDIR}${bindir}
|
||||
${INSTALLCMD} -m 755 rsh-ssl-rsync ${DESTDIR}${bindir}
|
||||
${INSTALLCMD} -m 755 rsync-ssl-rsh ${DESTDIR}${bindir}
|
||||
|
||||
install-ssl-daemon: stunnel-rsyncd.conf
|
||||
-${MKDIR_P} ${DESTDIR}/etc/stunnel
|
||||
|
||||
@@ -84,7 +84,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files ssl-client
|
||||
%{_prefix}/bin/rsync-ssl
|
||||
%{_prefix}/bin/rsh-ssl-rsync
|
||||
%{_prefix}/bin/rsync-ssl-rsh
|
||||
|
||||
%files ssl-daemon
|
||||
%config(noreplace) /etc/stunnel/rsyncd.conf
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#!/bin/bash
|
||||
# This must be called as (note the trailing dot):
|
||||
#
|
||||
# rsh-ssl-rsync HOSTNAME rsync --server --daemon .
|
||||
# rsync-ssl-rsh HOSTNAME rsync --server --daemon .
|
||||
#
|
||||
# ... which is typically done via the rsync-ssl script, which results in something like this:
|
||||
#
|
||||
# rsync --rsh=rsh-ssl-rsync -aiv HOSTNAME::module [ARGS]
|
||||
# rsync --rsh=rsync-ssl-rsh -aiv HOSTNAME::module [ARGS]
|
||||
#
|
||||
# This SSL setup based on the files by: http://dozzie.jarowit.net/trac/wiki/RsyncSSL
|
||||
# Note that an stunnel connection requires at least version 4.x of stunnel.
|
||||
@@ -17,4 +17,4 @@ case "$@" in
|
||||
;;
|
||||
esac
|
||||
|
||||
exec @bindir@/rsync --rsh=@bindir@/rsh-ssl-rsync "${@}"
|
||||
exec @bindir@/rsync --rsh=@bindir@/rsync-ssl-rsh "${@}"
|
||||
|
||||
Reference in New Issue
Block a user