ports/126815: devel/viewvc
Eygene Ryabinkin
rea-fbsd at codelabs.ru
Mon Aug 25 07:10:02 UTC 2008
>Number: 126815
>Category: ports
>Synopsis: devel/viewvc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 25 07:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Eygene Ryabinkin
>Release: FreeBSD 7.0-STABLE i386
>Organization:
Code Labs
>Environment:
System: FreeBSD XXX 7.0-STABLE FreeBSD 7.0-STABLE #1: Wed Aug 20 14:32:07 MSD 2008 root at XXX:/usr/obj/usr/src/sys/XXX i386
>Description:
There was a bug in the viewvc scripts that are used by mod_python,
script naming lead to the curcular module import problem,
http://viewvc.tigris.org/issues/show_bug.cgi?id=369
Upstream had already received patch both for the development trunk and
for 1.0.x series. For 1.0.x it was the new patch, for the trunk the
patch was re-merged, since it was semi-fixed by renaming the modules,
but it was felt that programmatical patch will be better.
>How-To-Repeat:
The simplest configuration is the following:
-----
Alias /viewvc /usr/local/viewvc/bin/mod_python/viewvc.py
<Directory /usr/local/viewvc/bin/mod_python/>
AllowOverride None
Options None
AddHandler python-program .py
PythonHandler handler
Order deny,allow
Allow from all
Deny from all
</Directory>
-----
To narrow down and catch the essence of the problem, one can use
the following handler.py:
-----
import handler
-----
Was tested for the following software bundle: mod_python 3.3.1,
Apache 2.2.9, ViewVC 1.0.5, Python 2.5.2.
Moreover, there are reports from the other people and RPM packagers:
- http://osdir.com/ml/version-control.viewvc.user/2007-02/msg00030.html
- http://rpm.pbone.net/index.php3/stat/22/idpl/7375509/com/changelog.html
(entry from Fri Aug 3 14:00:00 2007)
- http://article.gmane.org/gmane.comp.version-control.viewvc.user/1419
- http://article.gmane.org/gmane.comp.version-control.viewvc.user/1321
>Fix:
The following diffs are for 1.0.x:
http://viewvc.tigris.org/source/browse/viewvc/branches/1.0.x/bin/mod_python/query.py?rev=1993&r1=1993&r2=1327&diff_format=u
http://viewvc.tigris.org/source/browse/viewvc/branches/1.0.x/bin/mod_python/viewvc.py?rev=1993&r1=1327&r2=1993&diff_format=u
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list