git: 3b2d5a07cf7e - main - net/siproxd: Update 0.8.2 => 0.8.3, take maintainership

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Wed, 07 May 2025 18:46:08 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b2d5a07cf7ef0a4f38abfe8002336f2e1a1aee5

commit 3b2d5a07cf7ef0a4f38abfe8002336f2e1a1aee5
Author:     Siva Mahadevan <me@svmhdvn.name>
AuthorDate: 2025-05-07 17:32:48 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-05-07 17:49:30 +0000

    net/siproxd: Update 0.8.2 => 0.8.3, take maintainership
    
    Release Notes:
    https://siproxd.sourceforge.io/index.php?op=relnotes
    Changelog:
    https://github.com/hb9xar/siproxd/blob/rel_0_8_3/ChangeLog
    
    - Replace PORTVERSION with DISTVERSION.
    - Fix DOCS option: regardless of the value of the DOCS option, the port
      always installed all docs.
    - Remove upstreamed patches.
    - Take maitainership: last activity of the former maintainer was in 2008.
    
    PR:             280506
    Approved by:    Frank W. Josellis <frank@dynamical-systems.org> (maintainer, timeout)
---
 net/siproxd/Makefile                    | 25 ++++++++++++-------------
 net/siproxd/distinfo                    |  5 +++--
 net/siproxd/files/patch-src__dejitter.c | 11 -----------
 net/siproxd/files/patch-src_accessctl.c | 11 -----------
 net/siproxd/pkg-plist                   |  4 ++++
 5 files changed, 19 insertions(+), 37 deletions(-)

diff --git a/net/siproxd/Makefile b/net/siproxd/Makefile
index 2f349c9ce968..9b94cdd35e53 100644
--- a/net/siproxd/Makefile
+++ b/net/siproxd/Makefile
@@ -1,10 +1,9 @@
 PORTNAME=	siproxd
-PORTVERSION=	0.8.2
-PORTREVISION=	1
+DISTVERSION=	0.8.3
 CATEGORIES=	net
 MASTER_SITES=	SF
 
-MAINTAINER=	frank@dynamical-systems.org
+MAINTAINER=	me@svmhdvn.name
 COMMENT=	Proxy/masquerading daemon for the SIP protocol
 WWW=		http://siproxd.sourceforge.net/
 
@@ -13,7 +12,7 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libosip2.so:net/libosip2
 
 # :keepla because port uses lt_dlopen
-USES=		libtool:keepla
+USES=		libtool:keepla sqlite
 USE_RC_SUBR=	siproxd
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-doc --disable-static --with-libosip-prefix=${PREFIX}
@@ -26,22 +25,22 @@ PORTDOCS=	${PORTDOCS1} ${PORTDOCS2}
 
 OPTIONS_DEFINE=	DOCS
 
-post-extract:
-.for docs in ${PORTDOCS2}
-	${CP} ${WRKSRC}/doc/${docs} ${WRKSRC}
-.endfor
-
 post-patch:
 	${REINPLACE_CMD} -e 's,siproxd\.conf\.example,siproxd.conf.sample,g' \
 		${WRKSRC}/doc/Makefile.in
 	${MV} ${WRKSRC}/doc/siproxd.conf.example ${WRKSRC}/doc/siproxd.conf.sample
 
 post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for docs in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
-.endfor
 	${INSTALL_DATA} ${WRKSRC}/doc/siproxd_passwd.cfg \
 		${STAGEDIR}${PREFIX}/etc/siproxd_passwd.cfg.sample
 
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for d in ${PORTDOCS1}
+	${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR}
+.endfor
+.for d in ${PORTDOCS2}
+	${INSTALL_DATA} ${WRKSRC}/doc/${d} ${STAGEDIR}${DOCSDIR}
+.endfor
+
 .include <bsd.port.mk>
diff --git a/net/siproxd/distinfo b/net/siproxd/distinfo
index fb215c441529..34021a322575 100644
--- a/net/siproxd/distinfo
+++ b/net/siproxd/distinfo
@@ -1,2 +1,3 @@
-SHA256 (siproxd-0.8.2.tar.gz) = 526ce491b0cc189e2766c62432aff3ebb995e551d7261ea32c02a90c7bf7ccd0
-SIZE (siproxd-0.8.2.tar.gz) = 846148
+TIMESTAMP = 1746570576
+SHA256 (siproxd-0.8.3.tar.gz) = 9a6d7a6bb6fff162775b1e1fb7018de9c69642cbf8626185dc6ffceeeba07736
+SIZE (siproxd-0.8.3.tar.gz) = 602331
diff --git a/net/siproxd/files/patch-src__dejitter.c b/net/siproxd/files/patch-src__dejitter.c
deleted file mode 100644
index fac55474ee77..000000000000
--- a/net/siproxd/files/patch-src__dejitter.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/dejitter.c.orig	2014-07-10 16:37:54.000000000 +0200
-+++ src/dejitter.c	2014-07-10 16:38:40.000000000 +0200
-@@ -24,6 +24,8 @@
- 
- #include <sys/types.h>
- #include <sys/socket.h>
-+#include <sys/time.h>
-+#include <string.h>
- #include <netinet/in.h>
- 
- #include <osipparser2/osip_parser.h>
diff --git a/net/siproxd/files/patch-src_accessctl.c b/net/siproxd/files/patch-src_accessctl.c
deleted file mode 100644
index 4fe0a3050725..000000000000
--- a/net/siproxd/files/patch-src_accessctl.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/accessctl.c.orig	2015-09-13 08:43:04 UTC
-+++ src/accessctl.c
-@@ -34,7 +34,7 @@
- static char const ident[]="$Id: accessctl.c 521 2015-09-13 08:43:04Z hb9xar $";
- 
- /* configuration storage */
--struct siproxd_config configuration;
-+extern struct siproxd_config configuration;
- 
- 
- /*
diff --git a/net/siproxd/pkg-plist b/net/siproxd/pkg-plist
index dbe0377b6f14..44e5f928e934 100644
--- a/net/siproxd/pkg-plist
+++ b/net/siproxd/pkg-plist
@@ -1,5 +1,7 @@
 @sample etc/siproxd.conf.sample
 @sample etc/siproxd_passwd.cfg.sample
+lib/siproxd/plugin_blacklist.la
+lib/siproxd/plugin_blacklist.so
 lib/siproxd/plugin_codecfilter.la
 lib/siproxd/plugin_codecfilter.so
 lib/siproxd/plugin_defaulttarget.la
@@ -22,6 +24,8 @@ lib/siproxd/plugin_shortdial.la
 lib/siproxd/plugin_shortdial.so
 lib/siproxd/plugin_siptrunk.la
 lib/siproxd/plugin_siptrunk.so
+lib/siproxd/plugin_stats.la
+lib/siproxd/plugin_stats.so
 lib/siproxd/plugin_stripheader.la
 lib/siproxd/plugin_stripheader.so
 lib/siproxd/plugin_stun.la