Bug 283897 - devel/bugzilla50: update to 5.0.4.1
Summary: devel/bugzilla50: update to 5.0.4.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: bz-ports
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-07 00:09 UTC by Mark Linimon
Modified: 2025-04-14 14:09 UTC (History)
2 users (show)

See Also:
linimon: maintainer-feedback+


Attachments
patch to devel/bugzilla50/* (2.79 KB, patch)
2025-01-07 00:09 UTC, Mark Linimon
no flags Details | Diff
patch to devel/bugzilla50/* (3.73 KB, patch)
2025-01-07 01:07 UTC, Mark Linimon
no flags Details | Diff
patches to devel/bugzilla50 (3.70 KB, patch)
2025-02-25 23:37 UTC, Mark Linimon
no flags Details | Diff
patches to devel/bugzilla50 (3.64 KB, patch)
2025-03-07 01:55 UTC, Mark Linimon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Linimon freebsd_committer freebsd_triage 2025-01-07 00:09:10 UTC
Created attachment 256487 [details]
patch to devel/bugzilla50/*

Security and bugfix update to 5.0.4.1.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2025-01-07 01:07:38 UTC
Created attachment 256489 [details]
patch to devel/bugzilla50/*

Update patch to add files/patch-PR250699.
Comment 2 wen 2025-02-18 00:03:53 UTC
There is 5.0.6, shall we update it to 5.0.6 ?
https://github.com/bugzilla/bugzilla/tree/release-5.0.6
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2025-02-18 02:24:37 UTC
(In reply to wen from comment #2)
No, we must not: it will not reflect what is on production and development.

Long story short, between 5.0.4 and 5.0.6, Bugzilla ran perltidy and committed
it to their repo.

The only logical step from 5.0.4 (and the 5.0.4.1 bugfix) is 5.2.

Please see https://wiki.freebsd.org/Bugzilla/Roadmap (and, for the gruesome
details, https://wiki.freebsd.org/Bugzilla/Roadmap/ChangedFiles .)
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2025-02-20 19:28:13 UTC
Comment on attachment 256489 [details]
patch to devel/bugzilla50/*

>diff -ruN devel/bugzilla50/Makefile ./Makefile
>--- devel/bugzilla50/Makefile	2025-01-06 01:30:03.934006000 +0000
>+++ ./Makefile	2025-01-06 01:19:46.223759000 +0000
>@@ -1,8 +1,7 @@
> PORTNAME=	bugzilla
>-PORTVERSION=	5.0.4
>-PORTREVISION=	5
>+PORTVERSION=	5.0.4.1
> CATEGORIES=	devel
>-MASTER_SITES=	MOZILLA/webtools MOZILLA/webtools/archived
>+MASTER_SITES=	MOZILLA/webtools/bugzilla/5.0-branch
> 
> MAINTAINER=	bz-ports@FreeBSD.org
> COMMENT=	Bug-tracking system developed by Mozilla Project
>@@ -16,6 +15,7 @@
> # FreeBSD PR 196060,196100: explicitly depend on textproc/p5-Text-Tabv
> RUN_DEPENDS=	\
> 		p5-CGI>=3.51:www/p5-CGI \
>+		p5-Class-XSAccessor>0:devel/p5-Class-XSAccessor \
> 		p5-DBI>=1.614:databases/p5-DBI \
> 		p5-DateTime-TimeZone>=1.64:devel/p5-DateTime-TimeZone \
> 		p5-DateTime>=0.75:devel/p5-DateTime \
>@@ -27,7 +27,7 @@
> 		p5-List-MoreUtils>=0.32:lang/p5-List-MoreUtils \
> 		p5-Math-Random-ISAAC>=1.001:math/p5-Math-Random-ISAAC \
> 		p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable \
>-		p5-Template-Toolkit>=2.24:www/p5-Template-Toolkit \
>+		p5-Template-Toolkit>=3.008:www/p5-Template-Toolkit \
> 		p5-Text-Tabs+Wrap>=2013.0523:textproc/p5-Text-Tabs+Wrap \
> 		p5-TimeDate>=2.23:devel/p5-TimeDate \
> 		p5-URI>=1.55:net/p5-URI
>@@ -83,6 +83,8 @@
> 			p5-JSON-RPC>=0:devel/p5-JSON-RPC
> REST_RUN_DEPENDS=	p5-Test-Taint>=1.06:devel/p5-Test-Taint \
> 			p5-JSON-RPC>=0:devel/p5-JSON-RPC
>+MODPERL_BROKEN=		${PORTVERSION} now requires Apache::SizeLimit, which \
>+			has not yet been ported to FreeBSD
> MODPERL_RUN_DEPENDS=	${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2 \
> 			p5-Apache-DBI>=0:www/p5-Apache-DBI
> GRAPHVIZ_RUN_DEPENDS=	dot:graphics/graphviz
>@@ -90,6 +92,8 @@
> 				p5-XML-Twig>=0:textproc/p5-XML-Twig
> LDAP_RUN_DEPENDS=	p5-perl-ldap>=0:net/p5-perl-ldap
> RADIUS_RUN_DEPENDS=	p5-Authen-Radius>=0:security/p5-Authen-Radius
>+SMTP_AUTH_BROKEN=	${PORTVERSION} now requires Net::SMTP, which \
>+			has not yet been ported to FreeBSD
> SMTP_AUTH_RUN_DEPENDS=	p5-Authen-SASL>=2.16:security/p5-Authen-SASL
> MIME_SNIFF_RUN_DEPENDS=	p5-File-MimeInfo>=0.16:devel/p5-File-MimeInfo \
> 			p5-IO-Stringy>=2.110:devel/p5-IO-Stringy
>diff -ruN devel/bugzilla50/Makefile.common ./Makefile.common
>--- devel/bugzilla50/Makefile.common	2024-12-30 02:15:07.439263000 +0000
>+++ ./Makefile.common	2025-01-06 01:19:46.223785000 +0000
>@@ -2,7 +2,7 @@
> PKGNAMESUFFIX=	50
> 
> CONFLICTS_INSTALL=	\
>-		bugzilla5[^0].* \
>+		bugzilla52* \
> 		bugzilla4*
> 
> PORTSCOUT=	limitw:1,even
>diff -ruN devel/bugzilla50/distinfo ./distinfo
>--- devel/bugzilla50/distinfo	2024-12-30 02:15:07.439370000 +0000
>+++ ./distinfo	2025-01-06 01:19:46.223875000 +0000
>@@ -1,3 +1,3 @@
>-TIMESTAMP = 1518801572
>-SHA256 (bugzilla/bugzilla-5.0.4.tar.gz) = 6b3eb93d20bdfb170803748682d04cb1b6dc60019d7d16c29c4b7f97d2b85bee
>-SIZE (bugzilla/bugzilla-5.0.4.tar.gz) = 3994094
>+TIMESTAMP = 1735524496
>+SHA256 (bugzilla/bugzilla-5.0.4.1.tar.gz) = fb3e59d04f95efc6681b6e34782de066fb9a70d4d77ecde8d7bd4f66dc029dff
>+SIZE (bugzilla/bugzilla-5.0.4.1.tar.gz) = 82887421
>diff -ruN devel/bugzilla50/files/patch-PR250699 ./files/patch-PR250699
>--- devel/bugzilla50/files/patch-PR250699	1970-01-01 00:00:00.000000000 +0000
>+++ ./files/patch-PR250699	2025-01-07 00:51:48.354333000 +0000
>@@ -0,0 +1,12 @@
>+# Upstream pull request: https://github.com/bugzilla/bugzilla/pull/204
>+--- js/field.js.orig	2025-01-07 00:48:14 UTC
>++++ js/field.js
>+@@ -1078,7 +1078,7 @@ function show_comment_preview(bug_id) {
>+         method: 'Bug.render_comment',
>+         params: {
>+             Bugzilla_api_token: BUGZILLA.api_token,
>+-            id: bug_id,
>++            id: bug_id ? bug_id : 1,
>+             text: comment.value
>+         }
>+     })
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2025-02-25 23:37:40 UTC
Created attachment 257967 [details]
patches to devel/bugzilla50

^Triage: rebase diff, except the right way this time.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2025-03-07 01:55:28 UTC
Created attachment 258385 [details]
patches to devel/bugzilla50

^Triage: rebase patch.
Comment 7 commit-hook freebsd_committer freebsd_triage 2025-04-14 14:00:14 UTC
A commit in branch main references this bug:

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

commit 3dcaef2e31259f70ae8eace60602aafffa4259f3
Author:     Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2025-04-14 13:57:37 +0000
Commit:     Mark Linimon <linimon@FreeBSD.org>
CommitDate: 2025-04-14 13:57:37 +0000

    devel/bugzilla50: update to 5.0.4.1, fix mastersite.

    PR:     283897

 devel/bugzilla50/Makefile        | 12 ++++++++----
 devel/bugzilla50/Makefile.common |  2 +-
 devel/bugzilla50/distinfo        |  6 +++---
 3 files changed, 12 insertions(+), 8 deletions(-)
Comment 8 commit-hook freebsd_committer freebsd_triage 2025-04-14 14:07:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=63de02be6302cd23f156dc31be18cae88b0e6d85

commit 63de02be6302cd23f156dc31be18cae88b0e6d85
Author:     Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2025-04-14 14:05:18 +0000
Commit:     Mark Linimon <linimon@FreeBSD.org>
CommitDate: 2025-04-14 14:05:18 +0000

    devel/bugzilla50: add fix for FreeBSD PR 250699.

    This has been submitted to upstream.

    PR:     283897

 devel/bugzilla50/files/patch-PR250699 (new) | 12 ++++++++++++
 1 file changed, 12 insertions(+)