aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/cgit.lintian-overrides8
-rw-r--r--debian/cgit.postinst2
-rw-r--r--debian/control7
3 files changed, 13 insertions, 4 deletions
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 @@
1# For apache2 prior to 2.4 compatibility
2cgit binary: apache2-deprecated-auth-config Order
3cgit binary: apache2-deprecated-auth-config Allow
4
5# Not every user needs python filters so package only suggests python-pygments
6cgit binary: python-script-but-no-python-dep usr/lib/cgit/filters/email-gravatar.py
7cgit binary: python-script-but-no-python-dep usr/lib/cgit/filters/syntax-highlighting.py
8
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
22case "$1" in 22case "$1" in
23 configure) 23 configure)
24 if test -d $cachedir; then 24 if test -d $cachedir; then
25 chown www-data.www-data $cachedir 25 chown www-data:www-data $cachedir
26 fi 26 fi
27 ;; 27 ;;
28 28
diff --git a/debian/control b/debian/control
index 6c1d8dc..ce6fed9 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: cgit
2Section: vcs 2Section: vcs
3Priority: optional 3Priority: optional
4Maintainer: YAEGASHI Takeshi <yaegashi@debian.org> 4Maintainer: YAEGASHI Takeshi <yaegashi@debian.org>
5Build-Depends: debhelper (>= 8.0.0), 5Build-Depends: debhelper (>= 9.0.0),
6 pkg-config, 6 pkg-config,
7 libssl-dev, 7 libssl-dev,
8 libluajit-5.1-dev, 8 libluajit-5.1-dev,
@@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 8.0.0),
12 libxml2-utils, 12 libxml2-utils,
13 xsltproc, 13 xsltproc,
14 dblatex, 14 dblatex,
15Standards-Version: 3.9.4 15Standards-Version: 3.9.5
16Homepage: http://git.zx2c4.com/cgit/about/ 16Homepage: http://git.zx2c4.com/cgit/about/
17Vcs-Git: http://git.zx2c4.com/cgit 17Vcs-Git: http://git.zx2c4.com/cgit
18Vcs-Browser: http://git.zx2c4.com/cgit 18Vcs-Browser: http://git.zx2c4.com/cgit
@@ -21,7 +21,8 @@ Package: cgit
21Architecture: any 21Architecture: any
22Depends: ${shlibs:Depends}, ${misc:Depends} 22Depends: ${shlibs:Depends}, ${misc:Depends}
23Recommends: apache2 | httpd-cgi 23Recommends: apache2 | httpd-cgi
24Description: A hyperfast web frontend for git repositories written in C 24Suggests: python-pygments
25Description: Hyperfast web frontend for git repositories written in C
25 This is an attempt to create a fast web interface for the Git SCM, using a 26 This is an attempt to create a fast web interface for the Git SCM, using a
26 built-in cache to decrease server I/O pressure. 27 built-in cache to decrease server I/O pressure.
27 . 28 .