Compare commits
10 Commits
1194d59565
...
77b340a5c5
Author | SHA256 | Date | |
---|---|---|---|
77b340a5c5 | |||
a121358ffc | |||
|
3d87ccec9d | ||
|
e8015969a6 | ||
|
bae8e81fff | ||
ed07e637a7 | |||
|
e691995644 | ||
|
ecc80c58c5 | ||
|
97bd0a4f0c | ||
|
3b414cf758 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4a4d086630fc8af6fd84cc8053ab0483fa3712a42d320e75e51027319ca46ce4
|
||||
size 35011
|
3
Event-RPC-1.11.tar.gz
Normal file
3
Event-RPC-1.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:14997334b994576c859452d72aadc3b9344c007820d3117193908d4540c6db5b
|
||||
size 54902
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,124 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 9 05:38:42 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 1.110.0 (1.11)
|
||||
see /usr/share/doc/packages/perl-Event-RPC/Changes
|
||||
|
||||
1.11 Wed Jun 25, 2025, joern
|
||||
Features:
|
||||
- Add support for listening and connecting through
|
||||
a Unix Domain socket by specifying "unix/" as
|
||||
'host' and the socket filename as 'port'.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 29 05:21:20 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 1.10
|
||||
see /usr/share/doc/packages/perl-Event-RPC/Changes
|
||||
|
||||
1.10 Wed Jun 27, 2018, joern
|
||||
Bugfixes:
|
||||
- Test suite failed on newer Perl versions which
|
||||
do not have . in @INC anymore.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 26 05:22:38 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 1.09
|
||||
see /usr/share/doc/packages/perl-Event-RPC/Changes
|
||||
|
||||
1.09 Mon Jun 25, 2018, joern
|
||||
Features:
|
||||
- Event::RPC::Server->prepare() to support having
|
||||
control over the Event loop yourself.
|
||||
|
||||
Bugfixes:
|
||||
- SSL tests failed due to expired CA certificate.
|
||||
Just created new certificates with 30 year
|
||||
expiration and put a gen.sh script inside to
|
||||
easily generate new certificates after that
|
||||
period ;)
|
||||
- Removed unused code. Thanks for the hint to
|
||||
ppisar AT redhat.com.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 24 05:46:29 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 1.08
|
||||
see /usr/share/doc/packages/perl-Event-RPC/Changes
|
||||
|
||||
1.08 Sun Sep 26, 2015, joern
|
||||
Notes:
|
||||
- Just a stable release without changes. I thought
|
||||
CPAN testers would pick up developer releases
|
||||
too, but was wrong ;)
|
||||
|
||||
1.08_01 Sat Sep 26, 2015, joern
|
||||
Features:
|
||||
- Support for multiple serialisers: Sereal, CBOR::XS,
|
||||
JSON::XS and Storable. That's because Storable is
|
||||
known to be insecure, so this module should not
|
||||
rely on it.
|
||||
|
||||
Great care has been taken to make these changes
|
||||
up- and downwards compatible, so old clients still
|
||||
can connect to new servers and vice versa.
|
||||
|
||||
Check documentation chapters MESSAGE FORMAT OPTIONS
|
||||
in Event::RPC, Event::RPC::Server and Event::RPC::Client
|
||||
manpages for details.
|
||||
|
||||
Thanks to mala <mala AT ma.la> for his hint about the
|
||||
security issues of Storable. You find more details in
|
||||
this article:
|
||||
|
||||
http://www.masteringperl.org/2012/12/the-storable-security-problem/
|
||||
|
||||
Bugfixes:
|
||||
- Proper handling of exceptions which occur at the
|
||||
server before a remote method is really executed,
|
||||
e.g. when lookup of the class failed due to
|
||||
incorrect @INC path.
|
||||
- Fixed encoding of source files and corrected
|
||||
the year of all Copyright notices.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 22 09:01:40 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.07
|
||||
see /usr/share/doc/packages/perl-Event-RPC/Changes
|
||||
|
||||
1.07 Mon Sep 21, 2015, joern
|
||||
Features:
|
||||
- New method return type '_singleton'. Objects
|
||||
created this way are never destroyed on the
|
||||
server.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 20 15:52:32 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.06
|
||||
see /usr/share/doc/packages/perl-Event-RPC/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 19:44:54 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.05
|
||||
see /usr/share/doc/packages/perl-Event-RPC/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 27 09:13:14 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 1.03
|
||||
Features:
|
||||
- Added options 'ssl_ca_file and 'ssl_ca_path' options
|
||||
to Event::RPC::Client, which enable SSL peer verifcation
|
||||
on the client. Thanks for the report about a security
|
||||
warning of IO::Socket::SSL to Moritz Bunkus.
|
||||
|
||||
Features:
|
||||
- Added AnyEvent mainloop implementation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:32:15 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,65 +1,109 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
# norootforbuild
|
||||
#
|
||||
# spec file for package perl-Event-RPC
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Event-RPC
|
||||
Name: perl-Event-RPC
|
||||
Version: 1.01
|
||||
Version: 1.110.0
|
||||
Release: 0
|
||||
# 1.11 -> normalize -> 1.110.0
|
||||
%define cpan_version 1.11
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Event based transparent Client/Server RPC framework
|
||||
Source: http://search.cpan.org/CPAN/authors/id/J/JR/JRED/Event-RPC-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/Event-RPC/
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
BuildRequires: make perl
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/J/JR/JRED/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(AnyEvent)
|
||||
BuildRequires: perl(CBOR::XS)
|
||||
BuildRequires: perl(Event)
|
||||
BuildRequires: perl(Glib)
|
||||
BuildRequires: perl(IO::Socket::INET)
|
||||
BuildRequires: perl(IO::Socket::SSL)
|
||||
BuildRequires: perl(JSON::XS) >= 3
|
||||
BuildRequires: perl(Net::SSLeay)
|
||||
BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(AnyEvent)
|
||||
Requires: perl(CBOR::XS)
|
||||
Requires: perl(Event)
|
||||
#Recommends: perl(Glib)
|
||||
Requires: perl(IO::Socket::INET)
|
||||
Requires: perl(Glib)
|
||||
Requires: perl(IO::Socket::SSL)
|
||||
Requires: perl(JSON::XS) >= 3
|
||||
Requires: perl(Net::SSLeay)
|
||||
Requires: perl(Storable)
|
||||
Requires: perl(Test::More)
|
||||
Provides: perl(Event::RPC) = %{version}
|
||||
Provides: perl(Event::RPC::AuthPasswdHash)
|
||||
Provides: perl(Event::RPC::Client)
|
||||
Provides: perl(Event::RPC::Connection)
|
||||
Provides: perl(Event::RPC::LogConnection)
|
||||
Provides: perl(Event::RPC::Logger)
|
||||
Provides: perl(Event::RPC::Loop)
|
||||
Provides: perl(Event::RPC::Loop::AnyEvent)
|
||||
Provides: perl(Event::RPC::Loop::Event)
|
||||
Provides: perl(Event::RPC::Loop::Glib)
|
||||
Provides: perl(Event::RPC::Message)
|
||||
Provides: perl(Event::RPC::Message::CBOR)
|
||||
Provides: perl(Event::RPC::Message::JSON)
|
||||
Provides: perl(Event::RPC::Message::Negotiate)
|
||||
Provides: perl(Event::RPC::Message::Sereal)
|
||||
Provides: perl(Event::RPC::Message::SerialiserBase)
|
||||
Provides: perl(Event::RPC::Message::Storable)
|
||||
Provides: perl(Event::RPC::Server)
|
||||
Provides: perl(Test_class)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Event::RPC supports you in developing Event based networking client/server
|
||||
applications with transparent object/method access from the client to the
|
||||
server. Network communication is optionally encrypted using IO::Socket::SSL.
|
||||
Several event loop managers are supported due to an extensible API. Currently
|
||||
Event and Glib are implemented.
|
||||
Event::RPC consists of a server and a client library. The server exports a
|
||||
list of classes and methods, which are allowed to be called over the
|
||||
network. More specific it acts as a proxy for objects created on the server
|
||||
side (on demand of the connected clients) which handles client side methods
|
||||
calls with transport of method arguments and return values.
|
||||
|
||||
The object proxy handles refcounting and destruction of objects created by
|
||||
clients properly. Objects as method parameters and return values are
|
||||
handled as well (although with some limitations, see below).
|
||||
|
||||
For the client the whole thing is totally transparent - once connected to
|
||||
the server it doesn't know whether it calls methods on local or remote
|
||||
objects.
|
||||
|
||||
Also the methods on the server newer know whether they are called locally
|
||||
or from a connected client. Your application logic is not affected by
|
||||
Event::RPC at all, at least if it has a rudimentary clean OO design.
|
||||
|
||||
For details on implementing servers and clients please refer to the man
|
||||
pages of Event::RPC::Server and Event::RPC::Client.
|
||||
|
||||
%prep
|
||||
%setup -q -n "Event-RPC-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%check
|
||||
%__make test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README
|
||||
%dir %{perl_vendorlib}/Event
|
||||
%{perl_vendorlib}/Event/RPC.pm
|
||||
%{perl_vendorlib}/Event/RPC
|
||||
%dir %{perl_vendorarch}/auto/Event
|
||||
%{perl_vendorarch}/auto/Event/RPC
|
||||
%doc %{perl_man3dir}/Event::RPC.%{perl_man3ext}%{ext_man}
|
||||
%doc %{perl_man3dir}/Event::RPC::*.%{perl_man3ext}%{ext_man}
|
||||
%files -f %{name}.files
|
||||
%doc Changes examples README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user