Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bittwist for openSUSE:Factory 
checked in at 2023-07-06 18:28:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bittwist (Old)
 and      /work/SRC/openSUSE:Factory/.bittwist.new.23466 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bittwist"

Thu Jul  6 18:28:44 2023 rev:3 rq:1096977 version:3.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/bittwist/bittwist.changes        2017-06-23 
09:17:49.199054220 +0200
+++ /work/SRC/openSUSE:Factory/.bittwist.new.23466/bittwist.changes     
2023-07-06 18:28:51.527214221 +0200
@@ -1,0 +2,52 @@
+Sun Jul  2 11:53:58 UTC 2023 - Martin Hauke <[email protected]>
+
+- Update to version 3.7
+  Changes since 2.0:
+  general
+  * added support for trace files with nanosecond resolution.
+  * updated manual pages.
+  * use in-memory trace files when sending packets in loop.
+  * fixed integer overflow in stats output.
+  * added static code analysis in Makefile (make check).
+  * reformatted source files for C17 standard.
+  * added initial python testing framework for Linux systems.
+  bittwist (generator):
+  * 30% speed up when sending large pcap file.
+  * fixed linerate throttling.
+  * updated -p option to send packets at set packets per second
+    (pps).
+  * added -t option to set inter-packet gap (this was previously
+    -p option).
+  * removed speed (-m) flag; use -p/-r to shape throughput.
+  * updated linerate (-r) flag to use token bucket algorithm.
+  bittwiste (editor)
+  * added -G option to set fixed or random inter-packet gap in
+    microseconds.
+  * added support for CIDR notation when modifying IPv4/IPv6
+    addressA.
+  * added support for random MAC address.
+  * added option to edit IPv6 next header.
+  * added random number support for id, ttl, proto, next header,
+    hop limit.
+  * added option to set uniformly distributed random number
+    (mersenne twister). for tcp/udp source/destination port and
+    tcp sequence/acknowledgment number.
+  * added -N flag to duplicate packets from trace file, e.g.
+    -N 100000 to repeat packets from trace file for 100,000 times
+  * added ip6tcp and ip6udp templates.
+  * updated -I flag to allow loading trace file from built-in
+    templates.
+  * options to edit IPv4/IPv6 packets to allow testing of
+    classification/queuing.  features of switches/routers, e.g.
+    + -T ip -e 3 to indicate congestion to the end hosts
+    + -T ip6 -c 16 to classify packet for operation and management
+      of the network
+    + -T ip6 -f 0xfffff to set custom flow label
+  * added support for IPv6 packets.
+  * improved cksum().
+  * expanded test cases.
+- Update patch:
+  * bittwist-makefile.diff
+- Update URL
+
+-------------------------------------------------------------------

Old:
----
  bittwist-linux-2.0.tar.gz

New:
----
  bittwist-linux-3.7.tar.gz

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

Other differences:
------------------
++++++ bittwist.spec ++++++
--- /var/tmp/diff_new_pack.7DKYtn/_old  2023-07-06 18:28:52.191218298 +0200
+++ /var/tmp/diff_new_pack.7DKYtn/_new  2023-07-06 18:28:52.199218347 +0200
@@ -1,7 +1,8 @@
 #
 # spec file for package bittwist
 #
-# Copyright (c) 2016, Martin Hauke <[email protected]>
+# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2016-2023, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,21 +13,21 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           bittwist
-Version:        2.0
+Version:        3.7
 Release:        0
 Summary:        A libpcap-based Ethernet packet generator
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          Productivity/Networking/Diagnostic
-Url:            http://bittwist.sourceforge.net/
+#Git-Clone:     https://github.com/ayeowch/bittwist.git
+URL:            https://bittwist.sourceforge.io
 Source:         
http://downloads.sourceforge.net/%{name}/Linux/Bit-Twist%%20%{version}/%{name}-linux-%{version}.tar.gz
 Patch0:         bittwist-makefile.diff
 BuildRequires:  libpcap-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Bit-Twist is a libpcap-based Ethernet packet generator complementing
@@ -41,21 +42,20 @@
 %prep
 %setup -q -n %{name}-linux-%{version}
 %patch0 -p1
-perl -i -pe 's/\r\n/\n/gs' AUTHORS BUGS CHANGES COPYING README VERSION
 
 %build
 export CFLAGS="%{optflags}"
-make %{?_smp_mflags}
+%make_build
 
 %install
-%make_install
+%make_install prefix=/usr
 
 %files
-%defattr(-,root,root)
-%doc AUTHORS BUGS CHANGES COPYING README VERSION
+%license COPYING
+%doc AUTHORS BUGS CHANGES README.md VERSION
 %{_bindir}/bittwist
 %{_bindir}/bittwiste
-%{_mandir}/man1/bittwist.1%{ext_man}
-%{_mandir}/man1/bittwiste.1%{ext_man}
+%{_mandir}/man1/bittwist.1%{?ext_man}
+%{_mandir}/man1/bittwiste.1%{?ext_man}
 
 %changelog

++++++ bittwist-linux-2.0.tar.gz -> bittwist-linux-3.7.tar.gz ++++++
++++ 12651 lines of diff (skipped)

++++++ bittwist-makefile.diff ++++++
--- /var/tmp/diff_new_pack.7DKYtn/_old  2023-07-06 18:28:52.451219894 +0200
+++ /var/tmp/diff_new_pack.7DKYtn/_new  2023-07-06 18:28:52.455219918 +0200
@@ -1,38 +1,47 @@
 diff --git a/Makefile b/Makefile
-index e681d85..f121fe3 100644
+index 70cf633..f23bb45 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -19,22 +19,22 @@ INSTALL_DATA = ${INSTALL} -m 644
- all: bittwist bittwiste
- 
- bittwist:
--      $(CC) $(CFLAGS) $(SRC)/bittwist.c -o $(SRC)/bittwist 
-I/usr/local/include -L/usr/local/lib -lpcap
-+      $(CC) $(CFLAGS) $(SRC)/bittwist.c -o $(SRC)/bittwist `pcap-config 
--libs --cflags`
- 
- bittwiste:
--      $(CC) $(CFLAGS) $(SRC)/bittwiste.c -o $(SRC)/bittwiste 
-I/usr/local/include -L/usr/local/lib -lpcap
-+      $(CC) $(CFLAGS) $(SRC)/bittwiste.c -o $(SRC)/bittwiste `pcap-config 
--libs --cflags`
- 
- clean:
-       rm -f $(SRC)/bittwist $(SRC)/bittwiste
- 
- install:
--      mkdir -p $(bindir)
--      chmod 755 $(bindir)
--      $(INSTALL_PROGRAM) $(SRC)/bittwist $(SRC)/bittwiste $(bindir)
--      mkdir -p $(mandir)
--      chmod 755 $(mandir)
--      $(INSTALL_DATA) $(DOC)/bittwist.1 $(DOC)/bittwiste.1 $(mandir)
-+      mkdir -p $(DESTDIR)$(bindir)
-+      chmod 755 $(DESTDIR)$(bindir)
-+      $(INSTALL_PROGRAM) $(SRC)/bittwist $(SRC)/bittwiste $(DESTDIR)$(bindir)
-+      mkdir -p $(DESTDIR)$(mandir)
-+      chmod 755 $(DESTDIR)$(mandir)
-+      $(INSTALL_DATA) $(DOC)/bittwist.1 $(DOC)/bittwiste.1 $(DESTDIR)$(mandir)
- 
- uninstall:
--      rm -f $(bindir)/bittwist $(bindir)/bittwiste
--      rm -f $(mandir)/bittwist.1 $(mandir)/bittwiste.1
-+      rm -f $(bindir)/bittwist $(DESTDIR)$(bindir)/bittwiste
-+      rm -f $(mandir)/bittwist.1 $(DESTDIR)$(mandir)/bittwiste.1
+@@ -51,10 +51,10 @@ INSTALL_DATA = ${INSTALL} -m 644
+ all: bittwist bittwiste
+ 
+ bittwist:
+-      $(CC) $(CFLAGS) $(SRC)/bittwist.c $(SRC)/token_bucket.c -o 
$(SRC)/bittwist -I/usr/local/include -L/usr/local/lib -lpcap
++      $(CC) $(CFLAGS) $(SRC)/bittwist.c $(SRC)/token_bucket.c -o 
$(SRC)/bittwist `pcap-config --libs --cflags`
+ 
+ bittwiste:
+-      $(CC) $(CFLAGS) $(SRC)/bittwiste.c $(SRC)/tinymt/tinymt64.c 
$(SRC)/template_pcap.c -o $(SRC)/bittwiste -I $(SRC)/tinymt 
-I/usr/local/include -L/usr/local/lib -lpcap
++      $(CC) $(CFLAGS) $(SRC)/bittwiste.c $(SRC)/tinymt/tinymt64.c 
$(SRC)/template_pcap.c -o $(SRC)/bittwiste -I $(SRC)/tinymt `pcap-config --libs 
--cflags`
+ 
+ clean:
+       rm -f $(SRC)/bittwist $(SRC)/bittwiste
+@@ -66,18 +66,18 @@ format:
+       $(CLANG_FORMAT) -i src/def.h src/token_bucket.h src/token_bucket.c 
src/template_pcap.h src/template_pcap.c src/bittwist.h src/bittwist.c 
src/bittwiste.h src/bittwiste.c
+ 
+ install:
+-      mkdir -p $(bindir)
+-      chmod 755 $(bindir)
+-      $(INSTALL_PROGRAM) $(SRC)/bittwist $(SRC)/bittwiste $(bindir)
+-      mkdir -p $(mandir)
+-      chmod 755 $(mandir)
+-      $(INSTALL_DATA) $(DOC)/bittwist.1 $(DOC)/bittwiste.1 $(mandir)
++      mkdir -p $(DESTDIR)$(bindir)
++      chmod 755  $(DESTDIR)$(bindir)
++      $(INSTALL_PROGRAM) $(SRC)/bittwist $(SRC)/bittwiste $(DESTDIR)$(bindir)
++      mkdir -p $(DESTDIR)$(mandir)
++      chmod 755 $(DESTDIR)$(mandir)
++      $(INSTALL_DATA) $(DOC)/bittwist.1 $(DOC)/bittwiste.1 $(DESTDIR)$(mandir)
+ 
+ uninstall:
+-      @rm -vf $(wildcard $(bindir)/bittwist)
+-      @rm -vf $(wildcard $(bindir)/bittwiste)
+-      @rm -vf $(wildcard $(mandir)/bittwist.1)
+-      @rm -vf $(wildcard $(mandir)/bittwiste.1)
++      @rm -vf $(wildcard $(DESTDIR)$(bindir)/bittwist)
++      @rm -vf $(wildcard $(DESTDIR)$(bindir)/bittwiste)
++      @rm -vf $(wildcard $(DESTDIR)$(mandir)/bittwist.1)
++      @rm -vf $(wildcard $(DESTDIR)$(mandir)/bittwiste.1)
+       @rm -vf $(wildcard $(old_bindir)/bittwist)
+       @rm -vf $(wildcard $(old_bindir)/bittwiste)
+       @rm -vf $(wildcard $(old_mandir)/bittwist.1)
 

Reply via email to