Sun Feb 6 19:46:49 2011 UTC ()
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.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
(schnoebe)
diff -r0 -r1.1.1.1 pkgsrc/chat/gloox/Makefile
diff -r0 -r1.1.1.1 pkgsrc/chat/gloox/DESCR
diff -r0 -r1.1.1.1 pkgsrc/chat/gloox/buildlink3.mk
diff -r0 -r1.1.1.1 pkgsrc/chat/gloox/PLIST
diff -r0 -r1.1.1.1 pkgsrc/chat/gloox/distinfo
diff -r0 -r1.1.1.1 pkgsrc/chat/gloox/options.mk
diff -r0 -r1.1.1.1 pkgsrc/chat/gloox/patches/patch-src_sha.cpp
# $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"
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.
# $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
@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
$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
# $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
$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 )
{