From 9374863ffe8120bfb5ce43e4b39b7e2c8418544e Mon Sep 17 00:00:00 2001 From: YAEGASHI Takeshi Date: Mon, 17 Feb 2014 06:48:28 +0900 Subject: Fix lintian errors/warnings diff --git a/debian/cgit.lintian-overrides b/debian/cgit.lintian-overrides new file mode 100644 index 0000000..3365816 --- /dev/null +++ b/debian/cgit.lintian-overrides @@ -0,0 +1,8 @@ +# For apache2 prior to 2.4 compatibility +cgit binary: apache2-deprecated-auth-config Order +cgit binary: apache2-deprecated-auth-config Allow + +# Not every user needs python filters so package only suggests python-pygments +cgit binary: python-script-but-no-python-dep usr/lib/cgit/filters/email-gravatar.py +cgit binary: python-script-but-no-python-dep usr/lib/cgit/filters/syntax-highlighting.py + diff --git a/debian/cgit.postinst b/debian/cgit.postinst index 2988dd6..a4566a9 100644 --- a/debian/cgit.postinst +++ b/debian/cgit.postinst @@ -22,7 +22,7 @@ cachedir=/var/cache/cgit case "$1" in configure) if test -d $cachedir; then - chown www-data.www-data $cachedir + chown www-data:www-data $cachedir fi ;; diff --git a/debian/control b/debian/control index 6c1d8dc..ce6fed9 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: cgit Section: vcs Priority: optional Maintainer: YAEGASHI Takeshi -Build-Depends: debhelper (>= 8.0.0), +Build-Depends: debhelper (>= 9.0.0), pkg-config, libssl-dev, libluajit-5.1-dev, @@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 8.0.0), libxml2-utils, xsltproc, dblatex, -Standards-Version: 3.9.4 +Standards-Version: 3.9.5 Homepage: http://git.zx2c4.com/cgit/about/ Vcs-Git: http://git.zx2c4.com/cgit Vcs-Browser: http://git.zx2c4.com/cgit @@ -21,7 +21,8 @@ Package: cgit Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: apache2 | httpd-cgi -Description: A hyperfast web frontend for git repositories written in C +Suggests: python-pygments +Description: Hyperfast web frontend for git repositories written in C This is an attempt to create a fast web interface for the Git SCM, using a built-in cache to decrease server I/O pressure. . -- cgit v0.10.1