import gloox

extensible C++ library for XMPP clients and components

gloox is a rock-solid, full-featured Jabber/XMPP client library,
written in clean ANSI C++. It makes writing spec-compliant clients
easy and allows for hassle-free integration of Jabber/XMPP
functionality into existing applications

OK landry@
This commit is contained in:
sebastia 2010-07-28 14:20:50 +00:00
parent a62c4724b5
commit 8b10e39ca4
7 changed files with 254 additions and 0 deletions

35
net/gloox/Makefile Normal file
View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/07/28 14:20:50 sebastia Exp $
COMMENT = extensible C++ library for XMPP clients and components
DISTNAME = gloox-1.0
SHARED_LIBS = gloox 0.0
CATEGORIES = net devel
HOMEPAGE = http://camaya.net/gloox/
MASTER_SITES = http://camaya.net/download/
EXTRACT_SUFX = .tar.bz2
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
# Boost license
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = gcc3
MODGCC3_ARCHES = sparc
MODGCC3_LANGS = c++
WANTLIB = idn m stdc++ ssl crypto z
LIB_DEPENDS = ::devel/libidn
USE_GMAKE = Yes
SEPARATE_BUILD = simple
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --with-openssl --with-zlib --with-libidn=${LOCALBASE} \
--without-gnutls
SUBST_VARS = MAKE_PROGRAM
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/Makefile.in ${WRKSRC}/Makefile.in
.include <bsd.port.mk>

5
net/gloox/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (gloox-1.0.tar.bz2) = +OrPHGR24KMJtFP9BPkOMQ==
RMD160 (gloox-1.0.tar.bz2) = kgiUYu13j7Qb+X2IL8F4W46CIz8=
SHA1 (gloox-1.0.tar.bz2) = jHiHOPcrBfrnwFx0SmeFlBn/oJw=
SHA256 (gloox-1.0.tar.bz2) = tT8+g+l/L41G5IJiA4m3d4t7DZWyUYzl4a5tgbsrzeg=
SIZE (gloox-1.0.tar.bz2) = 603434

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2010/07/28 14:20:50 sebastia Exp $
do not hardocde the make
--- Makefile.in.orig Mon Jul 26 16:17:22 2010
+++ Makefile.in Mon Jul 26 16:17:53 2010
@@ -821,15 +821,15 @@ apidox:
check: test
test:
- make -C src test
+ ${MAKE_PROGRAM} -C src test
leakcheck: leaktest
leaktest:
- make -C src leaktest
+ ${MAKE_PROGRAM} -C src leaktest
includetest:
- make -C src includetest
+ ${MAKE_PROGRAM} -C src includetest
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@ -0,0 +1,43 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2010/07/28 14:20:50 sebastia Exp $
Do not use the hardcoded make
Get rid of GCC parameters that gcc-2.95 does not know of
--- src/Makefile.in.orig Sat Oct 31 15:06:35 2009
+++ src/Makefile.in Tue Jul 27 10:37:30 2010
@@ -284,9 +284,9 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = . $(MAYBE_TESTS) $(MAYBE_EXAMPLES)
DIST_SUBDIRS = . tests examples
-AM_CPPFLAGS = -Wall -pedantic -pipe -W -Wfloat-equal -Wcast-align -Wsign-compare -Wpointer-arith \
+AM_CPPFLAGS = -Wall -pedantic -pipe -W -Wcast-align -Wsign-compare -Wpointer-arith \
-Wswitch -Wunknown-pragmas -Wconversion -Wundef -Wcast-qual \
- -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wno-long-long
+ -Wwrite-strings -Wformat-security -Wno-long-long
lib_LTLIBRARIES = libgloox.la
libgloox_la_SOURCES = jid.cpp parser.cpp connectiontcpclient.cpp clientbase.cpp tag.cpp stanza.cpp logsink.cpp \
@@ -315,7 +315,7 @@ libgloox_la_SOURCES = jid.cpp parser.cpp connectiontcp
tlsopensslserver.cpp compressiondefault.cpp \
connectiontlsserver.cpp
-libgloox_la_LDFLAGS = -version-info 8:0:0 -no-undefined -no-allow-shlib-undefined
+libgloox_la_LDFLAGS = -version-info 0:0:0 -no-undefined -no-allow-shlib-undefined
libgloox_la_LIBADD =
libgloox_la_CFLAGS = $(CPPFLAGS)
libglooxincludedir = $(includedir)/gloox
@@ -914,12 +914,12 @@ uninstall-am: uninstall-libLTLIBRARIES \
test:
- make -C tests test
+ ${MAKE_PROGRAM} -C tests test
check: test
leaktest:
- make -C tests leaktest
+ ${MAKE_PROGRAM} -C tests leaktest
leakcheck: leaktest

4
net/gloox/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
gloox is a rock-solid, full-featured Jabber/XMPP client library,
written in clean ANSI C++. It makes writing spec-compliant clients
easy and allows for hassle-free integration of Jabber/XMPP
functionality into existing applications.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2010/07/28 14:20:50 sebastia Exp $
@lib lib/libgloox.so.${LIBgloox_VERSION}

140
net/gloox/pkg/PLIST Normal file
View File

@ -0,0 +1,140 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/07/28 14:20:50 sebastia Exp $
%%SHARED%%
bin/gloox-config
include/gloox/
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.a
lib/libgloox.la
lib/pkgconfig/
lib/pkgconfig/gloox.pc