summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2007-08-12 07:28:50 +0000
committerPeter Volkov <pva@gentoo.org>2007-08-12 07:28:50 +0000
commitbbf26f7c1e6a77dfcf9c1b914fb5a51f268b87cf (patch)
tree14d3d851d59be352302182a6cc745e7f5268ffed /www-apps
parentAdd www-apps/mantisbt:bundled-adodb, Update net-analyzer/cacti:bundled-adodb (diff)
downloadgentoo-2-bbf26f7c1e6a77dfcf9c1b914fb5a51f268b87cf.tar.gz
gentoo-2-bbf26f7c1e6a77dfcf9c1b914fb5a51f268b87cf.tar.bz2
gentoo-2-bbf26f7c1e6a77dfcf9c1b914fb5a51f268b87cf.zip
Version bump. Thank Philippe Chaintreuil <pchaintreuil AT syrres.com> for report in bug #184953.
(Portage version: 2.1.3.4)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/mantisbt/ChangeLog10
-rw-r--r--www-apps/mantisbt/files/digest-mantisbt-1.0.83
-rw-r--r--www-apps/mantisbt/files/mantisbt-1.0.8-avoid-XS-type-in-schema.php.patch87
-rw-r--r--www-apps/mantisbt/mantisbt-1.0.8.ebuild59
4 files changed, 158 insertions, 1 deletions
diff --git a/www-apps/mantisbt/ChangeLog b/www-apps/mantisbt/ChangeLog
index 8962b8d0447c..c8ae6645369d 100644
--- a/www-apps/mantisbt/ChangeLog
+++ b/www-apps/mantisbt/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for www-apps/mantisbt
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.42 2007/07/29 17:29:41 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.43 2007/08/12 07:28:50 pva Exp $
+
+*mantisbt-1.0.8 (12 Aug 2007)
+
+ 12 Aug 2007; <pva@gentoo.org>
+ +files/mantisbt-1.0.8-avoid-XS-type-in-schema.php.patch,
+ +mantisbt-1.0.8.ebuild:
+ Version bump. Thank Philippe Chaintreuil <pchaintreuil AT syrres.com> for
+ report in bug #184953.
29 Jul 2007; Christian Heim <phreak@gentoo.org> mantisbt-1.0.7.ebuild:
Fixing the DEPEND/RDEPEND for the move of net-www/apache to
diff --git a/www-apps/mantisbt/files/digest-mantisbt-1.0.8 b/www-apps/mantisbt/files/digest-mantisbt-1.0.8
new file mode 100644
index 000000000000..2fb7b1796f2d
--- /dev/null
+++ b/www-apps/mantisbt/files/digest-mantisbt-1.0.8
@@ -0,0 +1,3 @@
+MD5 fab90748346fe9a8276a71f59c1a245a mantis-1.0.8.tar.gz 1549854
+RMD160 02e349a05d8d5c190d943ee4dc430a6adaffe1a0 mantis-1.0.8.tar.gz 1549854
+SHA256 c22a3ad2f532addc70f8f266c83a360dfea685de79ebf713801b3f4fb556b501 mantis-1.0.8.tar.gz 1549854
diff --git a/www-apps/mantisbt/files/mantisbt-1.0.8-avoid-XS-type-in-schema.php.patch b/www-apps/mantisbt/files/mantisbt-1.0.8-avoid-XS-type-in-schema.php.patch
new file mode 100644
index 000000000000..1957db63b009
--- /dev/null
+++ b/www-apps/mantisbt/files/mantisbt-1.0.8-avoid-XS-type-in-schema.php.patch
@@ -0,0 +1,87 @@
+--- admin/schema.php.orig 2007-08-12 09:51:24.000000000 +0400
++++ admin/schema.php 2007-08-12 09:53:25.000000000 +0400
+@@ -26,7 +26,7 @@
+ user_id I DEFAULT '0' PRIMARY,
+ access_reqd I DEFAULT '0',
+ type I DEFAULT '90',
+- value XS NOTNULL",
++ value XL NOTNULL",
+ Array('mysql' => 'TYPE=MyISAM', 'pgsql' => 'WITHOUT OIDS')));
+ $upgrade[] = Array('CreateIndexSQL',Array('idx_config',config_get('mantis_config_table'),'config_id'));
+
+@@ -108,9 +108,9 @@
+
+ $upgrade[] = Array('CreateTableSQL',Array(config_get('mantis_bug_text_table'),"
+ id I PRIMARY UNSIGNED NOTNULL AUTOINCREMENT,
+- description XS NOTNULL,
+- steps_to_reproduce XS NOTNULL,
+- additional_information XS NOTNULL
++ description XL NOTNULL,
++ steps_to_reproduce XL NOTNULL,
++ additional_information XL NOTNULL
+ ",Array('mysql' => 'TYPE=MyISAM', 'pgsql' => 'WITHOUT OIDS')));
+
+ $upgrade[] = Array('CreateTableSQL',Array(config_get('mantis_bugnote_table'),"
+@@ -129,7 +129,7 @@
+
+ $upgrade[] = Array('CreateTableSQL',Array(config_get('mantis_bugnote_text_table'),"
+ id I UNSIGNED NOTNULL PRIMARY AUTOINCREMENT,
+- note XS NOTNULL
++ note XL NOTNULL
+ ",Array('mysql' => 'TYPE=MyISAM', 'pgsql' => 'WITHOUT OIDS')));
+
+ $upgrade[] = Array('CreateTableSQL',Array(config_get('mantis_custom_field_project_table'),"
+@@ -174,7 +174,7 @@
+ project_id I NOTNULL DEFAULT '0',
+ is_public L DEFAULT NULL,
+ name C(64) NOTNULL DEFAULT \" '' \",
+- filter_string XS NOTNULL
++ filter_string XL NOTNULL
+ ",Array('mysql' => 'TYPE=MyISAM', 'pgsql' => 'WITHOUT OIDS')));
+
+ $upgrade[] = Array('CreateTableSQL',Array(config_get('mantis_news_table'),"
+@@ -186,7 +186,7 @@
+ view_state I2 NOTNULL DEFAULT '10',
+ announcement L NOTNULL DEFAULT '0',
+ headline C(64) NOTNULL DEFAULT \" '' \",
+- body XS NOTNULL
++ body XL NOTNULL
+ ",Array('mysql' => 'TYPE=MyISAM', 'pgsql' => 'WITHOUT OIDS')));
+
+ $upgrade[] = Array('CreateTableSQL',Array(config_get('mantis_project_category_table'),"
+@@ -222,7 +222,7 @@
+ view_state I2 NOTNULL DEFAULT '10',
+ access_min I2 NOTNULL DEFAULT '10',
+ file_path C(250) NOTNULL DEFAULT \" '' \",
+- description XS NOTNULL
++ description XL NOTNULL
+ ",Array('mysql' => 'TYPE=MyISAM', 'pgsql' => 'WITHOUT OIDS')));
+ $upgrade[] = Array('CreateIndexSQL',Array('idx_project_id',config_get('mantis_project_table'),'id'));
+ $upgrade[] = Array('CreateIndexSQL',Array('idx_project_name',config_get('mantis_project_table'),'name',Array('UNIQUE')));
+@@ -240,7 +240,7 @@
+ project_id I UNSIGNED NOTNULL DEFAULT '0',
+ version C(64) NOTNULL DEFAULT \" '' \",
+ date_order T NOTNULL DEFAULT '1970-01-01 00:00:01',
+- description XS NOTNULL,
++ description XL NOTNULL,
+ released L NOTNULL DEFAULT '1'
+ ",Array('mysql' => 'TYPE=MyISAM', 'pgsql' => 'WITHOUT OIDS')));
+ $upgrade[] = Array('CreateIndexSQL',Array('idx_project_version',config_get('mantis_project_version_table'),'project_id,version',Array('UNIQUE')));
+@@ -265,7 +265,7 @@
+ type I NOTNULL,
+ timestamp T NOTNULL,
+ expiry T,
+- value XS NOTNULL",
++ value XL NOTNULL",
+ Array('mysql' => 'TYPE=MyISAM', 'pgsql' => 'WITHOUT OIDS')));
+
+ $upgrade[] = Array('CreateTableSQL',Array(config_get('mantis_user_pref_table'),"
+@@ -313,7 +313,7 @@
+ platform C(32) NOTNULL DEFAULT \" '' \",
+ os C(32) NOTNULL DEFAULT \" '' \",
+ os_build C(32) NOTNULL DEFAULT \" '' \",
+- description XS NOTNULL
++ description XL NOTNULL
+ ",Array('mysql' => 'TYPE=MyISAM', 'pgsql' => 'WITHOUT OIDS')));
+
+ $upgrade[] = Array('CreateTableSQL',Array(config_get('mantis_user_table'),"
diff --git a/www-apps/mantisbt/mantisbt-1.0.8.ebuild b/www-apps/mantisbt/mantisbt-1.0.8.ebuild
new file mode 100644
index 000000000000..652f7e422319
--- /dev/null
+++ b/www-apps/mantisbt/mantisbt-1.0.8.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/mantisbt-1.0.8.ebuild,v 1.1 2007/08/12 07:28:50 pva Exp $
+
+inherit eutils webapp
+
+IUSE="bundled-adodb"
+MY_P=mantis-${PV}
+
+DESCRIPTION="PHP/MySQL/Web based bugtracking system"
+HOMEPAGE="http://www.mantisbt.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+ www-servers/apache
+ virtual/httpd-php
+ !bundled-adodb? ( dev-php/adodb )
+"
+
+LICENSE="GPL-2"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # http://www.mantisbt.org/bugs/view.php?id=8256
+ epatch "${FILESDIR}"/${P}-avoid-XS-type-in-schema.php.patch
+
+ if use bundled-adodb ; then
+ sed -ie \
+ "s:require_once( 'adodb/adodb.inc.php' );:require_once( \$t_core_dir . 'adodb/adodb.inc.php' );:" \
+ "${S}"/core/database_api.php
+ else
+ rm -r "${S}"/core/adodb/
+ fi
+
+ # Fix permitions. Should be fixed in 1.0.9
+ find "${S}" -type f -exec chmod 644 \{\} \;
+ find "${S}" -type d -exec chmod 755 \{\} \;
+}
+
+src_install() {
+ webapp_src_preinst
+ rm doc/{LICENSE,INSTALL}
+ dodoc doc/*
+
+ cp -R . "${D}"/${MY_HTDOCSDIR}
+ rm -rf "${D}"/${MY_HTDOCSDIR}/doc
+
+ mv "${D}"/${MY_HTDOCSDIR}/config_inc.php.sample "${D}"/${MY_HTDOCSDIR}/config_inc.php
+
+ webapp_configfile ${MY_HTDOCSDIR}/config_inc.php
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en-1.0.0.txt
+ webapp_src_install
+}