public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rsync-bpc] rawhide: Update to 3.1.3.2.
@ 2026-09-09 0:57 Richard Shaw
0 siblings, 0 replies; only message in thread
From: Richard Shaw @ 2026-09-09 0:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rsync-bpc
Branch : rawhide
Commit : 0903f85e25484a0dcd20140b974dd24ec738766a
Author : Richard Shaw <hobbes1069@gmail.com>
Date : 2026-09-08T19:57:32-05:00
Stats : +13/-497 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/rsync-bpc/c/0903f85e25484a0dcd20140b974dd24ec738766a?branch=rawhide
Log:
Update to 3.1.3.2.
---
diff --git a/.gitignore b/.gitignore
index 501518f..ca37359 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
/rsync-bpc-3.1.2.0.tar.gz
/rsync-bpc-3.1.2.2.tar.gz
/rsync-bpc-3.1.3.0.tar.gz
+/rsync-bpc-3.1.3.2.tar.gz
diff --git a/rsync-bpc-configure-c99.patch b/rsync-bpc-configure-c99.patch
deleted file mode 100644
index bd529be..0000000
--- a/rsync-bpc-configure-c99.patch
+++ /dev/null
@@ -1,450 +0,0 @@
-Avoid implicit ints and implicit function declaratiosn (language
-features remove in C99) to improve compatibility with future system
-compilers.
-
-Submitted upstream: <https://github.com/backuppc/rsync-bpc/pull/34>
-
-diff --git a/configure.ac b/configure.ac
-index 55cf1293d9d84117..373eb49396184090 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -173,6 +173,8 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <fcntl.h>
- #include <sys/types.h>
- #include <sys/wait.h>
-+#include <stdlib.h>
-+#include <string.h>
-
- int main(void)
- {
-@@ -377,7 +379,7 @@ int main(void)
- {
- dev_t dev = makedev(0, 5, 7);
- if (major(dev) != 5 || minor(dev) != 7)
-- exit(1);
-+ return 1;
- return 0;
- }
- ]])],[rsync_cv_MAKEDEV_TAKES_3_ARGS=yes],[rsync_cv_MAKEDEV_TAKES_3_ARGS=no],[rsync_cv_MAKEDEV_TAKES_3_ARGS=no])])
-@@ -658,6 +660,9 @@ AC_PREPROC_IFELSE([AC_LANG_SOURCE([[
-
- AC_CACHE_CHECK([for SYS_fallocate],rsync_cv_have_sys_fallocate,[
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/syscall.h>
-+#ifdef HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif
- #include <sys/types.h>]], [[syscall(SYS_fallocate, 0, 0, (loff_t)0, (loff_t)0);]])],[rsync_cv_have_sys_fallocate=yes],[rsync_cv_have_sys_fallocate=no])])
- if test x"$rsync_cv_have_sys_fallocate" = x"yes"; then
- AC_DEFINE(HAVE_SYS_FALLOCATE, 1, [Define to 1 if you have the SYS_fallocate syscall number])
-@@ -714,7 +719,7 @@ AC_CACHE_CHECK([whether chown() modifies symlinks],rsync_cv_chown_modifies_symli
- #endif
- #include <stdlib.h>
- #include <errno.h>
-- main() {
-+ int main(void) {
- char const *dangling_symlink = "conftest.dangle";
- unlink(dangling_symlink);
- if (symlink("conftest.no-such", dangling_symlink) < 0) abort();
-@@ -733,7 +738,7 @@ AC_CACHE_CHECK([whether link() can hard-link symlinks],rsync_cv_can_hardlink_sym
- #include <stdlib.h>
- #include <errno.h>
- #define FILENAME "conftest.dangle"
-- main() {
-+ int main(void) {
- unlink(FILENAME);
- if (symlink("conftest.no-such", FILENAME) < 0) abort();
- unlink(FILENAME "2");
-@@ -751,13 +756,16 @@ AC_CACHE_CHECK([whether link() can hard-link special files],rsync_cv_can_hardlin
- #endif
- #include <stdlib.h>
- #include <errno.h>
-+#ifdef HAVE_SYS_STAT_H
-+#include <sys/stat.h>
-+#endif
- #define FILENAME "conftest.fifi"
-- main() {
-+ int main(void) {
- unlink(FILENAME);
- if (mkfifo(FILENAME, 0777) < 0) abort();
- unlink(FILENAME "2");
-- if (link(FILENAME, FILENAME "2") < 0) exit(1);
-- exit(0);
-+ if (link(FILENAME, FILENAME "2") < 0) return 1;
-+ return 0;
- }]])],[rsync_cv_can_hardlink_special=yes],[rsync_cv_can_hardlink_special=no],[rsync_cv_can_hardlink_special=no])])
- if test $rsync_cv_can_hardlink_special = yes; then
- AC_DEFINE(CAN_HARDLINK_SPECIAL, 1, [Define to 1 if link() can hard-link special files.])
-@@ -768,9 +776,9 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <sys/types.h>
- #include <sys/socket.h>
-
--main() {
-+int main (void) {
- int fd[2];
-- exit((socketpair(AF_UNIX, SOCK_STREAM, 0, fd) != -1) ? 0 : 1);
-+ return (socketpair(AF_UNIX, SOCK_STREAM, 0, fd) != -1) ? 0 : 1;
- }]])],[rsync_cv_HAVE_SOCKETPAIR=yes],[rsync_cv_HAVE_SOCKETPAIR=no],[rsync_cv_HAVE_SOCKETPAIR=cross])])
- if test x"$rsync_cv_HAVE_SOCKETPAIR" = x"yes"; then
- AC_DEFINE(HAVE_SOCKETPAIR, 1, [Define to 1 if you have the "socketpair" function])
-@@ -836,23 +844,23 @@ fi
- AC_CACHE_CHECK([for broken readdir],rsync_cv_HAVE_BROKEN_READDIR,[
- AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <sys/types.h>
- #include <dirent.h>
--main() { struct dirent *di; DIR *d = opendir("."); di = readdir(d);
-+int main(void) { struct dirent *di; DIR *d = opendir("."); di = readdir(d);
- if (di && di->d_name[-2] == '.' && di->d_name[-1] == 0 &&
--di->d_name[0] == 0) exit(0); exit(1);} ]])],[rsync_cv_HAVE_BROKEN_READDIR=yes],[rsync_cv_HAVE_BROKEN_READDIR=no],[rsync_cv_HAVE_BROKEN_READDIR=cross])])
-+di->d_name[0] == 0) return 0; return 1;} ]])],[rsync_cv_HAVE_BROKEN_READDIR=yes],[rsync_cv_HAVE_BROKEN_READDIR=no],[rsync_cv_HAVE_BROKEN_READDIR=cross])])
- if test x"$rsync_cv_HAVE_BROKEN_READDIR" = x"yes"; then
- AC_DEFINE(HAVE_BROKEN_READDIR, 1, [Define to 1 if readdir() is broken])
- fi
-
- AC_CACHE_CHECK([for utimbuf],rsync_cv_HAVE_STRUCT_UTIMBUF,[
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
--#include <utime.h>]], [[struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; exit(utime("foo.c",&tbuf));]])],[rsync_cv_HAVE_STRUCT_UTIMBUF=yes],[rsync_cv_HAVE_STRUCT_UTIMBUF=no])])
-+#include <utime.h>]], [[struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; return utime("foo.c",&tbuf);]])],[rsync_cv_HAVE_STRUCT_UTIMBUF=yes],[rsync_cv_HAVE_STRUCT_UTIMBUF=no])])
- if test x"$rsync_cv_HAVE_STRUCT_UTIMBUF" = x"yes"; then
- AC_DEFINE(HAVE_STRUCT_UTIMBUF, 1, [Define to 1 if you have the "struct utimbuf" type])
- fi
-
- AC_CACHE_CHECK([if gettimeofday takes tz argument],rsync_cv_HAVE_GETTIMEOFDAY_TZ,[
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/time.h>
--#include <unistd.h>]], [[struct timeval tv; exit(gettimeofday(&tv, NULL));]])],[rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes],[rsync_cv_HAVE_GETTIMEOFDAY_TZ=no])])
-+#include <unistd.h>]], [[struct timeval tv; return gettimeofday(&tv, NULL);]])],[rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes],[rsync_cv_HAVE_GETTIMEOFDAY_TZ=no])])
- if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" != x"no"; then
- AC_DEFINE(HAVE_GETTIMEOFDAY_TZ, 1, [Define to 1 if gettimeofday() takes a time-zone arg])
- fi
-@@ -861,7 +869,10 @@ AC_CACHE_CHECK([for C99 vsnprintf],rsync_cv_HAVE_C99_VSNPRINTF,[
- AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <sys/types.h>
- #include <stdarg.h>
--void foo(const char *format, ...) {
-+#include <stdlib.h>
-+#include <stdio.h>
-+#include <string.h>
-+int foo(const char *format, ...) {
- va_list ap;
- int len;
- char buf[5];
-@@ -869,13 +880,13 @@ void foo(const char *format, ...) {
- va_start(ap, format);
- len = vsnprintf(0, 0, format, ap);
- va_end(ap);
-- if (len != 5) exit(1);
-+ if (len != 5) return 1;
-
-- if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) exit(1);
-+ if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) return 1;
-
-- exit(0);
-+ return 0;
- }
--main() { foo("hello"); }
-+int main(void) { foo("hello"); }
- ]])],[rsync_cv_HAVE_C99_VSNPRINTF=yes],[rsync_cv_HAVE_C99_VSNPRINTF=no],[rsync_cv_HAVE_C99_VSNPRINTF=cross])])
- if test x"$rsync_cv_HAVE_C99_VSNPRINTF" = x"yes"; then
- AC_DEFINE(HAVE_C99_VSNPRINTF, 1, [Define to 1 if vsprintf has a C99-compatible return value])
-@@ -887,7 +898,8 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdlib.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <unistd.h>
--main() {
-+#include <stdlib.h>
-+int main(void) {
- struct stat st;
- char tpl[20]="/tmp/test.XXXXXX";
- int fd = mkstemp(tpl);
-@@ -917,7 +929,10 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <stdio.h>
- #include <sys/stat.h>
- #include <errno.h>
--main() { int rc, ec; char *fn = "fifo-test";
-+#ifdef HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif>
-+int main(void) { int rc, ec; char *fn = "fifo-test";
- unlink(fn); rc = mknod(fn,S_IFIFO,0600); ec = errno; unlink(fn);
- if (rc) {printf("(%d %d) ",rc,ec); return ec;}
- return 0;}]])],[rsync_cv_MKNOD_CREATES_FIFOS=yes],[rsync_cv_MKNOD_CREATES_FIFOS=no],[rsync_cv_MKNOD_CREATES_FIFOS=cross])])
-@@ -930,7 +945,10 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
- #include <stdio.h>
- #include <sys/stat.h>
- #include <errno.h>
--main() { int rc, ec; char *fn = "sock-test";
-+#ifdef HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif>
-+int main(void) { int rc, ec; char *fn = "sock-test";
- unlink(fn); rc = mknod(fn,S_IFSOCK,0600); ec = errno; unlink(fn);
- if (rc) {printf("(%d %d) ",rc,ec); return ec;}
- return 0;}]])],[rsync_cv_MKNOD_CREATES_SOCKETS=yes],[rsync_cv_MKNOD_CREATES_SOCKETS=no],[rsync_cv_MKNOD_CREATES_SOCKETS=cross])])
-diff --git a/configure.sh b/configure.sh
-index bce94603d128de84..14b94ac6dbda223e 100755
---- a/configure.sh
-+++ b/configure.sh
-@@ -682,7 +682,6 @@ infodir
- docdir
- oldincludedir
- includedir
--runstatedir
- localstatedir
- sharedstatedir
- sysconfdir
-@@ -770,7 +769,6 @@ datadir='${datarootdir}'
- sysconfdir='${prefix}/etc'
- sharedstatedir='${prefix}/com'
- localstatedir='${prefix}/var'
--runstatedir='${localstatedir}/run'
- includedir='${prefix}/include'
- oldincludedir='/usr/include'
- docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-@@ -1023,15 +1021,6 @@ do
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
-- -runstatedir | --runstatedir | --runstatedi | --runstated \
-- | --runstate | --runstat | --runsta | --runst | --runs \
-- | --run | --ru | --r)
-- ac_prev=runstatedir ;;
-- -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
-- | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
-- | --run=* | --ru=* | --r=*)
-- runstatedir=$ac_optarg ;;
--
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
-@@ -1169,7 +1158,7 @@ fi
- for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-- libdir localedir mandir runstatedir
-+ libdir localedir mandir
- do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
-@@ -1322,7 +1311,6 @@ Fine tuning of the installation directories:
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
-- --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
-@@ -4495,6 +4483,8 @@ else
- #include <fcntl.h>
- #include <sys/types.h>
- #include <sys/wait.h>
-+#include <stdlib.h>
-+#include <string.h>
-
- int main(void)
- {
-@@ -4561,7 +4551,7 @@ else
- We can't simply define LARGE_OFF_T to be 9223372036854775807,
- since some C++ compilers masquerading as C compilers
- incorrectly reject 9223372036854775807. */
--#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
-+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
- && LARGE_OFF_T % 2147483647 == 1)
- ? 1 : -1];
-@@ -4607,7 +4597,7 @@ else
- We can't simply define LARGE_OFF_T to be 9223372036854775807,
- since some C++ compilers masquerading as C compilers
- incorrectly reject 9223372036854775807. */
--#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
-+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
- && LARGE_OFF_T % 2147483647 == 1)
- ? 1 : -1];
-@@ -4631,7 +4621,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- We can't simply define LARGE_OFF_T to be 9223372036854775807,
- since some C++ compilers masquerading as C compilers
- incorrectly reject 9223372036854775807. */
--#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
-+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
- && LARGE_OFF_T % 2147483647 == 1)
- ? 1 : -1];
-@@ -4676,7 +4666,7 @@ else
- We can't simply define LARGE_OFF_T to be 9223372036854775807,
- since some C++ compilers masquerading as C compilers
- incorrectly reject 9223372036854775807. */
--#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
-+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
- && LARGE_OFF_T % 2147483647 == 1)
- ? 1 : -1];
-@@ -4700,7 +4690,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- We can't simply define LARGE_OFF_T to be 9223372036854775807,
- since some C++ compilers masquerading as C compilers
- incorrectly reject 9223372036854775807. */
--#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
-+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
- int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
- && LARGE_OFF_T % 2147483647 == 1)
- ? 1 : -1];
-@@ -5692,7 +5682,7 @@ int main(void)
- {
- dev_t dev = makedev(0, 5, 7);
- if (major(dev) != 5 || minor(dev) != 7)
-- exit(1);
-+ return 1;
- return 0;
- }
-
-@@ -7820,6 +7810,9 @@ else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
- #include <sys/syscall.h>
-+#ifdef HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif
- #include <sys/types.h>
- int
- main ()
-@@ -7965,7 +7958,7 @@ else
- #endif
- #include <stdlib.h>
- #include <errno.h>
-- main() {
-+ int main(void) {
- char const *dangling_symlink = "conftest.dangle";
- unlink(dangling_symlink);
- if (symlink("conftest.no-such", dangling_symlink) < 0) abort();
-@@ -8009,7 +8002,7 @@ else
- #include <stdlib.h>
- #include <errno.h>
- #define FILENAME "conftest.dangle"
-- main() {
-+ int main(void) {
- unlink(FILENAME);
- if (symlink("conftest.no-such", FILENAME) < 0) abort();
- unlink(FILENAME "2");
-@@ -8052,13 +8045,16 @@ else
- #endif
- #include <stdlib.h>
- #include <errno.h>
-+#ifdef HAVE_SYS_STAT_H
-+#include <sys/stat.h>
-+#endif
- #define FILENAME "conftest.fifi"
-- main() {
-+ int main(void) {
- unlink(FILENAME);
- if (mkfifo(FILENAME, 0777) < 0) abort();
- unlink(FILENAME "2");
-- if (link(FILENAME, FILENAME "2") < 0) exit(1);
-- exit(0);
-+ if (link(FILENAME, FILENAME "2") < 0) return 1;
-+ return 0;
- }
- _ACEOF
- if ac_fn_c_try_run "$LINENO"; then :
-@@ -8094,9 +8090,9 @@ else
- #include <sys/types.h>
- #include <sys/socket.h>
-
--main() {
-+int main (void) {
- int fd[2];
-- exit((socketpair(AF_UNIX, SOCK_STREAM, 0, fd) != -1) ? 0 : 1);
-+ return (socketpair(AF_UNIX, SOCK_STREAM, 0, fd) != -1) ? 0 : 1;
- }
- _ACEOF
- if ac_fn_c_try_run "$LINENO"; then :
-@@ -8327,9 +8323,9 @@ else
- /* end confdefs.h. */
- #include <sys/types.h>
- #include <dirent.h>
--main() { struct dirent *di; DIR *d = opendir("."); di = readdir(d);
-+int main(void) { struct dirent *di; DIR *d = opendir("."); di = readdir(d);
- if (di && di->d_name[-2] == '.' && di->d_name[-1] == 0 &&
--di->d_name[0] == 0) exit(0); exit(1);}
-+di->d_name[0] == 0) return 0; return 1;}
- _ACEOF
- if ac_fn_c_try_run "$LINENO"; then :
- rsync_cv_HAVE_BROKEN_READDIR=yes
-@@ -8362,7 +8358,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- int
- main ()
- {
--struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; exit(utime("foo.c",&tbuf));
-+struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; return utime("foo.c",&tbuf);
- ;
- return 0;
- }
-@@ -8395,7 +8391,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- int
- main ()
- {
--struct timeval tv; exit(gettimeofday(&tv, NULL));
-+struct timeval tv; return gettimeofday(&tv, NULL);
- ;
- return 0;
- }
-@@ -8429,7 +8425,10 @@ else
-
- #include <sys/types.h>
- #include <stdarg.h>
--void foo(const char *format, ...) {
-+#include <stdlib.h>
-+#include <stdio.h>
-+#include <string.h>
-+int foo(const char *format, ...) {
- va_list ap;
- int len;
- char buf[5];
-@@ -8437,13 +8436,13 @@ void foo(const char *format, ...) {
- va_start(ap, format);
- len = vsnprintf(0, 0, format, ap);
- va_end(ap);
-- if (len != 5) exit(1);
-+ if (len != 5) return 1;
-
-- if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) exit(1);
-+ if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) return 1;
-
-- exit(0);
-+ return 0;
- }
--main() { foo("hello"); }
-+int main(void) { foo("hello"); }
-
- _ACEOF
- if ac_fn_c_try_run "$LINENO"; then :
-@@ -8480,7 +8479,8 @@ else
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <unistd.h>
--main() {
-+#include <stdlib.h>
-+int main(void) {
- struct stat st;
- char tpl[20]="/tmp/test.XXXXXX";
- int fd = mkstemp(tpl);
-@@ -8533,7 +8533,10 @@ else
- #include <stdio.h>
- #include <sys/stat.h>
- #include <errno.h>
--main() { int rc, ec; char *fn = "fifo-test";
-+#ifdef HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif>
-+int main(void) { int rc, ec; char *fn = "fifo-test";
- unlink(fn); rc = mknod(fn,S_IFIFO,0600); ec = errno; unlink(fn);
- if (rc) {printf("(%d %d) ",rc,ec); return ec;}
- return 0;}
-@@ -8571,7 +8574,10 @@ else
- #include <stdio.h>
- #include <sys/stat.h>
- #include <errno.h>
--main() { int rc, ec; char *fn = "sock-test";
-+#ifdef HAVE_UNISTD_H
-+#include <unistd.h>
-+#endif>
-+int main(void) { int rc, ec; char *fn = "sock-test";
- unlink(fn); rc = mknod(fn,S_IFSOCK,0600); ec = errno; unlink(fn);
- if (rc) {printf("(%d %d) ",rc,ec); return ec;}
- return 0;}
diff --git a/rsync-bpc-gcc_15.patch b/rsync-bpc-gcc_15.patch
deleted file mode 100644
index 3d6b4e7..0000000
--- a/rsync-bpc-gcc_15.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Index: rsync-bpc-3.1.3.0/hlink.c
-===================================================================
---- rsync-bpc-3.1.3.0.orig/hlink.c
-+++ rsync-bpc-3.1.3.0/hlink.c
-@@ -121,7 +121,7 @@ static void match_gnums(int32 *ndx_list,
- int32 gnum, gnum_next;
-
- qsort(ndx_list, ndx_count, sizeof ndx_list[0],
-- (int (*)()) hlink_compare_gnum);
-+ (int (*)(const void*, const void*)) hlink_compare_gnum);
-
- if ( inc_recurse && prior_hlinks && hlink_nlinks ) {
- for (from = 0; from < ndx_count; from++) {
-Index: rsync-bpc-3.1.3.0/lib/pool_alloc.c
-===================================================================
---- rsync-bpc-3.1.3.0.orig/lib/pool_alloc.c
-+++ rsync-bpc-3.1.3.0/lib/pool_alloc.c
-@@ -9,7 +9,7 @@ struct alloc_pool
- size_t size; /* extent size */
- size_t quantum; /* allocation quantum */
- struct pool_extent *extents; /* top extent is "live" */
-- void (*bomb)(); /* function to call if
-+ void (*bomb)(const char *); /* function to call if
- * malloc fails */
- int flags;
-
diff --git a/rsync-bpc-rsync_h.patch b/rsync-bpc-rsync_h.patch
deleted file mode 100644
index 9f5a9fb..0000000
--- a/rsync-bpc-rsync_h.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/rsync.h.orig 2020-10-08 21:07:39.000000000 +0000
-+++ b/rsync.h 2020-10-27 23:52:03.132000114 +0000
-@@ -712,7 +712,7 @@
- #define ACLS_NEED_MASK 1
- #endif
-
--#if 0
-+#if defined HAVE_FALLOCATE || HAVE_SYS_FALLOCATE
- #ifdef HAVE_LINUX_FALLOC_H
- #include <linux/falloc.h>
- #endif
diff --git a/rsync-bpc.spec b/rsync-bpc.spec
index b311f44..5face85 100644
--- a/rsync-bpc.spec
+++ b/rsync-bpc.spec
@@ -1,24 +1,23 @@
Name: rsync-bpc
-Version: 3.1.3.0
-Release: 17%{?dist}
+Version: 3.1.3.2
+Release: 1%{?dist}
Summary: A customized fork of rsync that is used as part of BackupPC
# Automatically converted from old format: GPLv3+ - review is highly recommended.
License: GPL-3.0-or-later
URL: https://github.com/backuppc/rsync-bpc
-Source0: https://github.com/backuppc/rsync-bpc/releases/download/%{version}/%{name}-%{version}.tar.gz
-
-# Fix for building on CentOS 6 in COPR
-Patch0: rsync-bpc-rsync_h.patch
-Patch1: rsync-bpc-configure-c99.patch
-Patch2: rsync-bpc-gcc_15.patch
+Source0: https://github.com/backuppc/rsync-bpc/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: libacl-devel
BuildRequires: libattr-devel
+BuildRequires: libzstd-devel
+BuildRequires: lz4-devel
BuildRequires: make
+BuildRequires: openssl-devel
BuildRequires: popt-devel
BuildRequires: perl
+BuildRequires: xxhash-devel
Provides: bundled(rsync) = 3.1.3
@@ -43,7 +42,7 @@ Rsync-bpc serves no purpose outside of BackupPC.
%build
-%configure
+%configure --disable-md2man
%make_build
@@ -58,6 +57,9 @@ Rsync-bpc serves no purpose outside of BackupPC.
%changelog
+* Tue Sep 08 2026 Richard Shaw <hobbes1069@gmail.com> - 3.1.3.2-1
+- Update to 3.1.3.2.
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3.0-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 95f00ea..a632786 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rsync-bpc-3.1.3.0.tar.gz) = 24ae86c6108720d7f0ba6d144053ccba6499623018bc2bcff8f1d8e289f9c015f80e73244e965a7fcdccb5f9b2a876f1a54ceed42a19a80fd7c87c6b05c7701d
+SHA512 (rsync-bpc-3.1.3.2.tar.gz) = fe9ab710bebcd312f0d52f01d9cc127323164dc609c8ece0ee8538961f594c50c926798f3621e014427cce9060a20d26ccaa7df9684895544a9e030bbe648a1c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-09 0:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-09 0:57 [rpms/rsync-bpc] rawhide: Update to 3.1.3.2 Richard Shaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox