Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 282882

Summary: dev-vcs/git: ebuild problem. ebuild doesn't deploy cgi-bins into /usr/share/webapps
Product: Gentoo Linux Reporter: Sergey Mironov <ierton>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: ricmm
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergey Mironov 2009-08-27 09:37:41 UTC
dev-util/git: ebuild problem. ebuild doesn't deploy gitweb cgi-bins into /usr/share/webapps

Thats why one can't use webapp-config to manage them.

Reproducible: Always

Steps to Reproduce:
1. USE="cgi" emerge dev-util/git
2. ls -l /usr/share/webapps | grep gitweb

Actual Results:  
gitweb is not in /usr/share/webapps

Expected Results:  
imho, gitweb should be in deployed into /usr/share/webapps

i am using git 1.6.3.3
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-04 18:49:40 UTC
patches welcome.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-04 18:51:23 UTC
But also, there is zero need to copy it, all you need to do is put it into your Apache.

Apache config blob:
    Alias /gitweb /usr/share/git/gitweb/
    <Directory "/usr/share/git/gitweb/">
        AllowOverride AuthConfig
        Options +ExecCGI +Indexes
        Order allow,deny
        Allow from all
        DirectoryIndex gitweb.cgi
        SetEnv GITWEB_CONFIG "/etc/git/config.pl"
        AddHandler cgi-script .cgi
    </Directory>
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-30 07:10:44 UTC
Marking as enhancement, patch wanted per my apache config.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-07 23:09:00 UTC
No response from user.