~ubuntu-branches/ubuntu/trusty/rsync/trusty

« back to all changes in this revision

Viewing changes to rsync-ssl.in

  • Committer: Package Import Robot
  • Author(s): Paul Slootman
  • Date: 2013-10-27 12:01:10 UTC
  • mfrom: (1.1.13) (2.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20131027120110-mpr03n5scqmf40mi
Tags: 3.1.0-2
fix build failure if zlib1g-dev package is not installed;
solved by building without the included zlib source and adding a
build-depends on zlib1g-dev >= 1:1.2.8
closes:32379

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
# This script supports using stunnel to secure an rsync daemon connection.
 
3
# Note that this requires at least version 4.x of stunnel.
 
4
case "$@" in
 
5
*rsync://*) ;;
 
6
*::*) ;;
 
7
*)
 
8
    echo "You must use rsync-ssl with a daemon-style hostname." 0>&1
 
9
    exit 1
 
10
    ;;
 
11
esac
 
12
exec @bindir@/rsync --rsh=@bindir@/stunnel-rsync "${@}"