From d3b97b5f84f1f64c3f66195643d6cf8a2b3406fd Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Thu, 29 May 2008 02:09:19 +0000 Subject: [PATCH] [NEW PORT] net-im/p5-Net-XMPP2: An implementation of the XMPP Protocol This is the head module of the Net::XMPP2 XMPP client protocol (as described in RFC 3920 and RFC 3921) framework. WWW: http://search.cpan.org/dist/Net-XMPP2/ PR: ports/122631 Submitted by: Gea-Suan Lin --- net-im/Makefile | 1 + net-im/p5-Net-XMPP2/Makefile | 84 +++++++++++++++++++++++++++++++++++ net-im/p5-Net-XMPP2/distinfo | 3 ++ net-im/p5-Net-XMPP2/pkg-descr | 4 ++ net-im/p5-Net-XMPP2/pkg-plist | 58 ++++++++++++++++++++++++ 5 files changed, 150 insertions(+) create mode 100644 net-im/p5-Net-XMPP2/Makefile create mode 100644 net-im/p5-Net-XMPP2/distinfo create mode 100644 net-im/p5-Net-XMPP2/pkg-descr create mode 100644 net-im/p5-Net-XMPP2/pkg-plist diff --git a/net-im/Makefile b/net-im/Makefile index c502594c2164..399cdeed4ab7 100644 --- a/net-im/Makefile +++ b/net-im/Makefile @@ -100,6 +100,7 @@ SUBDIR += p5-Net-OSCAR SUBDIR += p5-Net-Stomp SUBDIR += p5-Net-XMPP + SUBDIR += p5-Net-XMPP2 SUBDIR += p5-POE-Component-Client-MSN SUBDIR += pebrot SUBDIR += pidgin diff --git a/net-im/p5-Net-XMPP2/Makefile b/net-im/p5-Net-XMPP2/Makefile new file mode 100644 index 000000000000..94d7afc90f03 --- /dev/null +++ b/net-im/p5-Net-XMPP2/Makefile @@ -0,0 +1,84 @@ +# New ports collection makefile for: p5-Net-XMPP2 +# Date created: 2008-04-10 +# Whom: Gea-Suan Lin +# +# $FreeBSD$ +# + +PORTNAME= Net-XMPP2 +PORTVERSION= 0.11 +CATEGORIES= net-im perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= Net +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= An implementation of the XMPP Protocol + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ + ${SITE_PERL}/${PERL_ARCH}/Net/LibIDN.pm:${PORTSDIR}/dns/p5-Net-LibIDN \ + ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \ + ${SITE_PERL}/${PERL_ARCH}/XML/Parser/Expat.pm:${PORTSDIR}/textproc/p5-XML-Parser \ + ${SITE_PERL}/AnyEvent.pm:${PORTSDIR}/devel/p5-AnyEvent \ + ${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL \ + ${SITE_PERL}/BS/Event.pm:${PORTSDIR}/devel/p5-BS-Event \ + ${SITE_PERL}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \ + ${SITE_PERL}/XML/Writer.pm:${PORTSDIR}/textproc/p5-XML-Writer + +PERL_CONFIGURE= yes + +MAN3= Net::XMPP2.3 \ + Net::XMPP2::Client.3 \ + Net::XMPP2::Component.3 \ + Net::XMPP2::Connection.3 \ + Net::XMPP2::Error.3 \ + Net::XMPP2::Error::Exception.3 \ + Net::XMPP2::Error::IQ.3 \ + Net::XMPP2::Error::IQAuth.3 \ + Net::XMPP2::Error::MUC.3 \ + Net::XMPP2::Error::Message.3 \ + Net::XMPP2::Error::Parser.3 \ + Net::XMPP2::Error::Presence.3 \ + Net::XMPP2::Error::Register.3 \ + Net::XMPP2::Error::SASL.3 \ + Net::XMPP2::Error::Stanza.3 \ + Net::XMPP2::Error::Stream.3 \ + Net::XMPP2::Ext.3 \ + Net::XMPP2::Ext::DataForm.3 \ + Net::XMPP2::Ext::Disco.3 \ + Net::XMPP2::Ext::Disco::Info.3 \ + Net::XMPP2::Ext::Disco::Items.3 \ + Net::XMPP2::Ext::MUC.3 \ + Net::XMPP2::Ext::MUC::Message.3 \ + Net::XMPP2::Ext::MUC::Room.3 \ + Net::XMPP2::Ext::MUC::RoomInfo.3 \ + Net::XMPP2::Ext::MUC::User.3 \ + Net::XMPP2::Ext::OOB.3 \ + Net::XMPP2::Ext::Ping.3 \ + Net::XMPP2::Ext::Pubsub.3 \ + Net::XMPP2::Ext::RegisterForm.3 \ + Net::XMPP2::Ext::Registration.3 \ + Net::XMPP2::Ext::Version.3 \ + Net::XMPP2::Extendable.3 \ + Net::XMPP2::IM::Account.3 \ + Net::XMPP2::IM::Connection.3 \ + Net::XMPP2::IM::Contact.3 \ + Net::XMPP2::IM::Delayed.3 \ + Net::XMPP2::IM::Message.3 \ + Net::XMPP2::IM::Presence.3 \ + Net::XMPP2::IM::Roster.3 \ + Net::XMPP2::Namespaces.3 \ + Net::XMPP2::Node.3 \ + Net::XMPP2::Parser.3 \ + Net::XMPP2::SimpleConnection.3 \ + Net::XMPP2::TestClient.3 \ + Net::XMPP2::Util.3 \ + Net::XMPP2::Writer.3 + +.include + +.if ${PERL_LEVEL} < 500800 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +.endif + +.include diff --git a/net-im/p5-Net-XMPP2/distinfo b/net-im/p5-Net-XMPP2/distinfo new file mode 100644 index 000000000000..da21be89f492 --- /dev/null +++ b/net-im/p5-Net-XMPP2/distinfo @@ -0,0 +1,3 @@ +MD5 (Net-XMPP2-0.11.tar.gz) = 396d37835b392db114595adf5679ecbb +SHA256 (Net-XMPP2-0.11.tar.gz) = e7723a1f1cb652fa400b23c65b1a07f1f60f7356b8605ad6ddaa3d8e724799b5 +SIZE (Net-XMPP2-0.11.tar.gz) = 101562 diff --git a/net-im/p5-Net-XMPP2/pkg-descr b/net-im/p5-Net-XMPP2/pkg-descr new file mode 100644 index 000000000000..3a7e4ab974f0 --- /dev/null +++ b/net-im/p5-Net-XMPP2/pkg-descr @@ -0,0 +1,4 @@ +This is the head module of the Net::XMPP2 XMPP client protocol (as +described in RFC 3920 and RFC 3921) framework. + +WWW: http://search.cpan.org/dist/Net-XMPP2/ diff --git a/net-im/p5-Net-XMPP2/pkg-plist b/net-im/p5-Net-XMPP2/pkg-plist new file mode 100644 index 000000000000..347820800c61 --- /dev/null +++ b/net-im/p5-Net-XMPP2/pkg-plist @@ -0,0 +1,58 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/XMPP2/.packlist +%%SITE_PERL%%/Net/XMPP2.pm +%%SITE_PERL%%/Net/XMPP2/Client.pm +%%SITE_PERL%%/Net/XMPP2/Component.pm +%%SITE_PERL%%/Net/XMPP2/Connection.pm +%%SITE_PERL%%/Net/XMPP2/Error.pm +%%SITE_PERL%%/Net/XMPP2/Error/Exception.pm +%%SITE_PERL%%/Net/XMPP2/Error/IQ.pm +%%SITE_PERL%%/Net/XMPP2/Error/IQAuth.pm +%%SITE_PERL%%/Net/XMPP2/Error/MUC.pm +%%SITE_PERL%%/Net/XMPP2/Error/Message.pm +%%SITE_PERL%%/Net/XMPP2/Error/Parser.pm +%%SITE_PERL%%/Net/XMPP2/Error/Presence.pm +%%SITE_PERL%%/Net/XMPP2/Error/Register.pm +%%SITE_PERL%%/Net/XMPP2/Error/SASL.pm +%%SITE_PERL%%/Net/XMPP2/Error/Stanza.pm +%%SITE_PERL%%/Net/XMPP2/Error/Stream.pm +%%SITE_PERL%%/Net/XMPP2/Ext.pm +%%SITE_PERL%%/Net/XMPP2/Ext/DataForm.pm +%%SITE_PERL%%/Net/XMPP2/Ext/Disco.pm +%%SITE_PERL%%/Net/XMPP2/Ext/Disco/Info.pm +%%SITE_PERL%%/Net/XMPP2/Ext/Disco/Items.pm +%%SITE_PERL%%/Net/XMPP2/Ext/MUC.pm +%%SITE_PERL%%/Net/XMPP2/Ext/MUC/Message.pm +%%SITE_PERL%%/Net/XMPP2/Ext/MUC/Room.pm +%%SITE_PERL%%/Net/XMPP2/Ext/MUC/RoomInfo.pm +%%SITE_PERL%%/Net/XMPP2/Ext/MUC/User.pm +%%SITE_PERL%%/Net/XMPP2/Ext/OOB.pm +%%SITE_PERL%%/Net/XMPP2/Ext/Ping.pm +%%SITE_PERL%%/Net/XMPP2/Ext/Pubsub.pm +%%SITE_PERL%%/Net/XMPP2/Ext/RegisterForm.pm +%%SITE_PERL%%/Net/XMPP2/Ext/Registration.pm +%%SITE_PERL%%/Net/XMPP2/Ext/Version.pm +%%SITE_PERL%%/Net/XMPP2/Extendable.pm +%%SITE_PERL%%/Net/XMPP2/IM/Account.pm +%%SITE_PERL%%/Net/XMPP2/IM/Connection.pm +%%SITE_PERL%%/Net/XMPP2/IM/Contact.pm +%%SITE_PERL%%/Net/XMPP2/IM/Delayed.pm +%%SITE_PERL%%/Net/XMPP2/IM/Message.pm +%%SITE_PERL%%/Net/XMPP2/IM/Presence.pm +%%SITE_PERL%%/Net/XMPP2/IM/Roster.pm +%%SITE_PERL%%/Net/XMPP2/Namespaces.pm +%%SITE_PERL%%/Net/XMPP2/Node.pm +%%SITE_PERL%%/Net/XMPP2/Parser.pm +%%SITE_PERL%%/Net/XMPP2/SimpleConnection.pm +%%SITE_PERL%%/Net/XMPP2/TestClient.pm +%%SITE_PERL%%/Net/XMPP2/Util.pm +%%SITE_PERL%%/Net/XMPP2/Writer.pm +@dirrmtry %%SITE_PERL%%/Net/XMPP2/IM +@dirrmtry %%SITE_PERL%%/Net/XMPP2/Ext/MUC +@dirrmtry %%SITE_PERL%%/Net/XMPP2/Ext/Disco +@dirrmtry %%SITE_PERL%%/Net/XMPP2/Ext +@dirrmtry %%SITE_PERL%%/Net/XMPP2/Error +@dirrmtry %%SITE_PERL%%/Net/XMPP2 +@dirrmtry %%SITE_PERL%%/Net +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/XMPP2 +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net