rpms/mantis/F-8 mantis-1.1.0-noexamplecom.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 mantis-README.Fedora, 1.2, 1.3 mantis-httpd.conf, 1.3, 1.4 mantis.spec, 1.16, 1.17 sources, 1.12, 1.13 mantis-0.19.2-noexamplecom.patch, 1.1, NONE mantis-1.0.0a3-iis.patch, 1.1, NONE
Gianluca Sforna (giallu)
fedora-extras-commits at redhat.com
Sat Jan 5 10:00:17 UTC 2008
Author: giallu
Update of /cvs/extras/rpms/mantis/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18987
Modified Files:
.cvsignore mantis-README.Fedora mantis-httpd.conf mantis.spec
sources
Added Files:
mantis-1.1.0-noexamplecom.patch
Removed Files:
mantis-0.19.2-noexamplecom.patch mantis-1.0.0a3-iis.patch
Log Message:
* Sat Jan 5 2008 Gianluca Sforna <giallu gmail com> - 1.1.0-1
- new upstream release
- rediffed patches
- allow local usage out of the box
- remove .htaccess files
- revert using embedded adodb
see http://www.mantisbt.org/bugs/view.php?id=8256 for details
- improve description and README.Fedora
- Remove unneeded diffutils BR
- Updated License field
mantis-1.1.0-noexamplecom.patch:
--- NEW FILE mantis-1.1.0-noexamplecom.patch ---
Index: mantis-1.1.0rc2/config_inc.php.sample
===================================================================
--- mantis-1.1.0rc2.orig/config_inc.php.sample
+++ mantis-1.1.0rc2/config_inc.php.sample
@@ -47,14 +47,14 @@
$g_db_type = "mysql";
# --- email variables -------------
- $g_administrator_email = 'administrator at example.com';
- $g_webmaster_email = 'webmaster at example.com';
+ $g_administrator_email = 'administrator at localhost';
+ $g_webmaster_email = 'webmaster at localhost';
# the "From: " field in emails
- $g_from_email = 'noreply at example.com';
+ $g_from_email = 'noreply at localhost';
# the return address for bounced mail
- $g_return_path_email = 'admin at example.com';
+ $g_return_path_email = 'admin at localhost';
# --- file upload settings --------
# This is the master setting to disable *all* file uploading functionality
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mantis/F-8/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore 3 Jul 2007 15:07:00 -0000 1.7
+++ .cvsignore 5 Jan 2008 09:59:39 -0000 1.8
@@ -1 +1 @@
-mantis-1.0.8.tar.gz
+mantis-1.1.0.tar.gz
Index: mantis-README.Fedora
===================================================================
RCS file: /cvs/extras/rpms/mantis/F-8/mantis-README.Fedora,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mantis-README.Fedora 3 Jul 2007 15:01:50 -0000 1.2
+++ mantis-README.Fedora 5 Jan 2008 09:59:39 -0000 1.3
@@ -1,19 +1,24 @@
-Fedora specific installation notes
+= Fedora specific installation notes =
+
+== Database ==
Mantis requires a database to function; use the following steps to
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
+ service mysqld start
WARNING: the default MySQL configuration has a "root" account with no password.
Please have a look to the MySQL documentation to add a proper password
and/or a separate account for mantis usage.
-3. allow yourself to access the admin directory
+
+== 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.
@@ -28,10 +33,7 @@
and restart apache with:
service httpd restart
- instead the needs to be edited in order to enable the execution of the installation script located
- in /usr/share/mantis/admin.
-
-4. point your browser to:
+2. point your browser to:
https://localhost/mantis/admin/install.php
to create an empty DB.
@@ -47,6 +49,5 @@
administrator level account. Immediately after that, DISABLE or DELETE
the administrator account. You can recreate it but you should delete
the account to prevent the cookie_string from being used to trick the
- package. It would be even better to rename the account or delete it
- permanently. REMEMBER: After setting up the package, REMOVE the
+ package. REMEMBER: After setting up the package, REMOVE the
default administrator account.
Index: mantis-httpd.conf
===================================================================
RCS file: /cvs/extras/rpms/mantis/F-8/mantis-httpd.conf,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mantis-httpd.conf 3 Jul 2007 15:05:01 -0000 1.3
+++ mantis-httpd.conf 5 Jan 2008 09:59:39 -0000 1.4
@@ -3,31 +3,42 @@
# RewriteCond %{HTTPS} !=on
# RewriteRule ^/mantis(.*) https://%{SERVER_NAME}/mantis$1 [R,L]
-SetEnv MANTIS_CONFIG /etc/mantis/config_inc.php
-Alias /mantis /usr/share/mantis
+Alias /mantis /usr/share/mantis
<Directory /usr/share/mantis>
# As passwords will be sent over the line do not allow plaintext
# communication
SSLRequireSSL
- Options None
+ Options None
# Do not change this unless the default administrator
# login was removed; see documentation for details
- Order allow,deny
- Allow from localhost
-
+ Order Deny,Allow
+ Deny from All
+ Allow from 127.0.0.1 # localhost
+ Allow from ::1 # IPv6 variant of localhost
+ # Use the following to let any client use mantis
+ # Allow from All
+
php_flag "register_globals" "off"
+ SetEnv MANTIS_CONFIG /etc/mantis/config_inc.php
</Directory>
+
+# Admin directory access is disabled by default; do not change this unless
+# you are performing the first installation or a database schema update.
+# See README.Fedora for more details
<Directory /usr/share/mantis/admin>
- Order allow,deny
- # Every access is disabled by default; do not change this unless
- # you are performing the first installation or a database schema
- # update.
- # See README.Fedora for more details
- Deny from all
- Allow from localhost
+ Order Deny,Allow
+ Deny from All
+ Allow from None
+</Directory>
+
+# This directory does not require access over HTTP
+<Directory /usr/share/mantis/core>
+ Order Deny,Allow
+ Deny from All
+ Allow from None
</Directory>
Index: mantis.spec
===================================================================
RCS file: /cvs/extras/rpms/mantis/F-8/mantis.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- mantis.spec 3 Jul 2007 15:07:00 -0000 1.16
+++ mantis.spec 5 Jan 2008 09:59:39 -0000 1.17
@@ -1,29 +1,27 @@
-# $Id$
-
%global pkgdir %{_datadir}/%{name}
%global cfgdir %{_sysconfdir}/%{name}
-%global httpconfdir %{_sysconfdir}/httpd/conf.d
+%global docdir %{_docdir}/%{name}-%{version}
+%global httpconfdir %{_sysconfdir}/httpd/conf.d
Summary: Web-based bugtracking system
Name: mantis
-Version: 1.0.8
+Version: 1.1.0
Release: 1%{?dist}
-License: GPL
+License: GPLv2+
Group: Applications/Internet
URL: http://www.mantisbt.org/
BuildArch: noarch
Source0: http://downloads.sourceforge.net/mantisbt/%{name}-%{version}.tar.gz
Source1: mantis-README.Fedora
-Patch0: mantis-1.0.0a3-iis.patch
-Patch1: mantis-0.19.2-noexamplecom.patch
+Patch1: mantis-1.1.0-noexamplecom.patch
Patch2: mantis-1.0.0rc2-noadmin.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: diffutils
-Requires: php
+Requires: php >= 4.3.0
+Requires: php-mbstring >= 4.3.0
Requires: mantis-config
-Requires: php-adodb
+#Requires: php-adodb
%package config-httpd
Summary: Mantis configuration for Apache httpd
@@ -42,8 +40,14 @@
It is written in the PHP scripting language and requires the MySQL
database and a webserver. Mantis has been installed on Windows, MacOS,
OS/2, and a variety of Unix operating systems. Any web browser should
-be able to function as a client. It is released under the terms of the
-GNU General Public License (GPL).
+be able to function as a client.
+
+Documentation can be found in: %{docdir}
+
+When the package has finished installing, you will need to perform some
+additional configuration steps; these are described in:
+%{docdir}/README.Fedora
+
%description config-httpd
Mantis is a web-based bugtracking system.
@@ -52,13 +56,10 @@
%prep
%setup -q
-%patch0 -p1
%patch1 -p1
%patch2 -p1
cp %{SOURCE1} ./doc/README.Fedora
-
-chmod -x *.php *.sample
rm -rf packages
@@ -74,11 +75,13 @@
tar cf - . | tar xf - -C ${RPM_BUILD_ROOT}%{pkgdir}
# Remove adodb
-rm -rf ${RPM_BUILD_ROOT}%{pkgdir}/core/adodb
+# rm -rf ${RPM_BUILD_ROOT}%{pkgdir}/core/adodb
find ${RPM_BUILD_ROOT} \( \
- -name '*.orig' -o -name '*.#.*' -o \
- -name '.cvsignore' \
+ -name '*.orig' \
+ -o -name '*.#.*' \
+ -o -name '.cvsignore' \
+ -o -name '.htaccess' \
\) -print0 | xargs -0 rm -f
## Do not rename; the *existence* of this file will be checked to
@@ -86,6 +89,8 @@
mv ${RPM_BUILD_ROOT}%{pkgdir}/mantis_offline.php.sample ${RPM_BUILD_ROOT}%{cfgdir}/
mv ${RPM_BUILD_ROOT}%{pkgdir}/config_inc.php.sample ${RPM_BUILD_ROOT}%{cfgdir}/config_inc.php
+chmod a+x core ${RPM_BUILD_ROOT}%{pkgdir}/core/checkin.php
+
for i in $(find ${RPM_BUILD_ROOT} -type f -regex '.*\.\(php\|txt\|gif\|png\|css\|htm\|dtd\|xsl\|sql\|js\|bak\|xml\|zip\)$' -perm +0111); do
case $i in
(*.php)
@@ -137,6 +142,17 @@
%changelog
+* Sat Jan 5 2008 Gianluca Sforna <giallu gmail com> - 1.1.0-1
+- new upstream release
+- rediffed patches
+- allow local usage out of the box
+- remove .htaccess files
+- revert using embedded adodb
+ see http://www.mantisbt.org/bugs/view.php?id=8256 for details
+- improve description and README.Fedora
+- Remove unneeded diffutils BR
+- Updated License field
+
* Tue Jul 3 2007 Gianluca Sforna <giallu gmail com> - 1.0.8-1
- new upstream release
- add Require: php-adodb (and remove embedded one)
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mantis/F-8/sources,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sources 3 Jul 2007 15:07:00 -0000 1.12
+++ sources 5 Jan 2008 09:59:39 -0000 1.13
@@ -1 +1 @@
-fab90748346fe9a8276a71f59c1a245a mantis-1.0.8.tar.gz
+0b5e99ae4f33dfb7b99ee989a4b70b78 mantis-1.1.0.tar.gz
--- mantis-0.19.2-noexamplecom.patch DELETED ---
--- mantis-1.0.0a3-iis.patch DELETED ---
More information about the fedora-extras-commits
mailing list