[rex] 02/04: d/patches: add patch fixing a few syntax errors d/patches: add patch fixing manpage-has-bad-whatis-entry

Alex Mestiashvili malex-guest at moszumanska.debian.org
Fri Mar 20 15:09:05 UTC 2015


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

malex-guest pushed a commit to branch master
in repository rex.

commit 395a9cd62dbe26e293326eed5984f28a8bd3cf1f
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Fri Mar 20 14:48:51 2015 +0100

    d/patches: add patch fixing a few syntax errors
    d/patches: add patch fixing manpage-has-bad-whatis-entry
---
 debian/patches/adjust-pod-syntax.patch | 17 +++++++++++
 debian/patches/fix_syntax.patch        | 55 ++++++++++++++++++++++++++++++++++
 debian/patches/series                  |  2 ++
 3 files changed, 74 insertions(+)

diff --git a/debian/patches/adjust-pod-syntax.patch b/debian/patches/adjust-pod-syntax.patch
new file mode 100644
index 0000000..7d8acd6
--- /dev/null
+++ b/debian/patches/adjust-pod-syntax.patch
@@ -0,0 +1,17 @@
+Author: Alex Mestiashvili <alex at biotec.tu-dresden.de>
+Description: add a NAME section to POD
+--- rex.orig/bin/rex
++++ rex/bin/rex
+@@ -20,7 +20,11 @@
+ 
+ =pod
+ 
+-=head1 (R)?ex - (Remote)? Execution
++=head1 NAME
++
++(R)?ex - (Remote)? Execution
++
++=head1 DESCRIPTION
+ 
+ Rex is a tool to ease the execution of commands on multiple remote servers. You can define small tasks, chain tasks to batches, link them with servers or server groups, and execute them easily in your terminal.
+ 
diff --git a/debian/patches/fix_syntax.patch b/debian/patches/fix_syntax.patch
new file mode 100644
index 0000000..d347e77
--- /dev/null
+++ b/debian/patches/fix_syntax.patch
@@ -0,0 +1,55 @@
+Description: fix syntax error
+Author: Alex Mestiashvili <alex at biotec.tu-dresden.de>
+--- rex.orig/lib/Rex/Commands.pm
++++ rex/lib/Rex/Commands.pm
+@@ -732,7 +732,7 @@
+ 
+ =item do_task($task)
+ 
+-Call $task from an other task. It will establish a new connection to the server defined in $task and then execute $task there.
++Call $task from another task. It will establish a new connection to the server defined in $task and then execute $task there.
+ 
+  task "task1", "server1", sub {
+    say "Running on server1";
+@@ -1859,7 +1859,7 @@
+ 
+ default - the default behaviour.
+ 
+-asis - will print every single parameter in its own line. This is usefull if you want to print the output of a command.
++asis - will print every single parameter in its own line. This is useful if you want to print the output of a command.
+ 
+ =cut
+ 
+--- rex.orig/lib/Rex/Commands/Iptables.pm
++++ rex/lib/Rex/Commands/Iptables.pm
+@@ -164,7 +164,7 @@
+ 
+ =item redirect_port($in_port, $option)
+ 
+-Redirect $in_port to an other local port.
++Redirect $in_port to another local port.
+ 
+  task "redirects", sub {
+    redirect_port 80 => 10080;
+--- rex.orig/lib/Rex/Commands/Pkg.pm
++++ rex/lib/Rex/Commands/Pkg.pm
+@@ -744,7 +744,7 @@
+ 
+ =item package_provider_for $os => $type;
+ 
+-To set an other package provider as the default, use this function.
++To set another package provider as the default, use this function.
+ 
+  user "root";
+ 
+--- rex.orig/lib/Rex/Commands/Service.pm
++++ rex/lib/Rex/Commands/Service.pm
+@@ -392,7 +392,7 @@
+ 
+ =item service_provider_for $os => $type;
+ 
+-To set an other service provider as the default, use this function.
++To set another service provider as the default, use this function.
+ 
+  user "root";
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c6eb42d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+adjust-pod-syntax.patch
+fix_syntax.patch

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



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