diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-03-28 15:29:37 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-03-28 15:29:37 +0000 |
commit | 0d5e4d3e4248639e2282e172edeeedf8c5575407 (patch) | |
tree | 909f9cdd78b8f2b4137c2f2dbebd72c9298b0b8b /net-www | |
parent | Update SRC_URI. (Manifest recommit) (diff) | |
download | gentoo-2-0d5e4d3e4248639e2282e172edeeedf8c5575407.tar.gz gentoo-2-0d5e4d3e4248639e2282e172edeeedf8c5575407.tar.bz2 gentoo-2-0d5e4d3e4248639e2282e172edeeedf8c5575407.zip |
Initial import
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/issue-tracker/ChangeLog | 9 | ||||
-rw-r--r-- | net-www/issue-tracker/Manifest | 3 | ||||
-rw-r--r-- | net-www/issue-tracker/files/digest-issue-tracker-4.0.3 | 1 | ||||
-rw-r--r-- | net-www/issue-tracker/issue-tracker-4.0.3.ebuild | 92 | ||||
-rw-r--r-- | net-www/issue-tracker/metadata.xml | 21 |
5 files changed, 126 insertions, 0 deletions
diff --git a/net-www/issue-tracker/ChangeLog b/net-www/issue-tracker/ChangeLog new file mode 100644 index 000000000000..1292f5ef183c --- /dev/null +++ b/net-www/issue-tracker/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-www/issue-tracker +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/issue-tracker/ChangeLog,v 1.1 2004/03/28 15:29:37 karltk Exp $ + +*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/net-www/issue-tracker/Manifest b/net-www/issue-tracker/Manifest new file mode 100644 index 000000000000..5a5b6fd62b0a --- /dev/null +++ b/net-www/issue-tracker/Manifest @@ -0,0 +1,3 @@ +MD5 48c816aea24575b7db0c5d926af6b54f issue-tracker-4.0.3.ebuild 499 +MD5 938708b2482b72dab1847f2360e523eb issue-tracker-4.0.3.ebuild~ 487 +MD5 ce0a8a8c6b5c5004b17d0c84d62e9473 files/digest-issue-tracker-4.0.3 72 diff --git a/net-www/issue-tracker/files/digest-issue-tracker-4.0.3 b/net-www/issue-tracker/files/digest-issue-tracker-4.0.3 new file mode 100644 index 000000000000..4e17c935b262 --- /dev/null +++ b/net-www/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/net-www/issue-tracker/issue-tracker-4.0.3.ebuild b/net-www/issue-tracker/issue-tracker-4.0.3.ebuild new file mode 100644 index 000000000000..dc690df1babc --- /dev/null +++ b/net-www/issue-tracker/issue-tracker-4.0.3.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/issue-tracker/issue-tracker-4.0.3.ebuild,v 1.1 2004/03/28 15:29:37 karltk 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" +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/net-www/issue-tracker/metadata.xml b/net-www/issue-tracker/metadata.xml new file mode 100644 index 000000000000..1b5bd5070d6c --- /dev/null +++ b/net-www/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> |