summaryrefslogtreecommitdiff
path: root/devel/bugzilla
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-01-02 13:39:52 +0000
committeradrianp <adrianp@pkgsrc.org>2005-01-02 13:39:52 +0000
commit51333dbf55d9ce203714d3a5938cd05355eadfc1 (patch)
treed2230f8e3f49bb30fb16d91251dfbb1b2bf24806 /devel/bugzilla
parent67aa4ad52b330ac9eac1490cf80881478e5a3cb9 (diff)
downloadpkgsrc-51333dbf55d9ce203714d3a5938cd05355eadfc1.tar.gz
Bugzilla is a "Defect Tracking System" or "Bug-Tracking System". Defect
Tracking Systems allow individual or groups of developers to keep track of outstanding bugs in their product effectively. Most commercial defect-tracking software vendors charge enormous licensing fees. Despite being "free", Bugzilla has many features its expensive counterparts lack. Consequently, Bugzilla has quickly become a favorite of hundreds of organizations across the globe. What Does Bugzilla Do? - Track bugs and code changes - Communicate with teammates - Submit and review patches - Manage quality assurance (QA) Bugzilla can help you get a handle on the software development process. Successful projects often are the result of successful organization and communication. Bugzilla is a powerful tool that will help your team get organized and communicate effectively.
Diffstat (limited to 'devel/bugzilla')
-rw-r--r--devel/bugzilla/DESCR18
-rw-r--r--devel/bugzilla/MESSAGE24
-rw-r--r--devel/bugzilla/Makefile119
-rw-r--r--devel/bugzilla/PLIST368
-rw-r--r--devel/bugzilla/distinfo4
-rw-r--r--devel/bugzilla/files/bugzilla.conf15
-rw-r--r--devel/bugzilla/files/localconfig187
-rw-r--r--devel/bugzilla/options.mk38
8 files changed, 773 insertions, 0 deletions
diff --git a/devel/bugzilla/DESCR b/devel/bugzilla/DESCR
new file mode 100644
index 00000000000..2f5eaa6e968
--- /dev/null
+++ b/devel/bugzilla/DESCR
@@ -0,0 +1,18 @@
+Bugzilla is a "Defect Tracking System" or "Bug-Tracking System". Defect
+Tracking Systems allow individual or groups of developers to keep track of
+outstanding bugs in their product effectively. Most commercial defect-tracking
+software vendors charge enormous licensing fees. Despite being "free", Bugzilla
+has many features its expensive counterparts lack. Consequently, Bugzilla has
+quickly become a favorite of hundreds of organizations across the globe.
+
+What Does Bugzilla Do?
+
+- Track bugs and code changes
+- Communicate with teammates
+- Submit and review patches
+- Manage quality assurance (QA)
+
+Bugzilla can help you get a handle on the software development process.
+Successful projects often are the result of successful organization and
+communication. Bugzilla is a powerful tool that will help your team get
+organized and communicate effectively.
diff --git a/devel/bugzilla/MESSAGE b/devel/bugzilla/MESSAGE
new file mode 100644
index 00000000000..a6723f4db48
--- /dev/null
+++ b/devel/bugzilla/MESSAGE
@@ -0,0 +1,24 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/01/02 13:39:52 adrianp Exp $
+
+To complete the setup you will need to read the Bugzilla-Guide.txt in order
+to setup mySQL properly. In particular secion 2.2.2 of the document deals
+with database setup. After the initial setup of the database you can then
+check the settings in ${BZDIR}/localconfig and:
+
+ cd ${BZDIR}
+ ./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:
+
+ DirectoryIndex index.cgi index.html
+ Include ${PKG_SYSCONFDIR}/httpd/bugzilla.conf
+
+to make Bugzilla accessible through:
+
+ http://www.domain.com/bugzilla/index.cgi
+
+IMPORTANTLY: CHANGE YOUR DATABASE PASSWORD FROM THE DEFAULT !!
+
+===========================================================================
diff --git a/devel/bugzilla/Makefile b/devel/bugzilla/Makefile
new file mode 100644
index 00000000000..daed064f3d0
--- /dev/null
+++ b/devel/bugzilla/Makefile
@@ -0,0 +1,119 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/02 13:39:55 adrianp Exp $
+#
+
+DISTNAME= bugzilla-2.18rc3
+CATEGORIES= www devel
+MASTER_SITES= http://ftp.mozilla.org/pub/mozilla.org/webtools/
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://www.bugzilla.org/
+COMMENT= Web based bug tracking system
+
+DEPENDS+= p5-AppConfig>=1.52:../../devel/p5-AppConfig
+DEPENDS+= p5-CGI>=2.93:../../www/p5-CGI
+DEPENDS+= p5-File-Spec>=0.82:../../devel/p5-File-Spec
+DEPENDS+= p5-File-Temp-[0-9]*:../../devel/p5-File-Temp
+DEPENDS+= p5-Template-Toolkit>=2.08:../../www/p5-Template-Toolkit
+DEPENDS+= p5-Text-Tabs+Wrap>=2001.0131:../../textproc/p5-Text-Tabs+Wrap
+DEPENDS+= p5-TimeDate>=1.14:../../time/p5-TimeDate
+DEPENDS+= p5-DBD-mysql>=2.1010:../../databases/p5-DBD-mysql
+
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
+USE_BUILDLINK3= YES
+NO_BUILD= YES
+USE_PKGINSTALL= YES
+PERL5_REQD+= 5.6.0
+
+BUILDLINK_DEPENDS.p5-DBI+= p5-DBI>=1.36
+BUILDLINK_DEPENDS.mysql-client+= mysql-client>=3.23.41
+
+BZ_WEB_GROUP?= www
+SENDMAIL?= /usr/sbin/sendmail
+APACHE_USER?= www
+
+BUILD_DEFS+= BZ_WEB_GROUP SENDMAIL APACHE_USER
+
+MESSAGE_SUBST+= BZDIR=${BZDIR} PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+
+BZDIR= ${PREFIX}/share/bugzilla
+EGDIR= ${PREFIX}/share/examples/bugzilla
+DOCDIR= ${PREFIX}/share/doc/bugzilla
+CONF_FILES= ${EGDIR}/bugzilla.conf ${PKG_SYSCONFDIR}/bugzilla.conf \
+ ${EGDIR}/localconfig ${BZDIR}/localconfig
+SPECIAL_PERMS= ${BZDIR}/localconfig ${APACHE_USER} ${SHAREGRP} 0400
+
+REPLACE_PERL= *.pl *.cgi
+
+SUBST_CLASSES= conf
+SUBST_STAGE.conf= pre-install
+SUBST_FILES.conf= bugzilla.conf localconfig Bugzilla/BugMail.pm
+SUBST_SED.conf= -e "s|@BZ_WEB_GROUP@|${BZ_WEB_GROUP}|g" \
+ -e "s|@PREFIX@|${PREFIX}|g" \
+ -e "s|@BZDIR@|${BZDIR}|g" \
+ -e "s|/usr/lib/sendmail|${SENDMAIL}|g"
+SUBST_MESSAGE.conf= "Fixing configuration files."
+
+post-extract:
+ @${FIND} ${WRKSRC}/template -type d -name CVS | ${XARGS} ${RM} -rf
+ @${FIND} ${WRKSRC}/template -type f -name ".cvsignore" | ${XARGS} \
+ ${RM} -f
+ @${CP} ${FILESDIR}/bugzilla.conf ${WRKSRC}
+ @${CP} ${FILESDIR}/localconfig ${WRKSRC}
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA_DIR} ${BZDIR}
+ ${INSTALL_DATA_DIR} ${BZDIR}/Bugzilla
+ ${INSTALL_DATA_DIR} ${BZDIR}/Bugzilla/Auth
+ ${INSTALL_DATA_DIR} ${BZDIR}/Bugzilla/Template/Plugin
+ ${INSTALL_DATA_DIR} ${BZDIR}/css
+ ${INSTALL_DATA_DIR} ${BZDIR}/js
+ ${INSTALL_DATA_DIR} ${BZDIR}/template
+ ${INSTALL_DATA_DIR} ${BZDIR}/skins
+ ${INSTALL_DATA_DIR} ${BZDIR}/skins/standard
+ ${INSTALL_DATA_DIR} ${BZDIR}/docs/html
+ ${INSTALL_DATA_DIR} ${BZDIR}/docs/images
+ ${INSTALL_DATA_DIR} ${BZDIR}/docs/images/callouts
+ ${INSTALL_DATA} ${WRKSRC}/docs/txt/Bugzilla-Guide.txt ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/rel_notes.txt ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/QUICKSTART ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/UPGRADING ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/UPGRADING-pre-2.8 ${DOCDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${BZDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.html ${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Bugzilla.pm ${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Bugzilla/*.pm ${BZDIR}/Bugzilla
+ ${INSTALL_DATA} ${WRKSRC}/Bugzilla/Auth/*.pm ${BZDIR}/Bugzilla/Auth
+ ${INSTALL_DATA} ${WRKSRC}/Bugzilla/Template/Plugin/*.pm \
+ ${BZDIR}/Bugzilla/Template/Plugin
+ ${INSTALL_DATA} ${WRKSRC}/robots.txt ${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/1x1.gif ${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ant.jpg ${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/padlock.png ${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/bugzilla.conf ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/localconfig ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/bugzilla.dtd ${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.js ${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/js/*.js ${BZDIR}/js
+ ${INSTALL_DATA} ${WRKSRC}/duplicates.xul ${BZDIR}
+ ${INSTALL_DATA} ${WRKSRC}/css/*.css ${BZDIR}/css
+ ${INSTALL_DATA} ${WRKSRC}/docs/html/*.html ${BZDIR}/docs/html
+ cd ${WRKSRC}/template && ${PAX} -rw . ${BZDIR}/template
+ ${FIND} ${BZDIR}/template -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
+ ${FIND} ${BZDIR}/template -type d | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+ ${CHMOD} ${BINMODE} ${BZDIR}/template/en/default/filterexceptions.pl
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${BZDIR}/template
+ ${INSTALL_DATA} ${WRKSRC}/skins/standard/*.css ${BZDIR}/skins/standard
+ ${INSTALL_DATA} ${WRKSRC}/docs/images/*.gif ${BZDIR}/docs/images
+ ${INSTALL_DATA} ${WRKSRC}/docs/images/callouts/*.gif \
+ ${BZDIR}/docs/images/callouts
+
+.include "../../databases/p5-DBI/buildlink3.mk"
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/apache.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/bugzilla/PLIST b/devel/bugzilla/PLIST
new file mode 100644
index 00000000000..0e19403611d
--- /dev/null
+++ b/devel/bugzilla/PLIST
@@ -0,0 +1,368 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/02 13:39:55 adrianp Exp $
+share/examples/bugzilla/bugzilla.conf
+share/examples/bugzilla/localconfig
+share/bugzilla/1x1.gif
+share/bugzilla/Bugzilla.pm
+share/bugzilla/Bugzilla/Attachment.pm
+share/bugzilla/Bugzilla/Auth.pm
+share/bugzilla/Bugzilla/Bug.pm
+share/bugzilla/Bugzilla/BugMail.pm
+share/bugzilla/Bugzilla/CGI.pm
+share/bugzilla/Bugzilla/Chart.pm
+share/bugzilla/Bugzilla/Config.pm
+share/bugzilla/Bugzilla/Constants.pm
+share/bugzilla/Bugzilla/DB.pm
+share/bugzilla/Bugzilla/Error.pm
+share/bugzilla/Bugzilla/Flag.pm
+share/bugzilla/Bugzilla/FlagType.pm
+share/bugzilla/Bugzilla/RelationSet.pm
+share/bugzilla/Bugzilla/Search.pm
+share/bugzilla/Bugzilla/Series.pm
+share/bugzilla/Bugzilla/Template.pm
+share/bugzilla/Bugzilla/Token.pm
+share/bugzilla/Bugzilla/User.pm
+share/bugzilla/Bugzilla/Util.pm
+share/bugzilla/Bugzilla/Auth/CGI.pm
+share/bugzilla/Bugzilla/Auth/Cookie.pm
+share/bugzilla/Bugzilla/Auth/DB.pm
+share/bugzilla/Bugzilla/Auth/LDAP.pm
+share/bugzilla/Bugzilla/Template/Plugin/Bugzilla.pm
+share/bugzilla/Bugzilla/Template/Plugin/Hook.pm
+share/bugzilla/CGI.pl
+share/bugzilla/ant.jpg
+share/bugzilla/attachment.cgi
+share/bugzilla/buglist.cgi
+share/bugzilla/bugzilla.dtd
+share/bugzilla/chart.cgi
+share/bugzilla/checksetup.pl
+share/bugzilla/colchange.cgi
+share/bugzilla/collectstats.pl
+share/bugzilla/config.cgi
+share/bugzilla/createaccount.cgi
+share/bugzilla/css/buglist.css
+share/bugzilla/css/duplicates.css
+share/bugzilla/css/global.css
+share/bugzilla/css/panel.css
+share/bugzilla/css/show_multiple.css
+share/bugzilla/defparams.pl
+share/bugzilla/describecomponents.cgi
+share/bugzilla/describekeywords.cgi
+share/bugzilla/docs/html/Bugzilla-Guide.html
+share/bugzilla/docs/html/about.html
+share/bugzilla/docs/html/administration.html
+share/bugzilla/docs/html/bug_page.html
+share/bugzilla/docs/html/bugreports.html
+share/bugzilla/docs/html/cmdline.html
+share/bugzilla/docs/html/components.html
+share/bugzilla/docs/html/configuration.html
+share/bugzilla/docs/html/conventions.html
+share/bugzilla/docs/html/copyright.html
+share/bugzilla/docs/html/credits.html
+share/bugzilla/docs/html/cust-change-permissions.html
+share/bugzilla/docs/html/cust-hooks.html
+share/bugzilla/docs/html/cust-templates.html
+share/bugzilla/docs/html/customization.html
+share/bugzilla/docs/html/dbdoc.html
+share/bugzilla/docs/html/dbmodify.html
+share/bugzilla/docs/html/disclaimer.html
+share/bugzilla/docs/html/extraconfig.html
+share/bugzilla/docs/html/faq.html
+share/bugzilla/docs/html/flags.html
+share/bugzilla/docs/html/gfdl-0.html
+share/bugzilla/docs/html/gfdl-1.html
+share/bugzilla/docs/html/gfdl-10.html
+share/bugzilla/docs/html/gfdl-2.html
+share/bugzilla/docs/html/gfdl-3.html
+share/bugzilla/docs/html/gfdl-4.html
+share/bugzilla/docs/html/gfdl-5.html
+share/bugzilla/docs/html/gfdl-6.html
+share/bugzilla/docs/html/gfdl-7.html
+share/bugzilla/docs/html/gfdl-8.html
+share/bugzilla/docs/html/gfdl-9.html
+share/bugzilla/docs/html/gfdl-howto.html
+share/bugzilla/docs/html/gfdl.html
+share/bugzilla/docs/html/glossary.html
+share/bugzilla/docs/html/groups.html
+share/bugzilla/docs/html/hintsandtips.html
+share/bugzilla/docs/html/index.html
+share/bugzilla/docs/html/install-perlmodules-manual.html
+share/bugzilla/docs/html/installation.html
+share/bugzilla/docs/html/installing-bugzilla.html
+share/bugzilla/docs/html/integration.html
+share/bugzilla/docs/html/list.html
+share/bugzilla/docs/html/milestones.html
+share/bugzilla/docs/html/modules-manual-download.html
+share/bugzilla/docs/html/modules-manual-instructions.html
+share/bugzilla/docs/html/myaccount.html
+share/bugzilla/docs/html/newversions.html
+share/bugzilla/docs/html/nonroot.html
+share/bugzilla/docs/html/os-specific.html
+share/bugzilla/docs/html/parameters.html
+share/bugzilla/docs/html/patches.html
+share/bugzilla/docs/html/patchviewer.html
+share/bugzilla/docs/html/products.html
+share/bugzilla/docs/html/query.html
+share/bugzilla/docs/html/quips.html
+share/bugzilla/docs/html/reporting.html
+share/bugzilla/docs/html/troubleshooting.html
+share/bugzilla/docs/html/upgrading.html
+share/bugzilla/docs/html/useradmin.html
+share/bugzilla/docs/html/userpreferences.html
+share/bugzilla/docs/html/using-intro.html
+share/bugzilla/docs/html/using.html
+share/bugzilla/docs/html/versions.html
+share/bugzilla/docs/html/voting.html
+share/bugzilla/docs/images/callouts/1.gif
+share/bugzilla/docs/images/callouts/2.gif
+share/bugzilla/docs/images/callouts/3.gif
+share/bugzilla/docs/images/caution.gif
+share/bugzilla/docs/images/note.gif
+share/bugzilla/docs/images/tip.gif
+share/bugzilla/docs/images/warning.gif
+share/bugzilla/doeditparams.cgi
+share/bugzilla/duplicates.cgi
+share/bugzilla/duplicates.xul
+share/bugzilla/editcomponents.cgi
+share/bugzilla/editflagtypes.cgi
+share/bugzilla/editgroups.cgi
+share/bugzilla/editkeywords.cgi
+share/bugzilla/editmilestones.cgi
+share/bugzilla/editparams.cgi
+share/bugzilla/editproducts.cgi
+share/bugzilla/editusers.cgi
+share/bugzilla/editversions.cgi
+share/bugzilla/enter_bug.cgi
+share/bugzilla/globals.pl
+share/bugzilla/importxml.pl
+share/bugzilla/index.cgi
+share/bugzilla/js/duplicates.js
+share/bugzilla/localconfig.js
+share/bugzilla/long_list.cgi
+share/bugzilla/move.pl
+share/bugzilla/padlock.png
+share/bugzilla/page.cgi
+share/bugzilla/post_bug.cgi
+share/bugzilla/process_bug.cgi
+share/bugzilla/productmenu.js
+share/bugzilla/query.cgi
+share/bugzilla/queryhelp.cgi
+share/bugzilla/quicksearch.html
+share/bugzilla/quicksearch.js
+share/bugzilla/quicksearchhack.html
+share/bugzilla/quips.cgi
+share/bugzilla/relogin.cgi
+share/bugzilla/report.cgi
+share/bugzilla/reports.cgi
+share/bugzilla/request.cgi
+share/bugzilla/robots.txt
+share/bugzilla/runtests.pl
+share/bugzilla/sanitycheck.cgi
+share/bugzilla/show_activity.cgi
+share/bugzilla/show_bug.cgi
+share/bugzilla/showattachment.cgi
+share/bugzilla/showdependencygraph.cgi
+share/bugzilla/showdependencytree.cgi
+share/bugzilla/sidebar.cgi
+share/bugzilla/skins/standard/duplicates.css
+share/bugzilla/skins/standard/global.css
+share/bugzilla/skins/standard/show_multiple.css
+share/bugzilla/testagent.cgi
+share/bugzilla/testserver.pl
+share/bugzilla/token.cgi
+share/bugzilla/userprefs.cgi
+share/bugzilla/votes.cgi
+share/bugzilla/whineatnews.pl
+share/bugzilla/xml.cgi
+share/doc/bugzilla/Bugzilla-Guide.txt
+share/doc/bugzilla/QUICKSTART
+share/doc/bugzilla/README
+share/doc/bugzilla/UPGRADING
+share/doc/bugzilla/UPGRADING-pre-2.8
+share/doc/bugzilla/rel_notes.txt
+share/bugzilla/template/en/default/account/auth/ldap-error.html.tmpl
+share/bugzilla/template/en/default/account/auth/login.html.tmpl
+share/bugzilla/template/en/default/account/cancel-token.txt.tmpl
+share/bugzilla/template/en/default/account/create.html.tmpl
+share/bugzilla/template/en/default/account/created.html.tmpl
+share/bugzilla/template/en/default/account/email/change-new.txt.tmpl
+share/bugzilla/template/en/default/account/email/change-old.txt.tmpl
+share/bugzilla/template/en/default/account/email/confirm.html.tmpl
+share/bugzilla/template/en/default/account/exists.html.tmpl
+share/bugzilla/template/en/default/account/password/forgotten-password.txt.tmpl
+share/bugzilla/template/en/default/account/password/set-forgotten-password.html.tmpl
+share/bugzilla/template/en/default/account/prefs/account.html.tmpl
+share/bugzilla/template/en/default/account/prefs/email.html.tmpl
+share/bugzilla/template/en/default/account/prefs/footer.html.tmpl
+share/bugzilla/template/en/default/account/prefs/permissions.html.tmpl
+share/bugzilla/template/en/default/account/prefs/prefs.html.tmpl
+share/bugzilla/template/en/default/account/prefs/saved-searches.html.tmpl
+share/bugzilla/template/en/default/admin/flag-type/confirm-delete.html.tmpl
+share/bugzilla/template/en/default/admin/flag-type/edit.html.tmpl
+share/bugzilla/template/en/default/admin/flag-type/list.html.tmpl
+share/bugzilla/template/en/default/admin/groups/create.html.tmpl
+share/bugzilla/template/en/default/admin/keywords/confirm-delete.html.tmpl
+share/bugzilla/template/en/default/admin/keywords/create.html.tmpl
+share/bugzilla/template/en/default/admin/keywords/created.html.tmpl
+share/bugzilla/template/en/default/admin/keywords/edit.html.tmpl
+share/bugzilla/template/en/default/admin/keywords/list.html.tmpl
+share/bugzilla/template/en/default/admin/keywords/rebuild-cache.html.tmpl
+share/bugzilla/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl
+share/bugzilla/template/en/default/admin/products/groupcontrol/edit.html.tmpl
+share/bugzilla/template/en/default/attachment/choose.html.tmpl
+share/bugzilla/template/en/default/attachment/content-types.html.tmpl
+share/bugzilla/template/en/default/attachment/create.html.tmpl
+share/bugzilla/template/en/default/attachment/created.html.tmpl
+share/bugzilla/template/en/default/attachment/diff-file.html.tmpl
+share/bugzilla/template/en/default/attachment/diff-footer.html.tmpl
+share/bugzilla/template/en/default/attachment/diff-header.html.tmpl
+share/bugzilla/template/en/default/attachment/edit.html.tmpl
+share/bugzilla/template/en/default/attachment/list.html.tmpl
+share/bugzilla/template/en/default/attachment/show-multiple.html.tmpl
+share/bugzilla/template/en/default/attachment/updated.html.tmpl
+share/bugzilla/template/en/default/bug/activity/show.html.tmpl
+share/bugzilla/template/en/default/bug/activity/table.html.tmpl
+share/bugzilla/template/en/default/bug/choose.html.tmpl
+share/bugzilla/template/en/default/bug/comments.html.tmpl
+share/bugzilla/template/en/default/bug/create/comment-guided.txt.tmpl
+share/bugzilla/template/en/default/bug/create/comment.txt.tmpl
+share/bugzilla/template/en/default/bug/create/create-guided.html.tmpl
+share/bugzilla/template/en/default/bug/create/create.html.tmpl
+share/bugzilla/template/en/default/bug/create/created.html.tmpl
+share/bugzilla/template/en/default/bug/create/make-template.html.tmpl
+share/bugzilla/template/en/default/bug/create/user-message.html.tmpl
+share/bugzilla/template/en/default/bug/dependency-graph.html.tmpl
+share/bugzilla/template/en/default/bug/dependency-tree.html.tmpl
+share/bugzilla/template/en/default/bug/edit.html.tmpl
+share/bugzilla/template/en/default/bug/knob.html.tmpl
+share/bugzilla/template/en/default/bug/navigate.html.tmpl
+share/bugzilla/template/en/default/bug/process/bugmail.html.tmpl
+share/bugzilla/template/en/default/bug/process/confirm-duplicate.html.tmpl
+share/bugzilla/template/en/default/bug/process/header.html.tmpl
+share/bugzilla/template/en/default/bug/process/midair.html.tmpl
+share/bugzilla/template/en/default/bug/process/next.html.tmpl
+share/bugzilla/template/en/default/bug/process/results.html.tmpl
+share/bugzilla/template/en/default/bug/process/verify-new-product.html.tmpl
+share/bugzilla/template/en/default/bug/show-multiple.html.tmpl
+share/bugzilla/template/en/default/bug/show.html.tmpl
+share/bugzilla/template/en/default/bug/show.xml.tmpl
+share/bugzilla/template/en/default/bug/time.html.tmpl
+share/bugzilla/template/en/default/bug/votes/delete-all.html.tmpl
+share/bugzilla/template/en/default/bug/votes/list-for-bug.html.tmpl
+share/bugzilla/template/en/default/bug/votes/list-for-user.html.tmpl
+share/bugzilla/template/en/default/config.js.tmpl
+share/bugzilla/template/en/default/config.rdf.tmpl
+share/bugzilla/template/en/default/filterexceptions.pl
+share/bugzilla/template/en/default/flag/list.html.tmpl
+share/bugzilla/template/en/default/global/banner.html.tmpl
+share/bugzilla/template/en/default/global/choose-product.html.tmpl
+share/bugzilla/template/en/default/global/code-error.html.tmpl
+share/bugzilla/template/en/default/global/confirm-user-match.html.tmpl
+share/bugzilla/template/en/default/global/field-descs.none.tmpl
+share/bugzilla/template/en/default/global/footer.html.tmpl
+share/bugzilla/template/en/default/global/header.html.tmpl
+share/bugzilla/template/en/default/global/help-header.html.tmpl
+share/bugzilla/template/en/default/global/help.html.tmpl
+share/bugzilla/template/en/default/global/hidden-fields.html.tmpl
+share/bugzilla/template/en/default/global/initialize.none.tmpl
+share/bugzilla/template/en/default/global/message.html.tmpl
+share/bugzilla/template/en/default/global/messages.html.tmpl
+share/bugzilla/template/en/default/global/select-menu.html.tmpl
+share/bugzilla/template/en/default/global/site-navigation.html.tmpl
+share/bugzilla/template/en/default/global/useful-links.html.tmpl
+share/bugzilla/template/en/default/global/user-error.html.tmpl
+share/bugzilla/template/en/default/global/variables.none.tmpl
+share/bugzilla/template/en/default/index.html.tmpl
+share/bugzilla/template/en/default/list/change-columns.html.tmpl
+share/bugzilla/template/en/default/list/edit-multiple.html.tmpl
+share/bugzilla/template/en/default/list/list-simple.html.tmpl
+share/bugzilla/template/en/default/list/list.csv.tmpl
+share/bugzilla/template/en/default/list/list.html.tmpl
+share/bugzilla/template/en/default/list/list.ics.tmpl
+share/bugzilla/template/en/default/list/list.js.tmpl
+share/bugzilla/template/en/default/list/list.rdf.tmpl
+share/bugzilla/template/en/default/list/quips.html.tmpl
+share/bugzilla/template/en/default/list/server-push.html.tmpl
+share/bugzilla/template/en/default/list/table.html.tmpl
+share/bugzilla/template/en/default/pages/bug-writing.html.tmpl
+share/bugzilla/template/en/default/pages/fields.html.tmpl
+share/bugzilla/template/en/default/pages/linked.html.tmpl
+share/bugzilla/template/en/default/pages/linkify.html.tmpl
+share/bugzilla/template/en/default/pages/voting.html.tmpl
+share/bugzilla/template/en/default/reports/chart.csv.tmpl
+share/bugzilla/template/en/default/reports/chart.html.tmpl
+share/bugzilla/template/en/default/reports/chart.png.tmpl
+share/bugzilla/template/en/default/reports/components.html.tmpl
+share/bugzilla/template/en/default/reports/create-chart.html.tmpl
+share/bugzilla/template/en/default/reports/duplicates-simple.html.tmpl
+share/bugzilla/template/en/default/reports/duplicates-table.html.tmpl
+share/bugzilla/template/en/default/reports/duplicates.html.tmpl
+share/bugzilla/template/en/default/reports/duplicates.rdf.tmpl
+share/bugzilla/template/en/default/reports/edit-series.html.tmpl
+share/bugzilla/template/en/default/reports/keywords.html.tmpl
+share/bugzilla/template/en/default/reports/menu.html.tmpl
+share/bugzilla/template/en/default/reports/report-bar.png.tmpl
+share/bugzilla/template/en/default/reports/report-line.png.tmpl
+share/bugzilla/template/en/default/reports/report-pie.png.tmpl
+share/bugzilla/template/en/default/reports/report-table.csv.tmpl
+share/bugzilla/template/en/default/reports/report-table.html.tmpl
+share/bugzilla/template/en/default/reports/report.csv.tmpl
+share/bugzilla/template/en/default/reports/report.html.tmpl
+share/bugzilla/template/en/default/reports/series-common.html.tmpl
+share/bugzilla/template/en/default/reports/series.html.tmpl
+share/bugzilla/template/en/default/request/email.txt.tmpl
+share/bugzilla/template/en/default/request/queue.html.tmpl
+share/bugzilla/template/en/default/search/boolean-charts.html.tmpl
+share/bugzilla/template/en/default/search/form.html.tmpl
+share/bugzilla/template/en/default/search/knob.html.tmpl
+share/bugzilla/template/en/default/search/search-advanced.html.tmpl
+share/bugzilla/template/en/default/search/search-create-series.html.tmpl
+share/bugzilla/template/en/default/search/search-help.html.tmpl
+share/bugzilla/template/en/default/search/search-report-graph.html.tmpl
+share/bugzilla/template/en/default/search/search-report-select.html.tmpl
+share/bugzilla/template/en/default/search/search-report-table.html.tmpl
+share/bugzilla/template/en/default/search/search-specific.html.tmpl
+share/bugzilla/template/en/default/search/tabs.html.tmpl
+share/bugzilla/template/en/default/sidebar.xul.tmpl
+@dirrm share/bugzilla/template/en/default/account/auth
+@dirrm share/bugzilla/template/en/default/account/email
+@dirrm share/bugzilla/template/en/default/account/password
+@dirrm share/bugzilla/template/en/default/account/prefs
+@dirrm share/bugzilla/template/en/default/account
+@dirrm share/bugzilla/template/en/default/admin/flag-type
+@dirrm share/bugzilla/template/en/default/admin/groups
+@dirrm share/bugzilla/template/en/default/admin/keywords
+@dirrm share/bugzilla/template/en/default/admin/products/groupcontrol
+@dirrm share/bugzilla/template/en/default/admin/products
+@dirrm share/bugzilla/template/en/default/admin
+@dirrm share/bugzilla/template/en/default/attachment
+@dirrm share/bugzilla/template/en/default/bug/activity
+@dirrm share/bugzilla/template/en/default/bug/create
+@dirrm share/bugzilla/template/en/default/bug/process
+@dirrm share/bugzilla/template/en/default/bug/votes
+@dirrm share/bugzilla/template/en/default/bug
+@dirrm share/bugzilla/template/en/default/flag
+@dirrm share/bugzilla/template/en/default/global
+@dirrm share/bugzilla/template/en/default/list
+@dirrm share/bugzilla/template/en/default/pages
+@dirrm share/bugzilla/template/en/default/reports
+@dirrm share/bugzilla/template/en/default/request
+@dirrm share/bugzilla/template/en/default/search
+@dirrm share/bugzilla/template/en/default
+@dirrm share/bugzilla/template/en
+@dirrm share/bugzilla/template
+@exec ${MKDIR} %D/share/examples/bugzilla
+@dirrm share/examples/bugzilla
+@dirrm share/doc/bugzilla
+@dirrm share/bugzilla/js
+@dirrm share/bugzilla/docs/html
+@dirrm share/bugzilla/docs/images/callouts
+@dirrm share/bugzilla/docs/images
+@dirrm share/bugzilla/docs
+@dirrm share/bugzilla/css
+@dirrm share/bugzilla/Bugzilla/Auth
+@dirrm share/bugzilla/Bugzilla/Template/Plugin
+@dirrm share/bugzilla/Bugzilla/Template
+@dirrm share/bugzilla/Bugzilla
+@dirrm share/bugzilla/skins/standard
+@dirrm share/bugzilla/skins
+@dirrm share/bugzilla
diff --git a/devel/bugzilla/distinfo b/devel/bugzilla/distinfo
new file mode 100644
index 00000000000..26577abc37b
--- /dev/null
+++ b/devel/bugzilla/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/02 13:39:55 adrianp Exp $
+
+SHA1 (bugzilla-2.18rc3.tar.gz) = cf3810440a43de2d5b074270b5499c8be6da9ab3
+Size (bugzilla-2.18rc3.tar.gz) = 1234642 bytes
diff --git a/devel/bugzilla/files/bugzilla.conf b/devel/bugzilla/files/bugzilla.conf
new file mode 100644
index 00000000000..349a6083e47
--- /dev/null
+++ b/devel/bugzilla/files/bugzilla.conf
@@ -0,0 +1,15 @@
+# $NetBSD: bugzilla.conf,v 1.1.1.1 2005/01/02 13:39:55 adrianp Exp $
+#
+# Bugzilla configuration file fragment for Apache
+
+<IfModule mod_alias.c>
+ Alias /bugzilla/ "@BZDIR@/"
+</IfModule>
+
+<Directory "@BZDIR@">
+ AddHandler cgi-script .cgi
+ Options +ExecCGI +FollowSymLinks
+ AllowOverride Limit
+ Order allow,deny
+ Allow from all
+</Directory>
diff --git a/devel/bugzilla/files/localconfig b/devel/bugzilla/files/localconfig
new file mode 100644
index 00000000000..857ea8fbab6
--- /dev/null
+++ b/devel/bugzilla/files/localconfig
@@ -0,0 +1,187 @@
+#
+# With the introduction of a configurable index page using the
+# template toolkit, Bugzilla's main index page is now index.cgi.
+# Most web servers will allow you to use index.cgi as a directory
+# index and many come preconfigured that way, however if yours
+# doesn't you'll need an index.html file that provides redirection
+# to index.cgi. Setting $index_html to 1 below will allow
+# checksetup.pl to create one for you if it doesn't exist.
+# NOTE: checksetup.pl will not replace an existing file, so if you
+# wish to have checksetup.pl create one for you, you must
+# make sure that there isn't already an index.html
+$index_html = 0;
+
+
+#
+# For some optional functions of Bugzilla (such as the pretty-print patch
+# viewer), we need the cvs binary to access files and revisions.
+# Because it's possible that this program is not in your path, you can specify
+# its location here. Please specify the full path to the executable.
+$cvsbin = "/usr/bin/cvs";
+
+
+
+#
+# For some optional functions of Bugzilla (such as the pretty-print patch
+# viewer), we need the interdiff binary to make diffs between two patches.
+# Because it's possible that this program is not in your path, you can specify
+# its location here. Please specify the full path to the executable.
+$interdiffbin = "@PREFIX@/bin/interdiff";
+
+
+
+#
+# The interdiff feature needs diff, so we have to have that path.
+# Please specify only the directory name, with no trailing slash.
+$diffpath = "/usr/bin";
+
+
+#
+# If you are using Apache for your web server, Bugzilla can create .htaccess
+# files for you that will instruct Apache not to serve files that shouldn't
+# be accessed from the web (like your local configuration data and non-cgi
+# executable files). For this to work, the directory your Bugzilla
+# installation is in must be within the jurisdiction of a <Directory> block
+# in the httpd.conf file that has 'AllowOverride Limit' in it. If it has
+# 'AllowOverride All' or other options with Limit, that's fine.
+# (Older Apache installations may use an access.conf file to store these
+# <Directory> blocks.)
+# If this is set to 1, Bugzilla will create these files if they don't exist.
+# If this is set to 0, Bugzilla will not create these files.
+$create_htaccess = 1;
+
+
+#
+# This is the group your web server runs on.
+# If you have a windows box, ignore this setting.
+# If you do not have access to the group your web server runs under,
+# set this to "". If you do set this to "", then your Bugzilla installation
+# will be _VERY_ insecure, because some files will be world readable/writable,
+# and so anyone who can get local access to your machine can do whatever they
+# want. You should only have this set to "" if this is a testing installation
+# and you cannot set this up any other way. YOU HAVE BEEN WARNED.
+# If you set this to anything besides "", you will need to run checksetup.pl
+# as root, or as a user who is a member of the specified group.
+$webservergroup = "@BZ_WEB_GROUP@";
+
+
+
+#
+# How to access the SQL database:
+#
+$db_host = "localhost"; # where is the database?
+$db_port = 3306; # which port to use
+$db_name = "bugs"; # name of the MySQL database
+$db_user = "user"; # user to attach to the MySQL database
+
+
+
+#
+# Enter your database password here. It's normally advisable to specify
+# a password for your bugzilla database user.
+# If you use apostrophe (') or a backslash (\) in your password, you'll
+# need to escape it by preceding it with a \ character. (\') or (\\)
+#
+$db_pass = 'changemeplease';
+
+
+
+# Enter a path to the unix socket for mysql. If this is blank, then mysql's
+# compiled-in default will be used. You probably want that.
+$db_sock = '/tmp/mysql.sock';
+
+
+
+#
+# Should checksetup.pl try to check if your MySQL setup is correct?
+# (with some combinations of MySQL/Msql-mysql/Perl/moonphase this doesn't work)
+#
+$db_check = 1;
+
+
+
+#
+# Which bug and feature-request severities do you want?
+#
+@severities = (
+ "blocker",
+ "critical",
+ "major",
+ "normal",
+ "minor",
+ "trivial",
+ "enhancement"
+);
+
+
+
+#
+# Which priorities do you want to assign to bugs and feature-request?
+#
+@priorities = (
+ "P1",
+ "P2",
+ "P3",
+ "P4",
+ "P5"
+);
+
+
+
+#
+# What operatings systems may your products run on?
+#
+@opsys = (
+ "All",
+ "Windows 3.1",
+ "Windows 95",
+ "Windows 98",
+ "Windows ME", # Millenium Edition (upgrade of 98)
+ "Windows 2000",
+ "Windows NT",
+ "Windows XP",
+ "Windows Server 2003",
+ "Mac System 7",
+ "Mac System 7.5",
+ "Mac System 7.6.1",
+ "Mac System 8.0",
+ "Mac System 8.5",
+ "Mac System 8.6",
+ "Mac System 9.x",
+ "Mac OS X 10.0",
+ "Mac OS X 10.1",
+ "Mac OS X 10.2",
+ "Mac OS X 10.3",
+ "Linux",
+ "BSD/OS",
+ "FreeBSD",
+ "NetBSD",
+ "OpenBSD",
+ "AIX",
+ "BeOS",
+ "HP-UX",
+ "IRIX",
+ "Neutrino",
+ "OpenVMS",
+ "OS/2",
+ "OSF/1",
+ "Solaris",
+ "SunOS",
+ "other"
+);
+
+
+
+#
+# What hardware platforms may your products run on?
+#
+@platforms = (
+ "All",
+ "DEC",
+ "HP",
+ "Macintosh",
+ "PC",
+ "SGI",
+ "Sun",
+ "Other"
+);
diff --git a/devel/bugzilla/options.mk b/devel/bugzilla/options.mk
new file mode 100644
index 00000000000..7b63247fa26
--- /dev/null
+++ b/devel/bugzilla/options.mk
@@ -0,0 +1,38 @@
+# $NetBSD: options.mk,v 1.1.1.1 2005/01/02 13:39:55 adrianp Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.bugzilla
+PKG_SUPPORTED_OPTIONS= ldap charts patchviewer xmlimportbugs
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Use OpenLDAP for authentication
+###
+.if !empty(PKG_OPTIONS:Mldap)
+DEPENDS+= p5-perl-ldap-[0-9]*:../../databases/p5-perl-ldap
+.endif
+
+###
+### Generation of charts
+###
+.if !empty(PKG_OPTIONS:Mcharts)
+DEPENDS+= gd>=1.20:../../graphics/gd
+DEPENDS+= p5-Chart>=1.0:../../graphics/p5-Chart
+DEPENDS+= p5-GDTextUtil-[0-9]*:../../graphics/p5-GDTextUtil
+DEPENDS+= p5-GDGraph-[0-9]*:../../graphics/p5-GDGraph
+.endif
+
+###
+### Patchviewer support
+###
+.if !empty(PKG_OPTIONS:Mpatchviewer)
+DEPENDS+= p5-PatchReader>=0.9.4:../../devel/p5-PatchReader
+DEPENDS+= patchutils-[0-9]*:../../devel/patchutils
+.endif
+
+###
+### Add support for bulk import/export of bugs in XML format
+###
+.if !empty(PKG_OPTIONS:Mxmlimportbugs)
+DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
+.endif