diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /www-apps/mantisbt | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'www-apps/mantisbt')
-rw-r--r-- | www-apps/mantisbt/Manifest | 1 | ||||
-rw-r--r-- | www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch | 22 | ||||
-rw-r--r-- | www-apps/mantisbt/files/postinstall-en-1.0.0.txt | 13 | ||||
-rw-r--r-- | www-apps/mantisbt/mantisbt-1.2.15-r1.ebuild | 40 | ||||
-rw-r--r-- | www-apps/mantisbt/metadata.xml | 16 |
5 files changed, 92 insertions, 0 deletions
diff --git a/www-apps/mantisbt/Manifest b/www-apps/mantisbt/Manifest new file mode 100644 index 000000000000..3e3512e13a70 --- /dev/null +++ b/www-apps/mantisbt/Manifest @@ -0,0 +1 @@ +DIST mantisbt-1.2.15.tar.gz 3577359 SHA256 bf40f59a1e139a4674b311dd755d272972aab06df842875cd5ce819eef6c6eec SHA512 738e11b46ab44f63b415a090494869460e95af1b690cf0a9bfb5e064b545eb9110a169b175eeed906cd32d81b7cc573fcfaae2cef8d9829a40e9c646a5e08ebe WHIRLPOOL e6c56eee501bdeff35df43ef32938c664e9b4ebfd8c16ed8a9d6ce179e2cea3094cc85799366c50264c36b33595b1afed61c1621600ccfbed4494d1677c91a48 diff --git a/www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch b/www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch new file mode 100644 index 000000000000..94f7af27a521 --- /dev/null +++ b/www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch @@ -0,0 +1,22 @@ +diff --git a/account_sponsor_page.php b/account_sponsor_page.php +index cccdf25..197564c 100644 +--- a/account_sponsor_page.php ++++ b/account_sponsor_page.php +@@ -138,7 +138,7 @@ + + echo '<tr bgcolor="' . get_status_color( $t_bug->status, auth_get_current_user_id(), $t_bug->project_id ) . '">'; + echo '<td><a href="' . string_get_bug_view_url( $row['bug'] ) . '">' . bug_format_id( $row['bug'] ) . '</a></td>'; +- echo '<td>' . project_get_field( $t_bug->project_id, 'name' ) . ' </td>'; ++ echo '<td>' . string_display_line( project_get_field( $t_bug->project_id, 'name' ) ) . ' </td>'; + echo '<td class="right">' . $t_released_label . ' </td>'; + echo '<td><span class="issue-status" title="' . $t_resolution . '">' . $t_status . '</span></td>'; + echo '<td>'; +@@ -248,7 +248,7 @@ + + echo '<tr bgcolor="' . get_status_color( $t_bug->status, auth_get_current_user_id(), $t_bug->project_id ) . '">'; + echo '<td><a href="' . string_get_bug_view_url( $row['bug'] ) . '">' . bug_format_id( $row['bug'] ) . '</a></td>'; +- echo '<td>' . project_get_field( $t_bug->project_id, 'name' ) . ' </td>'; ++ echo '<td>' . string_display_line( project_get_field( $t_bug->project_id, 'name' ) ) . ' </td>'; + echo '<td class="right">' . $t_released_label . ' </td>'; + echo '<td><a title="' . $t_resolution . '"><u>' . $t_status . '</u> </a></td>'; + diff --git a/www-apps/mantisbt/files/postinstall-en-1.0.0.txt b/www-apps/mantisbt/files/postinstall-en-1.0.0.txt new file mode 100644 index 000000000000..a108ccf138e0 --- /dev/null +++ b/www-apps/mantisbt/files/postinstall-en-1.0.0.txt @@ -0,0 +1,13 @@ +If you are UPGRADING from an earlier version, you can use the upgrade scripts +at admin/ to execute the pending database updates. For more information, +please, see http://manual.mantisbt.org/manual.installation.upgrading.php . + +To INSTALL, visit: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/admin/install.php +Then log in: Username - administrator, Password - root. You can load up +admin/check.php to CHECK if everything is working correctly. + +Then edit ${MY_INSTALLDIR}/config_inc.php as necessary. + +After you've finished these steps, please delete the admin/ directory. + +Don't forget to read the online manual (http://manual.mantisbt.org/)!!! diff --git a/www-apps/mantisbt/mantisbt-1.2.15-r1.ebuild b/www-apps/mantisbt/mantisbt-1.2.15-r1.ebuild new file mode 100644 index 000000000000..0c03681e0851 --- /dev/null +++ b/www-apps/mantisbt/mantisbt-1.2.15-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils webapp depend.php + +DESCRIPTION="PHP/MySQL/Web based bugtracking system" +HOMEPAGE="http://www.mantisbt.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + virtual/httpd-php + virtual/httpd-cgi + >=dev-php/adodb-5.10" + +src_prepare() { + # Drop external libraries + rm -r "${S}/library/adodb/" + epatch "${FILESDIR}/${PN}-1.2.15-cve20134460.patch" +} + +src_install() { + webapp_src_preinst + rm doc/{LICENSE,INSTALL} + dodoc doc/{CREDITS,CUSTOMIZATION,RELEASE} doc/en/* + + rm -rf doc packages + mv config_inc.php.sample config_inc.php + cp -R . "${D}/${MY_HTDOCSDIR}" + + webapp_configfile "${MY_HTDOCSDIR}/config_inc.php" + webapp_postinst_txt en "${FILESDIR}/postinstall-en-1.0.0.txt" + webapp_src_install +} diff --git a/www-apps/mantisbt/metadata.xml b/www-apps/mantisbt/metadata.xml new file mode 100644 index 000000000000..e5a305eb81c7 --- /dev/null +++ b/www-apps/mantisbt/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>web-apps</herd> + <maintainer> + <email>pva@gentoo.org</email> + <name>Peter Volkov</name> + </maintainer> + <upstream> + <maintainer> + <email>d@hx.id.au</email> + <name>David Hicks</name> + </maintainer> + <remote-id type="sourceforge">mantisbt</remote-id> + </upstream> +</pkgmetadata> |