diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Event-RPC | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Event-RPC')
-rw-r--r-- | dev-perl/Event-RPC/Event-RPC-1.50.0.ebuild | 24 | ||||
-rw-r--r-- | dev-perl/Event-RPC/Event-RPC-1.80.0.ebuild | 36 | ||||
-rw-r--r-- | dev-perl/Event-RPC/Manifest | 6 | ||||
-rw-r--r-- | dev-perl/Event-RPC/files/Event-RPC-1.80.0-no-dot-inc.patch | 203 | ||||
-rw-r--r-- | dev-perl/Event-RPC/metadata.xml | 29 |
5 files changed, 298 insertions, 0 deletions
diff --git a/dev-perl/Event-RPC/Event-RPC-1.50.0.ebuild b/dev-perl/Event-RPC/Event-RPC-1.50.0.ebuild new file mode 100644 index 000000000000..656aca207c3a --- /dev/null +++ b/dev-perl/Event-RPC/Event-RPC-1.50.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MODULE_AUTHOR=JRED +MODULE_VERSION=1.05 +inherit perl-module + +DESCRIPTION="Event based transparent Client/Server RPC framework" + +SLOT="0" +KEYWORDS="amd64 ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="|| ( dev-perl/Event dev-perl/glib-perl ) + dev-perl/IO-Socket-SSL + dev-perl/Net-SSLeay + virtual/perl-Storable" +DEPEND="${RDEPEND}" + +SRC_TEST=skip +# tests hang, at least on 5.24... probably trying to do something network-related +# needs more investigation diff --git a/dev-perl/Event-RPC/Event-RPC-1.80.0.ebuild b/dev-perl/Event-RPC/Event-RPC-1.80.0.ebuild new file mode 100644 index 000000000000..828e04bab93c --- /dev/null +++ b/dev-perl/Event-RPC/Event-RPC-1.80.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=JRED +DIST_VERSION=1.08 +DIST_EXAMPLES=("examples/*") +inherit perl-module + +DESCRIPTION="Event based transparent Client/Server RPC framework" + +SLOT="0" +KEYWORDS="amd64 ia64 ppc ppc64 ~sparc x86" +IUSE="test" + +# Note: Storable not listed in final alternation like it is +# upstream as storable alone is inherently insecure, so we force +# availability of at least one secure option +RDEPEND="|| ( dev-perl/Event dev-perl/glib-perl dev-perl/AnyEvent ) + dev-perl/IO-Socket-SSL + dev-perl/Net-SSLeay + || ( >=dev-perl/Sereal-3.0.0 dev-perl/CBOR-XS >=dev-perl/JSON-XS-3.0.0 ) +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + virtual/perl-Test-Simple + virtual/perl-Storable + virtual/perl-IO + ) +" +# Before disabling test here again, please file a bug and help kentnl +# track it down, so we can at least run some tests where its sensible. +#SRC_TEST=skip +PATCHES=("${FILESDIR}/${P}-no-dot-inc.patch") diff --git a/dev-perl/Event-RPC/Manifest b/dev-perl/Event-RPC/Manifest new file mode 100644 index 000000000000..7feaa1dea838 --- /dev/null +++ b/dev-perl/Event-RPC/Manifest @@ -0,0 +1,6 @@ +AUX Event-RPC-1.80.0-no-dot-inc.patch 5825 BLAKE2B 25dfaf6f07e9a185351553198e164f70f537e2bd8f8b358ec74514440038d3813e0998770adb4d17e01668eea98cb6fe62d8a90831df24407e8c3995cac7a5d7 SHA512 a00612db24519cb288f264017ce94d8b725fe0d052af686b8df7719868c27ff5fcff3ecbd7287955d5ef81f6cea3cbe6ed253137f23d85c54682a681cc6cfb00 +DIST Event-RPC-1.05.tar.gz 48716 BLAKE2B 3a062b48c4814e4ead8ba5faa54b016b34149895b06e2cca5bab2dcbe437f9f15c9d4dc793137088f558a52593ca17416625ab0fde8e1090ede285abbe2cd13a SHA512 817f3c6efccc9701d091d4ddb3dc6860efbb276150f1534a40315eb668074a77dac099b0f944a7507cda98aef1a59d4a5c460a9d3cef1bd0ffe40f88d1d5b214 +DIST Event-RPC-1.08.tar.gz 57504 BLAKE2B 2dcd0c1807ec1c7823ea4a27f7acfc010cc83068152ae054d25d3814021e34aa301e9eb7a8c90468ad05f0f43e3e89c229893c51e012126084014e1519a884d7 SHA512 39de9feb1e958c8834e6492cf7d6d237892e8b4ea54e534af6d0a92dddae9126766872e46b9222f00deb24309981a4459b84cb37bc8ea74e7d62e4112b1fe317 +EBUILD Event-RPC-1.50.0.ebuild 566 BLAKE2B 992f755541dfa1395f59f77b9a8dd4b7eba6f0f36c35eb35b5ca973b89ec84189a1b71652c99bde1787dcd0dd889c92a0ce8cbe214ba359c58ea4de627cf338c SHA512 38a2a53ce306ccbe18e23ffe2dadb622f93a5bc859252ab818871c0ae5272eb2593d64a8f107e3870331cbdea31bdb7dd465c9cfc4f1d07a030aa1124bdb2411 +EBUILD Event-RPC-1.80.0.ebuild 1029 BLAKE2B 4c91f2b2f64c998a39c10708055f2e78c8bd9a029049a4010c27f37b98e7bd67c801152a5cf19922110fb839ef22f6d0ff40003e165023caeaa7259db933b9c0 SHA512 7581f6f7703e52419735667c4c981285d59da588d04894cc6d6e88f6e24c60b9d1ce5c2e83353d0802763fc9a2773a14b5e1afd37c8bd8de35e8216c751c3d53 +MISC metadata.xml 1593 BLAKE2B 80cb322531406cd7a1145d69b05378068035b24c2aa69fb993a0e8b0ecf4e1aa7c9d13d72e8e1915b79f64b1162428c6ad76f2ffae322d690e52e3431c8506e0 SHA512 71052db76dec759cf8b1dd38ec61095e32ae15929c60cc7ab46888d22fd2559b6bef08e0f95af29db465a87d9a26688c039084a52f3c7db8867b4798d77fc2cf diff --git a/dev-perl/Event-RPC/files/Event-RPC-1.80.0-no-dot-inc.patch b/dev-perl/Event-RPC/files/Event-RPC-1.80.0-no-dot-inc.patch new file mode 100644 index 000000000000..9db111d68ea3 --- /dev/null +++ b/dev-perl/Event-RPC/files/Event-RPC-1.80.0-no-dot-inc.patch @@ -0,0 +1,203 @@ +From d0ac39cd738065a8f157dade0da743fd2c80960b Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Sat, 21 Oct 2017 10:17:48 +1300 +Subject: Fix test failures without '.' in @INC on Perl 5.26 + +Bug: https://rt.cpan.org/Ticket/Display.html?id=121204 +Bug: https://bugs.gentoo.org/615834 +--- + MANIFEST | 6 +++--- + t/02.cnct.t | 3 ++- + t/03.cnct-auth.t | 3 ++- + t/04.cnct-auth-ssl-verifypeer-noca.t | 3 ++- + t/04.cnct-auth-ssl-verifypeer-wrongca.t | 3 ++- + t/04.cnct-auth-ssl-verifypeer.t | 3 ++- + t/04.cnct-auth-ssl.t | 4 ++-- + t/05.func.t | 3 ++- + t/06.object2.t | 4 ++-- + t/07.maxpacket.t | 4 ++-- + t/08.msg_formats.t | 4 ++-- + t/{ => lib}/Event_RPC_Test.pm | 0 + t/{ => lib}/Event_RPC_Test2.pm | 0 + t/{ => lib}/Event_RPC_Test_Server.pm | 0 + 14 files changed, 23 insertions(+), 17 deletions(-) + rename t/{ => lib}/Event_RPC_Test.pm (100%) + rename t/{ => lib}/Event_RPC_Test2.pm (100%) + rename t/{ => lib}/Event_RPC_Test_Server.pm (100%) + +diff --git a/MANIFEST b/MANIFEST +index fa86a36..4c5f709 100644 +--- a/MANIFEST ++++ b/MANIFEST +@@ -32,9 +32,9 @@ t/05.func.t + t/06.object2.t + t/07.maxpacket.t + t/08.msg_formats.t +-t/Event_RPC_Test.pm +-t/Event_RPC_Test2.pm +-t/Event_RPC_Test_Server.pm ++t/lib/Event_RPC_Test.pm ++t/lib/Event_RPC_Test2.pm ++t/lib/Event_RPC_Test_Server.pm + t/ssl/ca.crt + t/ssl/ca.key + t/ssl/ca-wrong.crt +diff --git a/t/02.cnct.t b/t/02.cnct.t +index 3ed842c..c23aa06 100644 +--- a/t/02.cnct.t ++++ b/t/02.cnct.t +@@ -16,7 +16,8 @@ if ( not $depend_modules ) { + + plan tests => 5; + +-require "t/Event_RPC_Test_Server.pm"; ++use lib 't/lib'; ++require Event_RPC_Test_Server; + my $PORT = Event_RPC_Test_Server->port; + + # load client class +diff --git a/t/03.cnct-auth.t b/t/03.cnct-auth.t +index 6f782f9..06cf939 100644 +--- a/t/03.cnct-auth.t ++++ b/t/03.cnct-auth.t +@@ -15,7 +15,8 @@ if ( not $depend_modules ) { + + plan tests => 6; + +-require "t/Event_RPC_Test_Server.pm"; ++use lib 't/lib'; ++require Event_RPC_Test_Server; + my $PORT = Event_RPC_Test_Server->port; + + my $AUTH_USER = "foo"; +diff --git a/t/04.cnct-auth-ssl-verifypeer-noca.t b/t/04.cnct-auth-ssl-verifypeer-noca.t +index 0a2502e..bafafff 100644 +--- a/t/04.cnct-auth-ssl-verifypeer-noca.t ++++ b/t/04.cnct-auth-ssl-verifypeer-noca.t +@@ -20,7 +20,8 @@ if ( $@ ) { + + plan tests => 4; + +-require "t/Event_RPC_Test_Server.pm"; ++use lib "t/lib"; ++require Event_RPC_Test_Server; + my $PORT = Event_RPC_Test_Server->port; + + my $AUTH_USER = "foo"; +diff --git a/t/04.cnct-auth-ssl-verifypeer-wrongca.t b/t/04.cnct-auth-ssl-verifypeer-wrongca.t +index 48d7bdf..e34265d 100644 +--- a/t/04.cnct-auth-ssl-verifypeer-wrongca.t ++++ b/t/04.cnct-auth-ssl-verifypeer-wrongca.t +@@ -20,7 +20,8 @@ if ( $@ ) { + + plan tests => 5; + +-require "t/Event_RPC_Test_Server.pm"; ++use lib 't/lib'; ++require Event_RPC_Test_Server; + my $PORT = Event_RPC_Test_Server->port; + + my $AUTH_USER = "foo"; +diff --git a/t/04.cnct-auth-ssl-verifypeer.t b/t/04.cnct-auth-ssl-verifypeer.t +index 6dc7816..93bc077 100644 +--- a/t/04.cnct-auth-ssl-verifypeer.t ++++ b/t/04.cnct-auth-ssl-verifypeer.t +@@ -20,7 +20,8 @@ if ( $@ ) { + + plan tests => 6; + +-require "t/Event_RPC_Test_Server.pm"; ++use lib 't/lib'; ++require Event_RPC_Test_Server; + my $PORT = Event_RPC_Test_Server->port; + + my $AUTH_USER = "foo"; +diff --git a/t/04.cnct-auth-ssl.t b/t/04.cnct-auth-ssl.t +index 2b1eda4..0d9528e 100644 +--- a/t/04.cnct-auth-ssl.t ++++ b/t/04.cnct-auth-ssl.t +@@ -19,8 +19,8 @@ if ( $@ ) { + } + + plan tests => 6; +- +-require "t/Event_RPC_Test_Server.pm"; ++use lib 't/lib'; ++require Event_RPC_Test_Server; + my $PORT = Event_RPC_Test_Server->port; + + my $AUTH_USER = "foo"; +diff --git a/t/05.func.t b/t/05.func.t +index 88fbe28..bd095b1 100644 +--- a/t/05.func.t ++++ b/t/05.func.t +@@ -14,7 +14,8 @@ if ( not $depend_modules ) { + + plan tests => 18; + +-require "t/Event_RPC_Test_Server.pm"; ++use lib 't/lib'; ++require Event_RPC_Test_Server; + my $PORT = Event_RPC_Test_Server->port; + + # load client class +diff --git a/t/06.object2.t b/t/06.object2.t +index 62fcaca..7475a9d 100644 +--- a/t/06.object2.t ++++ b/t/06.object2.t +@@ -16,8 +16,8 @@ if ( not $depend_modules ) { + } + + plan tests => 10; +- +-require "t/Event_RPC_Test_Server.pm"; ++use lib 't/lib'; ++require Event_RPC_Test_Server; + my $PORT = Event_RPC_Test_Server->port; + + # load client class +diff --git a/t/07.maxpacket.t b/t/07.maxpacket.t +index 88f8893..4b4e5e4 100644 +--- a/t/07.maxpacket.t ++++ b/t/07.maxpacket.t +@@ -14,8 +14,8 @@ if ( not $depend_modules ) { + } + + plan tests => 9; +- +-require "t/Event_RPC_Test_Server.pm"; ++use lib 't/lib'; ++require Event_RPC_Test_Server; + my $PORT = Event_RPC_Test_Server->port; + + # load client class +diff --git a/t/08.msg_formats.t b/t/08.msg_formats.t +index f4a93c9..a875d8e 100644 +--- a/t/08.msg_formats.t ++++ b/t/08.msg_formats.t +@@ -15,8 +15,8 @@ eval { require Glib } && ++$depend_modules; + if ( not $depend_modules ) { + plan skip_all => "Neither AnyEvent, Event nor Glib installed"; + } +- +-require "t/Event_RPC_Test_Server.pm"; ++use lib 't/lib'; ++require Event_RPC_Test_Server; + my $PORT = Event_RPC_Test_Server->port; + + # determine available message formats (including the insecure) +diff --git a/t/Event_RPC_Test.pm b/t/lib/Event_RPC_Test.pm +similarity index 100% +rename from t/Event_RPC_Test.pm +rename to t/lib/Event_RPC_Test.pm +diff --git a/t/Event_RPC_Test2.pm b/t/lib/Event_RPC_Test2.pm +similarity index 100% +rename from t/Event_RPC_Test2.pm +rename to t/lib/Event_RPC_Test2.pm +diff --git a/t/Event_RPC_Test_Server.pm b/t/lib/Event_RPC_Test_Server.pm +similarity index 100% +rename from t/Event_RPC_Test_Server.pm +rename to t/lib/Event_RPC_Test_Server.pm +-- +2.14.2 + diff --git a/dev-perl/Event-RPC/metadata.xml b/dev-perl/Event-RPC/metadata.xml new file mode 100644 index 000000000000..c92b9f489e60 --- /dev/null +++ b/dev-perl/Event-RPC/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Event-RPC</remote-id> + <remote-id type="cpan-module">Event::RPC</remote-id> + <remote-id type="cpan-module">Event::RPC::AuthPasswdHash</remote-id> + <remote-id type="cpan-module">Event::RPC::Client</remote-id> + <remote-id type="cpan-module">Event::RPC::Connection</remote-id> + <remote-id type="cpan-module">Event::RPC::LogConnection</remote-id> + <remote-id type="cpan-module">Event::RPC::Logger</remote-id> + <remote-id type="cpan-module">Event::RPC::Loop</remote-id> + <remote-id type="cpan-module">Event::RPC::Loop::AnyEvent</remote-id> + <remote-id type="cpan-module">Event::RPC::Loop::Event</remote-id> + <remote-id type="cpan-module">Event::RPC::Loop::Glib</remote-id> + <remote-id type="cpan-module">Event::RPC::Message</remote-id> + <remote-id type="cpan-module">Event::RPC::Message::CBOR</remote-id> + <remote-id type="cpan-module">Event::RPC::Message::JSON</remote-id> + <remote-id type="cpan-module">Event::RPC::Message::Negotiate</remote-id> + <remote-id type="cpan-module">Event::RPC::Message::Sereal</remote-id> + <remote-id type="cpan-module">Event::RPC::Message::SerialiserBase</remote-id> + <remote-id type="cpan-module">Event::RPC::Message::Storable</remote-id> + <remote-id type="cpan-module">Event::RPC::Server</remote-id> + </upstream> +</pkgmetadata> |