[libnet-upnp-perl] 06/13: add two patches fixing spelling mistakes in POD and method name

Damyan Ivanov dmn at moszumanska.debian.org
Sat Nov 4 08:50:41 UTC 2017


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

dmn pushed a commit to branch master
in repository libnet-upnp-perl.

commit c8edfbd6712d286c4777212ae8b8150deb999339
Author: Damyan Ivanov <dmn at debian.org>
Date:   Sat Nov 4 08:17:14 2017 +0000

    add two patches fixing spelling mistakes in POD and method name
---
 debian/patches/method-name-spelling.patch | 29 +++++++++++
 debian/patches/series                     |  2 +
 debian/patches/spelling.patch             | 80 +++++++++++++++++++++++++++++++
 3 files changed, 111 insertions(+)

diff --git a/debian/patches/method-name-spelling.patch b/debian/patches/method-name-spelling.patch
new file mode 100644
index 0000000..26bb62b
--- /dev/null
+++ b/debian/patches/method-name-spelling.patch
@@ -0,0 +1,29 @@
+--- a/lib/Net/UPnP/GW/Gateway.pm
++++ b/lib/Net/UPnP/GW/Gateway.pm
+@@ -252,10 +252,12 @@ sub deleteportmapping {
+ }
+ 
+ #------------------------------
+-# gettotalbytesrecieved
++# gettotalbytesreceived
+ #------------------------------
++# back-compatibility
++{ no refs; *gettotalbytesrecieved = \&gettotalbytesreceived; }
+ 
+-sub gettotalbytesrecieved {
++sub gettotalbytesreceived {
+ 	my($this) = shift;
+ 	
+ 	my (
+@@ -430,9 +432,9 @@ Add a new specified port mapping.
+ 
+ Delete the specified port mapping.
+ 
+-=item B<gettotalbytesrecieved> - Total received bytes.
++=item B<gettotalbytesreceived> - Total received bytes.
+ 
+-    $gw->gettotalbytesrecieved();
++    $gw->gettotalbytesreceived();
+ 
+ Get the total received bytes.
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a195ecf
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+spelling.patch
+method-name-spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..f24543a
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,80 @@
+--- a/lib/Net/UPnP/AV/Container.pm
++++ b/lib/Net/UPnP/AV/Container.pm
+@@ -96,7 +96,7 @@ Net::UPnP::AV::Container - Perl extensio
+ 
+ =head1 DESCRIPTION
+ 
+-The package is a extention UPnP/AV media server, and a sub class of L<Net::UPnP::AV::Content>.
++The package is a extension UPnP/AV media server, and a sub class of L<Net::UPnP::AV::Content>.
+ 
+ =head1 METHODS
+ 
+--- a/lib/Net/UPnP/AV/Content.pm
++++ b/lib/Net/UPnP/AV/Content.pm
+@@ -154,7 +154,7 @@ Net::UPnP::AV::Content - Perl extension
+ 
+ =head1 DESCRIPTION
+ 
+-The package is a extention UPnP/AV media server, and a super class of L<Net::UPnP::AV::Container> and L<Net::UPnP::AV::Item>.
++The package is a extension UPnP/AV media server, and a super class of L<Net::UPnP::AV::Container> and L<Net::UPnP::AV::Item>.
+ 
+ =head1 METHODS
+ 
+--- a/lib/Net/UPnP/AV/Item.pm
++++ b/lib/Net/UPnP/AV/Item.pm
+@@ -135,7 +135,7 @@ Net::UPnP::AV::Item - Perl extension for
+ 
+ =head1 DESCRIPTION
+ 
+-The package is a extention UPnP/AV media server, and a sub class of L<Net::UPnP::AV::Content>.
++The package is a extension UPnP/AV media server, and a sub class of L<Net::UPnP::AV::Content>.
+ 
+ =head1 METHODS
+ 
+--- a/lib/Net/UPnP/AV/MediaRenderer.pm
++++ b/lib/Net/UPnP/AV/MediaRenderer.pm
+@@ -205,7 +205,7 @@ Net::UPnP::AV::MediaRenderer - Perl exte
+  
+ =head1 DESCRIPTION
+ 
+-The package is a extention UPnP/AV media server.
++The package is a extension UPnP/AV media server.
+ 
+ =head1 METHODS
+ 
+--- a/lib/Net/UPnP/AV/MediaServer.pm
++++ b/lib/Net/UPnP/AV/MediaServer.pm
+@@ -304,7 +304,7 @@ Net::UPnP::AV::MediaServer - Perl extens
+ 
+ =head1 DESCRIPTION
+ 
+-The package is a extention UPnP/AV media server.
++The package is a extension UPnP/AV media server.
+ 
+ =head1 METHODS
+ 
+--- a/lib/Net/UPnP/GW/Gateway.pm
++++ b/lib/Net/UPnP/GW/Gateway.pm
+@@ -369,7 +369,7 @@ Net::UPnP::GW::Gateway - Perl extension
+ 
+ =head1 DESCRIPTION
+ 
+-The package is a extention UPnP/GW.
++The package is a extension UPnP/GW.
+ 
+ =head1 METHODS
+ 
+@@ -430,11 +430,11 @@ Add a new specified port mapping.
+ 
+ Delete the specified port mapping.
+ 
+-=item B<gettotalbytesrecieved> - Total recieved bytes.
++=item B<gettotalbytesrecieved> - Total received bytes.
+ 
+     $gw->gettotalbytesrecieved();
+ 
+-Get the total recieved bytes.
++Get the total received bytes.
+ 
+ =back
+ 

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



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