Change the name of the rsh-ssl-rsync script.

This commit is contained in:
Wayne Davison
2020-04-22 10:52:01 -07:00
parent 2a87d78f69
commit 1c465dc33a
4 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -17,4 +17,4 @@ case "$@" in
;;
esac
exec @bindir@/rsync --rsh=@bindir@/rsh-ssl-rsync "${@}"
exec @bindir@/rsync --rsh=@bindir@/rsync-ssl-rsh "${@}"