From 62579e8dce15eafdd57b5b39444ec5b7e0770751 Mon Sep 17 00:00:00 2001 From: Gianluca Sforna Date: Jan 21 2008 08:17:35 +0000 Subject: - new upstream release - Add more info in README.Fedora about configuration, upgrades and SELinux --- diff --git a/.cvsignore b/.cvsignore index 3150818..b6f1db5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -mantis-1.1.0.tar.gz +mantis-1.1.1.tar.gz diff --git a/mantis-README.Fedora b/mantis-README.Fedora index 30a95ba..148a235 100644 --- a/mantis-README.Fedora +++ b/mantis-README.Fedora @@ -16,29 +16,40 @@ WARNING: the default MySQL configuration has a "root" account with no password. and/or a separate account for mantis usage. -== First time operations== +== Configuration files == + +The mantis configuration file is /etc/mantis/config_inc.php. + +Be sure to check the file /usr/share/mantis/config_defaults_inc.php for the +full list of available configuration options. + + +== First time operations == 1. allow yourelf to access the admin directory Please note that the provided configuration file for Apache (/etc/httpd/conf.d/mantis.conf) by default prevents access to the mantis administration area. - Change: - - Order allow,deny + Find the section: + + + and change the "None" in: + Allow from None - to: - - Order deny,allow + to the machine IP you will be connecting from. For instance: + Allow from 127.0.0.1 + + allows localhost access to the admin area - and restart apache with: + then restart apache with: service httpd restart 2. point your browser to: - https://localhost/mantis/admin/install.php + https://localhost/mantis/admin/install.php to create an empty DB. BIG FAT WARNING: when you are done with the installation, be sure to revert the - modifications you've done in step 3. + modifications you've done in step 1. Otherwise you will leave the administration area unprotected with critical system information and database update capabilities open to any unauthorized person. @@ -51,3 +62,21 @@ WARNING: A DEFAULT ADMINISTRATOR level account is created. The account name the account to prevent the cookie_string from being used to trick the package. REMEMBER: After setting up the package, REMOVE the default administrator account. + +== Upgrades == + +After a version upgrade that involves changes to the DB schema, you will need +to run again the installer steps as outlined above. The installer is able to +recognize which modifications are needed and apply them to the DB. + +Albeit the upgrade routine is usually well tested and safe, please +consider doing a complete backup of the database before attempting the +procedure. + + +== SELinux == + +The default SELinux configuration prevents the httpd process (hence mantis) +from sending emails. This is easily fixed with: + + setsebool -P httpd_can_sendmail=1 diff --git a/mantis.spec b/mantis.spec index a7deb0d..c68a5b0 100644 --- a/mantis.spec +++ b/mantis.spec @@ -5,7 +5,7 @@ Summary: Web-based bugtracking system Name: mantis -Version: 1.1.0 +Version: 1.1.1 Release: 1%{?dist} License: GPLv2+ Group: Applications/Internet @@ -142,6 +142,11 @@ rm -rf "${RPM_BUILD_ROOT}" %changelog +* Sat Jan 19 2008 Gianluca Sforna - 1.1.1-1 +- new upstream release +- Add more info in README.Fedora about configuration, upgrades + and SELinux + * Sat Jan 5 2008 Gianluca Sforna - 1.1.0-1 - new upstream release - rediffed patches diff --git a/sources b/sources index 629e57a..bb52a0d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0b5e99ae4f33dfb7b99ee989a4b70b78 mantis-1.1.0.tar.gz +7e646be79def5bb32b74b1a246caf766 mantis-1.1.1.tar.gz