Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2026 13:05:43 +0000
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        dnpowers@me.com <dnpowers@me.com>
Subject:   git: 985692ee87a9 - main - www/mybb: Update 1.8.39 => 1.8.40 (18 security vulnerabilities), take maintainership
Message-ID:  <6a1ae0a7.24048.cfcecc2@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=985692ee87a985044c25b05e709a55ca0451cae0

commit 985692ee87a985044c25b05e709a55ca0451cae0
Author:     dnpowers@me.com <dnpowers@me.com>
AuthorDate: 2026-05-30 12:58:12 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-05-30 12:58:12 +0000

    www/mybb: Update 1.8.39 => 1.8.40 (18 security vulnerabilities), take maintainership
    
    Release Notes
    https://blog.mybb.com/2026/05/28/mybb-1-8-40-released-security-maintenance-release/
    
    Improve port:
    - Update WWW - old link redirects to new.
    - Fix warnings from portclippy.
    - Sort USE_PHP.
    - Remove unnecessary WWWDIR - it have default value.
    - Replace "CP -R" with "COPYTREE_SHARE".
    
    PR:             295713
    Security:       GHSA-p766-qqxv-rfc2
    Security:       GHSA-4p6g-p3qh-559v
    Security:       GHSA-gpc4-77rp-3xqr
    Security:       GHSA-wf92-5q5h-qr53
    Security:       GHSA-p48q-4vgf-q7x8
    Security:       GHSA-c2hm-g9w6-pv6x
    Security:       GHSA-r25v-7pcm-q34p
    Security:       GHSA-w8gm-j57p-jqpc
    Security:       GHSA-839m-gpw8-59j4
    Security:       GHSA-gfxj-g7w6-6w4v
    Security:       GHSA-56wr-64wx-5g7j
    Security:       GHSA-f626-53q9-pqm9
    Security:       GHSA-75vg-6wgp-mcc9
    Security:       GHSA-m42q-vgx3-fqcc
    Security:       GHSA-m6hr-25cj-p58q
    Security:       GHSA-xx78-g79m-qvgq
    Security:       GHSA-jrrr-f3jw-mjmc
    Security:       GHSA-v2h7-4jp7-j6hh
    Sponsored by:   UNIS Labs
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
    MFH:            2026Q2
---
 www/mybb/Makefile  | 19 ++++++++-----------
 www/mybb/distinfo  |  6 +++---
 www/mybb/pkg-plist |  1 +
 3 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/www/mybb/Makefile b/www/mybb/Makefile
index d35b8846ca4f..2ac229a7a3b9 100644
--- a/www/mybb/Makefile
+++ b/www/mybb/Makefile
@@ -1,28 +1,25 @@
 PORTNAME=	mybb
-DISTVERSION=	1.8.39
+DISTVERSION=	1.8.40
 CATEGORIES=	www
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	dnpowers@me.com
 COMMENT=	PHP-based bulletin board / discussion forum system
-WWW=		https://mybboard.net/
+WWW=		https://mybb.com/
 
 LICENSE=	GPLv3
 
+USES=		cpe mysql php:web
 USE_GITHUB=	yes
-GH_TAGNAME=	${PORTNAME}_1839
+GH_TAGNAME=	${PORTNAME}_${DISTVERSION:S|.||g}
+USE_PHP=	gd iconv mysqli xml xsl
 
-USES=		cpe mysql php:web
-NO_BUILD=	yes
 NO_ARCH=	yes
-USE_PHP=	xsl mysqli iconv gd xml
+NO_BUILD=	yes
 SUB_FILES=	pkg-message
-WWWDIR?=	${PREFIX}/www/${PORTNAME}
 PLIST_SUB=	WWWOWN=${WWWOWN}
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${WWWDIR}
-	${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
-#	${TOUCH} ${STAGEDIR}${WWWDIR}/inc/config.php.sample
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
 	${MV} ${STAGEDIR}${WWWDIR}/inc/settings.php \
 		${STAGEDIR}${WWWDIR}/inc/settings.php.sample
 
diff --git a/www/mybb/distinfo b/www/mybb/distinfo
index e612dc3705a7..2cc900f6d17d 100644
--- a/www/mybb/distinfo
+++ b/www/mybb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1767834758
-SHA256 (mybb-mybb-1.8.39-mybb_1839_GH0.tar.gz) = 4b5aa7f052f4d75ccec39f30ba47b86699fe08a800bccf4211f17e8041ab1ef8
-SIZE (mybb-mybb-1.8.39-mybb_1839_GH0.tar.gz) = 1932641
+TIMESTAMP = 1780074971
+SHA256 (mybb-mybb-1.8.40-mybb_1840_GH0.tar.gz) = b4cd7cbab09985df625ebe71c06efaf6ad4409df1bb76cb250966fcec6ffec5c
+SIZE (mybb-mybb-1.8.40-mybb_1840_GH0.tar.gz) = 1947722
diff --git a/www/mybb/pkg-plist b/www/mybb/pkg-plist
index 7ee3f7c32af4..0bb746cb9aa6 100644
--- a/www/mybb/pkg-plist
+++ b/www/mybb/pkg-plist
@@ -670,6 +670,7 @@
 %%WWWDIR%%/install/resources/upgrade59.php
 %%WWWDIR%%/install/resources/upgrade6.php
 %%WWWDIR%%/install/resources/upgrade60.php
+%%WWWDIR%%/install/resources/upgrade61.php
 %%WWWDIR%%/install/resources/upgrade7.php
 %%WWWDIR%%/install/resources/upgrade8.php
 %%WWWDIR%%/install/resources/upgrade9.php


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1ae0a7.24048.cfcecc2>