aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-19 23:30:13 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-19 23:30:13 +0000
commit4238ea20797e32c7f796308bc40f41b22c42d48e (patch)
tree35fc8b2801cbd95c98d5f2b37ab5d5689396aa7b /net-im
parente28ac7c0d74a0112bcce06b96f52351f2322d394 (diff)
downloadports-4238ea20797e32c7f796308bc40f41b22c42d48e.tar.gz
ports-4238ea20797e32c7f796308bc40f41b22c42d48e.zip
- Update from 1.0 to 1.0.9
- Add LICENSE PR: ports/185342 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=345163
Diffstat (limited to 'net-im')
-rw-r--r--net-im/gloox/Makefile31
-rw-r--r--net-im/gloox/distinfo4
-rw-r--r--net-im/gloox/files/patch-src-examples-bosh_example.cpp10
-rw-r--r--net-im/gloox/files/patch-src-examples-e2ee_client.cpp10
-rw-r--r--net-im/gloox/files/patch-src-examples-e2ee_server.cpp10
-rw-r--r--net-im/gloox/files/patch-src-examples-ft_recv.cpp10
-rw-r--r--net-im/gloox/files/patch-src-examples-ft_send.cpp10
-rw-r--r--net-im/gloox/files/patch-src-examples-message_example.cpp10
-rw-r--r--net-im/gloox/files/patch-src-examples-pubsub_example.cpp10
-rw-r--r--net-im/gloox/files/patch-src-util.h10
-rw-r--r--net-im/gloox/files/patch-src__examples__e2ee_client.cpp13
-rw-r--r--net-im/gloox/files/patch-src__examples__e2ee_server.cpp13
-rw-r--r--net-im/gloox/files/patch-src__examples__ft_recv.cpp11
-rw-r--r--net-im/gloox/files/patch-src__tlsgnutlsclient.cpp24
-rw-r--r--net-im/gloox/files/patch-src__tlsgnutlsclient.h10
-rw-r--r--net-im/gloox/pkg-descr4
-rw-r--r--net-im/gloox/pkg-plist152
-rw-r--r--net-im/licq-jabber/Makefile2
18 files changed, 243 insertions, 101 deletions
diff --git a/net-im/gloox/Makefile b/net-im/gloox/Makefile
index f14a45201cf2..4e22cb2cbc18 100644
--- a/net-im/gloox/Makefile
+++ b/net-im/gloox/Makefile
@@ -2,32 +2,35 @@
# $FreeBSD$
PORTNAME= gloox
-PORTVERSION= 1.0
-PORTREVISION= 3
+PORTVERSION= 1.0.9
CATEGORIES= net-im
MASTER_SITES= http://camaya.net/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Jabber/XMPP client library
+LICENSE= GPLv3
+
LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn \
libgnutls.so:${PORTSDIR}/security/gnutls
-USE_AUTOTOOLS= libtool
USE_BZIP2= yes
-USES= pathfix pkgconfig
+USES= compiler:c++11-lang libtool pathfix pkgconfig
+USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
+
+CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-USE_LDCONFIG= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|libgnutls-config|pkg-config gnutls|' ${WRKSRC}/configure
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 900033
+USE_BINUTILS= yes
+LDFLAGS+= -B${LOCALBASE}/bin
+.endif
-post-install:
- ${FIND} ${STAGEDIR}${PREFIX}/include/gloox ! -type d | \
- ${SED} "s,${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST}
- ${FIND} ${STAGEDIR}${PREFIX}/include/gloox -type d | ${SORT} -r | \
- ${SED} "s,${STAGEDIR}${PREFIX}/,@dirrm ," >> ${TMPPLIST}
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|-lgcrypt||' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net-im/gloox/distinfo b/net-im/gloox/distinfo
index 1c81ca14f3a4..7f2671874be0 100644
--- a/net-im/gloox/distinfo
+++ b/net-im/gloox/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gloox-1.0.tar.bz2) = b53f3e83e97f2f8d46e482620389b7778b7b0d95b2518ce5e1ae6d81bb2bcde8
-SIZE (gloox-1.0.tar.bz2) = 603434
+SHA256 (gloox-1.0.9.tar.bz2) = 143dd50e1edc4eb1d304fa28bdd6ab9e53b60c37c1726dd0e34c06c51f9a453e
+SIZE (gloox-1.0.9.tar.bz2) = 670206
diff --git a/net-im/gloox/files/patch-src-examples-bosh_example.cpp b/net-im/gloox/files/patch-src-examples-bosh_example.cpp
deleted file mode 100644
index 95078daef4f8..000000000000
--- a/net-im/gloox/files/patch-src-examples-bosh_example.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/examples/bosh_example.cpp.orig 2009-06-22 11:39:04.000000000 +0200
-+++ src/examples/bosh_example.cpp 2013-12-26 22:57:50.576228531 +0100
-@@ -22,6 +22,7 @@
- #include <unistd.h>
- #include <stdio.h>
- #include <string>
-+#include <ctime>
-
- #include <cstdio> // [s]print[f]
-
diff --git a/net-im/gloox/files/patch-src-examples-e2ee_client.cpp b/net-im/gloox/files/patch-src-examples-e2ee_client.cpp
deleted file mode 100644
index eff39267a7a2..000000000000
--- a/net-im/gloox/files/patch-src-examples-e2ee_client.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/examples/e2ee_client.cpp.orig 2009-10-13 20:57:34.000000000 +0200
-+++ src/examples/e2ee_client.cpp 2013-12-26 22:57:55.817222888 +0100
-@@ -15,6 +15,7 @@
- #include <stdio.h>
- #include <locale.h>
- #include <string>
-+#include <ctime>
-
- #include <cstdio> // [s]print[f]
-
diff --git a/net-im/gloox/files/patch-src-examples-e2ee_server.cpp b/net-im/gloox/files/patch-src-examples-e2ee_server.cpp
deleted file mode 100644
index 718256006924..000000000000
--- a/net-im/gloox/files/patch-src-examples-e2ee_server.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/examples/e2ee_server.cpp.orig 2009-10-13 20:47:21.000000000 +0200
-+++ src/examples/e2ee_server.cpp 2013-12-26 22:58:00.534218841 +0100
-@@ -15,6 +15,7 @@
- #include <stdio.h>
- #include <locale.h>
- #include <string>
-+#include <ctime>
-
- #include <cstdio> // [s]print[f]
-
diff --git a/net-im/gloox/files/patch-src-examples-ft_recv.cpp b/net-im/gloox/files/patch-src-examples-ft_recv.cpp
deleted file mode 100644
index 5779773800d1..000000000000
--- a/net-im/gloox/files/patch-src-examples-ft_recv.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/examples/ft_recv.cpp.orig 2009-10-06 15:14:26.000000000 +0200
-+++ src/examples/ft_recv.cpp 2013-12-26 22:58:05.182220399 +0100
-@@ -13,6 +13,7 @@
- #include <unistd.h>
- #include <stdio.h>
- #include <string>
-+#include <ctime>
-
- #include <cstdio> // [s]print[f]
-
diff --git a/net-im/gloox/files/patch-src-examples-ft_send.cpp b/net-im/gloox/files/patch-src-examples-ft_send.cpp
deleted file mode 100644
index b72c4bedbdef..000000000000
--- a/net-im/gloox/files/patch-src-examples-ft_send.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/examples/ft_send.cpp.orig 2009-10-06 15:15:09.000000000 +0200
-+++ src/examples/ft_send.cpp 2013-12-26 22:58:11.944229970 +0100
-@@ -16,6 +16,7 @@
- #include <unistd.h>
- #include <stdio.h>
- #include <string>
-+#include <ctime>
- #include <fstream>
- #include <ios>
-
diff --git a/net-im/gloox/files/patch-src-examples-message_example.cpp b/net-im/gloox/files/patch-src-examples-message_example.cpp
deleted file mode 100644
index 79a5c1b7c6f8..000000000000
--- a/net-im/gloox/files/patch-src-examples-message_example.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/examples/message_example.cpp.orig 2009-10-26 00:34:48.000000000 +0100
-+++ src/examples/message_example.cpp 2013-12-26 22:58:16.855221562 +0100
-@@ -23,6 +23,7 @@
-
- #include <stdio.h>
- #include <string>
-+#include <ctime>
-
- #include <cstdio> // [s]print[f]
-
diff --git a/net-im/gloox/files/patch-src-examples-pubsub_example.cpp b/net-im/gloox/files/patch-src-examples-pubsub_example.cpp
deleted file mode 100644
index 8ae8d4a4ed11..000000000000
--- a/net-im/gloox/files/patch-src-examples-pubsub_example.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/examples/pubsub_example.cpp.orig 2009-06-22 11:35:17.000000000 +0200
-+++ src/examples/pubsub_example.cpp 2013-12-26 22:58:22.252225373 +0100
-@@ -22,6 +22,7 @@
- #include <unistd.h>
- #include <stdio.h>
- #include <string>
-+#include <ctime>
-
- #if defined( WIN32 ) || defined( _WIN32 )
- # include <windows.h>
diff --git a/net-im/gloox/files/patch-src-util.h b/net-im/gloox/files/patch-src-util.h
deleted file mode 100644
index ba86da3fd60c..000000000000
--- a/net-im/gloox/files/patch-src-util.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/util.h.orig 2009-10-30 18:47:43.000000000 +0100
-+++ src/util.h 2013-12-26 21:42:43.366548503 +0100
-@@ -16,6 +16,7 @@
- #include "gloox.h"
-
- #include <cmath>
-+#include <cstdlib>
- #include <algorithm>
- #include <string>
- #include <list>
diff --git a/net-im/gloox/files/patch-src__examples__e2ee_client.cpp b/net-im/gloox/files/patch-src__examples__e2ee_client.cpp
new file mode 100644
index 000000000000..d5782161f4d3
--- /dev/null
+++ b/net-im/gloox/files/patch-src__examples__e2ee_client.cpp
@@ -0,0 +1,13 @@
+--- src/examples/e2ee_client.cpp.orig
++++ src/examples/e2ee_client.cpp
+@@ -12,8 +12,8 @@
+ using namespace gloox;
+
+ #include <unistd.h>
+-#include <stdio.h>
+-#include <locale.h>
++#include <ctime>
++#include <clocale>
+ #include <string>
+
+ #include <cstdio> // [s]print[f]
diff --git a/net-im/gloox/files/patch-src__examples__e2ee_server.cpp b/net-im/gloox/files/patch-src__examples__e2ee_server.cpp
new file mode 100644
index 000000000000..ae339096bc7c
--- /dev/null
+++ b/net-im/gloox/files/patch-src__examples__e2ee_server.cpp
@@ -0,0 +1,13 @@
+--- src/examples/e2ee_server.cpp.orig
++++ src/examples/e2ee_server.cpp
+@@ -12,8 +12,8 @@
+ using namespace gloox;
+
+ #include <unistd.h>
+-#include <stdio.h>
+-#include <locale.h>
++#include <ctime>
++#include <clocale>
+ #include <string>
+
+ #include <cstdio> // [s]print[f]
diff --git a/net-im/gloox/files/patch-src__examples__ft_recv.cpp b/net-im/gloox/files/patch-src__examples__ft_recv.cpp
new file mode 100644
index 000000000000..ad681938ac83
--- /dev/null
+++ b/net-im/gloox/files/patch-src__examples__ft_recv.cpp
@@ -0,0 +1,11 @@
+--- src/examples/ft_recv.cpp.orig
++++ src/examples/ft_recv.cpp
+@@ -11,7 +11,7 @@
+ using namespace gloox;
+
+ #include <unistd.h>
+-#include <stdio.h>
++#include <ctime>
+ #include <string>
+
+ #include <cstdio> // [s]print[f]
diff --git a/net-im/gloox/files/patch-src__tlsgnutlsclient.cpp b/net-im/gloox/files/patch-src__tlsgnutlsclient.cpp
new file mode 100644
index 000000000000..c499a74e6dff
--- /dev/null
+++ b/net-im/gloox/files/patch-src__tlsgnutlsclient.cpp
@@ -0,0 +1,24 @@
+--- src/tlsgnutlsclient.cpp.orig
++++ src/tlsgnutlsclient.cpp
+@@ -18,12 +18,6 @@
+
+ #include <errno.h>
+
+-#ifdef HAVE_PTHREAD
+-extern "C" {
+-GCRY_THREAD_OPTION_PTHREAD_IMPL;
+-}
+-#endif
+-
+ namespace gloox
+ {
+
+@@ -48,8 +42,6 @@
+ const std::string& /*clientCerts*/,
+ const StringList& /*cacerts*/ )
+ {
+- gcry_control( GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread );
+-
+ const int protocolPriority[] = {
+ #ifdef GNUTLS_TLS1_2
+ GNUTLS_TLS1_2,
diff --git a/net-im/gloox/files/patch-src__tlsgnutlsclient.h b/net-im/gloox/files/patch-src__tlsgnutlsclient.h
new file mode 100644
index 000000000000..6c4d0600ead2
--- /dev/null
+++ b/net-im/gloox/files/patch-src__tlsgnutlsclient.h
@@ -0,0 +1,10 @@
+--- src/tlsgnutlsclient.h.orig
++++ src/tlsgnutlsclient.h
+@@ -23,7 +23,6 @@
+
+ #include <gnutls/gnutls.h>
+ #include <gnutls/x509.h>
+-#include <gcrypt.h>
+
+ namespace gloox
+ {
diff --git a/net-im/gloox/pkg-descr b/net-im/gloox/pkg-descr
index 931579b2ccb5..8d29bbae000e 100644
--- a/net-im/gloox/pkg-descr
+++ b/net-im/gloox/pkg-descr
@@ -1,8 +1,6 @@
gloox is a full-featured Jabber/XMPP client without GUI, written
in C++ and implemented as a shared library. It makes writing
spec-compliant clients easy and allows for hassle-free integration
-of Jabber/XMPP functionality into extisting applications. gloox
-is released under the GNU GPL. Commercial licensing and support
-are available.
+of Jabber/XMPP functionality into extisting applications.
WWW: http://camaya.net/gloox
diff --git a/net-im/gloox/pkg-plist b/net-im/gloox/pkg-plist
index 0de404835cb7..fb897b50c511 100644
--- a/net-im/gloox/pkg-plist
+++ b/net-im/gloox/pkg-plist
@@ -1,6 +1,156 @@
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/atomicrefcount.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/carbons.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/forward.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/jinglecontent.h
+include/gloox/jinglefiletransfer.h
+include/gloox/jingleiceudp.h
+include/gloox/jingleplugin.h
+include/gloox/jinglepluginfactory.h
+include/gloox/jinglesession.h
+include/gloox/jinglesessionhandler.h
+include/gloox/jinglesessionmanager.h
+include/gloox/jingletransport.h
+include/gloox/lastactivity.h
+include/gloox/lastactivityhandler.h
+include/gloox/linklocal.h
+include/gloox/linklocalclient.h
+include/gloox/linklocalhandler.h
+include/gloox/linklocalmanager.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/libgloox.so
-lib/libgloox.so.8
+lib/libgloox.so.11
+lib/libgloox.so.11.0.0
libdata/pkgconfig/gloox.pc
+@dirrm include/gloox
diff --git a/net-im/licq-jabber/Makefile b/net-im/licq-jabber/Makefile
index b97d89f2a4e5..6c5f92e92abf 100644
--- a/net-im/licq-jabber/Makefile
+++ b/net-im/licq-jabber/Makefile
@@ -2,7 +2,7 @@
PORTNAME= jabber
PORTVERSION= 1.8.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-im
MAINTAINER= dinoex@FreeBSD.org