diff options
author | 2004-08-15 15:06:14 +0000 | |
---|---|---|
committer | 2004-08-15 15:06:14 +0000 | |
commit | 9c3f0d55dac90d8488fc4a1c97dda363b4d8ee78 (patch) | |
tree | 261c21e9253bc12d0767afa9bbc1b7636cc4f20f /www-apps/issue-tracker | |
parent | added IceWM.desktop for newer DMs (Manifest recommit) (diff) | |
download | gentoo-2-9c3f0d55dac90d8488fc4a1c97dda363b4d8ee78.tar.gz gentoo-2-9c3f0d55dac90d8488fc4a1c97dda363b4d8ee78.tar.bz2 gentoo-2-9c3f0d55dac90d8488fc4a1c97dda363b4d8ee78.zip |
Moved from net-www/issue-tracker to www-apps/issue-tracker.
Diffstat (limited to 'www-apps/issue-tracker')
-rw-r--r-- | www-apps/issue-tracker/ChangeLog | 18 | ||||
-rw-r--r-- | www-apps/issue-tracker/Manifest | 4 | ||||
-rw-r--r-- | www-apps/issue-tracker/files/digest-issue-tracker-4.0.3 | 1 | ||||
-rw-r--r-- | www-apps/issue-tracker/issue-tracker-4.0.3.ebuild | 92 | ||||
-rw-r--r-- | www-apps/issue-tracker/metadata.xml | 21 |
5 files changed, 136 insertions, 0 deletions
diff --git a/www-apps/issue-tracker/ChangeLog b/www-apps/issue-tracker/ChangeLog new file mode 100644 index 000000000000..57722df28ed5 --- /dev/null +++ b/www-apps/issue-tracker/ChangeLog @@ -0,0 +1,18 @@ +# ChangeLog for net-www/issue-tracker +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/issue-tracker/ChangeLog,v 1.1 2004/08/15 15:06:14 stuart Exp $ + +*issue-tracker-4.0.3 (15 Aug 2004) + + 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml, + +issue-tracker-4.0.3.ebuild: + Moved from net-www/issue-tracker to www-apps/issue-tracker. + + 29 Apr 2004; David Holm <dholm@gentoo.org> issue-tracker-4.0.3.ebuild: + Added to ~ppc. + +*issue-tracker-4.0.3 (28 Mar 2004) + + 28 Mar 2004; Karl Trygve Kalleberg <karltk@gentoo.org> + issue-tracker-4.0.3.ebuild: + Initial import. Ebuild submitted by myself. diff --git a/www-apps/issue-tracker/Manifest b/www-apps/issue-tracker/Manifest new file mode 100644 index 000000000000..a63cbb4430a5 --- /dev/null +++ b/www-apps/issue-tracker/Manifest @@ -0,0 +1,4 @@ +MD5 5132e65d7eb680aeeba719dbb952efd7 issue-tracker-4.0.3.ebuild 3043 +MD5 f5678d78d911a14ce784b3dba4f32436 ChangeLog 478 +MD5 80cbe8e469a257c0f7a48d256c2a0740 metadata.xml 849 +MD5 ce0a8a8c6b5c5004b17d0c84d62e9473 files/digest-issue-tracker-4.0.3 72 diff --git a/www-apps/issue-tracker/files/digest-issue-tracker-4.0.3 b/www-apps/issue-tracker/files/digest-issue-tracker-4.0.3 new file mode 100644 index 000000000000..4e17c935b262 --- /dev/null +++ b/www-apps/issue-tracker/files/digest-issue-tracker-4.0.3 @@ -0,0 +1 @@ +MD5 dbf3b8d4e46fb00170891b9c549d6e3c issue-tracker-4.0.3.tar.bz2 191396 diff --git a/www-apps/issue-tracker/issue-tracker-4.0.3.ebuild b/www-apps/issue-tracker/issue-tracker-4.0.3.ebuild new file mode 100644 index 000000000000..5b609ed8fb27 --- /dev/null +++ b/www-apps/issue-tracker/issue-tracker-4.0.3.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/issue-tracker/issue-tracker-4.0.3.ebuild,v 1.1 2004/08/15 15:06:14 stuart Exp $ + +inherit webapp-apache + +DESCRIPTION="Issue tracking system" +HOMEPAGE="http://www.issue-tracker.com/" +SRC_URI="mirror://sourceforge/issue-tracker/issue-tracker-4.0.3.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="" +DEPEND="" +RDEPEND="virtual/php + || ( dev-db/mysql dev-db/postgresql )" + +S=${WORKDIR}/${P} + +src_unpack() { + unpack ${A} + file ${S}/conf/const.php + cp ${S}/conf/const.php ${S}/conf/const.php.b0rken || die + sed -r 's/(Could not.*_URL_.*manually.*)\"\);/\1\";/' \ + < ${S}/conf/const.php.b0rken \ + > ${S}/conf/const.php || die +} + +pkg_setup() { + webapp-detect || export NO_WEBSERVER=1 + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing for ${WEBAPP_SERVER}" +} + +src_install() { + webapp-detect + webapp-mkdirs + + dodir "${HTTPD_ROOT}/issue-tracker" + cp -a * "${D}/${HTTPD_ROOT}/issue-tracker/" + rm -rf "${D}/${HTTPD_ROOT}/issue-tracker/docs" + + dodoc docs/* + + chown -R "${HTTPD_USER}:${HTTPD_GROUP}" "${D}/${HTTPD_ROOT}/issue-tracker/" + chmod 0755 "${D}/${HTTPD_ROOT}/issue-tracker" + find "${D}/${HTTPD_ROOT}/issue-tracker/" -type d | xargs chmod 2775 + find "${D}/${HTTPD_ROOT}/issue-tracker/" -type f | xargs chmod 0664 + +} + +pkg_postinst() { + webapp-detect + + einfo "You will need to configure issue-tracker for a particular database" + einfo "" + einfo "(1) First, you must decide on:" + einfo " - a database username, <it-username>" + einfo " - a database name in the database, <it-dbname>" + einfo "" + einfo "(2) Next, you must create the database" + einfo "" + einfo "For MySQL:" + einfo "mysqladmin -p -u <it-username> create <it-dbname>" + einfo "mysql -p -u <it-username> <it-dbname> \\" + einfo " < ${HTTPD_ROOT}/issue-tracker/setup/schema.mysql" + einfo "mysql -p -u <it-username> <it-dbname> \\" + einfo " < ${HTTPD_ROOT}/issue-tracker/setup/data.sql" + einfo "mysql -p -u <it-username> <it-dbname> \\" + einfo " < ${HTTPD_ROOT}/issue-tracker/setup/indexes.sql" + einfo "" + einfo "For PostgreSQL:" + einfo "createdb -U <it-username> <it-dbname>" + einfo "psql -U <it-username> \\" + einfo " < ${HTTPD_ROOT}/issue-tracker/setup/schema.pgsql" + einfo "psql -U <it-username> \\" + einfo " < ${HTTPD_ROOT}/issue-tracker/setup/data.sql" + einfo "psql -U <it-username> \\" + einfo " < ${HTTPD_ROOT}/issue-tracker/setup/indexes.sql" + einfo "" + einfo "(3) Next, you will need to configure issue-tracker" + einfo "cp ${HTTPD_ROOT}/issue-tracker/conf/config.php-default \\" + einfo " ${HTTPD_ROOT}/issue-tracker/conf/config.php" + einfo "" + einfo "Edit ${HTTPD_ROOT}/issue-tracker/conf/config.php" + einfo "with name=<it-dbname>, user=<it-username> and the correct db info" + einfo "" + ewarn "Make sure you don't just edit the commented-out example;)" + einfo "" + ewarn "(4) Finally, you must log in to the issue-tracker as admin/demo, and" + ewarn "change the password in Preferences." +} diff --git a/www-apps/issue-tracker/metadata.xml b/www-apps/issue-tracker/metadata.xml new file mode 100644 index 000000000000..1b5bd5070d6c --- /dev/null +++ b/www-apps/issue-tracker/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>karltk@gentoo.org</email> + <description>Primary maintainer</description> +</maintainer> +<longdescription> +Issue-Tracker is a support issue tracking system written in PHP, with +option of either a PostgreSQL of MySQL backend. The system is designed +to be user friendly, and uses a simple modular API to make addition of +new modules or features very easy. + +Issue-Tracker also includes many features that will allow +customer/technical support organizations to take care of customer issues +quickly and easy. Some of these features include things like file +uploads, email parsing, email and sms notifications, unlimited users and +groups, and much more. +</longdescription> +</pkgmetadata> |