Sat Jan 16 08:15:01 2021 UTC ()
bugzilla: update to 5.0.6, fix default configuration

- No skin was installed
- Some configuration seemed to be relevant for Apache 2.2

5.0.6:
This release contains a schema change to the flagtypes table, allowing for many more flagtypes.

The flagtypes table should have been using a mediumint for several releases, but due to a bug in the schema migration code this never happened.

5.0.5:
This release reformats the code according to the same conventions as the popular Mojolicious product and includes a .perltidyrc to do the same. You may use whatever coding style you want, but all files commited to the repo must be reformatted according to those rules.

Additionally, we no longer follow the same release process as before. Releases will be more frequent.

As it is now 2019, the bugs_fulltext table is now InnoDB instead of MyISAM. This may cause upgrade headaches.

5.0.4:
This release fixes one security issue. CVE-2018-5123

This release also contains the following [% terms.bug %] fixes:

    checksetup.pl would fail to update Chart storage during pre-3.6 to 5.0 upgrade. ([% terms.Bug %] 1273846)
    editflagtypes.cgi would crash when classifications are enabled and the user did not have global editcomponents privileges. ([% terms.Bug %] 1310728)
    The File::Slurp would trigger warnings on perl 5.24. ([% terms.Bug %] 1301887)
    All the time entries in the 'when' column had the correct date but the time was fixed to 00:00 when using Sqlite. ([% terms.Bug %] 1303702)


(maya)
diff -r1.5 -r1.6 pkgsrc/devel/bugzilla/MESSAGE
diff -r1.58 -r1.59 pkgsrc/devel/bugzilla/Makefile
diff -r1.18 -r1.19 pkgsrc/devel/bugzilla/PLIST
diff -r1.22 -r1.23 pkgsrc/devel/bugzilla/distinfo
diff -r1.3 -r1.4 pkgsrc/devel/bugzilla/files/bugzilla.conf
diff -r1.1 -r0 pkgsrc/devel/bugzilla/patches/patch-Bugzilla_Install_Filesystem_pm

cvs diff -r1.5 -r1.6 pkgsrc/devel/bugzilla/MESSAGE (expand / switch to context diff)
--- pkgsrc/devel/bugzilla/MESSAGE 2017/03/17 16:26:30 1.5
+++ pkgsrc/devel/bugzilla/MESSAGE 2021/01/16 08:15:01 1.6
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.5 2017/03/17 16:26:30 mef Exp $
+$NetBSD: MESSAGE,v 1.6 2021/01/16 08:15:01 maya Exp $
 
 To complete the setup you will need to read the Bugzilla-Guide.txt in order
 to setup Database counter-part properly.  In particular secion 2.2.2 of the
@@ -11,9 +11,12 @@
 	./checksetup.pl
 
 You will need to make Bugzilla accessible through your HTTP server.
-If you are running Apache then you may add the following lines to httpd.conf:
+If you are running Apache then you will need to add the following lines to
+httpd.conf:
 
 	Include ${PKG_SYSCONFDIR}/bugzilla.conf
+
+And possibly enable mod_cgid or another CGI provider.
 
 to make Bugzilla accessible through:
 

cvs diff -r1.58 -r1.59 pkgsrc/devel/bugzilla/Makefile (expand / switch to context diff)
--- pkgsrc/devel/bugzilla/Makefile 2020/09/04 11:09:01 1.58
+++ pkgsrc/devel/bugzilla/Makefile 2021/01/16 08:15:01 1.59
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2020/09/04 11:09:01 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2021/01/16 08:15:01 maya Exp $
 
-DISTNAME=	bugzilla-5.0.3
-PKGREVISION=	7
+DISTNAME=	bugzilla-5.0.6
 CATEGORIES=	www devel
 MASTER_SITES=	${MASTER_SITE_MOZILLA_ALL:=webtools/}
 
@@ -108,11 +107,11 @@
 SUBST_NOOP_OK.diff=	yes
 
 INSTALLATION_DIRS+=	${DOCDIR} ${DOCDIR}/en ${EGDIR} ${BZDIR} ${BZDIR}/Bugzilla
-INSTALLATION_DIRS+=	${BZDIR}/js ${BZDIR}/lib ${BZDIR}/template ${BZDIR}/skins
+INSTALLATION_DIRS+=	${BZDIR}/js ${BZDIR}/lib ${BZDIR}/template ${BZDIR}/skins/standard
 INSTALLATION_DIRS+=	${BZDIR}/docs ${BZDIR}/docs/en ${BZDIR}/docs/en/html
 INSTALLATION_DIRS+=	${BZDIR}/images ${BZDIR}/docs/en/html/api
 INSTALLATION_DIRS+=	${BZDIR}/docs/en/html/api/Bugzilla
-.for i in data contrib t xt template lib graphs skins
+.for i in data contrib t xt template lib graphs
 INSTALLATION_DIRS+=	${BZDIR}/${i}
 .endfor
 
@@ -132,7 +131,7 @@
 	${INSTALL_DATA_DIR} ${DESTDIR}${i}
 .endfor
 	(cd ${WRKSRC}					    ;\
-	pax -rw -pmp docs		${DESTDIR}${BZDIR} ;\
+	pax -rw -pmp docs		${DESTDIR}${BZDIR}  ;\
 	${INSTALL_SCRIPT} *.cgi *.pl	${DESTDIR}${BZDIR}  ;\
 	${INSTALL_SCRIPT} robots.txt	${DESTDIR}${BZDIR}  ;\
 	${INSTALL_DATA} Bugzilla.pm	${DESTDIR}${BZDIR}  ;\
@@ -141,11 +140,11 @@
 	${INSTALL_DATA} bugzilla.conf	${DESTDIR}${EGDIR}  ;\
 	${INSTALL_DATA} images/*.png	${DESTDIR}${BZDIR}/images  ;\
 	${INSTALL_DATA} images/favicon.ico	${DESTDIR}${BZDIR} ;\
+	pax -rw -pmp skins		${DESTDIR}${BZDIR}  ;\
 	pax -rw -pmp Bugzilla		${DESTDIR}${BZDIR}  ;\
 	pax -rw -pmp js			${DESTDIR}${BZDIR}  ;\
-	pax -rw -pmp template		${DESTDIR}${BZDIR} ;\
+	pax -rw -pmp template		${DESTDIR}${BZDIR}  ;\
 	)
-	${RM} ${DESTDIR}${BZDIR}/Bugzilla/Install/Filesystem.pm.orig
 
 .include "../../mk/apache.mk"
 .include "../../mk/bsd.pkg.mk"

cvs diff -r1.18 -r1.19 pkgsrc/devel/bugzilla/PLIST (expand / switch to context diff)
--- pkgsrc/devel/bugzilla/PLIST 2017/03/17 16:26:30 1.18
+++ pkgsrc/devel/bugzilla/PLIST 2021/01/16 08:15:01 1.19
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2017/03/17 16:26:30 mef Exp $
+@comment $NetBSD: PLIST,v 1.19 2021/01/16 08:15:01 maya Exp $
 share/bugzilla/Bugzilla.pm
 share/bugzilla/Bugzilla/Attachment.pm
 share/bugzilla/Bugzilla/Attachment/PatchReader.pm
@@ -449,6 +449,24 @@
 share/bugzilla/show_bug.cgi
 share/bugzilla/showdependencygraph.cgi
 share/bugzilla/showdependencytree.cgi
+share/bugzilla/skins/README
+share/bugzilla/skins/contrib/Dusk/buglist.css
+share/bugzilla/skins/contrib/Dusk/global.css
+share/bugzilla/skins/standard/admin.css
+share/bugzilla/skins/standard/bug.css
+share/bugzilla/skins/standard/buglist.css
+share/bugzilla/skins/standard/dependency-tree/bug-item.png
+share/bugzilla/skins/standard/dependency-tree/tree-closed.png
+share/bugzilla/skins/standard/dependency-tree/tree-open.png
+share/bugzilla/skins/standard/dependency-tree/tree.png
+share/bugzilla/skins/standard/global.css
+share/bugzilla/skins/standard/global/body-back.gif
+share/bugzilla/skins/standard/global/calendar.png
+share/bugzilla/skins/standard/global/header.png
+share/bugzilla/skins/standard/index/file-a-bug.png
+share/bugzilla/skins/standard/index/help.png
+share/bugzilla/skins/standard/index/new-account.png
+share/bugzilla/skins/standard/index/search.png
 share/bugzilla/summarize_time.cgi
 share/bugzilla/template/en/default/account/auth/login-small.html.tmpl
 share/bugzilla/template/en/default/account/auth/login.html.tmpl
@@ -748,3 +766,11 @@
 share/doc/bugzilla/README
 share/examples/bugzilla/bugzilla.conf
 share/examples/bugzilla/localconfig
+@pkgdir share/doc/bugzilla/en
+@pkgdir share/bugzilla/xt
+@pkgdir share/bugzilla/t
+@pkgdir share/bugzilla/lib
+@pkgdir share/bugzilla/graphs
+@pkgdir share/bugzilla/docs/en/html/api/Bugzilla
+@pkgdir share/bugzilla/data
+@pkgdir share/bugzilla/contrib

cvs diff -r1.22 -r1.23 pkgsrc/devel/bugzilla/distinfo (expand / switch to context diff)
--- pkgsrc/devel/bugzilla/distinfo 2019/11/11 21:53:06 1.22
+++ pkgsrc/devel/bugzilla/distinfo 2021/01/16 08:15:01 1.23
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.22 2019/11/11 21:53:06 maya Exp $
+$NetBSD: distinfo,v 1.23 2021/01/16 08:15:01 maya Exp $
 
-SHA1 (bugzilla-5.0.3.tar.gz) = 49b4b2b1b3086cb9b75f65138e702da71dc29c93
+SHA1 (bugzilla-5.0.6.tar.gz) = bef85c8e7e031ca21d7c59f3c2dc083f52b3d7b1
-RMD160 (bugzilla-5.0.3.tar.gz) = f48c7e903a9984d9bf95b969dba3b8d0b4ba4cb2
+RMD160 (bugzilla-5.0.6.tar.gz) = 053ef0b751b5a4719aebaceddf64676a125b4115
-SHA512 (bugzilla-5.0.3.tar.gz) = 82334533bd75a4a5eee5213826da916175ecf39cbfd1c4d820519f015257b02998a3acd881f8f52c1650d1140158c8aa839e374574a1fa862a6a4a1351748c46
+SHA512 (bugzilla-5.0.6.tar.gz) = 8ca47ea1be2b433a6ce68e1a595d72f3d0f0fede44d1194dc6bc9a116dbde3ab7285212c71995e200d31544876e4c3c57b63da1f877a0cb22747ab87a5d598de
-Size (bugzilla-5.0.3.tar.gz) = 4069689 bytes
+Size (bugzilla-5.0.6.tar.gz) = 3970724 bytes
-SHA1 (patch-Bugzilla_Install_Filesystem_pm) = 9ec49194210270be0a4af872765d29ec0544b189

cvs diff -r1.3 -r1.4 pkgsrc/devel/bugzilla/files/bugzilla.conf (expand / switch to context diff)
--- pkgsrc/devel/bugzilla/files/bugzilla.conf 2017/03/17 16:26:31 1.3
+++ pkgsrc/devel/bugzilla/files/bugzilla.conf 2021/01/16 08:15:01 1.4
@@ -1,4 +1,4 @@
-# $NetBSD: bugzilla.conf,v 1.3 2017/03/17 16:26:31 mef Exp $
+# $NetBSD: bugzilla.conf,v 1.4 2021/01/16 08:15:01 maya Exp $
 #
 # Bugzilla configuration file fragment for Apache
 
@@ -9,8 +9,9 @@
 <Directory "@BZDIR@">
     AddHandler cgi-script .cgi
     Options +ExecCGI
-    AllowOverride Limit
+    AllowOverride Limit AuthConfig
     DirectoryIndex index.cgi index.html
     Order allow,deny
+    Require all granted
     Allow from all
 </Directory>

File Deleted: pkgsrc/devel/bugzilla/patches/Attic/patch-Bugzilla_Install_Filesystem_pm