diff options
author | fhajny <fhajny@pkgsrc.org> | 2014-11-27 10:18:20 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2014-11-27 10:18:20 +0000 |
commit | 6525cf3c06f9c9545ab4864f093bbf4a16b3f443 (patch) | |
tree | 5894fec889f67539d23ed44241290be4143e73ae /chat/prosody/Makefile | |
parent | 978afaea193e09dc6059e7498ea84ea8f2b798dd (diff) | |
download | pkgsrc-6525cf3c06f9c9545ab4864f093bbf4a16b3f443.tar.gz |
Update prosody to 0.9.7.
Clean up Makefile for readibility. Add SMF manifest.
Changes in 0.9.7:
- Fix server-to-server interoperability issue with Isode M-Link (since 0.9.6)
- Fix traceback in 'prosodyctl about' command with LuaRocks 2.2.0+ installed
Changes in 0.9.6:
- certmanager, net.http: Disable SSLv3 by default
- net.http.parser: Support status code 101 and allow handling of the received
data by plugins
- util.filters: Ignore filters being added twice (fixes issues on removal,
i.e. when some plugins are reloaded/unloaded)
- mod_s2s: Close offending s2s streams missing an 'id' attribute with
a stream error instead of throwing an unhandled error
- Networking API: Add 'ondetach' callback for listener objects, to prevent
leaks when connections have their listener changed
- core.stanza_router: Stricter validation of stanzas
- mod_admin_adhoc: Mark 'accountjids' field as required in 'end user sessions'
command (thanks Lloyd)
- mod_admin_adhoc: Add required to field in user deletion form too
- net.dns: Avoid duplicate cache entries
- util.stanza: Escape newlines and tabs (\r\n\t) when serializing stanzas.
- util/dataforms: Make sure we iterate over field tags only
- mod_s2s: Capitalize log message
- mod_pubsub: Fix error type of 'forbidden' (change from 'cancel' to 'auth')
Changes in 0.9.5:
- C2S: Fix traceback if a client opens a stream to component, which could
cause a crash in combination with some versions of LuaEvent
- C2S, S2S: Log received invalid stream headers
- S2S: Fix case where stream headers were sometimes sent twice
- DNS: Ensure all pending requests get notified of a timeout when looking
up a record
- DNS: Fix duplicated cache insertions by limiting outstanding queries
per name to one
- xmppstream: Disable LuaExpat's buffering
- xmppstream: Disable CharacterData merging after stream restarts
- xmppstream: Pass invalid stream headers to error handling
- Privacy lists: Correctly sort privacy list rules by order
- prosody: Check dependencies later in the startup sequence
- Config: Delay importing LuaFileSystem until needed by an Include line
- Config: Normalize VirtualHost and Component names
- prosodyctl: Normalize JIDs for adduser/passwd/deluser
- POSIX: Fix error reporting from disk space allocation
- POSIX: Verify that 'pidfile' is a string, show friendly error otherwise
- Dependency checking: Check that prosody is running under Lua 5.1. We don't
currently support any other versions. (LuaJIT identifies as 5.1)
- Compliance: Reset stream ID when resetting stream
- Compression: Log compression setup errors
- Console: Fix commands for adding and replacing name servers
- Console MUC commands: Fix error when a non-existent host is entered
- Filters: Prevent filters from being added twice
- Network: Transfer all available data between linked sockets
- dataforms: Add support for XEP-0221: Data Forms Media Element
Diffstat (limited to 'chat/prosody/Makefile')
-rw-r--r-- | chat/prosody/Makefile | 53 |
1 files changed, 22 insertions, 31 deletions
diff --git a/chat/prosody/Makefile b/chat/prosody/Makefile index 60d5200e66e..f9eace268f2 100644 --- a/chat/prosody/Makefile +++ b/chat/prosody/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.17 2014/10/19 22:27:43 alnsn Exp $ +# $NetBSD: Makefile,v 1.18 2014/11/27 10:18:20 fhajny Exp $ # -DISTNAME= prosody-0.9.4 -PKGREVISION= 2 +DISTNAME= prosody-0.9.7 CATEGORIES= chat MASTER_SITES= http://prosody.im/downloads/source/ @@ -11,18 +10,16 @@ HOMEPAGE= http://prosody.im/ COMMENT= Flexible communications server for Jabber/XMPP written in Lua LICENSE= mit -DEPENDS+= ${LUA_PKGPREFIX}-filesystem>=1.0:../../devel/lua-filesystem -DEPENDS+= ${LUA_PKGPREFIX}-expat>=1.2:../../textproc/lua-expat -DEPENDS+= ${LUA_PKGPREFIX}-sec>=0.3.3:../../security/lua-sec -DEPENDS+= ${LUA_PKGPREFIX}-socket>=2.0:../../net/lua-socket +DEPENDS+= ${LUA_PKGPREFIX}-expat>=1.2:../../textproc/lua-expat +DEPENDS+= ${LUA_PKGPREFIX}-filesystem>=1.0:../../devel/lua-filesystem +DEPENDS+= ${LUA_PKGPREFIX}-sec>=0.3.3:../../security/lua-sec +DEPENDS+= ${LUA_PKGPREFIX}-socket>=2.0:../../net/lua-socket HAS_CONFIGURE= yes USE_TOOLS+= gmake BUILD_DEFS+= VARBASE -CONFIGURE_ARGS+= --with-lua-include=${PREFIX}/${LUA_INCDIR} - -RCD_SCRIPTS= prosody +LUA_VERSIONS_ACCEPTED= 51 .include "../../mk/bsd.prefs.mk" @@ -32,7 +29,6 @@ PROSODY_DATA?= ${VARBASE}/db/prosody PROSODY_LOG?= ${VARBASE}/log/prosody PROSODY_RUN?= ${VARBASE}/run/prosody -OWN_DIRS+= ${PROSODY_DATA} ${PROSODY_LOG} ${PROSODY_RUN} OWN_DIRS_PERMS+= ${PROSODY_DATA} ${PROSODY_USER} ${PROSODY_GROUP} 0770 OWN_DIRS_PERMS+= ${PROSODY_LOG} ${PROSODY_USER} ${PROSODY_GROUP} 0770 OWN_DIRS_PERMS+= ${PROSODY_RUN} ${PROSODY_USER} ${PROSODY_GROUP} 0770 @@ -56,34 +52,29 @@ CONF_FILES+= ${EGDIR}/certs/localhost.cnf ${PKG_SYSCONFDIR}/certs/localhost.cnf CONF_FILES+= ${EGDIR}/certs/localhost.crt ${PKG_SYSCONFDIR}/certs/localhost.crt CONF_FILES+= ${EGDIR}/certs/localhost.key ${PKG_SYSCONFDIR}/certs/localhost.key -CFLAGS+= -fPIC -Wall -DLUA_COMPAT_MODULE - REPLACE_LUA+= prosody prosodyctl -CONFIGURE_ARGS+= --prefix=${PREFIX} -CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} +SUBST_CLASSES+= path +SUBST_MESSAGE.path= Fixing default paths +SUBST_STAGE.path= pre-configure +SUBST_FILES.path= Makefile man/prosodyctl.man prosody.cfg.lua.dist +SUBST_SED.path= -e 's,/etc/prosody,${PKG_SYSCONFDIR},g' +SUBST_VARS.path= EGDIR PROSODY_DATA PROSODY_LOG PROSODY_RUN + +CONFIGURE_ARGS+= --cflags=${CFLAGS:Q} CONFIGURE_ARGS+= --datadir=${PROSODY_DATA} CONFIGURE_ARGS+= --ldflags="${COMPILER_RPATH_FLAG}${PREFIX}/lib -shared" -CONFIGURE_ARGS+= --cflags=${CFLAGS:Q} +CONFIGURE_ARGS+= --prefix=${PREFIX} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} +CONFIGURE_ARGS+= --with-lua-include=${PREFIX}/${LUA_INCDIR} -SUBST_CLASSES+= eg -SUBST_MESSAGE.eg= Fixing examples/configuration directories -SUBST_STAGE.eg= post-patch -SUBST_FILES.eg= Makefile man/prosodyctl.man -SUBST_SED.eg= -e 's,@EGDIR@,${EGDIR},g' -SUBST_SED.eg+= -e 's,/etc/prosody,${PKG_SYSCONFDIR},g' - -SUBST_CLASSES+= config -SUBST_MESSAGE.config= Configure POSIX functionality -SUBST_STAGE.config= pre-configure -SUBST_FILES.config= prosody.cfg.lua.dist -SUBST_SED.config= -e 's,@PROSODY_DATA@,${PROSODY_DATA},' -SUBST_SED.config+= -e 's,@PROSODY_LOG@,${PROSODY_LOG},' -SUBST_SED.config+= -e 's,@PROSODY_RUN@,${PROSODY_RUN},' +CFLAGS+= -fPIC -Wall -DLUA_COMPAT_MODULE +MAKE_ENV+= SOCKET_LIB=-lsocket + +RCD_SCRIPTS= prosody .include "../../lang/lua/application.mk" .include "../../lang/lua/tool.mk" - .include "../../devel/libidn/buildlink3.mk" .include "../../lang/lua/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" |