r15074 - in /trunk/libnet-arp-perl: ARP.pm debian/changelog debian/patches/00list debian/patches/30doc_note.dpatch

ntyni at users.alioth.debian.org ntyni at users.alioth.debian.org
Sun Feb 17 17:31:47 UTC 2008


Author: ntyni
Date: Sun Feb 17 17:31:46 2008
New Revision: 15074

URL: http://svn.debian.org/wsvn/?sc=1&rev=15074
Log:
* 30doc_note.dpatch: documentation addition converted to dpatch format.

Added:
    trunk/libnet-arp-perl/debian/patches/30doc_note.dpatch   (with props)
Modified:
    trunk/libnet-arp-perl/ARP.pm
    trunk/libnet-arp-perl/debian/changelog
    trunk/libnet-arp-perl/debian/patches/00list

Modified: trunk/libnet-arp-perl/ARP.pm
URL: http://svn.debian.org/wsvn/trunk/libnet-arp-perl/ARP.pm?rev=15074&op=diff
==============================================================================
--- trunk/libnet-arp-perl/ARP.pm (original)
+++ trunk/libnet-arp-perl/ARP.pm Sun Feb 17 17:31:46 2008
@@ -87,8 +87,6 @@
 This module can be used to create and send ARP packets and to
 get the mac address of an ethernet interface or ip address.
 
-=over 4
-
 =item B<send_packet()>
 
   Net::ARP::send_packet('lo',                 # Device
@@ -119,14 +117,6 @@
   and stores it in the variable $mac. The return value is 
   "unknown" if the mac cannot be looked up.
 
-=back
-
-Please note that this module uses a C idiom that is not common in Perl:
-It expects the return value to be passed as one of the arguments. This
-means that both of the lookup functions (C<get_mac()> and C<arp_lookup>)
-should get a scalar variable as their last argument (C<$mac>). The
-scalar's value will be modified with the function's result.
-
 =head1 SEE ALSO
 
  man -a arp

Modified: trunk/libnet-arp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-arp-perl/debian/changelog?rev=15074&op=diff
==============================================================================
--- trunk/libnet-arp-perl/debian/changelog (original)
+++ trunk/libnet-arp-perl/debian/changelog Sun Feb 17 17:31:46 2008
@@ -23,6 +23,7 @@
   [ Niko Tyni ]
   * Fix remains of merging errors from integrating the new upstream release.
   * Update 10alignment-and-headers.dpatch for the new release.
+  * 30doc_note.dpatch: documentation addition converted to dpatch format.
 
  -- Roberto C. Sanchez <roberto at connexer.com>  Wed, 09 Jan 2008 23:48:47 -0500
 

Modified: trunk/libnet-arp-perl/debian/patches/00list
URL: http://svn.debian.org/wsvn/trunk/libnet-arp-perl/debian/patches/00list?rev=15074&op=diff
==============================================================================
--- trunk/libnet-arp-perl/debian/patches/00list (original)
+++ trunk/libnet-arp-perl/debian/patches/00list Sun Feb 17 17:31:46 2008
@@ -1,2 +1,3 @@
 10alignment-and-headers.dpatch
 20skip_send_packet_test
+30doc_note

Added: trunk/libnet-arp-perl/debian/patches/30doc_note.dpatch
URL: http://svn.debian.org/wsvn/trunk/libnet-arp-perl/debian/patches/30doc_note.dpatch?rev=15074&op=file
==============================================================================
--- trunk/libnet-arp-perl/debian/patches/30doc_note.dpatch (added)
+++ trunk/libnet-arp-perl/debian/patches/30doc_note.dpatch Sun Feb 17 17:31:46 2008
@@ -1,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30doc_note.dpatch by Gunnar Wolf <gwolf at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Documentation addition
+
+ at DPATCH@
+diff -urNad libnet-arp-perl~/ARP.pm libnet-arp-perl/ARP.pm
+--- libnet-arp-perl~/ARP.pm	2008-02-17 19:27:47.000000000 +0200
++++ libnet-arp-perl/ARP.pm	2008-02-17 19:28:43.000000000 +0200
+@@ -87,6 +87,8 @@
+ This module can be used to create and send ARP packets and to
+ get the mac address of an ethernet interface or ip address.
+ 
++=over 4
++
+ =item B<send_packet()>
+ 
+   Net::ARP::send_packet('lo',                 # Device
+@@ -117,6 +119,14 @@
+   and stores it in the variable $mac. The return value is 
+   "unknown" if the mac cannot be looked up.
+ 
++=back
++
++Please note that this module uses a C idiom that is not common in Perl:
++It expects the return value to be passed as one of the arguments. This
++means that both of the lookup functions (C<get_mac()> and C<arp_lookup>)
++should get a scalar variable as their last argument (C<$mac>). The
++scalar's value will be modified with the function's result.
++
+ =head1 SEE ALSO
+ 
+  man -a arp

Propchange: trunk/libnet-arp-perl/debian/patches/30doc_note.dpatch
------------------------------------------------------------------------------
    svn:executable = *




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