Your message dated Mon, 11 Nov 2024 17:42:56 +0000
with message-id <e1tayre-002imx...@fasolo.debian.org>
and subject line Bug#1086437: Removed package(s) from unstable
has caused the Debian Bug report #1084132,
regarding dhcpcanon FTBFS with scapy 2.6.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1084132: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084132
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dhcpcanon
Severity: important
Tags: upstream patch ftbfs

Dear Maintainer, hi.

I've packaged scapy 2.6.0, sent it to experimental and rebuilt it's
reverse dependencies. dhcpcanon FTBFS with this latest version because
one function was moved to another module. I'll attach the patch to fix
it here and will upload scapy to unstable next weekend.

Cheers,
Charles
>From e063a1821ead5a29f41517efe0887de154003bf5 Mon Sep 17 00:00:00 2001
From: Carlos Henrique Lima Melara <charlesmel...@riseup.net>
Date: Sat, 5 Oct 2024 10:00:17 -0300
Subject: [PATCH] d/p/fix-FTBFS-with-scapy-2.6.0.patch: add new patch

---
 debian/changelog                              |  6 +++
 .../patches/fix-FTBFS-with-scapy-2.6.0.patch  | 39 +++++++++++++++++++
 debian/patches/series                         |  1 +
 3 files changed, 46 insertions(+)
 create mode 100644 debian/patches/fix-FTBFS-with-scapy-2.6.0.patch

diff --git a/debian/changelog b/debian/changelog
index 590d3b0..743efb3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dhcpcanon (0.8.5-3) UNRELEASED; urgency=medium
+
+  * d/p/fix-FTBFS-with-scapy-2.6.0.patch: add new patch.
+
+ -- Carlos Henrique Lima Melara <charlesmel...@riseup.net>  Sat, 05 Oct 2024 09:55:45 -0300
+
 dhcpcanon (0.8.5-2.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --git a/debian/patches/fix-FTBFS-with-scapy-2.6.0.patch b/debian/patches/fix-FTBFS-with-scapy-2.6.0.patch
new file mode 100644
index 0000000..0989088
--- /dev/null
+++ b/debian/patches/fix-FTBFS-with-scapy-2.6.0.patch
@@ -0,0 +1,39 @@
+From: Carlos Henrique Lima Melara <charlesmel...@riseup.net>
+Date: Sat, 5 Oct 2024 09:53:30 -0300
+Subject: fix FTBFS with scapy 2.6.0
+
+In the latest version of scapy, get_if_raw_hwaddr has been moved to
+scapy.arch.unix module.
+Forwarded: https://github.com/juga0/dhcpcanon/issues/37
+Last-Update: 2024-10-05
+---
+ dhcpcanon/dhcpcap.py    | 2 +-
+ dhcpcanon/dhcpcapfsm.py | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/dhcpcanon/dhcpcap.py b/dhcpcanon/dhcpcap.py
+index c6da57f..453cfd2 100644
+--- a/dhcpcanon/dhcpcap.py
++++ b/dhcpcanon/dhcpcap.py
+@@ -10,7 +10,7 @@ import logging
+
+ import attr
+ from netaddr import IPNetwork
+-from scapy.arch import get_if_raw_hwaddr
++from scapy.arch.unix import get_if_raw_hwaddr
+ from scapy.config import conf
+ from scapy.layers.dhcp import BOOTP, DHCP
+ from scapy.layers.inet import IP, UDP
+diff --git a/dhcpcanon/dhcpcapfsm.py b/dhcpcanon/dhcpcapfsm.py
+index 1f4bb0b..d4a5669 100644
+--- a/dhcpcanon/dhcpcapfsm.py
++++ b/dhcpcanon/dhcpcapfsm.py
+@@ -7,7 +7,7 @@ from __future__ import absolute_import, unicode_literals
+ import logging
+
+ from netaddr import AddrFormatError
+-from scapy.arch import get_if_raw_hwaddr
++from scapy.arch.unix import get_if_raw_hwaddr
+ from scapy.automaton import ATMT, Automaton
+ from scapy.config import conf
+ from scapy.sendrecv import sendp
diff --git a/debian/patches/series b/debian/patches/series
index 7e0a548..feb99da 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 follow-scapy-changes
 0001-Remove-external-links-to-avoid-privacy-breach.patch
 0002-Do-not-use-bootstrap-sphinx-theme.patch
+fix-FTBFS-with-scapy-2.6.0.patch
-- 
2.45.2


--- End Message ---
--- Begin Message ---
Version: 0.8.5-2.2+rm

Dear submitter,

as the package dhcpcanon has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1086437

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to