--- prosody/Makefile 2013-09-13 21:08:03.000000000 -0400 +++ prosody/Makefile 2013-09-13 21:44:21.000000000 -0400 @@ -6,7 +6,7 @@ # PORTNAME= prosody -PORTVERSION= 0.8.2 +PORTVERSION= 0.9.1 CATEGORIES= net-im MASTER_SITES= http://prosody.im/downloads/source/ \ http://redundancy.redundancy.org/mirror/ @@ -39,7 +39,7 @@ ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL ${REINPLACE_CMD} -e 's|/usr/bin/env lua|${LUA_CMD}|' ${WRKSRC}/prosody ${WRKSRC}/prosodyctl ${RM} ${WRKSRC}/certs/localhost.* - cd ${WRKSRC}/certs && ${GMAKE} localhost.cert + cd ${WRKSRC}/certs && ${GMAKE} localhost.crt post-install: ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL --- prosody/distinfo 2013-09-13 21:08:03.000000000 -0400 +++ prosody/distinfo 2013-09-13 21:10:16.000000000 -0400 @@ -1,2 +1,2 @@ -SHA256 (prosody-0.8.2.tar.gz) = d0315150f8487fc960adf56ce057985428679975f9c6f3fcf424832d24eaae60 -SIZE (prosody-0.8.2.tar.gz) = 212170 +SHA256 (prosody-0.9.1.tar.gz) = 6cdea6fd6027bec621f7995709ca825a29aa5e066b321bfbb7785925c9f32cd5 +SIZE (prosody-0.9.1.tar.gz) = 265755 --- prosody/files/patch-Makefile 2013-09-13 21:08:03.000000000 -0400 +++ prosody/files/patch-Makefile 2013-09-13 21:44:09.000000000 -0400 @@ -1,26 +1,16 @@ ---- ./Makefile.orig 2011-04-05 15:47:05.000000000 +0200 -+++ ./Makefile 2011-04-10 18:09:24.000000000 +0200 -@@ -6,7 +6,7 @@ - MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules - SOURCE = $(DESTDIR)$(PREFIX)/lib/prosody - DATA = $(DESTDIR)$(DATADIR) --MAN = $(DESTDIR)$(PREFIX)/share/man -+MAN = $(DESTDIR)$(PREFIX)/man - - INSTALLEDSOURCE = $(PREFIX)/lib/prosody - INSTALLEDCONFIG = $(SYSCONFDIR) -@@ -33,11 +33,12 @@ - install -m644 plugins/*.lua $(MODULES) - install -d $(MODULES)/muc - install -m644 plugins/muc/* $(MODULES)/muc -- install -m644 certs/* $(CONFIG)/certs -+ install -m644 certs/localhost.cert $(CONFIG)/certs/localhost.cert.sample +--- Makefile.orig 2013-09-13 21:12:43.000000000 -0400 ++++ Makefile 2013-09-13 21:14:07.000000000 -0400 +@@ -34,10 +34,11 @@ + install -m644 util/*.so $(SOURCE)/util + install -d $(SOURCE)/util/sasl + install -m644 util/sasl/* $(SOURCE)/util/sasl ++ install -m644 certs/localhost.crt $(CONFIG)/certs/localhost.crt.sample + install -m644 certs/localhost.key $(CONFIG)/certs/localhost.key.sample - install -d $(MODULES)/adhoc - install -m644 plugins/adhoc/*.lua $(MODULES)/adhoc + 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 prosody.version $(SOURCE)/prosody.version || true + test -e prosody.version && install -m644 prosody.version $(SOURCE)/prosody.version || true $(MAKE) install -C util-src --- prosody/files/patch-certs-Makefile 2013-09-13 21:08:03.000000000 -0400 +++ prosody/files/patch-certs-Makefile 2013-09-13 21:22:09.000000000 -0400 @@ -1,5 +1,5 @@ ---- certs/Makefile.orig 2011-06-27 15:22:39.024815105 -0700 -+++ certs/Makefile 2011-06-27 15:24:55.275832762 -0700 +--- certs/Makefile.orig 2013-09-13 21:17:31.000000000 -0400 ++++ certs/Makefile 2013-09-13 21:18:55.000000000 -0400 @@ -2,13 +2,13 @@ keysize=2048 @@ -12,14 +12,9 @@ +# Then `gmake yourhost.key` to create your private key, you can # include keysize=number to change the size of the key. -# Then you can either `make yourhost.csr` to generate a certificate --# signing request that you can submit to a CA, or `make yourhost.cert` +-# signing request that you can submit to a CA, or `make yourhost.crt` +# Then you can either `gmake yourhost.csr` to generate a certificate -+# signing request that you can submit to a CA, or `gmake yourhost.cert` ++# signing request that you can submit to a CA, or `gmake yourhost.crt` # to generate a self signed certificate. .PRECIOUS: %.cnf %.key -@@ -28,3 +28,4 @@ - %.key: - openssl genrsa $(keysize) > $@ - @chmod 400 $@ -+ @chown prosody:prosody $@ --- prosody/files/patch-prosody.cfg.lua.dist 2013-09-13 21:08:03.000000000 -0400 +++ prosody/files/patch-prosody.cfg.lua.dist 2013-09-13 21:24:13.000000000 -0400 @@ -1,11 +1,11 @@ ---- prosody.cfg.lua.dist.orig 2011-04-11 13:21:41.498385123 -0700 -+++ prosody.cfg.lua.dist 2011-04-11 13:21:51.387828331 -0700 -@@ -59,7 +59,7 @@ - --"admin_telnet"; -- Opens telnet console interface on localhost port 5582 +--- prosody.cfg.lua.dist.orig 2013-09-13 21:22:50.000000000 -0400 ++++ prosody.cfg.lua.dist 2013-09-13 21:23:50.000000000 -0400 +@@ -63,7 +63,7 @@ + --"http_files"; -- Serve static files from a directory over HTTP -- Other specific functionality - --"posix"; -- POSIX functionality, sends server to background, enables syslog, etc. + "posix"; -- POSIX functionality, sends server to background, enables syslog, etc. - --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP" - --"httpserver"; -- Serve static files from a directory over HTTP --"groups"; -- Shared roster support + --"announce"; -- Send announcement to all online users + --"welcome"; -- Welcome users who register accounts