rpms/loggerhead/devel README.mod_wsgi, 1.1, 1.2 bazaar.conf, 1.1, 1.2 loggerhead.conf, 1.1, 1.2 loggerhead.spec, 1.2, 1.3
Toshio くらとみ
toshio at fedoraproject.org
Thu Apr 15 16:18:00 UTC 2010
- Previous message: rpms/qt/F-12 qt-everywhere-opensource-src-4.6.2-cups-QTBUG-6471.patch, NONE, 1.1 qt.spec, 1.356, 1.357 qt-everywhere-opensource-src-4.6.2-sparc64-webkit-fix.patch, 1.1, NONE
- Next message: rpms/loggerhead/EL-5 README.mod_wsgi, 1.1, 1.2 bazaar.conf, 1.1, 1.2 loggerhead.conf, 1.1, 1.2 loggerhead.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: toshio
Update of /cvs/pkgs/rpms/loggerhead/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv13038
Modified Files:
README.mod_wsgi bazaar.conf loggerhead.conf loggerhead.spec
Log Message:
* Thu Apr 15 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 1.17-6
- Set cache dir when used under mod_wsgi
- Note about SELinux boolean that needs flipping in README.mod_wsgi
- Require python-sqlite2 on EPEL5 so that caching occurs.
Index: README.mod_wsgi
===================================================================
RCS file: /cvs/pkgs/rpms/loggerhead/devel/README.mod_wsgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- README.mod_wsgi 12 Apr 2010 18:58:27 -0000 1.1
+++ README.mod_wsgi 15 Apr 2010 16:17:59 -0000 1.2
@@ -18,3 +18,16 @@ a starting point if you want.
http_user_prefix in bazaar.conf
5) Restart apache and you should be able to start browsing
+
+.. note:: If you have SELinux enabled on your system you may need to allow
+ apache to execute files in temporary directories. You will get a
+ MemoryError traceback from python if this is the case. This is because of
+ the way that python ctypes interacts with libffi. To rectify this, you may
+ have to do several things, such as mounting tmpdirs so programs can be
+ executed on them and setting this SELinux boolean::
+
+ setsebool httpd_tmp_exec on
+
+ This bug has information about how we might solve this issue permanently
+ and links to bugs which diagnose the root cause.
+ https://bugzilla.redhat.com/show_bug.cgi?id=582009
Index: bazaar.conf
===================================================================
RCS file: /cvs/pkgs/rpms/loggerhead/devel/bazaar.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- bazaar.conf 12 Apr 2010 18:58:27 -0000 1.1
+++ bazaar.conf 15 Apr 2010 16:17:59 -0000 1.2
@@ -4,3 +4,6 @@
# The url prefix for the bzr branches.
http_user_prefix = '/bzr'
+
+# Directory to put cache files in
+http_sql_dir = '/var/cache/loggerhead'
Index: loggerhead.conf
===================================================================
RCS file: /cvs/pkgs/rpms/loggerhead/devel/loggerhead.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- loggerhead.conf 12 Apr 2010 18:58:27 -0000 1.1
+++ loggerhead.conf 15 Apr 2010 16:18:00 -0000 1.2
@@ -1,3 +1,5 @@
+### If you receive MemoryError tracebacks setting up loggerhead under mod_wsgi,
+### read /usr/share/doc/loggerhead*/README.mod_wsgi for help
Alias /bzr/static /usr/share/loggerhead/static
RewriteEngine On
RewriteRule ^/bzr$ /bzr/ [R]
Index: loggerhead.spec
===================================================================
RCS file: /cvs/pkgs/rpms/loggerhead/devel/loggerhead.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- loggerhead.spec 13 Apr 2010 17:38:01 -0000 1.2
+++ loggerhead.spec 15 Apr 2010 16:18:00 -0000 1.3
@@ -4,7 +4,7 @@
Name: loggerhead
Version: 1.17
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Web viewer for the Bazaar version control system
Group: Development/Tools
@@ -39,6 +39,9 @@ Requires: python-simplejson
Requires: python-paste
Requires: python-paste-deploy
Requires: bzr
+%if 0%{?rhel} && 0%{?rhel} > 5
+Requires: python-sqlite2
+%endif
%description
Loggerhead is a WSGI app that provides a web interface to the Bazaar version
@@ -82,6 +85,8 @@ install -m 0755 %{SOURCE4} %{buildroot}/
mkdir -p %{buildroot}/%{_var}/www
ln -s %{_sysconfdir}/loggerhead/ %{buildroot}%{_var}/www/.bazaar
+install -m 0700 -d %{buildroot}%{_var}/cache/loggerhead
+
%clean
rm -rf %{buildroot}
@@ -101,8 +106,14 @@ rm -rf %{buildroot}
%endif
%{_datadir}/loggerhead
%{_var}/www/.bazaar
+%attr(-,apache,apache) %dir %{_var}/cache/loggerhead
%changelog
+* Thu Apr 15 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 1.17-6
+- Set cache dir when used under mod_wsgi
+- Note about SELinux boolean that needs flipping in README.mod_wsgi
+- Require python-sqlite2 on EPEL5 so that caching occurs.
+
* Tue Apr 13 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 1.17-5
- Apache will read etc_t just fine with SELinux on. Maybe this error is being
generated by python-imaging-tk?
- Previous message: rpms/qt/F-12 qt-everywhere-opensource-src-4.6.2-cups-QTBUG-6471.patch, NONE, 1.1 qt.spec, 1.356, 1.357 qt-everywhere-opensource-src-4.6.2-sparc64-webkit-fix.patch, 1.1, NONE
- Next message: rpms/loggerhead/EL-5 README.mod_wsgi, 1.1, 1.2 bazaar.conf, 1.1, 1.2 loggerhead.conf, 1.1, 1.2 loggerhead.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list