Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bettercap for openSUSE:Factory 
checked in at 2024-09-22 11:06:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bettercap (Old)
 and      /work/SRC/openSUSE:Factory/.bettercap.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bettercap"

Sun Sep 22 11:06:00 2024 rev:2 rq:1202228 version:2.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/bettercap/bettercap.changes      2024-04-05 
20:28:04.403127772 +0200
+++ /work/SRC/openSUSE:Factory/.bettercap.new.29891/bettercap.changes   
2024-09-22 11:06:16.657240207 +0200
@@ -1,0 +2,47 @@
+Tue Sep 17 06:19:47 UTC 2024 - Martin Hauke <mar...@gmx.de>
+
+- Update to version 2.4.0:
+  * fix: added better debug logging for core.Exec (fixes #1125).
+  * new: added support for 29bit obd2 identifiers.
+  * new: implemented can.obd2 builtin parser.
+  * fix: fixed address reload on api.rest.
+  * new: can.fuzz now supports an optional size argument.
+  * fix: can.fuzz now expects an hexadecimal frame id.
+  * fix: stop can.dump reader when can.recon is stopped.
+  * new: can.dump reader will now sleep for the correct amount
+    of time.
+  * new: implemented can.dup and can.dump.inject to read a candump
+    log file.
+  * refact: refactored can dbc logic.
+  * new: added new wifi cipher suites and auth types.
+  * new: added new wifi RSN parsing.
+  * fix: fixed a nil pointer dereference when wifi.show is executed
+    before wifi.recon on.
+  * fix: fixed handshakes filename if wifi.aggregate is false.
+  * fix: expanding file path in file read api.
+  * fix: initialize wifi module state correctly.
+  * new: embedded ui.
+  * new: added CAN to session json object.
+  * fix: do not allow wifi.recon if wifi.bruteforce is running.
+  * fix: added p2p_disabled=1 for wifi.bruteforce on linux.
+  * new: implemented wifi.bruteforce for linux.
+  * fix: bring interface down for mac.changer module.
+  * fix: do not attempt mac lookup if gateway is empty.
+  * fix: do not report a routing error if the interface is
+    disconnected.
+  * fix: make sure that wifi channels are unique and sorted.
+  * fix: WPA3 is now correcly identified and reported.
+  * new: ble, can, hid and wifi modules will now set a custom
+    prompt.
+  * new: implemented can.filter.
+  * new: can.fuzz command.
+  * new: gps.set to manually set/override gps coordinates.
+  * fix: fixed verbose gousb logging.
+  * fix: using proper v2 package suffix.
+  * fix: fixed device index use for BLE module.
+  * new: history file location can now be set via
+    BETTERCAP_HISTORY env var.
+  * new: implemented can.inject.
+  * new can module for CAN-bus.
+
+-------------------------------------------------------------------

Old:
----
  bettercap-2.32.0.tar.gz

New:
----
  _servicedata
  bettercap-2.4.0.tar.xz

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

Other differences:
------------------
++++++ bettercap.spec ++++++
--- /var/tmp/diff_new_pack.Bs3ZD4/_old  2024-09-22 11:06:17.213263173 +0200
+++ /var/tmp/diff_new_pack.Bs3ZD4/_new  2024-09-22 11:06:17.217263338 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package bettercap
 #
+# Copyright (c) 2024 SUSE LLC
 # Copyright (c) 2019-2024, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -12,28 +13,30 @@
 # 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:           bettercap
-Version:        2.32.0
+Version:        2.4.0
 Release:        0
 Summary:        Swiss army knife for network attacks and monitoring
 License:        GPL-3.0-or-later
 Group:          Productivity/Networking/Diagnostic
 URL:            https://www.bettercap.org/
 #Git-Clone:     https://github.com/bettercap/bettercap.git
-Source:         
https://github.com/bettercap/bettercap/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source:         %{name}-%{version}.tar.xz
 Source1:        vendor.tar.gz
-BuildRequires:  golang(API) >= 1.9
+BuildRequires:  golang-packaging
 BuildRequires:  libpcap-devel
+BuildRequires:  pkgconfig
+BuildRequires:  systemd-rpm-macros
+BuildRequires:  golang(API) >= 1.9
 BuildRequires:  pkgconfig(libnetfilter_queue)
 BuildRequires:  pkgconfig(libusb-1.0)
-BuildRequires:  systemd-rpm-macros
 Requires:       libnetfilter_queue1
 Recommends:     iw
 Recommends:     wireless-tools
-BuildRequires:  golang-packaging
 %{go_provides}
 %{?systemd_requires}
 
@@ -43,17 +46,19 @@
 
 %prep
 %autosetup -a 1
-find . -type f -exec sed -i 's|/usr/local/|/usr/|g' {} \;
+find . -type f -exec sed -i 's|%{_prefix}/local/|%{_prefix}/|g' {} \;
 
 %build
-%goprep github.com/bettercap/bettercap/
-%gobuild -mod=vendor .
+go build \
+  -mod=vendor \
+  -buildmode=pie \
+  -o bettercap .
 
 %install
-%goinstall
+install -Dm 0755 bettercap %{buildroot}%{_bindir}/bettercap
 install -d %{buildroot}%{_sbindir}
 install -d %{buildroot}%{_datadir}/bettercap
-install -D -m0644 bettercap.service  %{buildroot}%{_unitdir}/%{name}.service
+install -Dm 0644 bettercap.service  %{buildroot}%{_unitdir}/%{name}.service
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 
 %pre

++++++ _service ++++++
--- /var/tmp/diff_new_pack.Bs3ZD4/_old  2024-09-22 11:06:17.253264825 +0200
+++ /var/tmp/diff_new_pack.Bs3ZD4/_new  2024-09-22 11:06:17.257264991 +0200
@@ -1,7 +1,19 @@
 <services>
+  <service name="tar_scm" mode="manual">
+    <param name="url">https://github.com/bettercap/bettercap.git</param>
+    <param name="scm">git</param>
+    <param name="revision">v2.4.0</param>
+    <param name="versionformat">@PARENT_TAG@</param>
+    <param name="versionrewrite-pattern">v(.*)</param>
+    <param name="changesgenerate">enable</param>
+  </service>
   <service name="set_version" mode="manual">
     <param name="basename">bettercap</param>
   </service>
+  <service name="recompress" mode="manual">
+    <param name="file">*.tar</param>
+    <param name="compression">xz</param>
+  </service>
   <service name="go_modules" mode="manual">
   </service>
 </services>

++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param 
name="url">https://github.com/bettercap/bettercap.git</param>
              <param 
name="changesrevision">acda32e3048f622b52e4c54826832334513d589d</param></service></servicedata>
(No newline at EOF)

++++++ vendor.tar.gz ++++++
++++ 299608 lines of diff (skipped)

Reply via email to