| author | wenzelm | 
| Wed, 25 Sep 2024 13:20:36 +0200 | |
| changeset 80954 | 47eb251187d6 | 
| parent 80224 | db92e0b6a11a | 
| child 82610 | 3133f9748ea8 | 
| permissions | -rw-r--r-- | 
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 1 | /* Title: Pure/Admin/component_rsync.scala | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 2 | Author: Makarius | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 3 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 4 | Build Isabelle rsync component from official source distribution. | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 5 | */ | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 6 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 7 | package isabelle | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 8 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 9 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 10 | object Component_Rsync {
 | 
| 77759 | 11 | /* resources */ | 
| 12 | ||
| 77788 
c2ce9ac85859
use remote copy of locally installed rsync component: for uniform version and options;
 wenzelm parents: 
77763diff
changeset | 13 |   def home: Path = Path.explode("$ISABELLE_RSYNC_HOME")
 | 
| 
c2ce9ac85859
use remote copy of locally installed rsync component: for uniform version and options;
 wenzelm parents: 
77763diff
changeset | 14 | |
| 
c2ce9ac85859
use remote copy of locally installed rsync component: for uniform version and options;
 wenzelm parents: 
77763diff
changeset | 15 |   def local_program: Path = Path.explode("$ISABELLE_RSYNC")
 | 
| 
c2ce9ac85859
use remote copy of locally installed rsync component: for uniform version and options;
 wenzelm parents: 
77763diff
changeset | 16 | |
| 
c2ce9ac85859
use remote copy of locally installed rsync component: for uniform version and options;
 wenzelm parents: 
77763diff
changeset | 17 |   def remote_program(directory: Components.Directory): Path = {
 | 
| 80051 
9cdc4f533b91
rebuild rsync-3.2.7 on current platforms, including native arm64-darwin;
 wenzelm parents: 
80049diff
changeset | 18 | val platform = directory.ssh.isabelle_platform.ISABELLE_PLATFORM(apple = true) | 
| 77788 
c2ce9ac85859
use remote copy of locally installed rsync component: for uniform version and options;
 wenzelm parents: 
77763diff
changeset | 19 |     directory.path + Path.basic(platform) + Path.basic("rsync")
 | 
| 
c2ce9ac85859
use remote copy of locally installed rsync component: for uniform version and options;
 wenzelm parents: 
77763diff
changeset | 20 | } | 
| 77759 | 21 | |
| 22 | ||
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 23 | /* build rsync */ | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 24 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 25 | val default_version = "3.2.7" | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 26 | val default_download_url = "https://github.com/WayneD/rsync/archive/refs/tags" | 
| 77755 | 27 | val default_build_options: List[String] = | 
| 28 | List( | |
| 77756 | 29 | "--disable-acl-support", | 
| 77755 | 30 | "--disable-lz4", | 
| 31 | "--disable-md2man", | |
| 77756 | 32 | "--disable-openssl", | 
| 33 | "--disable-xattr-support", | |
| 34 | "--disable-xxhash", | |
| 35 | "--disable-zstd") | |
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 36 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 37 | def build_rsync( | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 38 | version: String = default_version, | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 39 | download_url: String = default_download_url, | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 40 | progress: Progress = new Progress, | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 41 | target_dir: Path = Path.current, | 
| 77755 | 42 | build_options: List[String] = default_build_options | 
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 43 |   ): Unit = {
 | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 44 |     Isabelle_System.with_tmp_dir("build") { tmp_dir =>
 | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 45 | /* component */ | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 46 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 47 | val component_name = "rsync-" + version | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 48 | val component_dir = | 
| 80051 
9cdc4f533b91
rebuild rsync-3.2.7 on current platforms, including native arm64-darwin;
 wenzelm parents: 
80049diff
changeset | 49 | Components.Directory(target_dir + Path.basic(component_name)) | 
| 
9cdc4f533b91
rebuild rsync-3.2.7 on current platforms, including native arm64-darwin;
 wenzelm parents: 
80049diff
changeset | 50 | .create(progress = progress) | 
| 
9cdc4f533b91
rebuild rsync-3.2.7 on current platforms, including native arm64-darwin;
 wenzelm parents: 
80049diff
changeset | 51 | .write_platforms() | 
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 52 | |
| 80051 
9cdc4f533b91
rebuild rsync-3.2.7 on current platforms, including native arm64-darwin;
 wenzelm parents: 
80049diff
changeset | 53 | val platform_name = Isabelle_Platform.self.ISABELLE_PLATFORM(apple = true) | 
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 54 | val platform_dir = | 
| 80051 
9cdc4f533b91
rebuild rsync-3.2.7 on current platforms, including native arm64-darwin;
 wenzelm parents: 
80049diff
changeset | 55 | Isabelle_System.make_directory(component_dir.path + Path.basic(platform_name)) | 
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 56 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 57 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 58 | /* download source */ | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 59 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 60 | val archive_name = "v" + version + ".tar.gz" | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 61 | val archive_path = tmp_dir + Path.explode(archive_name) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 62 | val archive_url = Url.append_path(download_url, archive_name) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 63 | Isabelle_System.download_file(archive_url, archive_path, progress = progress) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 64 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 65 | Isabelle_System.extract(archive_path, tmp_dir) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 66 | val source_dir = File.get_dir(tmp_dir, title = archive_url) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 67 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 68 | Isabelle_System.extract(archive_path, component_dir.src, strip = true) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 69 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 70 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 71 | /* build */ | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 72 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 73 |       progress.echo("Building rsync for " + platform_name + " ...")
 | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 74 | |
| 77756 | 75 |       val build_script = List("./configure " + Bash.strings(build_options.sorted), "make")
 | 
| 80224 
db92e0b6a11a
clarified signature: prefer symbolic isabelle.Path over physical java.io.File;
 wenzelm parents: 
80051diff
changeset | 76 |       Isabelle_System.bash(build_script.mkString(" && "), cwd = source_dir,
 | 
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 77 | progress_stdout = progress.echo(_, verbose = true), | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 78 | progress_stderr = progress.echo(_, verbose = true)).check | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 79 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 80 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 81 | /* install */ | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 82 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 83 |       Isabelle_System.copy_file(source_dir + Path.explode("COPYING"), component_dir.LICENSE)
 | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 84 |       Isabelle_System.copy_file(source_dir + Path.explode("rsync").platform_exe, platform_dir)
 | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 85 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 86 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 87 | /* settings */ | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 88 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 89 |       component_dir.write_settings("""
 | 
| 77757 
49d38fa1478d
clarified directory names, following bash_process (see e59d7d6fe1bd);
 wenzelm parents: 
77756diff
changeset | 90 | ISABELLE_RSYNC_HOME="$COMPONENT" | 
| 80051 
9cdc4f533b91
rebuild rsync-3.2.7 on current platforms, including native arm64-darwin;
 wenzelm parents: 
80049diff
changeset | 91 | ISABELLE_RSYNC="$ISABELLE_RSYNC_HOME/${ISABELLE_APPLE_PLATFORM64:-$ISABELLE_PLATFORM64}/rsync"
 | 
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 92 | """) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 93 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 94 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 95 | /* README */ | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 96 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 97 | File.write(component_dir.README, | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 98 | "This is rsync " + version + " from " + download_url + """ | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 99 | |
| 77756 | 100 | The distribution has been built like this: | 
| 101 | ||
| 102 | """ + ("cd src" :: build_script).map(s => "  " + s + "\n").mkString + """
 | |
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 103 | See also: | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 104 | * https://github.com/WayneD/rsync | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 105 | * https://rsync.samba.org | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 106 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 107 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 108 | Makarius | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 109 | """ + Date.Format.date(Date.now()) + "\n") | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 110 | } | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 111 | } | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 112 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 113 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 114 | /* Isabelle tool wrapper */ | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 115 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 116 | val isabelle_tool = | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 117 |     Isabelle_Tool("component_rsync", "build rsync component from source distribution",
 | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 118 | Scala_Project.here, | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 119 |       { args =>
 | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 120 | var target_dir = Path.current | 
| 77755 | 121 | var build_options = default_build_options | 
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 122 | var version = default_version | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 123 | var download_url = default_download_url | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 124 | var verbose = false | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 125 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 126 |         val getopts = Getopts("""
 | 
| 77755 | 127 | Usage: isabelle component_rsync [OPTIONS] | 
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 128 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 129 | Options are: | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 130 | -D DIR target directory (default ".") | 
| 77755 | 131 | -O OPT add build option | 
| 132 | -R OPT remove build option | |
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 133 | -U URL download URL | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 134 | (default: """" + default_download_url + """") | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 135 | -V VERSION version (default: """ + default_version + """) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 136 | -v verbose | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 137 | |
| 77755 | 138 | Build rsync component from the specified source distribution. | 
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 139 | |
| 77755 | 140 | The default build options (for ./configure) are: | 
| 141 | """ + default_build_options.map(opt => " " + opt + "\n").mkString, | |
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 142 | "D:" -> (arg => target_dir = Path.explode(arg)), | 
| 77755 | 143 | "O:" -> (arg => build_options = Library.insert(arg)(build_options)), | 
| 144 | "R:" -> (arg => build_options = Library.remove(arg)(build_options)), | |
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 145 | "U:" -> (arg => download_url = arg), | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 146 | "V:" -> (arg => version = arg), | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 147 | "v" -> (_ => verbose = true)) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 148 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 149 | val more_args = getopts(args) | 
| 77755 | 150 | if (more_args.nonEmpty) getopts.usage() | 
| 77753 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 151 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 152 | val progress = new Console_Progress(verbose = verbose) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 153 | |
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 154 | build_rsync(version = version, download_url = download_url, progress = progress, | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 155 | target_dir = target_dir, build_options = build_options) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 156 | }) | 
| 
2b5b093a1c08
build rsync from sources, to avoid divergence of protocols on various platforms;
 wenzelm parents: diff
changeset | 157 | } |