[SCM] libmessage-passing-perl Debian packaging branch, master, updated. debian/0.111-3-14-g44f6e88

Tomas Doran bobtfish at bobtfish.net
Mon May 6 11:57:51 UTC 2013


The following commit has been merged in the master branch:
commit 269f985722a3462cca15f3b19bcccde65f0988d9
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Thu Sep 27 10:03:04 2012 +0100

    Changelog

diff --git a/Changes b/Changes
index f00bb91..80aaf57 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,8 @@
+  - Change Input::FileTail to use Sys::Hostname::Long
+
+  - Fix bug causing crash with no helpful error message if PID file
+    location is not writeable.
+
 0.106
   - Remove debug warning accidentally left in the UDP input.
 
diff --git a/Makefile.PL b/Makefile.PL
index b4204ae..e12d57a 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -26,7 +26,7 @@ requires 'String::RewritePrefix';
 requires 'JSON' => '2.0';
 requires 'Try::Tiny';
 requires 'Task::Weaken';
-requires 'Sys::Hostname';
+requires 'Sys::Hostname::Long';
 requires 'DateTime';
 
 install_script 'script/message-pass';
diff --git a/lib/Message/Passing/Filter/ToLogstash.pm b/lib/Message/Passing/Filter/ToLogstash.pm
index 0a0c3d3..2eaa8dc 100644
--- a/lib/Message/Passing/Filter/ToLogstash.pm
+++ b/lib/Message/Passing/Filter/ToLogstash.pm
@@ -3,10 +3,10 @@ use Moo;
 use MooX::Types::MooseLike::Base qw/ ArrayRef /;
 use List::MoreUtils qw/ uniq /;
 use DateTime;
-use Sys::Hostname ();
+use Sys::Hostname::Long;
 use namespace::clean -except => 'meta';
 
-use constant HOSTNAME => Sys::Hostname::hostname();
+use constant HOSTNAME => hostname_long();
 
 with 'Message::Passing::Role::Filter';
 
diff --git a/lib/Message/Passing/Input/FileTail.pm b/lib/Message/Passing/Input/FileTail.pm
index 6baedb1..623613f 100644
--- a/lib/Message/Passing/Input/FileTail.pm
+++ b/lib/Message/Passing/Input/FileTail.pm
@@ -4,10 +4,10 @@ use MooX::Types::MooseLike::Base qw/ Str Int /;
 use AnyEvent;
 use Scalar::Util qw/ weaken /;
 use POSIX ":sys_wait_h";
-use Sys::Hostname ();
+use Sys::Hostname::Long;
 use namespace::clean -except => 'meta';
 
-use constant HOSTNAME => Sys::Hostname::hostname();
+use constant HOSTNAME => hostname_long();
 
 with 'Message::Passing::Role::Input';
 

-- 
libmessage-passing-perl Debian packaging



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