I am uploading a NMU to fix this and other issues.
The debdiff is attached.
diff -Nru farpd-0.2/debian/changelog farpd-0.2/debian/changelog
--- farpd-0.2/debian/changelog  2023-09-05 20:05:19.000000000 +0000
+++ farpd-0.2/debian/changelog  2024-05-29 22:34:32.000000000 +0000
@@ -1,3 +1,15 @@
+farpd (0.2-11.4) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Send response to unicast instead of broadcast address (Closes: #698842)
+  * d/copyright: Convert to machine-readable format and add missing licenses
+    (Closes: #1072185)
+  * d/control: Correct Standards-Version
+  * d/control: Add missing comma
+  * d/rules: Add missing dh_autoreconf_clean call
+
+ -- Bastian Germann <b...@debian.org>  Wed, 29 May 2024 22:34:32 +0000
+
 farpd (0.2-11.3) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru farpd-0.2/debian/control farpd-0.2/debian/control
--- farpd-0.2/debian/control    2023-08-17 22:18:37.000000000 +0000
+++ farpd-0.2/debian/control    2024-05-29 22:34:32.000000000 +0000
@@ -3,11 +3,11 @@
 Priority: optional
 Maintainer: Javier Fernández-Sanguino Peña <j...@debian.org>
 Build-Depends: debhelper (>> 4.0.0), libdumbnet-dev, libpcap0.8-dev | 
libpcap-dev, libevent-dev, dh-autoreconf
-Standards-Version: 3.6.0.1
+Standards-Version: 3.6.0
 
 Package: farpd
 Architecture: any
-Depends: ${shlibs:Depends} ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Fake ARP user space daemon
  This ARP daemon replies to any ARP request for a set of IP addresses
  with the hardware MAC address of one of the interfaces of the
diff -Nru farpd-0.2/debian/copyright farpd-0.2/debian/copyright
--- farpd-0.2/debian/copyright  2023-08-17 22:18:27.000000000 +0000
+++ farpd-0.2/debian/copyright  2024-05-29 22:34:32.000000000 +0000
@@ -1,21 +1,23 @@
-This package was debianized by Javier Fernandez-Sanguino <j...@computer.org> on
-Thu, 27 Mar 2003 10:25:02 +0100.
-
-It was downloaded from http://www.citi.umich.edu/u/provos/honeyd/
-
-Upstream Authors: Dug Song and Niels Provos
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Comment:
+ This package was debianized by Javier Fernandez-Sanguino <j...@computer.org> 
on
+ Thu, 27 Mar 2003 10:25:02 +0100.
+Source:
+ http://www.citi.umich.edu/u/provos/honeyd/
+Upstream-Contact:
+ Dug Song <dugs...@monkey.org>
+ Niels Provos <pro...@citi.umich.edu>
 
+Files: *
 Copyright:
-
-  
   Copyright (c) 2000, 2001, 2002 Dug Song <dugs...@monkey.org>
   Copyright (c) 2002 Niels Provos <pro...@citi.umich.edu>
   All rights reserved, all wrongs reversed.
-
+License: BSD-3-clause
   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions
   are met:
-
+ .
   1. Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
   2. Redistributions in binary form must reproduce the above copyright
@@ -24,7 +26,7 @@
   3. The names of the authors and copyright holders may not be used to
      endorse or promote products derived from this software without
      specific prior written permission.
-
+ .
   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
   INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
   AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
@@ -36,3 +38,59 @@
   OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+Files: tree.h
+Copyright:
+ Copyright 2002 Niels Provos <pro...@citi.umich.edu>
+ All rights reserved.
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files:
+ daemon.c
+ err.h
+Copyright:
+ Copyright (c) 2000 Dug Song <dugs...@monkey.org>
+ Copyright (c) 1990, 1993
+      The Regents of the University of California.  All rights reserved.
+License: BSD-4-clause-UC
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 4. Neither the name of the University nor the names of its contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
diff -Nru farpd-0.2/debian/patches/debian.patch 
farpd-0.2/debian/patches/debian.patch
--- farpd-0.2/debian/patches/debian.patch       2023-09-05 19:53:01.000000000 
+0000
+++ farpd-0.2/debian/patches/debian.patch       2024-05-29 22:34:32.000000000 
+0000
@@ -25,7 +25,7 @@
  The options are as follows:
  .Bl -tag -width Ds
  .It Fl d
-@@ -52,11 +57,31 @@ Mutiple addresses may be specified.
+@@ -52,11 +57,23 @@ Mutiple addresses may be specified.
  .El
  .Sh FILES
  .Bl -tag -width /var/run/arpd.pid
@@ -47,14 +47,6 @@
 +consequently, IP addresses claimed by 
 +.Nm 
 +will not be discovered.
-+.Pp
-+Additionally, 
-+.Nm
-+sends the ARP replies to the broadcast address of the network and not to the
-+host that send the ARP request. Some systems and applications (notably
-+\fBnmap\fR) will not handled these requests and expect directed ARP replies
-+(i.e. targeted specifically to the host that sent the request and not to the
-+network)
  .Sh AUTHORS
  Dug Song
  .Aq dugs...@monkey.org ,
diff -Nru farpd-0.2/debian/patches/series farpd-0.2/debian/patches/series
--- farpd-0.2/debian/patches/series     2023-08-17 22:18:37.000000000 +0000
+++ farpd-0.2/debian/patches/series     2023-09-05 20:05:19.000000000 +0000
@@ -1 +1,2 @@
 debian.patch
+unicast.patch
diff -Nru farpd-0.2/debian/patches/unicast.patch 
farpd-0.2/debian/patches/unicast.patch
--- farpd-0.2/debian/patches/unicast.patch      1970-01-01 00:00:00.000000000 
+0000
+++ farpd-0.2/debian/patches/unicast.patch      2023-09-05 20:05:19.000000000 
+0000
@@ -0,0 +1,15 @@
+Author: Johannes Krude <johan...@krude.de>
+Date: Thu, 24 Jan 2013 12:25:17 +0100
+Subject: Send response to the unicast instead of broadcast address
+---
+--- farpd-0.2/arpd.c   2013-01-24 11:12:07.000000000 +0000
++++ farpd-0.2/arpd.c   2013-01-24 11:02:13.000000000 +0000
+@@ -360,7 +360,7 @@
+       ethip = (struct arp_ethip *)(arp + 1);
+       
+       addr_pack(&src.arp_ha, ADDR_TYPE_ETH, ETH_ADDR_BITS,
+-          ETH_ADDR_BROADCAST, ETH_ADDR_LEN);
++          ethip->ar_sha, ETH_ADDR_LEN);
+       addr_pack(&src.arp_pa, ADDR_TYPE_IP, IP_ADDR_BITS,
+           ethip->ar_spa, IP_ADDR_LEN);
+           
diff -Nru farpd-0.2/debian/rules farpd-0.2/debian/rules
--- farpd-0.2/debian/rules      2023-08-17 22:18:37.000000000 +0000
+++ farpd-0.2/debian/rules      2024-05-29 22:34:32.000000000 +0000
@@ -26,7 +26,7 @@
        INSTALL_PROGRAM += -s
 endif
 
-config.status: configure
+config.status:
        dh_testdir
        dh_autoreconf
        ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) 
--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
@@ -44,6 +44,7 @@
        dh_testroot
        rm -f build-stamp 
        -$(MAKE) distclean
+       dh_autoreconf_clean
        dh_clean
 
 install: build

Reply via email to