Package: gitweb
Version: 1:1.7.1-1

New versions of gitweb come with a javascript file, but it isn't installed by the package. This results in the /var/log/apache2/error.log being filled with lines similar to

[Wed Jul 14 13:39:09 2010] [error] [client *.*.*.*] File does not exist: /usr/share/gitweb/gitweb.js, referer: http://*.*/gitweb/
/var/log/apache2/error.log

Applying the following patch fixes it:

diff --git a/debian/rules b/debian/rules
index c629e96..aae9d02 100755
--- a/debian/rules
+++ b/debian/rules
@@ -201,6 +201,8 @@ install-indep: build-arch-stamp build-indep-stamp
          '$(GIT)'web/usr/share/gitweb/index.cgi
        install -m0644 gitweb/gitweb.css \
          '$(GIT)'web/usr/share/gitweb/gitweb.css
+       install -m0644 gitweb/gitweb.js \
+         '$(GIT)'web/usr/share/gitweb/gitweb.js
        install -m0644 gitweb/git-favicon.png \
          '$(GIT)'web/usr/share/gitweb/git-favicon.png
        install -m0644 gitweb/git-logo.png \



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to