Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 174221 Details for
Bug 257561
Minor mantis-1.0.8-1 packaging issues and initial install bug
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix some minor packaging issues and initial install bug
mantis-1.0.8-minor-fixes.diff (text/plain), 6.77 KB, created by
Todd Zullinger
on 2007-08-27 19:17:17 UTC
(
hide
)
Description:
Patch to fix some minor packaging issues and initial install bug
Filename:
MIME Type:
Creator:
Todd Zullinger
Created:
2007-08-27 19:17:17 UTC
Size:
6.77 KB
patch
obsolete
>Index: mantis-1.0.8-avoid-XS-type-in-schema.php.patch >=================================================================== >RCS file: mantis-1.0.8-avoid-XS-type-in-schema.php.patch >diff -N mantis-1.0.8-avoid-XS-type-in-schema.php.patch >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ mantis-1.0.8-avoid-XS-type-in-schema.php.patch 27 Aug 2007 19:09:40 -0000 >@@ -0,0 +1,89 @@ >+See http://www.mantisbt.org/bugs/view.php?id=8256 >+ >+--- 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')," >Index: mantis-README.Fedora >=================================================================== >RCS file: /cvs/extras/rpms/mantis/devel/mantis-README.Fedora,v >retrieving revision 1.2 >diff -u -p -r1.2 mantis-README.Fedora >--- mantis-README.Fedora 3 Jul 2007 15:01:50 -0000 1.2 >+++ mantis-README.Fedora 27 Aug 2007 19:09:40 -0000 >@@ -4,7 +4,7 @@ Mantis requires a database to function; > configure mantis to work with MySQL: > > 1. install MySQL packages >- yum install mysql-server >+ yum install mysql-server php-mysql > > 2. start MySQL server > /etc/init.d/mysqld start >Index: mantis-httpd.conf >=================================================================== >RCS file: /cvs/extras/rpms/mantis/devel/mantis-httpd.conf,v >retrieving revision 1.3 >diff -u -p -r1.3 mantis-httpd.conf >--- mantis-httpd.conf 3 Jul 2007 15:05:01 -0000 1.3 >+++ mantis-httpd.conf 27 Aug 2007 19:09:40 -0000 >@@ -17,7 +17,7 @@ Alias /mantis /usr/share/mantis > # Do not change this unless the default administrator > # login was removed; see documentation for details > Order allow,deny >- Allow from localhost >+ Allow from 127.0.0.1 > > php_flag "register_globals" "off" > </Directory> >@@ -29,5 +29,5 @@ Alias /mantis /usr/share/mantis > # update. > # See README.Fedora for more details > Deny from all >- Allow from localhost >+ Allow from 127.0.0.1 > </Directory> >Index: mantis.spec >=================================================================== >RCS file: /cvs/extras/rpms/mantis/devel/mantis.spec,v >retrieving revision 1.16 >diff -u -p -r1.16 mantis.spec >--- mantis.spec 3 Jul 2007 15:07:00 -0000 1.16 >+++ mantis.spec 27 Aug 2007 19:09:40 -0000 >@@ -7,7 +7,7 @@ > Summary: Web-based bugtracking system > Name: mantis > Version: 1.0.8 >-Release: 1%{?dist} >+Release: 2%{?dist} > License: GPL > Group: Applications/Internet > URL: http://www.mantisbt.org/ >@@ -18,6 +18,7 @@ Source1: mantis-README.Fedora > Patch0: mantis-1.0.0a3-iis.patch > Patch1: mantis-0.19.2-noexamplecom.patch > Patch2: mantis-1.0.0rc2-noadmin.patch >+Patch3: mantis-1.0.8-avoid-XS-type-in-schema.php.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > > BuildRequires: diffutils >@@ -55,6 +56,7 @@ This package contains configuration-file > %patch0 -p1 > %patch1 -p1 > %patch2 -p1 >+%patch3 -p0 > > cp %{SOURCE1} ./doc/README.Fedora > >@@ -137,6 +139,11 @@ rm -rf "${RPM_BUILD_ROOT}" > > > %changelog >+* Mon Aug 27 2007 Todd Zullinger <tmz@pobox.com> - 1.0.8-2 >+- upstream patch to fix database creation >+- use 127.0.0.1 instead of localhost in Apache Allow rules >+- note that php-mysql is needed along with mysql-server in README.Fedora >+ > * Tue Jul 3 2007 Gianluca Sforna <giallu gmail com> - 1.0.8-1 > - new upstream release > - add Require: php-adodb (and remove embedded one)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257561
: 174221