Hello community,

here is the log from the commit of package trinity for openSUSE:Factory checked 
in at 2018-06-28 15:14:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trinity (Old)
 and      /work/SRC/openSUSE:Factory/.trinity.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trinity"

Thu Jun 28 15:14:53 2018 rev:52 rq:619542 version:1.9+git.20180608

Changes:
--------
--- /work/SRC/openSUSE:Factory/trinity/trinity.changes  2018-04-11 
14:05:01.440227099 +0200
+++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes     2018-06-28 
15:14:58.215422363 +0200
@@ -1,0 +2,18 @@
+Mon Jun 18 08:07:12 UTC 2018 - [email protected]
+
+- workaround build with gcc8
+
+-------------------------------------------------------------------
+Tue Jun 12 08:49:35 UTC 2018 - [email protected]
+
+- Update to version 1.9+git.20180608:
+  * configure: fix build with kernel headers v4.17+
+  * trinity: check pidstatfile before fclose
+
+-------------------------------------------------------------------
+Wed May 30 13:44:02 UTC 2018 - [email protected]
+
+- Update to version 1.9+git.20180413:
+  * parisc-specific updates
+
+-------------------------------------------------------------------

Old:
----
  trinity-1.9+git.20180402.tar.xz

New:
----
  trinity-1.9+git.20180608.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ trinity.spec ++++++
--- /var/tmp/diff_new_pack.09bFOV/_old  2018-06-28 15:14:59.947419191 +0200
+++ /var/tmp/diff_new_pack.09bFOV/_new  2018-06-28 15:14:59.947419191 +0200
@@ -16,14 +16,14 @@
 #
 
 
-%define version_unconverted 1.9+git.20180402
+%define version_unconverted 1.9+git.20180608
 Name:           trinity
-Version:        1.9+git.20180402
+Version:        1.9+git.20180608
 Release:        0
 Summary:        A Linux System call fuzz tester
 License:        GPL-2.0-only
 Group:          Development/Tools/Other
-URL:            http://codemonkey.org.uk/projects/trinity/
+Url:            http://codemonkey.org.uk/projects/trinity/
 Source0:        %{name}-%{version}.tar.xz
 ExcludeArch:    %ix86 %arm
 
@@ -37,7 +37,13 @@
 %setup -q
 
 %build
+%if 0%{?suse_version} > 1500
+# the warning from gcc8 seems to be false positive causing build failures
+# remove the -Wno-error when fixed (in gcc or in trinity)
+export CFLAGS="%{optflags} -Wno-error=format-overflow"
+%else
 export CFLAGS="%{optflags}"
+%endif
 # Not autotools configure
 ./configure
 make %{?_smp_mflags} V=1

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.09bFOV/_old  2018-06-28 15:14:59.995419103 +0200
+++ /var/tmp/diff_new_pack.09bFOV/_new  2018-06-28 15:14:59.995419103 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
             <param name="url">git://github.com/kernelslacker/trinity</param>
-          <param 
name="changesrevision">43e56140a547c82aacbcfbb77f36ba2dd211a938</param></service></servicedata>
\ No newline at end of file
+          <param 
name="changesrevision">1b2d43cb383cef86a05acb2df046ce5e9b17a7fe</param></service></servicedata>
\ No newline at end of file

++++++ trinity-1.9+git.20180402.tar.xz -> trinity-1.9+git.20180608.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trinity-1.9+git.20180402/configure 
new/trinity-1.9+git.20180608/configure
--- old/trinity-1.9+git.20180402/configure      2018-04-02 19:56:53.000000000 
+0200
+++ new/trinity-1.9+git.20180608/configure      2018-06-08 17:02:07.000000000 
+0200
@@ -316,6 +316,7 @@
 check_header linux/caif/caif_socket.h USE_CAIF
 check_header linux/fsmap.h USE_FSMAP
 check_header linux/if_alg.h USE_IF_ALG
+check_header linux/irda.h USE_IRDA
 check_header linux/rds.h USE_RDS
 check_header linux/vfio.h USE_VFIO
 check_header drm/drm.h USE_DRM
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trinity-1.9+git.20180402/include/arch-parisc.h 
new/trinity-1.9+git.20180608/include/arch-parisc.h
--- old/trinity-1.9+git.20180402/include/arch-parisc.h  2018-04-02 
19:56:53.000000000 +0200
+++ new/trinity-1.9+git.20180608/include/arch-parisc.h  2018-06-08 
17:02:07.000000000 +0200
@@ -16,9 +16,9 @@
 #define PAGE_SHIFT             12
 #define PTE_FILE_MAX_BITS      (32 - 11)
 
-#define PTRACE_GETREGS         0
-#define PTRACE_GETFPREGS       0
-#define PTRACE_SETREGS         0
-#define PTRACE_SETFPREGS       0
+#define PTRACE_GETREGS         18
+#define PTRACE_GETFPREGS       14
+#define PTRACE_SETREGS         19
+#define PTRACE_SETFPREGS       15
 
 #define SYSCALLS syscalls_parisc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trinity-1.9+git.20180402/include/syscalls-parisc.h 
new/trinity-1.9+git.20180608/include/syscalls-parisc.h
--- old/trinity-1.9+git.20180402/include/syscalls-parisc.h      2018-04-02 
19:56:53.000000000 +0200
+++ new/trinity-1.9+git.20180608/include/syscalls-parisc.h      2018-06-08 
17:02:07.000000000 +0200
@@ -354,4 +354,11 @@
        { .entry = NULL },
 #endif
        { .entry = &syscall_execveat },
+       { .entry = &syscall_membarrier },
+       { .entry = &syscall_userfaultfd },
+       { .entry = &syscall_mlock2 },
+       { .entry = &syscall_copy_file_range },
+       { .entry = &syscall_preadv2 },
+       { .entry = &syscall_pwritev2 },
+       { .entry = &syscall_statx },
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trinity-1.9+git.20180402/main.c 
new/trinity-1.9+git.20180608/main.c
--- old/trinity-1.9+git.20180402/main.c 2018-04-02 19:56:53.000000000 +0200
+++ new/trinity-1.9+git.20180608/main.c 2018-06-08 17:02:07.000000000 +0200
@@ -566,8 +566,8 @@
                        log_child_signalled(childno, pid, 
WTERMSIG(childstatus), child->op_nr);
                }
                reap_child(shm->children[childno]);
-
-               fclose(child->pidstatfile);
+               if (child->pidstatfile)
+                       fclose(child->pidstatfile);
                child->pidstatfile = NULL;
 
                replace_child(childno);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trinity-1.9+git.20180402/net/proto-irda.c 
new/trinity-1.9+git.20180608/net/proto-irda.c
--- old/trinity-1.9+git.20180402/net/proto-irda.c       2018-04-02 
19:56:53.000000000 +0200
+++ new/trinity-1.9+git.20180608/net/proto-irda.c       2018-06-08 
17:02:07.000000000 +0200
@@ -4,13 +4,15 @@
 #include <sys/un.h>
 /* old irda.h does not include something which defines sa_family_t */
 #include <netinet/in.h>
-#include <linux/irda.h>
 #include <stdlib.h>
 #include "net.h"
 #include "random.h"
 #include "utils.h"     // RAND_ARRAY
 #include "compat.h"
 
+#ifdef USE_IRDA
+#include <linux/irda.h>
+
 static void irda_gen_sockaddr(struct sockaddr **addr, socklen_t *addrlen)
 {
        struct sockaddr_irda *irda;
@@ -53,3 +55,5 @@
        .valid_triplets = irda_triplets,
        .nr_triplets = ARRAY_SIZE(irda_triplets),
 };
+
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trinity-1.9+git.20180402/net/protocols.c 
new/trinity-1.9+git.20180608/net/protocols.c
--- old/trinity-1.9+git.20180402/net/protocols.c        2018-04-02 
19:56:53.000000000 +0200
+++ new/trinity-1.9+git.20180608/net/protocols.c        2018-06-08 
17:02:07.000000000 +0200
@@ -26,7 +26,9 @@
 #ifdef USE_RDS
        [PF_RDS] = { .proto = &proto_rds },
 #endif
+#ifdef USE_IRDA
        [PF_IRDA] = { .proto = &proto_irda },
+#endif
        [PF_LLC] = { .proto = &proto_llc },
        [PF_CAN] = { .proto = &proto_can },
        [PF_TIPC] = { .proto = &proto_tipc },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trinity-1.9+git.20180402/syscalls/msync.c 
new/trinity-1.9+git.20180608/syscalls/msync.c
--- old/trinity-1.9+git.20180402/syscalls/msync.c       2018-04-02 
19:56:53.000000000 +0200
+++ new/trinity-1.9+git.20180608/syscalls/msync.c       2018-06-08 
17:02:07.000000000 +0200
@@ -8,9 +8,15 @@
 #include "syscall.h"
 #include "trinity.h"
 
+#if !defined(MS_ASYNC)
 #define MS_ASYNC        1               /* Sync memory asynchronously.  */
+#endif
+#if !defined(MS_SYNC)
 #define MS_SYNC         4               /* Synchronous memory sync.  */
+#endif
+#if !defined(MS_INVALIDATE)
 #define MS_INVALIDATE   2               /* Invalidate the caches.  */
+#endif
 
 static void sanitise_msync(struct syscallrecord *rec)
 {


Reply via email to