Re: UPDATE net/prosody 0.11.11 from MAINTAINER

2022-01-07 Thread Lucas
Lucas  wrote:
> Hi ports,
> 
> Prosody 0.11.11 release on 20-Dec. The release includes:
> 
> ## Fixes and improvements
> 
>   * net.server_epoll: Prioritize network events over timers to improve 
> performance under heavy load
>   * mod_pep: Add some memory usage limits
>   * mod_pep: Prevent creation of services for non-existent users
>   * mod_pep: Free resources on user deletion (needed a restart previously)
> 
> ## Minor changes
> 
>   * mod_pep: Free resources on reload
>   * mod_c2s: Indicate stream secure state in error text when no stream 
> features to offer
>   * MUC: Fix logic for access to affiliation lists
>   * net.server_epoll: Improvements to shutdown procedure 
> [#1670](https://issues.prosody.im/1670)
>   * net.server_epoll: Fix potential issue with rescheduling of timers
>   * prosodyctl: Fix to ensure LuaFileSystem is loaded when needed
>   * util.startup: Fix handling of unknown command line flags (e.g. `-h`)
>   * Fix version number reported as 'unknown' on *BSD

Bump.

diff a76422629a46836e2cb2be727c938e1fa598ae0c /usr/ports
blob - 4a8c38283b42bb5a2312291d879e0114e97b822e
file + net/prosody/Makefile
--- net/prosody/Makefile
+++ net/prosody/Makefile
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.64 2021/08/23 05:38:49 rsadowski Exp $
 
 COMMENT =  communications server for Jabber/XMPP written in Lua
-DISTNAME = prosody-0.11.10
+DISTNAME = prosody-0.11.11
 CATEGORIES =   net
 HOMEPAGE = https://prosody.im/
-REVISION = 0
 
 MAINTAINER =   Lucas 
 
blob - d78f08aadcaecc337ec0cd87c4e6a0ae05df957a
file + net/prosody/distinfo
--- net/prosody/distinfo
+++ net/prosody/distinfo
@@ -1,2 +1,2 @@
-SHA256 (prosody-0.11.10.tar.gz) = xtcU5tSm3dHbEmayBdnYo+2RgY9CdVySaP+xg1nSBOE=
-SIZE (prosody-0.11.10.tar.gz) = 43
+SHA256 (prosody-0.11.11.tar.gz) = oa+Q4tSsL3z4GzhUdRQOzuYL7B64MAPvta64l2WxN3Q=
+SIZE (prosody-0.11.11.tar.gz) = 439395
blob - 5dd352660701fcca0437b469e6bf60291e8d0963
file + net/prosody/patches/patch-makefile
--- net/prosody/patches/patch-makefile
+++ net/prosody/patches/patch-makefile
@@ -1,8 +1,6 @@
 $OpenBSD: patch-makefile,v 1.2 2021/08/23 05:38:49 rsadowski Exp $
 
-- First hunk: fix directories
-- Second hunk: fix `prosody.version` target to stop reporting prosody
-  version as `unknown`
+fix directories
 
 Index: makefile
 --- makefile.orig
@@ -22,25 +20,3 @@ Index: makefile
  
  INSTALLEDSOURCE = $(LIBDIR)/prosody
  INSTALLEDCONFIG = $(SYSCONFDIR)
-@@ -90,12 +90,12 @@ prosody.cfg.lua.install: prosody.cfg.lua.dist
-   sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' prosody.cfg.lua.dist > $@
- 
- prosody.version:
--  test -f prosody.release && \
--  cp prosody.release $@ || \
--  test -f .hg_archival.txt && \
--  sed -n 's/^node: \(\).*/\1/p' .hg_archival.txt > $@ 
|| \
--  test -f .hg/dirstate && \
--  hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || \
--  echo unknown > $@
--
--
-+  if [ -f prosody.release ]; then \
-+  cp prosody.release $@; \
-+  elif [ -f .hg_archival.txt ]; then \
-+  sed -n 's/^node: \(\).*/\1/p' .hg_archival.txt > 
$@; \
-+  elif [ -f .hg/dirstate ]; then \
-+  hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@; \
-+  else \
-+  echo unknown > $@; \
-+  fi



Re: UPDATE net/prosody 0.11.11 from MAINTAINER

2021-12-31 Thread Florian Viehweger
Am Wed, 29 Dec 2021 02:54:36 +
schrieb Lucas :

> Hi ports,
> 
> Prosody 0.11.11 release on 20-Dec. The release includes:
> 
> ## Fixes and improvements
> 
>   * net.server_epoll: Prioritize network events over timers to
> improve performance under heavy load
>   * mod_pep: Add some memory usage limits
>   * mod_pep: Prevent creation of services for non-existent users
>   * mod_pep: Free resources on user deletion (needed a restart
> previously)
> 
> ## Minor changes
> 
>   * mod_pep: Free resources on reload
>   * mod_c2s: Indicate stream secure state in error text when no
> stream features to offer
>   * MUC: Fix logic for access to affiliation lists
>   * net.server_epoll: Improvements to shutdown procedure
> [#1670](https://issues.prosody.im/1670)
>   * net.server_epoll: Fix potential issue with rescheduling of timers
>   * prosodyctl: Fix to ensure LuaFileSystem is loaded when needed
>   * util.startup: Fix handling of unknown command line flags (e.g.
> `-h`)
>   * Fix version number reported as 'unknown' on *BSD
> 
> Given the last point, one of the hunks for makefile can be dropped as
> it was merged upstream.
> 
> I tested it in -current amd64 given the amount of changes LibreSSL
> suffered during this cycle and it works fine. David, in Cc, arrived to
> the same patch and is a happy consumer on -stable amd64.

So far no issues on my amd64 production machine. Thank you!

-- 
greetings,

Florian Viehweger



UPDATE net/prosody 0.11.11 from MAINTAINER

2021-12-28 Thread Lucas
Hi ports,

Prosody 0.11.11 release on 20-Dec. The release includes:

## Fixes and improvements

  * net.server_epoll: Prioritize network events over timers to improve 
performance under heavy load
  * mod_pep: Add some memory usage limits
  * mod_pep: Prevent creation of services for non-existent users
  * mod_pep: Free resources on user deletion (needed a restart previously)

## Minor changes

  * mod_pep: Free resources on reload
  * mod_c2s: Indicate stream secure state in error text when no stream features 
to offer
  * MUC: Fix logic for access to affiliation lists
  * net.server_epoll: Improvements to shutdown procedure 
[#1670](https://issues.prosody.im/1670)
  * net.server_epoll: Fix potential issue with rescheduling of timers
  * prosodyctl: Fix to ensure LuaFileSystem is loaded when needed
  * util.startup: Fix handling of unknown command line flags (e.g. `-h`)
  * Fix version number reported as 'unknown' on *BSD

Given the last point, one of the hunks for makefile can be dropped as
it was merged upstream.

I tested it in -current amd64 given the amount of changes LibreSSL
suffered during this cycle and it works fine. David, in Cc, arrived to
the same patch and is a happy consumer on -stable amd64.

Cheers,
-Lucas


diff a76422629a46836e2cb2be727c938e1fa598ae0c /usr/ports
blob - 4a8c38283b42bb5a2312291d879e0114e97b822e
file + net/prosody/Makefile
--- net/prosody/Makefile
+++ net/prosody/Makefile
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.64 2021/08/23 05:38:49 rsadowski Exp $
 
 COMMENT =  communications server for Jabber/XMPP written in Lua
-DISTNAME = prosody-0.11.10
+DISTNAME = prosody-0.11.11
 CATEGORIES =   net
 HOMEPAGE = https://prosody.im/
-REVISION = 0
 
 MAINTAINER =   Lucas 
 
blob - d78f08aadcaecc337ec0cd87c4e6a0ae05df957a
file + net/prosody/distinfo
--- net/prosody/distinfo
+++ net/prosody/distinfo
@@ -1,2 +1,2 @@
-SHA256 (prosody-0.11.10.tar.gz) = xtcU5tSm3dHbEmayBdnYo+2RgY9CdVySaP+xg1nSBOE=
-SIZE (prosody-0.11.10.tar.gz) = 43
+SHA256 (prosody-0.11.11.tar.gz) = oa+Q4tSsL3z4GzhUdRQOzuYL7B64MAPvta64l2WxN3Q=
+SIZE (prosody-0.11.11.tar.gz) = 439395
blob - 5dd352660701fcca0437b469e6bf60291e8d0963
file + net/prosody/patches/patch-makefile
--- net/prosody/patches/patch-makefile
+++ net/prosody/patches/patch-makefile
@@ -1,8 +1,6 @@
 $OpenBSD: patch-makefile,v 1.2 2021/08/23 05:38:49 rsadowski Exp $
 
-- First hunk: fix directories
-- Second hunk: fix `prosody.version` target to stop reporting prosody
-  version as `unknown`
+fix directories
 
 Index: makefile
 --- makefile.orig
@@ -22,25 +20,3 @@ Index: makefile
  
  INSTALLEDSOURCE = $(LIBDIR)/prosody
  INSTALLEDCONFIG = $(SYSCONFDIR)
-@@ -90,12 +90,12 @@ prosody.cfg.lua.install: prosody.cfg.lua.dist
-   sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' prosody.cfg.lua.dist > $@
- 
- prosody.version:
--  test -f prosody.release && \
--  cp prosody.release $@ || \
--  test -f .hg_archival.txt && \
--  sed -n 's/^node: \(\).*/\1/p' .hg_archival.txt > $@ 
|| \
--  test -f .hg/dirstate && \
--  hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || \
--  echo unknown > $@
--
--
-+  if [ -f prosody.release ]; then \
-+  cp prosody.release $@; \
-+  elif [ -f .hg_archival.txt ]; then \
-+  sed -n 's/^node: \(\).*/\1/p' .hg_archival.txt > 
$@; \
-+  elif [ -f .hg/dirstate ]; then \
-+  hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@; \
-+  else \
-+  echo unknown > $@; \
-+  fi