diff options
author | Wayne Davison <wayne@opencoder.net> | 2020-06-15 13:35:14 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2020-06-15 15:04:08 -0700 |
commit | d80da9e674ea1d684564f03dfb09a65f9c5ab7a2 (patch) | |
tree | 01f974e1637d87531c54320bd026b4a9e7b9045d | |
parent | 6f0c56304fdb3131a5c2a3af90761f0cfdc07f62 (diff) | |
download | rsync-d80da9e674ea1d684564f03dfb09a65f9c5ab7a2.tar.gz |
A few small tweaks.
-rw-r--r-- | NEWS.md | 8 | ||||
-rwxr-xr-x | md2man | 2 | ||||
-rwxr-xr-x | packaging/md2html | 5 | ||||
-rw-r--r-- | rsyncd.conf.5.md | 1 |
4 files changed, 12 insertions, 4 deletions
@@ -72,7 +72,8 @@ Protocol: 31 (unchanged) strings (for checksums and compression). The first level just outputs the result of each negotiation on the client, level 2 outputs the values of the strings that were sent to and received from the server, and level 3 outputs - all those values on the server side too (when given the debug option). + all those values on the server side too (when the server was given the debug + option). - The --debug=OPTS command-line option is no longer auto-forwarded to the remote rsync which allows for the client and server to have different levels @@ -139,9 +140,12 @@ Protocol: 31 (unchanged) - Forward -4 or -6 to the ssh command, making it easier to type than `--rsh='ssh -4'` (or -6). + - More errors messages now mention if the error is coming from the sender or + the receiver. + ### PACKAGING RELATED: - - Add installed binary: /usr/bin/rsync-sll + - Add installed binary: /usr/bin/rsync-ssl - Add installed man page: /usr/man/man1/rsync-ssl.1 @@ -181,6 +181,8 @@ class HtmlToManPage(HTMLParser): tag = 'dt' else: st.html_out.append('<dt>') + elif tag == 'p': + st.at_first_tag_in_dd = True # Kluge to suppress a .P at the start of an li. st.at_first_tag_in_li = False if tag == 'p': if not st.at_first_tag_in_dd: diff --git a/packaging/md2html b/packaging/md2html index a1613aa7..6475434c 100755 --- a/packaging/md2html +++ b/packaging/md2html @@ -4,7 +4,7 @@ # # This program is freely redistributable. -import re, argparse +import os, re, argparse HTML_START = """\ <html><head> @@ -63,6 +63,9 @@ def main(): html = html.replace('--', '‑‑').replace("\xa0-", ' ‑').replace("\xa0", ' ') html = re.sub(r'(\W)-', r'\1‑', html) + if os.path.lexists(htfn): + os.unlink(htfn) + with open(htfn, 'w', encoding='utf-8') as fh: fh.write(HTML_START % title) fh.write(html) diff --git a/rsyncd.conf.5.md b/rsyncd.conf.5.md index a9193453..30774222 100644 --- a/rsyncd.conf.5.md +++ b/rsyncd.conf.5.md @@ -1077,7 +1077,6 @@ encryption. - You should limit the access to the backend-rsyncd port to only allow the proxy to connect. If it is on the same host as the proxy, then configuring it to only listen on localhost is a good idea. - - You should consider turning on the `proxy protocol` parameter if your proxy supports sending that information. The examples below assume that this is enabled. |