Hello community,

here is the log from the commit of package arpwatch for openSUSE:Factory 
checked in at 2020-10-20 16:19:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/arpwatch (Old)
 and      /work/SRC/openSUSE:Factory/.arpwatch.new.3486 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "arpwatch"

Tue Oct 20 16:19:26 2020 rev:30 rq:842812 version:2.1a15

Changes:
--------
--- /work/SRC/openSUSE:Factory/arpwatch/arpwatch.changes        2019-05-07 
23:20:18.977100176 +0200
+++ /work/SRC/openSUSE:Factory/.arpwatch.new.3486/arpwatch.changes      
2020-10-20 16:30:52.862591410 +0200
@@ -1,0 +2,5 @@
+Sat Oct 17 10:52:57 UTC 2020 - Hans-Peter Jansen <h...@urpla.net>
+
+- add report-iface.patch to see, where the offending change happened
+
+-------------------------------------------------------------------

New:
----
  report-iface.patch

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

Other differences:
------------------
++++++ arpwatch.spec ++++++
--- /var/tmp/diff_new_pack.CCSWQx/_old  2020-10-20 16:30:53.550591736 +0200
+++ /var/tmp/diff_new_pack.CCSWQx/_new  2020-10-20 16:30:53.554591738 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package arpwatch
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
 Summary:        Tool to keep track of Ethernet<->IP address pairings
 License:        BSD-3-Clause
 Group:          Productivity/Networking/Diagnostic
-Url:            http://www-nrg.ee.lbl.gov/nrg.html
+URL:            http://www-nrg.ee.lbl.gov/nrg.html
 Source:         %{name}-%{version}.tar.bz2
 Source10:       arpwatch@.service
 Source11:       sysconfig.arpwatch
@@ -43,6 +43,7 @@
 Patch9:         getnameinfo.patch
 # PATCH-Fix-Upstream -- 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625796#20 -- 
seife+...@b1-systems.com
 Patch10:        0001-Ignore-802.1Q-frames.patch
+Patch11:        report-iface.patch
 BuildRequires:  libpcap-devel
 BuildRequires:  postfix
 BuildRequires:  systemd-rpm-macros
@@ -75,6 +76,7 @@
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 %build
 %configure

++++++ report-iface.patch ++++++
Index: b/report.c
===================================================================
--- a/report.c
+++ b/report.c
@@ -73,6 +73,8 @@ struct rtentry;
 char *watcher = WATCHER;
 char *watchee = WATCHEE;
 
+extern char *interface;
+
 static int cdepth;     /* number of outstanding children */
 
 static char *fmtdate(time_t);
@@ -339,6 +341,8 @@ report(register char *title, register u_
                (void)fprintf(f, fmt, "previous timestamp", fmtdate(*t2p));
        if (t1p && t2p && *t1p && *t2p)
                (void)fprintf(f, fmt, "delta", fmtdelta(*t1p - *t2p));
+       if (interface)
+               (void)fprintf(f, fmt, "interface", interface);
 
        if (debug) {
                fflush(f);
Index: b/arpwatch.c
===================================================================
--- a/arpwatch.c
+++ b/arpwatch.c
@@ -118,6 +118,7 @@ struct rtentry;
 #endif
 
 char *prog;
+char *interface;
 
 int can_checkpoint;
 int swapped;
@@ -214,7 +215,7 @@ main(int argc, char **argv)
        register int fd;
 #endif
        register pcap_t *pd;
-       register char *interface, *rfilename;
+       register char *rfilename;
        struct bpf_program code;
        char errbuf[PCAP_ERRBUF_SIZE];
        char* serveruser = NULL;
Index: b/arpsnmp.c
===================================================================
--- a/arpsnmp.c
+++ b/arpsnmp.c
@@ -68,6 +68,7 @@ int   snmp_add(u_int32_t, u_char *, time_t
 __dead void usage(void) __attribute__((volatile));
 
 char *prog;
+char *interface;
 
 extern int optind;
 extern int opterr;

Reply via email to