Index: head/net-im/prosody/Makefile =================================================================== --- head/net-im/prosody/Makefile (revision 454377) +++ head/net-im/prosody/Makefile (revision 454378) @@ -1,62 +1,61 @@ # Created by: Andrew Lewis # $FreeBSD$ PORTNAME= prosody -PORTVERSION= 0.9.12 +PORTVERSION= 0.10.0 CATEGORIES= net-im MASTER_SITES= http://prosody.im/downloads/source/ \ http://redundancy.redundancy.org/mirror/ MAINTAINER= lx@FreeBSD.org COMMENT= Simple extensible XMPP server written in Lua LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${LUA_MODLIBDIR}/socket/core.so:net/luasocket-51 \ ${LUA_MODLIBDIR}/ssl.so:security/luasec-51 \ ${LUA_MODLIBDIR}/lxp.so:textproc/luaexpat-51 \ ${LUA_MODLIBDIR}/lfs.so:devel/luafilesystem-51 - LIB_DEPENDS= libidn.so:dns/libidn USES= cpe gmake lua:51 shebangfix ssl SHEBANG_FILES= prosody prosodyctl LUA_PREMK= yes HAS_CONFIGURE= yes CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} CONFIGURE_ARGS= --ostype=freebsd \ --c-compiler="${CC}" \ --linker="${CC}" \ --with-lua-include="${LUA_INCDIR}" CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" \ PREFIX="${PREFIX}" \ LUA_SUFFIX="-${LUA_VER}" \ LUA_LIBDIR="${LUA_LIBDIR}" \ LUA_INCDIR="${LUA_INCDIR}" USERS= prosody GROUPS= ${USERS} USE_RC_SUBR= prosody SUB_FILES= pkg-deinstall SUB_LIST= USERS=${USERS} GROUPS=${GROUPS} PLIST_SUB= PROSODY_USER=${USERS} PROSODY_GROUP=${GROUPS} OPTIONS_DEFINE= LUAJIT LUAJIT_DESC= Run prosody using luajit LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit .include .if ${PORT_OPTIONS:MLUAJIT} lua_CMD= ${LOCALBASE}/bin/luajit .else lua_CMD= ${LOCALBASE}/bin/${LUA_CMD} .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/prosody/util/*.so .include Index: head/net-im/prosody/distinfo =================================================================== --- head/net-im/prosody/distinfo (revision 454377) +++ head/net-im/prosody/distinfo (revision 454378) @@ -1,3 +1,3 @@ -TIMESTAMP = 1484211518 -SHA256 (prosody-0.9.12.tar.gz) = 1a59a322b71928a21985522aa00d0eab3552208d7bf9ecb318542a1b2fee3e8d -SIZE (prosody-0.9.12.tar.gz) = 267869 +TIMESTAMP = 1510389229 +SHA256 (prosody-0.10.0.tar.gz) = 7414e447256c60b2645578c4a5913113cd74b419ca5a032b54db90d98a978498 +SIZE (prosody-0.10.0.tar.gz) = 330461 Index: head/net-im/prosody/files/patch-Makefile =================================================================== --- head/net-im/prosody/files/patch-Makefile (revision 454377) +++ head/net-im/prosody/files/patch-Makefile (revision 454378) @@ -1,20 +1,20 @@ ---- Makefile.orig 2014-01-12 05:41:40.000000000 -0600 -+++ Makefile 2014-03-15 11:58:25.725744098 -0500 -@@ -6,7 +6,7 @@ - MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules - SOURCE = $(DESTDIR)$(PREFIX)/lib/prosody +--- Makefile.orig 2017-09-28 13:07:47 UTC ++++ Makefile +@@ -6,7 +6,7 @@ CONFIG = $(DESTDIR)$(SYSCONFDIR) + MODULES = $(DESTDIR)$(LIBDIR)/prosody/modules + SOURCE = $(DESTDIR)$(LIBDIR)/prosody DATA = $(DESTDIR)$(DATADIR) -MAN = $(DESTDIR)$(PREFIX)/share/man +MAN = $(DESTDIR)$(PREFIX)/man - INSTALLEDSOURCE = $(PREFIX)/lib/prosody + INSTALLEDSOURCE = $(LIBDIR)/prosody INSTALLEDCONFIG = $(SYSCONFDIR) -@@ -40,7 +40,7 @@ - umask 0022 && cp -r plugins/* $(MODULES) - install -m644 certs/* $(CONFIG)/certs - install -m644 man/prosodyctl.man $(MAN)/man1/prosodyctl.1 -- test -e $(CONFIG)/prosody.cfg.lua || install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua -+ install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua.sample - test -e prosody.version && install -m644 prosody.version $(SOURCE)/prosody.version || true +@@ -53,7 +53,7 @@ install: prosody.install prosodyctl.install prosody.cf + $(INSTALL_DATA) plugins/mod_mam/*.lua $(MODULES)/mod_mam + $(INSTALL_DATA) certs/* $(CONFIG)/certs + $(INSTALL_DATA) man/prosodyctl.man $(MAN)/man1/prosodyctl.1 +- test -f $(CONFIG)/prosody.cfg.lua || $(INSTALL_DATA) prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua ++ $(INSTALL_DATA) prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua.sample + -test -f prosody.version && $(INSTALL_DATA) prosody.version $(SOURCE)/prosody.version $(MAKE) install -C util-src Index: head/net-im/prosody/files/patch-configure =================================================================== --- head/net-im/prosody/files/patch-configure (revision 454377) +++ head/net-im/prosody/files/patch-configure (revision 454378) @@ -1,17 +1,16 @@ ---- configure.orig 2013-12-08 19:05:39.000000000 +0100 -+++ configure 2014-02-06 22:21:15.000000000 +0100 -@@ -13,11 +13,11 @@ - IDN_LIB=idn +--- configure.orig 2017-09-28 13:07:47 UTC ++++ configure +@@ -16,10 +16,10 @@ LUA_LIBDIR="/usr/lib" + IDN_LIB="idn" ICU_FLAGS="-licui18n -licudata -licuuc" - OPENSSL_LIB=crypto --CC=gcc -+CC=cc - CXX=g++ --LD=gcc -+LD=cc - RUNWITH=lua --EXCERTS=yes -+EXCERTS=no + OPENSSL_LIB="crypto" +-CC="gcc" +-LD="gcc" ++CC="cc" ++LD="cc" + RUNWITH="lua" +-EXCERTS="yes" ++EXCERTS="no" + PRNG= + PRNGLIBS= - CFLAGS="-fPIC -Wall" - LDFLAGS="-shared" Index: head/net-im/prosody/files/patch-util-src_pposix.c =================================================================== --- head/net-im/prosody/files/patch-util-src_pposix.c (nonexistent) +++ head/net-im/prosody/files/patch-util-src_pposix.c (revision 454378) @@ -0,0 +1,10 @@ +--- util-src/pposix.c.orig 2017-11-11 08:52:04 UTC ++++ util-src/pposix.c +@@ -21,7 +21,6 @@ + #else + #define _DEFAULT_SOURCE + #endif +-#define _POSIX_C_SOURCE 200809L + + #include + #include Property changes on: head/net-im/prosody/files/patch-util-src_pposix.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-im/prosody/pkg-plist =================================================================== --- head/net-im/prosody/pkg-plist (revision 454377) +++ head/net-im/prosody/pkg-plist (revision 454378) @@ -1,138 +1,172 @@ bin/prosody bin/prosodyctl @sample etc/prosody/prosody.cfg.lua.sample etc/prosody/certs/Makefile etc/prosody/certs/localhost.cnf etc/prosody/certs/openssl.cnf lib/prosody/core/certmanager.lua lib/prosody/core/configmanager.lua lib/prosody/core/hostmanager.lua lib/prosody/core/loggingmanager.lua lib/prosody/core/moduleapi.lua lib/prosody/core/modulemanager.lua lib/prosody/core/rostermanager.lua lib/prosody/core/portmanager.lua lib/prosody/core/s2smanager.lua lib/prosody/core/sessionmanager.lua lib/prosody/core/stanza_router.lua +lib/prosody/core/statsmanager.lua lib/prosody/core/storagemanager.lua lib/prosody/core/usermanager.lua lib/prosody/modules/mod_admin_adhoc.lua lib/prosody/modules/mod_admin_telnet.lua lib/prosody/modules/mod_auth_anonymous.lua lib/prosody/modules/mod_auth_cyrus.lua lib/prosody/modules/mod_auth_internal_hashed.lua lib/prosody/modules/mod_auth_internal_plain.lua lib/prosody/modules/mod_c2s.lua lib/prosody/modules/mod_http.lua lib/prosody/modules/mod_http_errors.lua lib/prosody/modules/mod_http_files.lua lib/prosody/modules/mod_motd.lua lib/prosody/modules/mod_net_multiplex.lua lib/prosody/modules/mod_offline.lua -lib/prosody/modules/mod_pubsub.lua lib/prosody/modules/mod_storage_internal.lua lib/prosody/modules/mod_storage_none.lua lib/prosody/modules/mod_storage_sql.lua +lib/prosody/modules/mod_storage_sql1.lua +lib/prosody/modules/mod_storage_xep0227.lua lib/prosody/modules/mod_announce.lua +lib/prosody/modules/mod_blocklist.lua lib/prosody/modules/mod_bosh.lua +lib/prosody/modules/mod_carbons.lua lib/prosody/modules/mod_component.lua lib/prosody/modules/mod_compression.lua +lib/prosody/modules/mod_debug_sql.lua lib/prosody/modules/mod_dialback.lua lib/prosody/modules/mod_disco.lua lib/prosody/modules/mod_groups.lua lib/prosody/modules/mod_iq.lua lib/prosody/modules/mod_lastactivity.lua lib/prosody/modules/mod_legacyauth.lua +lib/prosody/modules/mod_limits.lua lib/prosody/modules/mod_message.lua lib/prosody/modules/mod_pep.lua lib/prosody/modules/mod_ping.lua lib/prosody/modules/mod_posix.lua lib/prosody/modules/mod_presence.lua lib/prosody/modules/mod_privacy.lua lib/prosody/modules/mod_private.lua lib/prosody/modules/mod_proxy65.lua lib/prosody/modules/mod_register.lua lib/prosody/modules/mod_roster.lua +lib/prosody/modules/mod_s2s_auth_certs.lua lib/prosody/modules/mod_saslauth.lua +lib/prosody/modules/mod_server_contact_info.lua lib/prosody/modules/mod_time.lua lib/prosody/modules/mod_tls.lua +lib/prosody/modules/mod_unknown.lua lib/prosody/modules/mod_uptime.lua lib/prosody/modules/mod_vcard.lua lib/prosody/modules/mod_version.lua lib/prosody/modules/mod_watchregistrations.lua +lib/prosody/modules/mod_websocket.lua lib/prosody/modules/mod_welcome.lua -lib/prosody/modules/sql.lib.lua +lib/prosody/modules/mod_windows.lua +lib/prosody/modules/mod_pubsub/mod_pubsub.lua +lib/prosody/modules/mod_pubsub/pubsub.lib.lua +lib/prosody/modules/mod_mam/fallback_archive.lib.lua +lib/prosody/modules/mod_mam/mamprefs.lib.lua +lib/prosody/modules/mod_mam/mamprefsxml.lib.lua +lib/prosody/modules/mod_mam/mod_mam.lua lib/prosody/modules/adhoc/adhoc.lib.lua lib/prosody/modules/adhoc/mod_adhoc.lua lib/prosody/modules/mod_s2s/mod_s2s.lua lib/prosody/modules/mod_s2s/s2sout.lib.lua lib/prosody/modules/muc/mod_muc.lua lib/prosody/modules/muc/muc.lib.lua -lib/prosody/modules/storage/mod_xep0227.lua -lib/prosody/modules/storage/sqlbasic.lib.lua -lib/prosody/modules/storage/xep227store.lib.lua lib/prosody/net/adns.lua lib/prosody/net/connlisteners.lua lib/prosody/net/dns.lua lib/prosody/net/http.lua lib/prosody/net/httpserver.lua lib/prosody/net/server.lua lib/prosody/net/server_event.lua lib/prosody/net/server_select.lua lib/prosody/net/http/codes.lua lib/prosody/net/http/parser.lua lib/prosody/net/http/server.lua +lib/prosody/net/websocket.lua +lib/prosody/net/websocket/frames.lua lib/prosody/prosody.version lib/prosody/util/adhoc.lua lib/prosody/util/array.lua +lib/prosody/util/cache.lua lib/prosody/util/caps.lua lib/prosody/util/dataforms.lua lib/prosody/util/datamanager.lua lib/prosody/util/datetime.lua lib/prosody/util/debug.lua lib/prosody/util/dependencies.lua lib/prosody/util/encodings.so lib/prosody/util/envload.lua lib/prosody/util/events.lua lib/prosody/util/filters.lua +lib/prosody/util/format.lua lib/prosody/util/hashes.so lib/prosody/util/helpers.lua +lib/prosody/util/hex.lua lib/prosody/util/hmac.lua lib/prosody/util/http.lua +lib/prosody/util/id.lua lib/prosody/util/import.lua +lib/prosody/util/interpolation.lua lib/prosody/util/ip.lua lib/prosody/util/iterators.lua lib/prosody/util/jid.lua lib/prosody/util/json.lua lib/prosody/util/logger.lua +lib/prosody/util/mercurial.lua lib/prosody/util/multitable.lua lib/prosody/util/net.so lib/prosody/util/openssl.lua +lib/prosody/util/paths.lua lib/prosody/util/pluginloader.lua lib/prosody/util/pposix.so +lib/prosody/util/presence.lua lib/prosody/util/prosodyctl.lua lib/prosody/util/pubsub.lua +lib/prosody/util/queue.lua +lib/prosody/util/random.lua lib/prosody/util/rfc6724.lua +lib/prosody/util/ringbuffer.so +lib/prosody/util/rsm.lua lib/prosody/util/sasl.lua -lib/prosody/util/sql.lua -lib/prosody/util/template.lua -lib/prosody/util/throttle.lua -lib/prosody/util/watchdog.lua -lib/prosody/util/x509.lua -lib/prosody/util/xml.lua -lib/prosody/util/xmppstream.lua lib/prosody/util/serialization.lua +lib/prosody/util/session.lua lib/prosody/util/set.lua lib/prosody/util/signal.so +lib/prosody/util/sql.lua +lib/prosody/util/sslconfig.lua lib/prosody/util/stanza.lua +lib/prosody/util/statistics.lua +lib/prosody/util/statsd.lua +lib/prosody/util/table.so +lib/prosody/util/template.lua lib/prosody/util/termcolours.lua +lib/prosody/util/throttle.lua +lib/prosody/util/time.lua lib/prosody/util/timer.lua lib/prosody/util/uuid.lua +lib/prosody/util/watchdog.lua +lib/prosody/util/x509.lua +lib/prosody/util/xml.lua +lib/prosody/util/xmppstream.lua lib/prosody/util/sasl/anonymous.lua lib/prosody/util/sasl/digest-md5.lua +lib/prosody/util/sasl/external.lua lib/prosody/util/sasl/plain.lua lib/prosody/util/sasl/scram.lua lib/prosody/util/sasl_cyrus.lua man/man1/prosodyctl.1.gz @dir(%%PROSODY_USER%%,%%PROSODY_GROUP%%,) var/lib/prosody