[libnet-arp-perl] 06/09: refresh 20skip_send_packet_test.patch (fuzz), drop t_upstream_missing_headers.diff (applied upstream)

Florian Schlichting fsfs at alioth.debian.org
Fri Aug 16 16:05:31 UTC 2013


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to branch master
in repository libnet-arp-perl.

commit 18e9a8d286ef12114b250faf2d5dc8550db119c1
Author: Florian Schlichting <fsfs at debian.org>
Date:   Fri Aug 16 17:50:40 2013 +0200

    refresh 20skip_send_packet_test.patch (fuzz), drop t_upstream_missing_headers.diff (applied upstream)
---
 debian/patches/20skip_send_packet_test.patch   |   14 +++++++-------
 debian/patches/series                          |    1 -
 debian/patches/t_upstream_missing_headers.diff |   22 ----------------------
 3 files changed, 7 insertions(+), 30 deletions(-)

diff --git a/debian/patches/20skip_send_packet_test.patch b/debian/patches/20skip_send_packet_test.patch
index 8ed975f..eb08cf1 100644
--- a/debian/patches/20skip_send_packet_test.patch
+++ b/debian/patches/20skip_send_packet_test.patch
@@ -8,19 +8,19 @@ Description: update tests for Debian
  Sending ARP packets through the Net::ARP::send_packet function requires real
  root privileges. Thus, we skip the send_packet test.
 
---- libnet-arp-perl.orig/t/send_packet.t
-+++ libnet-arp-perl/t/send_packet.t
+--- a/t/send_packet.t
++++ b/t/send_packet.t
 @@ -5,7 +5,7 @@
- # Last update: 31.01.2007
+ # Last update: 22.06.2013
  
  use Net::ARP;
 -use Test::More qw( no_plan );
 +use Test::More skip_all => 'Requires real root privileges to build';
  
- BEGIN
- {
---- libnet-arp-perl.orig/test.pl
-+++ libnet-arp-perl/test.pl
+ $dev="lo";
+ print "Using device $dev to test send_packet()\n";
+--- a/test.pl
++++ b/test.pl
 @@ -21,6 +21,31 @@
  
  BEGIN
diff --git a/debian/patches/series b/debian/patches/series
index fedd484..7ba7a93 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 20skip_send_packet_test.patch
-t_upstream_missing_headers.diff
diff --git a/debian/patches/t_upstream_missing_headers.diff b/debian/patches/t_upstream_missing_headers.diff
deleted file mode 100644
index 2defc2a..0000000
--- a/debian/patches/t_upstream_missing_headers.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-Author: Franck Joncourt <franck.mail at dthconnex.com>
-Description: add missing header 
- Add missing header to arp_lookup_linux.c due to the following warning
- during build:
-
- arp_lookup_linux.c: In function ‘arp_lookup_linux’:
- arp_lookup_linux.c:101: warning: implicit declaration of function ‘close
-
-diff --git a/arp_lookup_linux.c b/arp_lookup_linux.c
-index 797872a..baa0ab9 100644
---- a/arp_lookup_linux.c
-+++ b/arp_lookup_linux.c
-@@ -22,6 +22,7 @@ See the GNU General Public License for more details.
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <unistd.h>
- #include <sys/socket.h>
- #include <sys/ioctl.h>
- #include <netinet/in.h>
--- 
-tg: (0ee363e..) t/upstream/missing_headers (depends on: upstream)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-arp-perl.git



More information about the Pkg-perl-cvs-commits mailing list