packages: mantis/mantis-config.patch, mantis/mantis.spec - up to 1.2.5

arekm arekm at pld-linux.org
Tue Apr 19 12:58:46 CEST 2011


Author: arekm                        Date: Tue Apr 19 10:58:46 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.2.5

---- Files affected:
packages/mantis:
   mantis-config.patch (1.2 -> 1.3) , mantis.spec (1.43 -> 1.44) 

---- Diffs:

================================================================
Index: packages/mantis/mantis-config.patch
diff -u packages/mantis/mantis-config.patch:1.2 packages/mantis/mantis-config.patch:1.3
--- packages/mantis/mantis-config.patch:1.2	Fri Aug  4 03:39:08 2006
+++ packages/mantis/mantis-config.patch	Tue Apr 19 12:58:41 2011
@@ -1,37 +1,43 @@
---- ./config_defaults_inc.php~	2004-12-11 09:21:52.000000000 +0200
-+++ ./config_defaults_inc.php	2005-09-24 16:26:35.921960013 +0300
-@@ -38,9 +38,9 @@
- 	# set hostname to 'localhost', and db_type to 'mysql'.
- 	# If you need to supply a port to connect to, set hostname as 'localhost:3306'.
- 	$g_hostname				= 'localhost';
+--- mantisbt-1.2.5/config_defaults_inc.php~	2011-04-05 20:24:17.000000000 +0200
++++ mantisbt-1.2.5/config_defaults_inc.php	2011-04-19 12:48:34.379687628 +0200
+@@ -49,7 +49,7 @@
+ 	 * The default user name is "root".
+ 	 * @global string $g_db_username
+ 	 */
 -	$g_db_username			= 'root';
 +	$g_db_username			= 'mysql';
- 	$g_db_password			= '';
+ 	/**
+ 	 * Password for the specified user name. The default password is empty.
+ 	 * @global string $g_db_password
+@@ -60,7 +60,7 @@
+ 	  * The default database name is "bugtracker".
+ 	  * @global string $g_database_name
+ 	  */
 -	$g_database_name		= 'bugtracker';
 +	$g_database_name		= 'mantis';
- 	$g_db_type			= 'mysql';
  
- 	############################
-@@ -94,7 +94,7 @@
- 
- 	# absolute path to your installation.  Requires trailing / or \
- 	# Symbolic links are allowed since release 0.17.3
+ 	/**
+ 	 * Database Schema Name - used in the case of db2.
+@@ -149,7 +149,7 @@
+ 	 * absolute path to your installation.  Requires trailing / or \
+ 	 * @global string $g_absolute_path
+ 	 */
 -	$g_absolute_path		= dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
 +	$g_absolute_path		= '/usr/share/mantis' . DIRECTORY_SEPARATOR;
  
- 	# absolute patch to your core files. The default is usually OK,
- 	# unless you moved the 'core' directory out of your webroot (recommended).
---- mantis_1.0.5/config_inc.php.sample~	2006-08-04 04:36:21.128575068 +0300
-+++ mantis_1.0.5/config_inc.php.sample	2006-08-04 04:36:47.659169566 +0300
-@@ -29,9 +29,9 @@
+ 	/**
+ 	 * absolute patch to your core files. The default is usually OK,
+--- mantisbt-1.2.5/config_inc.php.sample~	2011-04-05 20:24:17.000000000 +0200
++++ mantisbt-1.2.5/config_inc.php.sample	2011-04-19 12:49:30.938939711 +0200
+@@ -35,9 +35,9 @@
  
- 	# set these values to match your setup
- 	$g_hostname      = "localhost";
--	$g_db_username   = "root";
-+	$g_db_username   = "mysql";
- 	$g_db_password   = "";
--	$g_database_name = "bugtracker";
-+	$g_database_name = "mantis";
- 	$g_db_type       = "mysql";
+ # --- Database Configuration ---
+ $g_hostname      = 'localhost';
+-$g_db_username   = 'mantisdbuser';
++$g_db_username   = 'mysql';
+ $g_db_password   = '';
+-$g_database_name = 'bugtracker';
++$g_database_name = 'mantis';
+ $g_db_type       = 'mysql';
  
- 	# --- email variables -------------
+ # --- Anonymous Access / Signup ---

================================================================
Index: packages/mantis/mantis.spec
diff -u packages/mantis/mantis.spec:1.43 packages/mantis/mantis.spec:1.44
--- packages/mantis/mantis.spec:1.43	Thu Oct  4 19:23:20 2007
+++ packages/mantis/mantis.spec	Tue Apr 19 12:58:41 2011
@@ -4,12 +4,12 @@
 Summary:	The Mantis bug tracker
 Summary(pl.UTF-8):	Mantis - system kontroli błędów
 Name:		mantis
-Version:	1.0.5
-Release:	3
+Version:	1.2.5
+Release:	1
 License:	GPL
 Group:		Development/Tools
-Source0:	http://dl.sourceforge.net/mantisbt/%{name}_%{version}.tar.gz
-# Source0-md5:	01c5fb87e5ac161a681471573711bcf6
+Source0:	http://dl.sourceforge.net/project/mantisbt/mantis-stable/1.2.5/mantisbt-1.2.5.tar.gz
+# Source0-md5:	7f03a48cc62833980e7c74aefd6a530a
 Source1:	%{name}-doc-PLD.tar.gz
 Source2:	%{name}.conf
 Patch0:		%{name}-config.patch
@@ -56,10 +56,9 @@
 pozostawienie plików instalacyjnych mogłoby być niebezpieczne.
 
 %prep
-%setup -q -a1 -n %{name}_%{version}
+%setup -q -a1 -n %{name}bt-%{version}
 %patch0 -p1
 %patch1 -p1
-sed -i -e '1s,#!.*bin/php,#!%{_bindir}/php,' core/checkin.php
 find . -type d -name CVS | xargs rm -rf
 find . -type f -name .cvsignore | xargs rm -rf
 find '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v
@@ -68,7 +67,7 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_appdir}/doc,%{_sysconfdir}}
 
-cp -af {*.php,admin,core,css,graphs,images,javascript,lang} $RPM_BUILD_ROOT%{_appdir}
+cp -af {*.php,admin,api,core,css,images,javascript,lang,library,plugins} $RPM_BUILD_ROOT%{_appdir}
 cp -a config_inc.php.sample $RPM_BUILD_ROOT%{_sysconfdir}/config.php
 ln -s %{_sysconfdir}/config.php $RPM_BUILD_ROOT%{_appdir}/config_inc.php
 
@@ -182,20 +181,24 @@
 
 %files
 %defattr(644,root,root,755)
-%doc doc/{CREDITS,CUSTOMIZATION,ChangeLog,INSTALL,README,UPGRADING}
+%doc doc/{CREDITS,CUSTOMIZATION,INSTALL,RELEASE} doc/en/*.txt
 %dir %attr(750,root,http) %{_sysconfdir}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/config.php
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/config_defaults.php
 %dir %{_appdir}
+%{_appdir}/api
+%{_appdir}/billing*.php
+%{_appdir}/browser_search_plugin.php
 %{_appdir}/config_defaults_inc.php
+%{_appdir}/config_filter_defaults_inc.php
 %{_appdir}/config_inc.php
+%{_appdir}/excel_xml_export.php
 %{_appdir}/issues_rss.php
 %{_appdir}/return_dynamic_filters.php
 %{_appdir}/core
 %{_appdir}/css
-%{_appdir}/graphs
 %{_appdir}/images
 %{_appdir}/javascript
 %{_appdir}/lang
@@ -210,19 +213,29 @@
 %{_appdir}/history*
 %{_appdir}/index*
 %{_appdir}/jump*
+%{_appdir}/library
 %{_appdir}/lo*
 %{_appdir}/ma*
 %{_appdir}/me*
 %{_appdir}/my*
 %{_appdir}/news*
+%{_appdir}/permalink_page.php
+%{_appdir}/plugin.php
+%{_appdir}/plugin_file.php
+%{_appdir}/plugins
 %{_appdir}/print*
 %{_appdir}/proj*
 %{_appdir}/query*
+%{_appdir}/roadmap_page.php
+%{_appdir}/search.php
 %{_appdir}/set*
 %{_appdir}/sig*
 %{_appdir}/sum*
+%{_appdir}/tag_*.php
 %{_appdir}/veri*
 %{_appdir}/view*
+%{_appdir}/wiki.php
+%{_appdir}/xmlhttprequest.php
 
 %files setup
 %defattr(644,root,root,755)
@@ -235,6 +248,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44  2011/04/19 10:58:41  arekm
+- up to 1.2.5
+
 Revision 1.43  2007/10/04 17:23:20  darekr
 - kill empty %build section
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mantis/mantis-config.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mantis/mantis.spec?r1=1.43&r2=1.44&f=u



More information about the pld-cvs-commit mailing list