diff options
author | schnoebe <schnoebe@pkgsrc.org> | 2011-02-06 19:46:48 +0000 |
---|---|---|
committer | schnoebe <schnoebe@pkgsrc.org> | 2011-02-06 19:46:48 +0000 |
commit | 9639ee309bbfe82c792389d3720a5df696b46f47 (patch) | |
tree | 9cee42c47243f1d84b1930a27c21fbb0378c4376 /chat/gloox | |
parent | cf8fa5d3bac2ca937cf47ece46abe41d5eae322e (diff) | |
download | pkgsrc-9639ee309bbfe82c792389d3720a5df696b46f47.tar.gz |
Import gloox-1.0 into pkgsrc.
gloox is a rock-solid, full-featured Jabber/XMPP client library,
written in C++. It makes writing spec-compliant clients easy and
allows for hassle-free integration of Jabber/XMPP functionality
into existing applications.
Diffstat (limited to 'chat/gloox')
-rw-r--r-- | chat/gloox/DESCR | 4 | ||||
-rw-r--r-- | chat/gloox/Makefile | 25 | ||||
-rw-r--r-- | chat/gloox/PLIST | 136 | ||||
-rw-r--r-- | chat/gloox/buildlink3.mk | 13 | ||||
-rw-r--r-- | chat/gloox/distinfo | 6 | ||||
-rw-r--r-- | chat/gloox/options.mk | 31 | ||||
-rw-r--r-- | chat/gloox/patches/patch-src_sha.cpp | 19 |
7 files changed, 234 insertions, 0 deletions
diff --git a/chat/gloox/DESCR b/chat/gloox/DESCR new file mode 100644 index 00000000000..14c3ab375a4 --- /dev/null +++ b/chat/gloox/DESCR @@ -0,0 +1,4 @@ +gloox is a rock-solid, full-featured Jabber/XMPP client library, +written in C++. It makes writing spec-compliant clients easy and +allows for hassle-free integration of Jabber/XMPP functionality +into existing applications. diff --git a/chat/gloox/Makefile b/chat/gloox/Makefile new file mode 100644 index 00000000000..af757e5e916 --- /dev/null +++ b/chat/gloox/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/02/06 19:46:48 schnoebe Exp $ + +DISTNAME= gloox-1.0 +CATEGORIES= chat +MASTER_SITES= http://camaya.net/download/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= schnoebe@cirr.com +HOMEPAGE= http://camaya.net/gloox/ +COMMENT= Jabber/XMPP client library +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes + +USE_LANGUAGES+= c++ c +USE_TOOLS+= autoconf automake +USE_LIBTOOL= yes + +.include "options.mk" + +.include "../../devel/libidn/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/chat/gloox/PLIST b/chat/gloox/PLIST new file mode 100644 index 00000000000..cc529cec1fd --- /dev/null +++ b/chat/gloox/PLIST @@ -0,0 +1,136 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/02/06 19:46:48 schnoebe Exp $ +bin/gloox-config +include/gloox/adhoc.h +include/gloox/adhoccommandprovider.h +include/gloox/adhochandler.h +include/gloox/amp.h +include/gloox/annotations.h +include/gloox/annotationshandler.h +include/gloox/attention.h +include/gloox/base64.h +include/gloox/bookmarkhandler.h +include/gloox/bookmarkstorage.h +include/gloox/bytestream.h +include/gloox/bytestreamdatahandler.h +include/gloox/bytestreamhandler.h +include/gloox/capabilities.h +include/gloox/chatstate.h +include/gloox/chatstatefilter.h +include/gloox/chatstatehandler.h +include/gloox/client.h +include/gloox/clientbase.h +include/gloox/component.h +include/gloox/compressionbase.h +include/gloox/compressiondatahandler.h +include/gloox/compressiondefault.h +include/gloox/connectionbase.h +include/gloox/connectionbosh.h +include/gloox/connectiondatahandler.h +include/gloox/connectionhandler.h +include/gloox/connectionhttpproxy.h +include/gloox/connectionlistener.h +include/gloox/connectionsocks5proxy.h +include/gloox/connectiontcpbase.h +include/gloox/connectiontcpclient.h +include/gloox/connectiontcpserver.h +include/gloox/connectiontls.h +include/gloox/connectiontlsserver.h +include/gloox/dataform.h +include/gloox/dataformfield.h +include/gloox/dataformfieldcontainer.h +include/gloox/dataformitem.h +include/gloox/dataformreported.h +include/gloox/delayeddelivery.h +include/gloox/disco.h +include/gloox/discohandler.h +include/gloox/disconodehandler.h +include/gloox/error.h +include/gloox/event.h +include/gloox/eventdispatcher.h +include/gloox/eventhandler.h +include/gloox/featureneg.h +include/gloox/flexoff.h +include/gloox/flexoffhandler.h +include/gloox/gloox.h +include/gloox/glooxversion.h +include/gloox/gpgencrypted.h +include/gloox/gpgsigned.h +include/gloox/inbandbytestream.h +include/gloox/instantmucroom.h +include/gloox/iq.h +include/gloox/iqhandler.h +include/gloox/jid.h +include/gloox/lastactivity.h +include/gloox/lastactivityhandler.h +include/gloox/loghandler.h +include/gloox/logsink.h +include/gloox/macros.h +include/gloox/md5.h +include/gloox/message.h +include/gloox/messageevent.h +include/gloox/messageeventfilter.h +include/gloox/messageeventhandler.h +include/gloox/messagefilter.h +include/gloox/messagehandler.h +include/gloox/messagesession.h +include/gloox/messagesessionhandler.h +include/gloox/mucinvitationhandler.h +include/gloox/mucroom.h +include/gloox/mucroomconfighandler.h +include/gloox/mucroomhandler.h +include/gloox/mutex.h +include/gloox/mutexguard.h +include/gloox/nickname.h +include/gloox/oob.h +include/gloox/parser.h +include/gloox/presence.h +include/gloox/presencehandler.h +include/gloox/privacyitem.h +include/gloox/privacylisthandler.h +include/gloox/privacymanager.h +include/gloox/privatexml.h +include/gloox/privatexmlhandler.h +include/gloox/pubsub.h +include/gloox/pubsubevent.h +include/gloox/pubsubitem.h +include/gloox/pubsubmanager.h +include/gloox/pubsubresulthandler.h +include/gloox/receipt.h +include/gloox/registration.h +include/gloox/registrationhandler.h +include/gloox/resource.h +include/gloox/rosteritem.h +include/gloox/rosterlistener.h +include/gloox/rostermanager.h +include/gloox/search.h +include/gloox/searchhandler.h +include/gloox/sha.h +include/gloox/shim.h +include/gloox/sihandler.h +include/gloox/simanager.h +include/gloox/siprofileft.h +include/gloox/siprofilefthandler.h +include/gloox/siprofilehandler.h +include/gloox/socks5bytestream.h +include/gloox/socks5bytestreammanager.h +include/gloox/socks5bytestreamserver.h +include/gloox/softwareversion.h +include/gloox/stanza.h +include/gloox/stanzaextension.h +include/gloox/statisticshandler.h +include/gloox/subscription.h +include/gloox/subscriptionhandler.h +include/gloox/tag.h +include/gloox/taghandler.h +include/gloox/tlsbase.h +include/gloox/tlsdefault.h +include/gloox/tlshandler.h +include/gloox/uniquemucroom.h +include/gloox/util.h +include/gloox/vcard.h +include/gloox/vcardhandler.h +include/gloox/vcardmanager.h +include/gloox/vcardupdate.h +include/gloox/xhtmlim.h +lib/libgloox.la +lib/pkgconfig/gloox.pc diff --git a/chat/gloox/buildlink3.mk b/chat/gloox/buildlink3.mk new file mode 100644 index 00000000000..e38d01eeadb --- /dev/null +++ b/chat/gloox/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/02/06 19:46:48 schnoebe Exp $ + +BUILDLINK_TREE+= gloox + +.if !defined(GLOOX_BUILDLINK3_MK) +GLOOX_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.gloox+= gloox>=1.0 +BUILDLINK_PKGSRCDIR.gloox?= ../../chat/gloox + +.endif # GLOOX_BUILDLINK3_MK + +BUILDLINK_TREE+= -gloox diff --git a/chat/gloox/distinfo b/chat/gloox/distinfo new file mode 100644 index 00000000000..1afb42ceae1 --- /dev/null +++ b/chat/gloox/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/02/06 19:46:48 schnoebe Exp $ + +SHA1 (gloox-1.0.tar.bz2) = 8c788738f72b05fae7c05c744a67859419ffa09c +RMD160 (gloox-1.0.tar.bz2) = 92089462ed778fb41bf97d882fc1785b8e82233f +Size (gloox-1.0.tar.bz2) = 603434 bytes +SHA1 (patch-src_sha.cpp) = b9f51307b97c68575aff4a029653584fcc6aeec6 diff --git a/chat/gloox/options.mk b/chat/gloox/options.mk new file mode 100644 index 00000000000..b04c55d43d6 --- /dev/null +++ b/chat/gloox/options.mk @@ -0,0 +1,31 @@ +# $NetBSD: options.mk,v 1.1.1.1 2011/02/06 19:46:48 schnoebe Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gloox +PKG_OPTIONS_REQUIRED_GROUPS= tls +# TLS selections +PKG_OPTIONS_GROUP.tls= gnutls openssl +# debugging +PKG_SUPPORTED_OPTIONS+= debug +PKG_SUGGESTED_OPTIONS= gnutls + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= gnutls openssl + +.if !empty(PKG_OPTIONS:Mgnutls) +PLIST.gnutls= yes +CONFIGURE_ARGS+= --with-gnutls=${BUILDLINK_PREFIX.gnutls} +. include "../../security/gnutls/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-gnutls +.endif + +.if !empty(PKG_OPTIONS:Mopenssl) +PLIST.openssl= yes +CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl} +. include "../../security/openssl/buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug +.endif diff --git a/chat/gloox/patches/patch-src_sha.cpp b/chat/gloox/patches/patch-src_sha.cpp new file mode 100644 index 00000000000..80de28182d1 --- /dev/null +++ b/chat/gloox/patches/patch-src_sha.cpp @@ -0,0 +1,19 @@ +$NetBSD: patch-src_sha.cpp,v 1.1.1.1 2011/02/06 19:46:48 schnoebe Exp $ + +# correct an SHA1 implementation error, only evident when the message +# block is exactly 56 bytes long. +# +# This has been fixed upstream in the dev branch. +# + +--- src/sha.cpp.orig 2009-10-12 09:38:59.000000000 -0500 ++++ src/sha.cpp +@@ -214,7 +214,7 @@ namespace gloox + { + Message_Block[Message_Block_Index++] = 0x80; + +- if( Message_Block_Index > 55 ) ++ if( Message_Block_Index > 56 ) + { + while( Message_Block_Index < 64 ) + { |