To use this patch, run these commands for a successful build:
patch -p1 <patches/fix-checksums.diff
- ./configure (optional if already run)
+ ./prepare-source
+ ./configure [--with-openssl-conf=/path/to/openssl-rsync.cnf]
make
-based-on: 2c1204032b15bd0c4c7ce54b65090867492557e2
+based-on: 706bff9176ccf6976e27040eb5729ce34c0058eb
diff --git a/authenticate.c b/authenticate.c
--- a/authenticate.c
+++ b/authenticate.c
+ return 0;
+#endif
+}
+diff --git a/configure.ac b/configure.ac
+--- a/configure.ac
++++ b/configure.ac
+@@ -136,6 +136,16 @@ if test x"$GCC" = x"yes"; then
+ CFLAGS="$CFLAGS -Wall -W"
+ fi
+
++AC_ARG_WITH(openssl-conf,
++ AS_HELP_STRING([--with-openssl-conf=PATH],[set default OPENSSL_CONF path for rsync]))
++case "$with_openssl_conf" in
++ *[^-/a-zA-Z0-9.,=@+_]*) AC_MSG_ERROR([Invalid path given to --with-openssl-conf]) ;;
++ /*) CFLAGS="$CFLAGS -DSET_OPENSSL_CONF=$with_openssl_conf" ;;
++ no|'') ;;
++ yes) AC_MSG_ERROR([No path given to --with-openssl-conf]) ;;
++ *) AC_MSG_ERROR([Non absolute path given to --with-openssl-conf]) ;;
++esac
++
+ AC_ARG_WITH(rrsync,
+ AS_HELP_STRING([--with-rrsync],[also install the rrsync script and its manpage]))
+ if test x"$with_rrsync" != x"yes"; then
diff --git a/flist.c b/flist.c
--- a/flist.c
+++ b/flist.c