rpms/mantis/FC-6 .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 09:46:18 UTC 2007
- Previous message: rpms/hunspell-bg/devel .cvsignore, 1.2, 1.3 hunspell-bg.spec, 1.1, 1.2 sources, 1.2, 1.3
- Next message: rpms/hplip/devel hplip-2.7.6-1.patch, NONE, 1.1 hplip.spec, 1.140, 1.141
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: giallu
Update of /cvs/extras/rpms/mantis/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19280
Modified Files:
.cvsignore mantis-README.Fedora mantis-httpd.conf mantis.spec
sources
Log Message:
* Mon 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/FC-6/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 5 Apr 2007 10:24:57 -0000 1.6
+++ .cvsignore 9 Jul 2007 09:45:43 -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/FC-6/mantis-README.Fedora,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mantis-README.Fedora 10 Jan 2007 16:50:14 -0000 1.1
+++ mantis-README.Fedora 9 Jul 2007 09:45:43 -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/FC-6/mantis-httpd.conf,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mantis-httpd.conf 5 Apr 2007 10:21:09 -0000 1.2
+++ mantis-httpd.conf 9 Jul 2007 09:45:43 -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/FC-6/mantis.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- mantis.spec 5 Apr 2007 10:24:57 -0000 1.15
+++ mantis.spec 9 Jul 2007 09:45:43 -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
@@ -23,6 +23,7 @@
BuildRequires: diffutils
Requires: php
Requires: mantis-config
+Requires: php-adodb
%package config-httpd
Summary: Mantis configuration for Apache httpd
@@ -55,7 +56,7 @@
%patch1 -p1
%patch2 -p1
-cp %{SOURCE1} ./README.Fedora
+cp %{SOURCE1} ./doc/README.Fedora
chmod -x *.php *.sample
rm -rf packages
@@ -72,6 +73,8 @@
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 \
@@ -98,23 +101,16 @@
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
-
-## The httpd config-files
-function subst() {
- f=${RPM_BUILD_ROOT}$1
- sed -e 's!/usr/share/mantis!%{pkgdir}!g' "$f" >"$f".tmp
- cmp -s "$f" "$f.tmp" || cat "$f.tmp" >"$f"
- rm -f "$f.tmp"
-}
-
%{__install} -d ${RPM_BUILD_ROOT}%{httpconfdir}
%{__install} -p -m644 %{SOURCE10} ${RPM_BUILD_ROOT}%{httpconfdir}/mantis.conf
-subst %{httpconfdir}/mantis.conf
+
+# Remove doc dir
+rm -rf ${RPM_BUILD_ROOT}%{pkgdir}/doc
%clean
@@ -131,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,-)
@@ -142,6 +137,11 @@
%changelog
+* Mon 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
@@ -150,7 +150,7 @@
- remove config_inc.php symlink (config is now found via the MANTIS_CONFIG
environment variable)
-* Wed Jan 10 2007 Gianluca Sforna <giallu gmail com> - 1.0.6-2
+* Tue Jan 9 2007 Gianluca Sforna <giallu gmail com> - 1.0.6-2
- Add some docs
- Add patch for BZ #219937
- Fix rpmlint messages for SRPM
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mantis/FC-6/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- sources 5 Apr 2007 10:24:57 -0000 1.11
+++ sources 9 Jul 2007 09:45:43 -0000 1.12
@@ -1 +1 @@
-242f127edfc487889c9089d6b0fbf737 mantis-1.0.7.tar.gz
+fab90748346fe9a8276a71f59c1a245a mantis-1.0.8.tar.gz
- Previous message: rpms/hunspell-bg/devel .cvsignore, 1.2, 1.3 hunspell-bg.spec, 1.1, 1.2 sources, 1.2, 1.3
- Next message: rpms/hplip/devel hplip-2.7.6-1.patch, NONE, 1.1 hplip.spec, 1.140, 1.141
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list