[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Tue Feb 2 00:34:18 UTC 2021


The branch, master has been updated
       via  ec3833c9 Add optional netgroup.h include for NetBSD hosts.
       via  25dfc2c4 Some pip-releated tweaking.
       via  d5b7889d Add a link to the man page to the README.
      from  74561d70 Check for netinet/ip.h after including netinet/in.h.

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ec3833c96e4ca652a36d7cf2448d1019a056b738
Author: Wayne Davison <wayne at opencoder.net>
Date:   Mon Feb 1 16:31:28 2021 -0800

    Add optional netgroup.h include for NetBSD hosts.

commit 25dfc2c41d6c5f6ccc05eca7a663f46e28e7bddf
Author: Wayne Davison <wayne at opencoder.net>
Date:   Mon Feb 1 09:00:06 2021 -0800

    Some pip-releated tweaking.

commit d5b7889d401c12ff047bb9ff86242a45298bf8bb
Author: Wayne Davison <wayne at opencoder.net>
Date:   Mon Feb 1 08:47:44 2021 -0800

    Add a link to the man page to the README.

-----------------------------------------------------------------------

Summary of changes:
 INSTALL.md   | 15 +++++++++------
 README.md    |  3 ++-
 access.c     |  3 +++
 configure.ac |  2 +-
 4 files changed, 15 insertions(+), 8 deletions(-)


Changeset truncated at 500 lines:

diff --git a/INSTALL.md b/INSTALL.md
index 4cb29522..fbf35c06 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -22,9 +22,9 @@ If your OS doesn't provide a python3-cmarkgfm or python3-commonmark package,
 you can run the following to install the commonmark python library for your
 build user (after installing python3's pip package):
 
->     pip3 install --user commonmark
+>     python3 -mpip install --user commonmark
 
-You can test if you've got it fixed by running (from the src dir):
+You can test if you've got it fixed by running (from the rsync checkout):
 
 >     ./md2man --test rsync-ssl.1.md
 
@@ -53,7 +53,8 @@ installed to manipulate xattrs and to run the rsync testsuite.
 The [xxHash library][1] provides extremely fast checksum functions that can
 make the "rsync algorithm" run much more quickly, especially when matching
 blocks in large files.  Installing this development library adds xxhash
-checksums as the default checksum algorithm.
+checksums as the default checksum algorithm.  You'll need at least v0.8.0
+if you want rsync to include the full range of its checksum algorithms.
 
 [1]: https://cyan4973.github.io/xxHash/
 
@@ -113,7 +114,7 @@ like.
     >     sudo yum -y install libzstd-devel
     >     sudo yum -y install lz4-devel
     >     sudo yum -y install openssl-devel
-    >     pip3 install --user commonmark
+    >     python3 -mpip install --user commonmark
 
  -  For Fedora 33:
 
@@ -147,9 +148,11 @@ like.
     >     setup-x86_64 --quiet-mode -P liblz4-devel
     >     setup-x86_64 --quiet-mode -P libssl-devel
 
-    Then, from a bash shell as your build user:
+    Sometimes cygwin has commonmark packaged and sometimes it doesn't. Now that
+    its python38 has stabilized, you could install python38-commonmark. Or just
+    avoid the issue by running this from a bash shell as your build user:
 
-    >     pip3 install --user commonmark
+    >     python3 -mpip install --user commonmark
 
 ## Build and install
 
diff --git a/README.md b/README.md
index 45c3d74d..3671e8c6 100644
--- a/README.md
+++ b/README.md
@@ -23,8 +23,9 @@ options.  To get a complete list of supported options type:
 
     rsync --help
 
-See the manpage for more detailed information.
+See the [manpage][0] for more detailed information.
 
+[0]: https://download.samba.org/pub/rsync/rsync.1
 
 BUILDING AND INSTALLING
 -----------------------
diff --git a/access.c b/access.c
index 39a7752a..f6d6e272 100644
--- a/access.c
+++ b/access.c
@@ -20,6 +20,9 @@
 
 #include "rsync.h"
 #include "ifuncs.h"
+#ifdef HAVE_NETGROUP_H
+#include <netgroup.h>
+#endif
 
 static int allow_forward_dns;
 
diff --git a/configure.ac b/configure.ac
index af1874e5..f216c218 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,7 +12,7 @@ AC_CHECK_HEADERS(sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h \
     sys/un.h sys/attr.h arpa/inet.h arpa/nameser.h locale.h sys/types.h \
     netdb.h malloc.h float.h limits.h iconv.h libcharset.h langinfo.h mcheck.h \
     sys/acl.h acl/libacl.h attr/xattr.h sys/xattr.h sys/extattr.h dl.h \
-    popt.h popt/popt.h linux/falloc.h netinet/in_systm.h \
+    popt.h popt/popt.h linux/falloc.h netinet/in_systm.h netgroup.h \
     zlib.h xxhash.h openssl/md4.h openssl/md5.h zstd.h lz4.h sys/file.h)
 AC_CHECK_HEADERS([netinet/ip.h], [], [], [[#include <netinet/in.h>]])
 AC_HEADER_MAJOR_FIXED


-- 
The rsync repository.



More information about the rsync-cvs mailing list