Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-D
perl-DJabberd
perl-DJabberd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-DJabberd.spec of Package perl-DJabberd
# # spec file for package perl-DJabberd # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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/ # Name: perl-DJabberd Version: 0.85 Release: 0 %define cpan_name DJabberd Summary: Scalable, extensible Jabber/XMPP server License: You may distribute under the terms of either the GNU General Public License OR the Artistic License, as specified in the Perl README file. Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MA/MART/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Danga::Socket) >= 1.51 BuildRequires: perl(Digest::HMAC_SHA1) BuildRequires: perl(Log::Log4perl) BuildRequires: perl(Net::DNS) >= 0.48 BuildRequires: perl(Net::SSLeay) BuildRequires: perl(Unicode::Stringprep) BuildRequires: perl(XML::LibXML) >= 1.7 BuildRequires: perl(XML::LibXML::SAX) BuildRequires: perl(XML::SAX) Requires: perl(Danga::Socket) >= 1.51 Requires: perl(Digest::HMAC_SHA1) Requires: perl(Log::Log4perl) Requires: perl(Net::DNS) >= 0.48 Requires: perl(Net::SSLeay) Requires: perl(Unicode::Stringprep) Requires: perl(XML::LibXML) >= 1.7 Requires: perl(XML::LibXML::SAX) Requires: perl(XML::SAX) %{perl_requires} %description DJabberd was the answer to LiveJournal's Jabber (XMPP) server needs. We needed: * * good performance for tons of connected users * * ability to scale to multiple nodes * * ability to hook into LiveJournal at all places, not just auth Basically we wanted the swiss army knife of Jabber servers (think qpsmtpd or mod_perl), but none existed in any language. While some popular Jabber servers let us do pluggable auth, none let us get our hands into roster storage, vcards, avatars, presence, etc. So we made DJabberd. It's a Jabber server where almost everything defers to hooks to be implemented by plugins. It does the core spec itself (including SSL, StartTLS, server-to-server, etc), but it doesn't come with any way to do authentication or storage or rosters, etc. You'll need to go pick up a plugin to do those. You should be able to plop DJabberd into your existing systems / userbase with minimal pain. Just find a plugin that's close (if a perfect match doesn't already exist!) and tweak. DJabberd is event-based so we can have really low per-connection memory requirements, smaller than is possible with a threaded jabber server. Because of this, all plugins can operate asynchronously, taking as long as they want to finish their work, or to decline to the next handler. (in the meantime, while plugins wait on a response from whatever they're talking to, the DJabberd event loop continues at full speed) However, that's more work, so some plugins may choose to operate synchronously, but they do so with the understanding that those plugins will cause the whole server to get bogged down. If you're running a Jabber server for 5 users, you may not care that the SQLite authentication backend pauses your server for milliseconds at a time, but on a site with hundreds of thousands of connections, that wouldn't be acceptable. Watch out for those plugins. %prep %setup -q -n %{cpan_name}-%{version} find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc CHANGES djabberd doc examples README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor