git: 0449063d8ab2 - main - net-mgmt/netxms: Update version 3.3.350=>3.4.313

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 12 May 2023 18:36:15 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0449063d8ab20e7f405399aa896872a7a57ba9b3

commit 0449063d8ab20e7f405399aa896872a7a57ba9b3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-12 15:30:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-12 18:36:06 +0000

    net-mgmt/netxms: Update version 3.3.350=>3.4.313
    
    - Pet portclippy
    - Add PLIST_SUBS for easier pkg-plist maintenance
---
 net-mgmt/netxms/Makefile  | 44 +++++++++++++++++++++++++-------------------
 net-mgmt/netxms/distinfo  |  6 +++---
 net-mgmt/netxms/pkg-plist | 36 ++++++++++++++++++------------------
 3 files changed, 46 insertions(+), 40 deletions(-)

diff --git a/net-mgmt/netxms/Makefile b/net-mgmt/netxms/Makefile
index 6754f115133d..1fbdf1b3abfc 100644
--- a/net-mgmt/netxms/Makefile
+++ b/net-mgmt/netxms/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	netxms
-PORTVERSION=	3.3.350
+PORTVERSION=	3.4.313
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://www.netxms.org/download/releases/${PORTVERSION:R}/
 
@@ -20,37 +20,43 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libtre.so:textproc/libtre \
 		libmosquitto.so:net/mosquitto
 
+USES=		gmake iconv libtool localbase perl5 ssl
+USE_LDCONFIG=	yes
+
+GNU_CONFIGURE=	yes
+
+INSTALL_TARGET=	install-strip
+
+LDFLAGS+=	-ljansson
+
+USERS=		netxms
+GROUPS=		netxms
+
+PLIST_SUB=	SONUM=${SONUM}
+
 OPTIONS_DEFINE=	SERVER CLIENT AGENT SSH
 OPTIONS_DEFAULT=	CLIENT AGENT SSH
 OPTIONS_SINGLE=	SERVER
 OPTIONS_SINGLE_SERVER=	MYSQL PGSQL ODBC
 OPTIONS_SUB=	yes
 
-SERVER_DESC=	Install NetXMS server & agent
-CLIENT_DESC=	Install NetXMS client
 AGENT_DESC=	Install NetXMS agent
+CLIENT_DESC=	Install NetXMS client
+SERVER_DESC=	Install NetXMS server & agent
 
-CLIENT_CONFIGURE_ON=	--with-client
 AGENT_CONFIGURE_ON=	--with-agent
-SERVER_CONFIGURE_ON=	--with-server
-MYSQL_CONFIGURE_ON=	--with-mysql
+CLIENT_CONFIGURE_ON=	--with-client
 MYSQL_USES=		mysql
-PGSQL_CONFIGURE_ON=	--with-pgsql
-PGSQL_USES=		pgsql
-ODBC_CONFIGURE_ON=	--with-odbc
+MYSQL_CONFIGURE_ON=	--with-mysql
 ODBC_LIB_DEPENDS=	libodbc.so:databases/unixODBC
-SSH_CONFIGURE_OFF=	--disable-ssh
+ODBC_CONFIGURE_ON=	--with-odbc
+PGSQL_USES=		pgsql
+PGSQL_CONFIGURE_ON=	--with-pgsql
+SERVER_CONFIGURE_ON=	--with-server
 SSH_LIB_DEPENDS=	libssh.so:security/libssh
+SSH_CONFIGURE_OFF=	--disable-ssh
 
-USES=		gmake iconv libtool localbase perl5 ssl
-GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
-INSTALL_TARGET=	install-strip
-
-LDFLAGS+=	-ljansson
-
-USERS=		netxms
-GROUPS=		netxms
+SONUM=	34
 
 .include <bsd.port.options.mk>
 
diff --git a/net-mgmt/netxms/distinfo b/net-mgmt/netxms/distinfo
index 353806269181..6684724ab1f6 100644
--- a/net-mgmt/netxms/distinfo
+++ b/net-mgmt/netxms/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1683901938
-SHA256 (netxms-3.3.350.tar.gz) = 567a5c2678c4ce6f43d8bb8dfc195810c5ada99b7b3c8da2bcca9d75bf5236fa
-SIZE (netxms-3.3.350.tar.gz) = 59256385
+TIMESTAMP = 1683904280
+SHA256 (netxms-3.4.313.tar.gz) = 4391ba6c61de208b7b61f5636337bddbaa21968eb57f6208d89e34acc1d50d51
+SIZE (netxms-3.4.313.tar.gz) = 59552871
diff --git a/net-mgmt/netxms/pkg-plist b/net-mgmt/netxms/pkg-plist
index eba701d278b8..9661bc626dc9 100644
--- a/net-mgmt/netxms/pkg-plist
+++ b/net-mgmt/netxms/pkg-plist
@@ -29,11 +29,11 @@
 %%NXCP%%@sample etc/nxagentd.conf.sample
 include/netxms-build-tag.h
 lib/libethernetip.so
-lib/libethernetip.so.33
-lib/libethernetip.so.33.0.0
+lib/libethernetip.so.%%SONUM%%
+lib/libethernetip.so.%%SONUM%%.0.0
 lib/libnetxms.so
-lib/libnetxms.so.33
-lib/libnetxms.so.33.0.0
+lib/libnetxms.so.%%SONUM%%
+lib/libnetxms.so.%%SONUM%%.0.0
 lib/libnsm_lorawan.so
 lib/libnsm_mqtt.so
 %%SSH%%lib/libnsm_ssh.so
@@ -52,19 +52,19 @@ lib/libnsm_mqtt.so
 %%NXCP%%lib/libnxsqlite.so.3
 %%AGENT%%lib/libnxsqlite.so.3.0.22
 %%NXCP%%lib/libnxdb.so
-%%AGENT%%lib/libnxdb.so.33
-%%AGENT%%lib/libnxdb.so.33.0.0
+%%AGENT%%lib/libnxdb.so.%%SONUM%%
+%%AGENT%%lib/libnxdb.so.%%SONUM%%.0.0
 %%AGENT%%lib/netxms/devemu.nsm
 %%NXCP%%lib/libappagent.so
-lib/libappagent.so.33
-lib/libappagent.so.33.0.0
+lib/libappagent.so.%%SONUM%%
+lib/libappagent.so.%%SONUM%%.0.0
 %%SERVER%%lib/libavaya-ers.so
 %%SERVER%%lib/libcisco.so
 %%NXCP%%lib/libnsm_dbquery.so
 %%AGENT%%lib/libnsm_gps.so
 %%AGENT%%lib/libnxagent.so
-%%AGENT%%lib/libnxagent.so.33
-%%AGENT%%lib/libnxagent.so.33.0.0
+%%AGENT%%lib/libnxagent.so.%%SONUM%%
+%%AGENT%%lib/libnxagent.so.%%SONUM%%.0.0
 %%AGENT%%lib/libnxappc.a
 %%AGENT%%lib/netxms/gps.nsm
 %%SERVER%%lib/libnsm_filemgr.so
@@ -82,8 +82,8 @@ lib/libappagent.so.33.0.0
 %%NXCP%%lib/libnsm_sms.so
 %%NXCP%%lib/libnsm_ups.so
 %%CLIENT%%lib/libnxclient.so
-%%CLIENT%%lib/libnxclient.so.33
-%%CLIENT%%lib/libnxclient.so.33.0.0
+%%CLIENT%%lib/libnxclient.so.%%SONUM%%
+%%CLIENT%%lib/libnxclient.so.%%SONUM%%.0.0
 %%SERVER%%lib/libnxcore.so
 %%SERVER%%lib/libnxcore.so.2
 %%MYSQL%%lib/libnxddr_mysql.so
@@ -91,19 +91,19 @@ lib/libappagent.so.33.0.0
 %%PGSQL%%lib/libnxddr_pgsql.so
 lib/libnxddr_sqlite.so
 %%NXCP%%lib/libnxlp.so
-%%AGENT%%lib/libnxlp.so.33
-%%AGENT%%lib/libnxlp.so.33.0.0
+%%AGENT%%lib/libnxlp.so.%%SONUM%%
+%%AGENT%%lib/libnxlp.so.%%SONUM%%.0.0
 lib/libnxmb.so
-lib/libnxmb.so.33
-lib/libnxmb.so.33.0.0
+lib/libnxmb.so.%%SONUM%%
+lib/libnxmb.so.%%SONUM%%.0.0
 %%SERVER%%lib/libnxsl.so
 %%SERVER%%lib/libnxsl.so.2
 %%SERVER%%lib/libnxsms_generic.so
 %%SERVER%%lib/libnxsms_nxagent.so
 %%SERVER%%lib/libnxsms_websms.so
 %%SERVER%%lib/libnxsnmp.so
-lib/libnxsnmp.so.33
-lib/libnxsnmp.so.33.0.0
+lib/libnxsnmp.so.%%SONUM%%
+lib/libnxsnmp.so.%%SONUM%%.0.0
 %%SERVER%%lib/libnxsrv.so
 %%SERVER%%lib/libnxsrv.so.2
 %%MYSQL%%lib/netxms/dbdrv/mysql.ddr