- new port bugzilla42

New Features and Improvements:
- Experimental SQLite Support
- Creating an Attachment by Pasting Text Into a Text Field
- HTML Bugmail (default: on  can be disabled in user preference)
- Improved Searching System
- Disabling Old Components, Versions and Milestones
- Displaying a Custom Field Value Based on Multiple Values of Another Field
- Auditing of All Changes Within Bugzilla
- Accessibility Improvements

And many other Improvements, for complete list see:
 http://www.bugzilla.org/releases/4.2.1/release-notes.html
This commit is contained in:
Olli Hauer 2012-07-24 21:37:07 +00:00
parent 2adc21ec96
commit f87e4270c3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301498
9 changed files with 1378 additions and 1 deletions

View File

@ -134,6 +134,7 @@
SUBDIR += bug-buddy
SUBDIR += bugzilla
SUBDIR += bugzilla3
SUBDIR += bugzilla42
SUBDIR += build
SUBDIR += buildapp
SUBDIR += buildbot

View File

@ -4,7 +4,8 @@
DIST_SUBDIR= ${PORTNAME}
CONFLICTS= bugzilla-3.*
CONFLICTS= bugzilla-3.* \
bugzilla-4.2.*
PORTSCOUT= limitw:1,even

200
devel/bugzilla42/Makefile Normal file
View File

@ -0,0 +1,200 @@
# New ports collection makefile for: bugzilla
# Date created: 28 September 2001
# Whom: Alexey Zelkin <phantom@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bugzilla
PORTVERSION= 4.2.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= webtools webtools/archived
MAINTAINER= ohauer@FreeBSD.org
COMMENT= Bug-tracking system developed by Mozilla Project
LICENSE= MPL
RUN_DEPENDS= \
p5-CGI.pm>=3.51:${PORTSDIR}/www/p5-CGI.pm \
p5-DBI>=1.41:${PORTSDIR}/databases/p5-DBI \
p5-DateTime-TimeZone>=0.71:${PORTSDIR}/devel/p5-DateTime-TimeZone \
p5-DateTime>=0.28:${PORTSDIR}/devel/p5-DateTime \
p5-Email-MIME>=1.904:${PORTSDIR}/mail/p5-Email-MIME \
p5-Email-Send>=2.00:${PORTSDIR}/mail/p5-Email-Send \
p5-Encode-Detect>=0:${PORTSDIR}/converters/p5-Encode-Detect \
p5-List-MoreUtils>=0.22:${PORTSDIR}/lang/p5-List-MoreUtils \
p5-Math-Random-ISAAC>=1.001:${PORTSDIR}/math/p5-Math-Random-ISAAC \
p5-Template-Toolkit>=2.22:${PORTSDIR}/www/p5-Template-Toolkit \
p5-TimeDate>=1.19:${PORTSDIR}/devel/p5-TimeDate \
p5-URI>=1.37:${PORTSDIR}/net/p5-URI
LATEST_LINK= bugzilla42
USE_PERL5= yes
BINMODE= 700
SUB_FILES= pkg-message
DATA_DIRS_LIST= images js skins
.include "${.CURDIR}/Makefile.common"
.include "${.CURDIR}/Makefile.options"
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMODPERL}
USE_APACHE_RUN= 20+
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501000
RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA
.endif
.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
IGNORE_WITH_MYSQL= 41
RUN_DEPENDS+= p5-DBD-mysql>=4.0001:${PORTSDIR}/databases/p5-DBD-mysql
.endif
.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
RUN_DEPENDS+= p5-DBD-Pg>=1.45:${PORTSDIR}/databases/p5-DBD-Pg
.endif
.if ${PORT_OPTIONS:MSQLITE}
USE_SQLITE= yes
RUN_DEPENDS+= p5-DBD-SQLite>=1.29:${PORTSDIR}/databases/p5-DBD-SQLite \
sqlite3>=3:${PORTSDIR}/databases/sqlite3
.endif
.if ${PORT_OPTIONS:MGRAPH_REPORTS}
RUN_DEPENDS+= p5-GD>=1.20:${PORTSDIR}/graphics/p5-GD \
p5-GD-Graph>=0:${PORTSDIR}/graphics/p5-GD-Graph \
p5-GD-TextUtil>=0:${PORTSDIR}/graphics/p5-GD-TextUtil \
p5-Template-GD>=0:${PORTSDIR}/www/p5-Template-GD
.endif
.if ${PORT_OPTIONS:MCHARTING_MODULES}
RUN_DEPENDS+= p5-Chart>=2.1:${PORTSDIR}/graphics/p5-Chart
.endif
.if ${PORT_OPTIONS:MPATCH_VIEWER}
RUN_DEPENDS+= p5-PatchReader>=0.9.6:${PORTSDIR}/devel/p5-PatchReader \
interdiff:${PORTSDIR}/misc/patchutils
.endif
.if ${PORT_OPTIONS:MMORE_HTML}
RUN_DEPENDS+= p5-HTML-Parser>=3.40:${PORTSDIR}/www/p5-HTML-Parser \
p5-HTML-Scrubber>=0:${PORTSDIR}/www/p5-HTML-Scrubber
.endif
.if ${PORT_OPTIONS:MINBOUND_EMAIL}
RUN_DEPENDS+= p5-Email-MIME-Attachment-Stripper>=0:${PORTSDIR}/mail/p5-Email-MIME-Attachment-Stripper \
p5-Email-Reply>=0:${PORTSDIR}/mail/p5-Email-Reply
.endif
.if ${PORT_OPTIONS:MMAIL_QUEUEING}
RUN_DEPENDS+= p5-TheSchwartz>=0:${PORTSDIR}/devel/p5-TheSchwartz \
p5-Daemon-Generic>=0:${PORTSDIR}/net/p5-Daemon-Generic
.endif
.if ${PORT_OPTIONS:MMOVE_BUGZ}
RUN_DEPENDS+= p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools \
p5-XML-Twig>=0:${PORTSDIR}/textproc/p5-XML-Twig
.endif
.if ${PORT_OPTIONS:MBMP2PNG}
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
.endif
.if ${PORT_OPTIONS:MXMLRPC} || ${PORT_OPTIONS:MJSONRPC}
RUN_DEPENDS+= p5-Test-Taint>=0:${PORTSDIR}/devel/p5-Test-Taint
.endif
.if ${PORT_OPTIONS:MXMLRPC}
RUN_DEPENDS+= p5-SOAP-Lite>=0.712:${PORTSDIR}/net/p5-SOAP-Lite
.endif
.if ${PORT_OPTIONS:MJSONRPC}
RUN_DEPENDS+= p5-JSON-RPC>=0:${PORTSDIR}/devel/p5-JSON-RPC \
p5-JSON-XS>=2.0:${PORTSDIR}/converters/p5-JSON-XS
.endif
.if ${PORT_OPTIONS:MMODPERL}
RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2 \
p5-Apache-DBI>=0:${PORTSDIR}/www/p5-Apache-DBI
.endif
.if ${PORT_OPTIONS:MWITH_GRAPHVIZ}
RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz
.endif
.if ${PORT_OPTIONS:MEXPORT_IMPORT}
RUN_DEPENDS+= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
p5-XML-Twig>=0:${PORTSDIR}/textproc/p5-XML-Twig
.endif
.if ${PORT_OPTIONS:MCONTRIB}
PLIST_SUB+= CONTRIB=""
.else
PLIST_SUB+= CONTRIB="@comment "
.endif
.if ${PORT_OPTIONS:MLDAP}
RUN_DEPENDS+= p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap
.endif
.if ${PORT_OPTIONS:MRADIUS}
RUN_DEPENDS+= p5-Authen-Radius>=0:${PORTSDIR}/security/p5-Authen-Radius
.endif
post-patch:
@${PERL} -pi -e 's/(default => ON_WINDOWS.+)apache/$$1www/' \
${WRKSRC}/Bugzilla/Install/Localconfig.pm
.if ${PORT_OPTIONS:MPGSQL} && empty(PORT_OPTIONS:MMYSQL)
@${PERL} -pi -e 's/(default =>.+|Default is )mysql/$$1Pg/' \
${WRKSRC}/Bugzilla/Install/Localconfig.pm
.endif
@${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} -i '' \
-e 's!/usr/lib/sendmail!/usr/sbin/sendmail!g; s=/usr/bin/perl=${PERL}=g' {} \+
@${FIND} ${WRKSRC}/docs -type f | \
${XARGS} ${REINPLACE_CMD} -i '' -e "s!/var/www/html/bugzilla!${WWWDIR}!"
@${FIND} ${WRKSRC} \( -name "CVS" -or -name ".cvsignore" -or -name "*.orig" \
-or -name "*.bak" -or -name ".bzr*" -or -name "README.docs" \) \
| ${XARGS} ${RM} -rf
do-install: .SILENT
${MKDIR} ${WWWDIR}
${FIND} ${WRKSRC} \! -type d -maxdepth 1 \! -name "UPGRADING*" -exec \
${INSTALL_SCRIPT} {} ${WWWDIR} \;
@${MKDIR} ${DATA_DIRS_LIST:S!^!${WWWDIR}/!}
.for D in ${DATA_DIRS_LIST}
(cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${WWWDIR}/${D})
.endfor
${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${WWWDIR} -xf -
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}/)
.endif
# checksetup will fail if these directories are not present!
${MKDIR} ${WWWDIR}/contrib ${WWWDIR}/lib ${WWWDIR}/t ${WWWDIR}/xt
.if ${PORT_OPTIONS:MCONTRIB}
@cd ${WRKSRC}/contrib && \
${FIND} . -type d -exec ${MKDIR} "${WWWDIR}/contrib/{}" \; && \
${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${WWWDIR}/contrib/{}" \;
.endif
.if !defined(BATCH)
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,15 @@
#
# $FreeBSD$
#
DIST_SUBDIR= ${PORTNAME}
CONFLICTS= bugzilla-3.*
bugzilla-4.0.*
PORTSCOUT= limitw:1,even
WWWDIR= ${PREFIX}/www/bugzilla
NO_BUILD= yes

View File

@ -0,0 +1,49 @@
# $FreeBSD$
NO_OPTIONS_SORT= yes
OPTIONS_DEFINE= \
DOCS \
MYSQL \
PGSQL \
SQLITE \
GRAPHVIZ \
GRAPH_REPORTS \
CHARTING_MODULES\
PATCH_VIEWER \
MORE_HTML \
INBOUND_EMAIL \
MAIL_QUEUEING \
MOVE_BUGZ \
BMP2PNG \
XMLRPC \
JSONRPC \
MODPERL \
EXPORT_IMPORT \
CONTRIB \
LDAP \
RADIUS
OPTIONS_DEFAULT= \
CHARTING_MODULES\
CONTRIB \
DOCS \
GRAPH_REPORTS \
MORE_HTML \
PATCH_VIEWER
BMP2PNG_DESC= BMP Attachments to PNGs
CHARTING_MODULES_DESC= Bug charting support
CONTRIB_DESC= Install user-contributed scripts
EXPORT_IMPORT_DESC= Import/export bugs (via XML)
GRAPH_REPORTS_DESC= Graphical Reports
INBOUND_EMAIL_DESC= Inbound Email
JSONRPC_DESC= JSON-RPC Interface
LDAP_DESC= LDAP Authentication
MAIL_QUEUEING_DESC= Mail Queueing
MORE_HTML_DESC= More HTML in Product/Group Descriptions
MOVE_BUGZ_DESC= Move Bugs Between Installations
PATCH_VIEWER_DESC= Patch Viewer
RADIUS_DESC= RADIUS Authentication
XMLRPC_DESC= XML-RPC Interface

View File

@ -0,0 +1,2 @@
SHA256 (bugzilla/bugzilla-4.0.6.tar.gz) = f1894a2b05556b2074b6b1e3c7230c52d458b9bb22737845c12c8c84e15fe22e
SIZE (bugzilla/bugzilla-4.0.6.tar.gz) = 2964924

View File

@ -0,0 +1,33 @@
==========================================================================
Bugzilla has now been installed. To quick setup you have to:
1. Create database user who has rights on bugs database manipulation
by following mysql commands (for MySQL 4.0 or later):
GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES,
CREATE TEMPORARY TABLES, DROP, REFERENCES
ON <database>.* TO <dbuser>@<host>
IDENTIFIED BY '<password>';
FLUSH PRIVILEGES;
where <database> is a bugs database name; <dbuser> is a bugs database
owner; <host> is a host there bugzilla is being setup;
<password> is a database owner's password;
2. Change working directory to %%WWWDIR%%
3. Run "./checksetup.pl" script as root user
4. Read output carefully and follow all instructions
For more complete database setup and post-installation instructions
and security tips/notes please read "Bugzilla Guide" in
%%DOCSDIR%%/en/html/ (chapter 2: "Installing Bugzilla")
==========================================================================
For upgrades:
0. Back up your data.
1. Run "./checksetup.pl" inside %%WWWDIR%%. You may need to
run it several times.
2. Restart your Web server, especially if you're using mod_perl: this
will save you from a number of troubles.
==========================================================================

View File

@ -0,0 +1,22 @@
Bugzilla is one example of a class of programs called "Defect Tracking
Systems", or, more commonly, "Bug-Tracking Systems". Defect Tracking
Systems allow individual or groups of developers to keep track of
outstanding bugs in their product effectively.
Bugzilla has matured immensely, and now boasts many advanced features.
These include:
* integrated, product-based granular security schema
* inter-bug dependencies and dependency graphing
* advanced reporting capabilities
* a robust, stable RDBMS back-end
* extensive configurability
* a very well-understood and well-thought-out natural bug resolution
protocol
* email, XML, console, and HTTP APIs
* available integration with automated software configuration
management systems, including Perforce and CVS (through the
Bugzilla email interface and checkin/checkout scripts)
* too many more features to list
WWW: http://www.bugzilla.org/

1054
devel/bugzilla42/pkg-plist Normal file

File diff suppressed because it is too large Load Diff