# HG changeset patch # User Binki # Date 2009-12-12 18:00:44 # Node ID b9d8653ec8dc6b71c39fa41aea7822a3b7368cd1 # Parent cc543c8c5b40ae167cad7cc4d02ed93cb07e3a62 www-apps/flyspray-0.9.9.6: New ebuild bug 285813 and bug 91078, thanks to Tommy[D], dilfridge diff --git a/www-apps/flyspray/ChangeLog b/www-apps/flyspray/ChangeLog new file mode 100644 --- /dev/null +++ b/www-apps/flyspray/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for www-apps/flyspray +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 12 Dec 2009; Nathan Phillip Brink (ohnobinki) + +flyspray-0.9.9.6.ebuild, + +files/postinstall-en.txt, +metadata.xml: + New ebuild bug 285813 and bug 91078, thanks to Tommy[D], dilfridge + diff --git a/www-apps/flyspray/files/postinstall-en.txt b/www-apps/flyspray/files/postinstall-en.txt new file mode 100644 --- /dev/null +++ b/www-apps/flyspray/files/postinstall-en.txt @@ -0,0 +1,10 @@ + To finish the installation, login to + http://${VHOST_HOSTNAME}${VHOST_APPDIR} + and follow the directions. + + Make sure that php's safemode is disabled. + + You also must make sure that your server can + write to the attachments and cache subdirectories. + The installation instructions will remind you to + do so. diff --git a/www-apps/flyspray/flyspray-0.9.9.6.ebuild b/www-apps/flyspray/flyspray-0.9.9.6.ebuild new file mode 100644 --- /dev/null +++ b/www-apps/flyspray/flyspray-0.9.9.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +# we need webapp's default pkg_setup() +inherit webapp + +DESCRIPTION="An uncomplicated web-based bug tracking system" +HOMEPAGE="http://flyspray.org/" +SRC_URI="http://flyspray.org/${P}.zip" + +LICENSE="LGPL-2.1" +KEYWORDS="~amd64" +IUSE="graphviz" + +COMMON_DEPEND="virtual/httpd-php[xml] + || ( virtual/httpd-php[mysql] + virtual/httpd-php[mysqli] + virtual/httpd-php[postgres] )" +DEPEND="app-arch/unzip + ${COMMON_DEPEND}" +RDEPEND="graphviz? ( media-gfx/graphviz ) + ${COMMON_DEPEND}" + +src_prepare () { + mv htaccess.dist .htaccess || die +} + +src_install () { + webapp_src_preinst + + dodoc docs/*.txt || die + rm -r docs || die + + insinto "${MY_HTDOCSDIR}" + doins -r . || die + + webapp_serverowned "${MY_HTDOCSDIR}"/{attachments,cache} + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_src_install +} diff --git a/www-apps/flyspray/metadata.xml b/www-apps/flyspray/metadata.xml new file mode 100644 --- /dev/null +++ b/www-apps/flyspray/metadata.xml @@ -0,0 +1,8 @@ + + + +no-herd + + maintainter-wanted@gentoo.org + +