rpms/mantis/F-7 .cvsignore, 1.6, 1.7 mantis-README.Fedora, 1.1, 1.2 mantis-httpd.conf, 1.2, 1.3 mantis.spec, 1.15, 1.16 sources, 1.11, 1.12
Gianluca Sforna (giallu)
fedora-extras-commits at redhat.com
Mon Jul 9 08:27:39 UTC 2007
- Previous message: rpms/dates/devel dates.spec,1.9,1.10
- Next message: rpms/firefox/F-7 firefox-1.5-pango-cursor-position-more.patch, NONE, 1.1 firefox-1.5-pango-justified-range.patch, NONE, 1.1 firefox-1.5-pango-underline.patch, NONE, 1.1 firefox-1.5-xft-rangewidth.patch, NONE, 1.1 firefox-2.0-pango-ligatures.patch, NONE, 1.1 firefox.spec, 1.184, 1.185
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: giallu
Update of /cvs/extras/rpms/mantis/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26170
Modified Files:
.cvsignore mantis-README.Fedora mantis-httpd.conf mantis.spec
sources
Log Message:
* Tue Jul 9 2007 Gianluca Sforna <giallu gmail com> - 1.0.8-1
- new upstream release
- add Require: php-adodb (and remove embedded one)
- remove duplicate docs
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mantis/F-7/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 5 Apr 2007 11:02:42 -0000 1.6
+++ .cvsignore 9 Jul 2007 08:27:02 -0000 1.7
@@ -1 +1 @@
-mantis-1.0.7.tar.gz
+mantis-1.0.8.tar.gz
Index: mantis-README.Fedora
===================================================================
RCS file: /cvs/extras/rpms/mantis/F-7/mantis-README.Fedora,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mantis-README.Fedora 9 Jan 2007 12:09:22 -0000 1.1
+++ mantis-README.Fedora 9 Jul 2007 08:27:02 -0000 1.2
@@ -1,6 +1,6 @@
Fedora specific installation notes
-Mantis require a database to function; use the following steps to
+Mantis requires a database to function; use the following steps to
configure mantis to work with MySQL:
1. install MySQL packages
@@ -13,15 +13,40 @@
Please have a look to the MySQL documentation to add a proper password
and/or a separate account for mantis usage.
-3. point your browser to:
+3. allow yourself 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:
+ <Directory /usr/share/mantis/admin>
+ Order allow,deny
+
+ to:
+ <Directory /usr/share/mantis/admin>
+ Order deny,allow
+
+ 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:
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.
+ Otherwise you will leave the administration area unprotected with
+ critical system information and database update capabilities open to
+ any unauthorized person.
+
WARNING: A DEFAULT ADMINISTRATOR level account is created. The account name
-and password are administrator / root. Use this when you first login to
-Mantis. Immediately go to Manage and create at least one 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 default administrator account.
+ and password are administrator / root. Use this when you first login
+ to Mantis. Immediately go to Manage and create at least one
+ 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
+ default administrator account.
Index: mantis-httpd.conf
===================================================================
RCS file: /cvs/extras/rpms/mantis/F-7/mantis-httpd.conf,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mantis-httpd.conf 5 Apr 2007 11:02:42 -0000 1.2
+++ mantis-httpd.conf 9 Jul 2007 08:27:02 -0000 1.3
@@ -1,26 +1,41 @@
-SetEnv MANTIS_CONFIG /etc/mantis/config_inc.php
+# TO-BE-TESTED
+# RewriteEngine On
+# RewriteCond %{HTTPS} !=on
+# RewriteRule ^/mantis(.*) https://%{SERVER_NAME}/mantis$1 [R,L]
-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
+ Allow from localhost
+ Deny 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
- # without good reasons and reading the documentation
- Deny from all
- Allow from localhost
+ Order allow,deny
+ Deny from all
+ Allow from localhost
+</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-7/mantis.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- mantis.spec 5 Apr 2007 11:02:42 -0000 1.15
+++ mantis.spec 9 Jul 2007 08:27:02 -0000 1.16
@@ -6,7 +6,7 @@
Summary: Web-based bugtracking system
Name: mantis
-Version: 1.0.7
+Version: 1.0.8
Release: 1%{?dist}
License: GPL
Group: Applications/Internet
@@ -56,7 +56,7 @@
%patch1 -p1
%patch2 -p1
-cp %{SOURCE1} ./README.Fedora
+cp %{SOURCE1} ./doc/README.Fedora
chmod -x *.php *.sample
rm -rf packages
@@ -73,6 +73,9 @@
tar cf - . | tar xf - -C ${RPM_BUILD_ROOT}%{pkgdir}
+# Remove adodb
+rm -rf ${RPM_BUILD_ROOT}%{pkgdir}/core/adodb
+
find ${RPM_BUILD_ROOT} \( \
-name '*.orig' -o -name '*.#.*' -o \
-name '.cvsignore' \
@@ -98,7 +101,7 @@
done
chmod -x doc/*
-chmod -x ${RPM_BUILD_ROOT}%{pkgdir}/{doc/*,core/phpmailer/{README,LICENSE}}
+chmod -x ${RPM_BUILD_ROOT}%{pkgdir}/core/phpmailer/{README,LICENSE}
# Dangling symlink: when /etc/mantis/mantis_offline.php is present mantis is put offline
ln -s %{cfgdir}/mantis_offline.php ${RPM_BUILD_ROOT}%{pkgdir}/mantis_offline.php
@@ -106,6 +109,9 @@
%{__install} -d ${RPM_BUILD_ROOT}%{httpconfdir}
%{__install} -p -m644 %{SOURCE10} ${RPM_BUILD_ROOT}%{httpconfdir}/mantis.conf
+# Remove doc dir
+rm -rf ${RPM_BUILD_ROOT}%{pkgdir}/doc
+
%clean
rm -rf "${RPM_BUILD_ROOT}"
@@ -121,10 +127,9 @@
%files
%defattr(-,root,root,-)
%{pkgdir}
-%exclude %{pkgdir}/core/adodb/adodb-time.zip
%dir %{cfgdir}
%config(noreplace) %{cfgdir}/*
-%doc doc/{LICENSE,ChangeLog,CREDITS,CUSTOMIZATION} README.Fedora
+%doc doc/{LICENSE,ChangeLog,CREDITS,CUSTOMIZATION,README.Fedora}
%files config-httpd
%defattr(-,root,root,-)
@@ -132,6 +137,11 @@
%changelog
+* Tue Jul 9 2007 Gianluca Sforna <giallu gmail com> - 1.0.8-1
+- new upstream release
+- add Require: php-adodb (and remove embedded one)
+- remove duplicate docs
+
* Thu Apr 5 2007 Gianluca Sforna <giallu gmail com> - 1.0.7-1
- new upstream release
- drop upstreamed patch
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mantis/F-7/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- sources 5 Apr 2007 11:02:42 -0000 1.11
+++ sources 9 Jul 2007 08:27:02 -0000 1.12
@@ -1 +1 @@
-242f127edfc487889c9089d6b0fbf737 mantis-1.0.7.tar.gz
+fab90748346fe9a8276a71f59c1a245a mantis-1.0.8.tar.gz
- Previous message: rpms/dates/devel dates.spec,1.9,1.10
- Next message: rpms/firefox/F-7 firefox-1.5-pango-cursor-position-more.patch, NONE, 1.1 firefox-1.5-pango-justified-range.patch, NONE, 1.1 firefox-1.5-pango-underline.patch, NONE, 1.1 firefox-1.5-xft-rangewidth.patch, NONE, 1.1 firefox-2.0-pango-ligatures.patch, NONE, 1.1 firefox.spec, 1.184, 1.185
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list