Hello community, here is the log from the commit of package libtirpc for openSUSE:Factory checked in at 2017-08-24 17:39:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libtirpc (Old) and /work/SRC/openSUSE:Factory/.libtirpc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libtirpc" Thu Aug 24 17:39:08 2017 rev:44 rq:514180 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libtirpc/libtirpc.changes 2016-04-11 10:27:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libtirpc.new/libtirpc.changes 2017-08-24 17:39:10.396175831 +0200 @@ -1,0 +2,6 @@ +Wed Jul 5 13:22:53 UTC 2017 - [email protected] + +- decls.patch: fix missing declarations +- explicit_bzero.patch: use explicit_bzero if available + +------------------------------------------------------------------- New: ---- decls.patch explicit_bzero.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libtirpc.spec ++++++ --- /var/tmp/diff_new_pack.vhdBfs/_old 2017-08-24 17:39:12.491880784 +0200 +++ /var/tmp/diff_new_pack.vhdBfs/_new 2017-08-24 17:39:12.495880221 +0200 @@ -51,6 +51,8 @@ Patch25: patch6_7.diff # Patch37 is only needed on openSUSE >= 13.1, SLE >= 12 Patch37: libtirpc-new-path-rpcbindsock.patch +Patch38: decls.patch +Patch39: explicit_bzero.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libtirpc3 = %{version}-%{release} @@ -112,6 +114,8 @@ %if 0%{suse_version} >= 1310 %patch37 -p1 %endif +%patch38 -p1 +%patch39 -p1 %build autoreconf -fiv ++++++ decls.patch ++++++ Index: libtirpc-1.0.1/src/xdr_sizeof.c =================================================================== --- libtirpc-1.0.1.orig/src/xdr_sizeof.c +++ libtirpc-1.0.1/src/xdr_sizeof.c @@ -39,6 +39,7 @@ #include <rpc/xdr.h> #include <sys/types.h> #include <stdlib.h> +#include <stdint.h> #include "un-namespace.h" /* ARGSUSED */ ++++++ explicit_bzero.patch ++++++ Index: libtirpc-1.0.1/configure.ac =================================================================== --- libtirpc-1.0.1.orig/configure.ac +++ libtirpc-1.0.1/configure.ac @@ -86,7 +86,7 @@ AC_HEADER_DIRENT AC_PREFIX_DEFAULT(/usr) AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h features.h gssapi/gssapi_ext.h]) AC_CHECK_LIB([pthread], [pthread_create]) -AC_CHECK_FUNCS([getrpcbyname getrpcbynumber setrpcent endrpcent getrpcent]) +AC_CHECK_FUNCS([getrpcbyname getrpcbynumber setrpcent endrpcent getrpcent explicit_bzero]) AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile]) AC_OUTPUT(libtirpc.pc) Index: libtirpc-1.0.1/src/des_impl.c =================================================================== --- libtirpc-1.0.1.orig/src/des_impl.c +++ libtirpc-1.0.1/src/des_impl.c @@ -9,6 +9,10 @@ #include <sys/types.h> #include <rpc/des.h> +#if HAVE_CONFIG_H +#include "config.h" +#endif + static const uint32_t des_SPtrans[8][64] = { @@ -588,7 +592,11 @@ _des_crypt (char *buf, unsigned len, str } tin0 = tin1 = tout0 = tout1 = xor0 = xor1 = 0; tbuf[0] = tbuf[1] = 0; +#ifdef HAVE_EXPLICIT_BZERO + explicit_bzero (schedule, sizeof (schedule)); +#else __bzero (schedule, sizeof (schedule)); +#endif return (1); }
