From nobody Wed Feb 28 17:05:42 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TlLMp58bvz5BwJW; Wed, 28 Feb 2024 17:05:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TlLMp4gnDz44MH; Wed, 28 Feb 2024 17:05:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709139942; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ew6E00UnkseZJOwEZl3CEKOMkfOMRpX0tZ2oPdZCQA0=; b=R+9zH6S8sQx43oXZTtFVpXwhHeqNJz1ap1Dr5zG2idg2B103og+I4Ws6Y8ia15SpU5qyrK +ZRaJrI+5sLJJ0fFmpweQlTMDZD2vWXVah9u7rGa+oQ43VW/sUABzgBIixRv1kiAsp2PPj 29pTmLk9NOB59CgmIFzMSOEapzhvS1NcdZPy3XiHya4ZzGWhOjW7zQdhNaC0lqWh07oj4M 9B9wpbUmaAMC+PKVwWgCO/Ap7eBPu7Bdsu6YVZyMZaNchG1Z2ddfTxXRxcoECWUiwOcAFw q0nx/RQY7RtSxsIecY3YthZLC2meeOmmSCGNJCufiG79DnDvjTD0QX3NPBGsnQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709139942; a=rsa-sha256; cv=none; b=NZyJvSBUWjMpDnTAHCmKQXHE/D0XMSau3ITKWG4By7bNkUEwQzdwb4wHaFFLBJ6kobSk/U z9Efz6jwGGUzYk6dsBFVo6PV6JtRx7RBWJ5443yQtNzLrlWb44UVjKmU4Mm39fjsaN288T C0uN4UGh90gl6dsuXY5pg3bbSWKLARc+pB+cRpe30zqHlK2KGmA9vt5lyAhW5yyciIFsqW 31TKMNQj4x/ODcKYbzfvociCYa5I/hogPxXfmH7S6ZxHqidnShNn4xiD6thECJGlqI4/az 12Ch6VI6mb6PpgG7gFsxtTiH5RBVsLAocSbfk2At7rxmLkaf/j6CjH/ChHKBuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709139942; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ew6E00UnkseZJOwEZl3CEKOMkfOMRpX0tZ2oPdZCQA0=; b=fNOsbZr2b8Mk9x2r1b4FuM3FLPMnoVEHib21O8WueEMebz+7+Bip0hZRV/g0bgqJLI2GWe 4QoN34cu4/3SPIgrLLfO+pfsyU1tk0Gnw7LCIr+U/tZN1OYzvJKEmA6QyBwXtHVRb4ZM/u jY/Pn0aQV1iMRNmoKcpaCPBzatBMQbWPoeA7XnPgT+vcFFFys7led9uKyCuzpwMri0IhFk /K1Prg26ePsDyNlgsitmxWDt8P0gCDZ6twvZi8WWMCbthpFgqOD14ARRNOeUHebUr+d1BA c5HdU88e3NHJOi4Nq1zDmdIIVgIg6joasKUAKCZns/tfvf9obsn//TrhhS+NQQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TlLMp3drrz15Lr; Wed, 28 Feb 2024 17:05:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41SH5g1d053513; Wed, 28 Feb 2024 17:05:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41SH5gi2053510; Wed, 28 Feb 2024 17:05:42 GMT (envelope-from git) Date: Wed, 28 Feb 2024 17:05:42 GMT Message-Id: <202402281705.41SH5gi2053510@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: 9342baefce1b - main - net-mgmt/librenms: Update to 24.2.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9342baefce1b8670da95d1f83275225239ade052 Auto-Submitted: auto-generated The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=9342baefce1b8670da95d1f83275225239ade052 commit 9342baefce1b8670da95d1f83275225239ade052 Author: Dan Langille AuthorDate: 2024-02-28 17:00:36 +0000 Commit: Dan Langille CommitDate: 2024-02-28 17:05:35 +0000 net-mgmt/librenms: Update to 24.2.0 re: https://github.com/librenms/librenms/releases/tag/24.2.0 This release works with php82 and php83 for me. The previous release worked on php82, but not php83. Adjust the pkg-message for so `lnms migrate` and `./validate.php` work instead of saying you can't run this as root. --- net-mgmt/librenms/Makefile | 5 +++-- net-mgmt/librenms/distinfo | 10 +++++----- net-mgmt/librenms/files/pkg-message.in | 5 +++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile index 995aa46ce7f4..5178b89352d7 100644 --- a/net-mgmt/librenms/Makefile +++ b/net-mgmt/librenms/Makefile @@ -1,5 +1,5 @@ PORTNAME= librenms -PORTVERSION= 24.1.0 +PORTVERSION= 24.2.0 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= LOCAL/dvl:vendor @@ -127,7 +127,7 @@ _SCRIPT_FILES= daily.sh lnms # _RELEASE_TIMESTAMP is used for a patch inside the vendor code # it represents the release date via: git show --pretty='%H|%ct' -s 1.42.01 # It sits here so you remember to update it with each release -_RELEASE_TIMESTAMP= 1704642592 +_RELEASE_TIMESTAMP= 1709060050 _ROOT_DIRS= LibreNMS app bootstrap config database doc html \ includes lang licenses mibs misc resources routes \ scripts tests @@ -227,6 +227,7 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/.env.example ${STAGEDIR}/${WWWDIR} ${ECHO_CMD} "@dir(www,www,0775) ${DBDIR}/storage" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) ${DBDIR}" >> ${TMPPLIST} + ${ECHO_CMD} "@dir(www,www,0775) ${WWWDIR}/html/images/custommap/background" >> ${TMPPLIST} ${ECHO_CMD} "@dir(www,www,0775) /var/log/${PORTNAME}" >> ${TMPPLIST} ${ECHO_CMD} "@(root,www,0750) ${WWWDIR}/.env.example" >> ${TMPPLIST} diff --git a/net-mgmt/librenms/distinfo b/net-mgmt/librenms/distinfo index 213a18081cc5..899ccabede63 100644 --- a/net-mgmt/librenms/distinfo +++ b/net-mgmt/librenms/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1704848844 -SHA256 (librenms-vendor-24.1.0.tar.gz) = c321a0e5b27c1f67519b970f0a066c28f3adb352ef38a10e517984f29f014897 -SIZE (librenms-vendor-24.1.0.tar.gz) = 27803312 -SHA256 (librenms-librenms-24.1.0_GH0.tar.gz) = 295877ffeb5a4d8b24e4e195968934e3a708bb17e6f1ca351d7fd0d719d55cbf -SIZE (librenms-librenms-24.1.0_GH0.tar.gz) = 59244177 +TIMESTAMP = 1709062661 +SHA256 (librenms-vendor-24.2.0.tar.gz) = 02fdce280b3044093abf783fcae2f9fbcace6db255af6ea8c874c5a79bf7bf9e +SIZE (librenms-vendor-24.2.0.tar.gz) = 28545490 +SHA256 (librenms-librenms-24.2.0_GH0.tar.gz) = 20f8fdfb74d8bab0bae7b835424eab4f71b695135f3b99f0afddfef44dca4a9f +SIZE (librenms-librenms-24.2.0_GH0.tar.gz) = 60168925 diff --git a/net-mgmt/librenms/files/pkg-message.in b/net-mgmt/librenms/files/pkg-message.in index 9baa7ecdf16a..74d46bee166a 100644 --- a/net-mgmt/librenms/files/pkg-message.in +++ b/net-mgmt/librenms/files/pkg-message.in @@ -92,7 +92,7 @@ It is also a good idea to validate your configuation after MySQL has been started: cd %%WWWDIR%% -sudo ./validate.php +echo ./validate.php | sudu su -fm www EOM } @@ -100,7 +100,8 @@ EOM message: <