From 243206bdcf004897fb6833075decb994a6789f0b Mon Sep 17 00:00:00 2001 From: Wes Peters Date: Sun, 28 Nov 2004 22:40:21 +0000 Subject: [PATCH] Add phpBugTracker, a bug database designed to provide the features of Bugzilla with better performance and maintainability. phpBT is (obviously) developed in PHP and uses the PEAR database library for database independence; currently PostgreSQL and MySQL are supported. --- devel/Makefile | 1 + devel/phpbt/Makefile | 38 +++++++ devel/phpbt/distinfo | 2 + devel/phpbt/pkg-descr | 9 ++ devel/phpbt/pkg-message | 22 ++++ devel/phpbt/pkg-plist | 239 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 311 insertions(+) create mode 100644 devel/phpbt/Makefile create mode 100644 devel/phpbt/distinfo create mode 100644 devel/phpbt/pkg-descr create mode 100644 devel/phpbt/pkg-message create mode 100644 devel/phpbt/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 56677d40c6c3..436358d9a358 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1139,6 +1139,7 @@ SUBDIR += php5-sysvsem SUBDIR += php5-sysvshm SUBDIR += php5-tokenizer + SUBDIR += phpbt SUBDIR += phptags SUBDIR += physfs SUBDIR += picasm diff --git a/devel/phpbt/Makefile b/devel/phpbt/Makefile new file mode 100644 index 000000000000..c236be5ba498 --- /dev/null +++ b/devel/phpbt/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: phpbt +# Date created: 28 November 2004 +# Whom: Wes Peters +# +# $FreeBSD$ +# + +PORTNAME= phpbt +PORTVERSION= 1.0rc5 +CATEGORIES?= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= wes@FreeBSD.org +COMMENT= Bug-tracking system developed in PHP + +RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB + +.if !defined(WITHOUT_PHP_DEPENDS) +USE_PHP= ctype pcre posix session tokenizer xml zlib +.endif + +NO_BUILD= YES +PHP4_PORT?= www/mod_php4 +PHPBT= www/data-dist/phpbt +PLIST_SUB= PHPBT=${PHPBT} + +do-install: + -${MKDIR} ${PREFIX}/${PHPBT} + @(cd ${WRKSRC} && ${CP} -R * ${PREFIX}/${PHPBT}) + @${CHOWN} -R www:www ${PREFIX}/${PHPBT} + +post-install: + @${CAT} ${PKGMESSAGE} | \ + ${SED} -e 's|%%PREFIX%%|${PREFIX}|' | \ + ${SED} -e 's|%%PHPBT%%|${PHPBT}|' + +.include diff --git a/devel/phpbt/distinfo b/devel/phpbt/distinfo new file mode 100644 index 000000000000..c1556fc9c164 --- /dev/null +++ b/devel/phpbt/distinfo @@ -0,0 +1,2 @@ +MD5 (phpbt-1.0rc5.tar.gz) = d0642a7837ca1e6bf7f91b831130b7d5 +SIZE (phpbt-1.0rc5.tar.gz) = 414905 diff --git a/devel/phpbt/pkg-descr b/devel/phpbt/pkg-descr new file mode 100644 index 000000000000..aed660e0ef45 --- /dev/null +++ b/devel/phpbt/pkg-descr @@ -0,0 +1,9 @@ +phpBugTracker is a web-based bug reporting and tracking system. It +helps development teams to manage the testing and debugging segments +of the development cycle. + +A PHP replacement for bugzilla, focusing on separating the presentation, +application, and database layers by using templates and a database +abstraction layer. + +WWW: http://sourceforge.net/projects/phpbt/ diff --git a/devel/phpbt/pkg-message b/devel/phpbt/pkg-message new file mode 100644 index 000000000000..7819ff2636eb --- /dev/null +++ b/devel/phpbt/pkg-message @@ -0,0 +1,22 @@ +========================================================================== + +FreeBSD phpBugTracker installation instructions: + +Optional: Install JpGraph (http://www.aditus.nu/jpgraph/) if you +wish to use it. + +1. The phpBugTracker distribution has been installed in: + + %%PREFIX%%/%%PHPBT%% + +2. With your web browser, surf to this location. You will be + presented with a web page that will help you configure and install + the application. + +3. After completing the installation, login and start reporting bugs. + +* Note: You must have magic_quotes_gpc set to On either in php.ini +or in .htaccess (see http://www.php.net/manual/en/configuration.php +for more info). + +========================================================================== diff --git a/devel/phpbt/pkg-plist b/devel/phpbt/pkg-plist new file mode 100644 index 000000000000..4acce09214fa --- /dev/null +++ b/devel/phpbt/pkg-plist @@ -0,0 +1,239 @@ +%%PHPBT%%/docs/html/images/callouts/9.gif +%%PHPBT%%/docs/html/images/callouts/10.gif +%%PHPBT%%/docs/html/images/callouts/2.gif +%%PHPBT%%/docs/html/images/callouts/3.gif +%%PHPBT%%/docs/html/images/callouts/4.gif +%%PHPBT%%/docs/html/images/callouts/5.gif +%%PHPBT%%/docs/html/images/callouts/6.gif +%%PHPBT%%/docs/html/images/callouts/7.gif +%%PHPBT%%/docs/html/images/callouts/8.gif +%%PHPBT%%/docs/html/images/callouts/1.gif +%%PHPBT%%/docs/html/images/shots/user/bugdetail.jpg +%%PHPBT%%/docs/html/images/shots/user/enterbug-chooseproject.jpg +%%PHPBT%%/docs/html/images/shots/user/enterbug-detail.jpg +%%PHPBT%%/docs/html/images/shots/user/query.jpg +%%PHPBT%%/docs/html/images/caution.gif +%%PHPBT%%/docs/html/images/important.gif +%%PHPBT%%/docs/html/images/logo.jpg +%%PHPBT%%/docs/html/images/next.gif +%%PHPBT%%/docs/html/images/note.gif +%%PHPBT%%/docs/html/images/prev.gif +%%PHPBT%%/docs/html/images/tip.gif +%%PHPBT%%/docs/html/images/toc-blank.gif +%%PHPBT%%/docs/html/images/toc-minus.gif +%%PHPBT%%/docs/html/images/toc-plus.gif +%%PHPBT%%/docs/html/images/up.gif +%%PHPBT%%/docs/html/images/warning.gif +%%PHPBT%%/docs/html/images/home.gif +%%PHPBT%%/docs/html/adminguide.html +%%PHPBT%%/docs/html/bugdetail.html +%%PHPBT%%/docs/html/bugsearch.html +%%PHPBT%%/docs/html/configuration.html +%%PHPBT%%/docs/html/dependencies.html +%%PHPBT%%/docs/html/devguide.html +%%PHPBT%%/docs/html/devstandards.html +%%PHPBT%%/docs/html/docs.css +%%PHPBT%%/docs/html/index.html +%%PHPBT%%/docs/html/installation.html +%%PHPBT%%/docs/html/schema.html +%%PHPBT%%/docs/html/userguide.html +%%PHPBT%%/docs/sgml/template.sgml +%%PHPBT%%/docs/sgml/bugsearch.sgml +%%PHPBT%%/docs/sgml/configuration.sgml +%%PHPBT%%/docs/sgml/devstandards.sgml +%%PHPBT%%/docs/sgml/docs.dsl +%%PHPBT%%/docs/sgml/installation.sgml +%%PHPBT%%/docs/sgml/manifest.sgml +%%PHPBT%%/docs/sgml/phpbt.sgml +%%PHPBT%%/docs/sgml/primer.sgml +%%PHPBT%%/docs/sgml/requirements.sgml +%%PHPBT%%/docs/sgml/schema.sgml +%%PHPBT%%/docs/sgml/bugdetail.sgml +%%PHPBT%%/admin/user.php +%%PHPBT%%/admin/database.php +%%PHPBT%%/admin/group.php +%%PHPBT%%/admin/os.php +%%PHPBT%%/admin/project.php +%%PHPBT%%/admin/removetemplates.php +%%PHPBT%%/admin/resolution.php +%%PHPBT%%/admin/severity.php +%%PHPBT%%/admin/site.php +%%PHPBT%%/admin/status.php +%%PHPBT%%/admin/configure.php +%%PHPBT%%/schemas/old/perms.sql +%%PHPBT%%/schemas/old/table_rename.sql +%%PHPBT%%/schemas/mysql.in +%%PHPBT%%/schemas/oci8.in +%%PHPBT%%/schemas/pgsql.in +%%PHPBT%%/inc/db/mysql.php +%%PHPBT%%/inc/db/oci8.php +%%PHPBT%%/inc/db/pgsql.php +%%PHPBT%%/inc/pear/DB/sybase.php +%%PHPBT%%/inc/pear/DB/dbase.php +%%PHPBT%%/inc/pear/DB/fbsql.php +%%PHPBT%%/inc/pear/DB/ibase.php +%%PHPBT%%/inc/pear/DB/ifx.php +%%PHPBT%%/inc/pear/DB/msql.php +%%PHPBT%%/inc/pear/DB/mssql.php +%%PHPBT%%/inc/pear/DB/mysql.php +%%PHPBT%%/inc/pear/DB/oci8.php +%%PHPBT%%/inc/pear/DB/odbc.php +%%PHPBT%%/inc/pear/DB/pgsql.php +%%PHPBT%%/inc/pear/DB/storage.php +%%PHPBT%%/inc/pear/DB/common.php +%%PHPBT%%/inc/pear/Spreadsheet/Excel/Writer/BIFFwriter.php +%%PHPBT%%/inc/pear/Spreadsheet/Excel/Writer/Format.php +%%PHPBT%%/inc/pear/Spreadsheet/Excel/Writer/Parser.php +%%PHPBT%%/inc/pear/Spreadsheet/Excel/Writer/Validator.php +%%PHPBT%%/inc/pear/Spreadsheet/Excel/Writer/Workbook.php +%%PHPBT%%/inc/pear/Spreadsheet/Excel/Writer/Worksheet.php +%%PHPBT%%/inc/pear/Spreadsheet/Excel/Writer.php +%%PHPBT%%/inc/pear/PEAR.php +%%PHPBT%%/inc/pear/DB.php +%%PHPBT%%/inc/htmlMimeMail/RFC822.php +%%PHPBT%%/inc/htmlMimeMail/htmlMimeMail.php +%%PHPBT%%/inc/htmlMimeMail/mimePart.php +%%PHPBT%%/inc/htmlMimeMail/smtp.php +%%PHPBT%%/inc/auth.php +%%PHPBT%%/inc/functions.php +%%PHPBT%%/inc/is_a.php +%%PHPBT%%/styles/black.css +%%PHPBT%%/styles/default.css +%%PHPBT%%/styles/print.css +%%PHPBT%%/languages/old/sl.php +%%PHPBT%%/languages/old/README +%%PHPBT%%/languages/old/es.php +%%PHPBT%%/languages/old/et.php +%%PHPBT%%/languages/old/it.php +%%PHPBT%%/languages/old/no.php +%%PHPBT%%/languages/old/se.php +%%PHPBT%%/languages/old/pl_iso-8859-2.php +%%PHPBT%%/languages/old/ru_koi8-r.php +%%PHPBT%%/languages/old/ru_windows-1251.php +%%PHPBT%%/languages/old/gb2312.php +%%PHPBT%%/languages/cz.php +%%PHPBT%%/languages/da.php +%%PHPBT%%/languages/cz_iso-8859-2.php +%%PHPBT%%/languages/de.php +%%PHPBT%%/languages/du.php +%%PHPBT%%/languages/pt-br.php +%%PHPBT%%/languages/es.php +%%PHPBT%%/languages/fr.php +%%PHPBT%%/languages/ja.php +%%PHPBT%%/languages/nl.php +%%PHPBT%%/languages/no.php +%%PHPBT%%/languages/en.php +%%PHPBT%%/templates/default/base/removetemplates.html +%%PHPBT%%/templates/default/base/smartymissing.html +%%PHPBT%%/templates/default/base/templatesperm.html +%%PHPBT%%/templates/default/admin/wrap.html +%%PHPBT%%/templates/default/admin/component-edit.html +%%PHPBT%%/templates/default/admin/configure.html +%%PHPBT%%/templates/default/admin/database-edit.html +%%PHPBT%%/templates/default/admin/databaselist.html +%%PHPBT%%/templates/default/admin/edit-submit.html +%%PHPBT%%/templates/default/admin/group-edit.html +%%PHPBT%%/templates/default/admin/grouplist.html +%%PHPBT%%/templates/default/admin/os-edit.html +%%PHPBT%%/templates/default/admin/oslist.html +%%PHPBT%%/templates/default/admin/pagination.html +%%PHPBT%%/templates/default/admin/project-add.html +%%PHPBT%%/templates/default/admin/project-edit.html +%%PHPBT%%/templates/default/admin/projectlist.html +%%PHPBT%%/templates/default/admin/resolution-edit.html +%%PHPBT%%/templates/default/admin/resolutionlist.html +%%PHPBT%%/templates/default/admin/severity-edit.html +%%PHPBT%%/templates/default/admin/severitylist.html +%%PHPBT%%/templates/default/admin/site-edit.html +%%PHPBT%%/templates/default/admin/sitelist.html +%%PHPBT%%/templates/default/admin/status-edit.html +%%PHPBT%%/templates/default/admin/statuslist.html +%%PHPBT%%/templates/default/admin/user-edit.html +%%PHPBT%%/templates/default/admin/userlist.html +%%PHPBT%%/templates/default/admin/version-edit.html +%%PHPBT%%/templates/default/admin/wrap-popup.html +%%PHPBT%%/templates/default/admin/badperm.html +%%PHPBT%%/templates/default/images/spacer.gif +%%PHPBT%%/templates/default/images/title.gif +%%PHPBT%%/templates/default/badgroup.html +%%PHPBT%%/templates/default/bugdisplay-printable.html +%%PHPBT%%/templates/default/bugdisplay.html +%%PHPBT%%/templates/default/bugemail-newbug.txt +%%PHPBT%%/templates/default/bugemail.txt +%%PHPBT%%/templates/default/bugform.html +%%PHPBT%%/templates/default/bughistory.html +%%PHPBT%%/templates/default/buglist.html +%%PHPBT%%/templates/default/bugvotes.html +%%PHPBT%%/templates/default/changessaved.html +%%PHPBT%%/templates/default/error.html +%%PHPBT%%/templates/default/index.html +%%PHPBT%%/templates/default/install-complete.html +%%PHPBT%%/templates/default/install-dbfailure.html +%%PHPBT%%/templates/default/install-dbsuccess.html +%%PHPBT%%/templates/default/login.html +%%PHPBT%%/templates/default/install.html +%%PHPBT%%/templates/default/logout.html +%%PHPBT%%/templates/default/newaccount-disabled.html +%%PHPBT%%/templates/default/newaccount.html +%%PHPBT%%/templates/default/newaccountsuccess.html +%%PHPBT%%/templates/default/newbugform.html +%%PHPBT%%/templates/default/projectlist.html +%%PHPBT%%/templates/default/queryform-simple.html +%%PHPBT%%/templates/default/queryform.html +%%PHPBT%%/templates/default/report.html +%%PHPBT%%/templates/default/upgrade-finished.html +%%PHPBT%%/templates/default/upgrade.html +%%PHPBT%%/templates/default/user.html +%%PHPBT%%/templates/default/wrap-popup.html +%%PHPBT%%/templates/default/wrap.html +%%PHPBT%%/templates/default/badperm.html +%%PHPBT%%/templates/default/bugattachmentform.html +%%PHPBT%%/install.php +%%PHPBT%%/index.php +%%PHPBT%%/include.php +%%PHPBT%%/config.php +%%PHPBT%%/config-dist.php +%%PHPBT%%/bug.php +%%PHPBT%%/attachment.php +%%PHPBT%%/UPGRADING +%%PHPBT%%/TODO +%%PHPBT%%/README +%%PHPBT%%/INSTALL +%%PHPBT%%/COPYING +%%PHPBT%%/user.php +%%PHPBT%%/CHANGELOG +%%PHPBT%%/upgrade.php +%%PHPBT%%/report.php +%%PHPBT%%/query.php +%%PHPBT%%/newaccount.php +%%PHPBT%%/messages.po +%%PHPBT%%/logout.php +%%PHPBT%%/logo.jpg +@dirrm %%PHPBT%%/admin +@dirrm %%PHPBT%%/docs/html/images/callouts +@dirrm %%PHPBT%%/docs/html/images/shots/user +@dirrm %%PHPBT%%/docs/html/images/shots +@dirrm %%PHPBT%%/docs/html/images +@dirrm %%PHPBT%%/docs/html +@dirrm %%PHPBT%%/docs/sgml +@dirrm %%PHPBT%%/docs +@dirrm %%PHPBT%%/inc/db +@dirrm %%PHPBT%%/inc/pear/DB +@dirrm %%PHPBT%%/inc/pear/Spreadsheet/Excel/Writer +@dirrm %%PHPBT%%/inc/pear/Spreadsheet/Excel +@dirrm %%PHPBT%%/inc/pear/Spreadsheet +@dirrm %%PHPBT%%/inc/pear +@dirrm %%PHPBT%%/inc/htmlMimeMail +@dirrm %%PHPBT%%/inc +@dirrm %%PHPBT%%/schemas/old +@dirrm %%PHPBT%%/schemas +@dirrm %%PHPBT%%/styles +@dirrm %%PHPBT%%/languages/old +@dirrm %%PHPBT%%/languages +@dirrm %%PHPBT%%/jpgimages +@dirrm %%PHPBT%%/templates/default/base +@dirrm %%PHPBT%%/templates/default/admin +@dirrm %%PHPBT%%/templates/default/images +@dirrm %%PHPBT%%/templates/default +@dirrm %%PHPBT%%/templates +@dirrm %%PHPBT%%