summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentfredric@gmail.com>2016-03-06 20:35:45 +1300
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-03-09 21:48:19 +0100
commit911c6fe2eec080ff3664dba4b85cfb483b8a96d2 (patch)
tree08ad05dd5a145bfe19d46ab5975133e48a48676e /dev-perl/Net-XMPP/files
parentdev-perl/LWP-Online: Added to tree at version 1.80.0-r2 (diff)
downloadgentoo-911c6fe2eec080ff3664dba4b85cfb483b8a96d2.tar.gz
gentoo-911c6fe2eec080ff3664dba4b85cfb483b8a96d2.tar.bz2
gentoo-911c6fe2eec080ff3664dba4b85cfb483b8a96d2.zip
dev-perl/Net-XMPP: Bump to version 1.50.0
- EAPI6 - Fix wrong LICENSE - Drop ~keywords except ~amd64 and ~x86 due to new dep LWP-Online - Add USE="examples" option - Network tests patched/excluded better. Upstream: - Some Memory leaks fixed - Google Talk connection crash fixed. - Support for virtual domains - SSL Verification fixes - Better null/undef ssl param handling Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-perl/Net-XMPP/files')
-rw-r--r--dev-perl/Net-XMPP/files/1.05-no-network-tests.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-perl/Net-XMPP/files/1.05-no-network-tests.patch b/dev-perl/Net-XMPP/files/1.05-no-network-tests.patch
new file mode 100644
index 000000000000..921121805def
--- /dev/null
+++ b/dev-perl/Net-XMPP/files/1.05-no-network-tests.patch
@@ -0,0 +1,28 @@
+diff -Naur Net-XMPP-1.05/t/gtalk.t Net-XMPP-1.05b/t/gtalk.t
+--- Net-XMPP-1.05/t/gtalk.t 2014-12-22 21:28:51.000000000 +0000
++++ Net-XMPP-1.05b/t/gtalk.t 2016-03-06 07:14:13.313580716 +0000
+@@ -2,7 +2,12 @@
+ use warnings;
+
+ use Test::More;
+-
++# https://github.com/dap/Net-XMPP/issues/11
++BEGIN {
++ if ($ENV{NO_NETWORK_TESTING}) {
++ Test::More->import(skip_all => "NO_NETWORK_TESTS set");
++ }
++}
+ ######################## XML::Stream mocking starts
+ #{
+ # package XML::Stream;
+diff -Naur Net-XMPP-1.05/t/lib/Net/XMPP/Test/Utils.pm Net-XMPP-1.05b/t/lib/Net/XMPP/Test/Utils.pm
+--- Net-XMPP-1.05/t/lib/Net/XMPP/Test/Utils.pm 2014-12-22 21:28:51.000000000 +0000
++++ Net-XMPP-1.05b/t/lib/Net/XMPP/Test/Utils.pm 2016-03-06 06:59:57.227261659 +0000
+@@ -23,6 +23,7 @@
+ }
+
+ sub conn_is_available {
++ return if $ENV{NO_NETWORK_TESTING};
+ return online();
+ }
+