aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar YAEGASHI Takeshi <yaegashi@debian.org>2014-02-16 18:35:02 (JST)
committerGravatar YAEGASHI Takeshi <yaegashi@debian.org>2014-02-17 07:42:13 (JST)
commitc8b33b787429d73c1f78d9ff6373a422b74291b1 (patch)
treed7f6f1d5c6cc66cd0c6d19b9c8fc55fcd4b835af
parent117301515ca5aaa77e20b8d855543228a3fcf7df (diff)
downloadcgit-c8b33b787429d73c1f78d9ff6373a422b74291b1.zip
cgit-c8b33b787429d73c1f78d9ff6373a422b74291b1.tar.gz
Add docs, wont compress pdf files
-rw-r--r--debian/README.Debian18
-rw-r--r--debian/README.source10
-rw-r--r--debian/cgit.docs (renamed from debian/docs)2
-rwxr-xr-xdebian/rules3
4 files changed, 29 insertions, 4 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
index c172530..50ed510 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,6 +1,22 @@
1cgit for Debian 1cgit for Debian
2--------------- 2---------------
3 3
4<possible notes regarding this package - if none, delete this file> 4To use with apache2 2.4 or later, enable /etc/apache2/conf-available/cgit.conf
5and reload server, then open http://your-server/cgit/.
6
7 # a2enconf cgit.conf
8 # service apache2 reload
9
10For apache2 prior to 2.4, make a symlink of cgit.conf in /etc/apache2/conf.d/
11manually instead.
12
13 # ln -s /etc/apache2/conf-available/cgit.conf /etc/apache2/conf.d
14 # service apache2 reload
15
16Alternatively, you can include cgit.conf from <VirtualHost> defined in any site
17configuration.
18
19The configuration file is /etc/cgitrc or $CGIT_CONFIG if defined. You need to
20add repository definitions in the file. See cgitrc(5) for more details.
5 21
6 -- YAEGASHI Takeshi <yaegashi@debian.org> Fri, 14 Feb 2014 20:57:51 +0900 22 -- YAEGASHI Takeshi <yaegashi@debian.org> Fri, 14 Feb 2014 20:57:51 +0900
diff --git a/debian/README.source b/debian/README.source
index 1566c44..8fc864b 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,10 +1,16 @@
1cgit for Debian 1cgit for Debian
2--------------- 2---------------
3 3
4<this file describes information about the source package, see Debian policy 4cgit integrates the git codebase itself as the core libraries (libgit.a and
5manual section 4.14. You WILL either need to modify or delete this file> 5xdiff/lib.a) and the build system. The cgit source package contains the whole
6git distribution of specific version in /git for that purpose.
6 7
8Some attention would be needed to vulnerabilities in git which might be found
9in future.
7 10
11The most portion of /git is not relevant to cgit, so it would be better if we
12could remove unneeded files from it to reduce package size and simplify
13debian/copyright.
8 14
9 -- YAEGASHI Takeshi <yaegashi@debian.org> Fri, 14 Feb 2014 20:57:51 +0900 15 -- YAEGASHI Takeshi <yaegashi@debian.org> Fri, 14 Feb 2014 20:57:51 +0900
10 16
diff --git a/debian/docs b/debian/cgit.docs
index 95c5dc9..260845e 100644
--- a/debian/docs
+++ b/debian/cgit.docs
@@ -1,3 +1,3 @@
1README 1README
2AUTHORS
2cgitrc.5.txt 3cgitrc.5.txt
3robots.txt
diff --git a/debian/rules b/debian/rules
index 03e82dd..982c51e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,3 +28,6 @@ override_dh_auto_install:
28 dh_auto_install -- $(MAKE_ARGS) install-doc 28 dh_auto_install -- $(MAKE_ARGS) install-doc
29 install -m 0644 debian/examples/cgitrc debian/cgit/etc 29 install -m 0644 debian/examples/cgitrc debian/cgit/etc
30 install -m 0644 debian/examples/apache2.conf debian/cgit/etc/apache2/conf-available/cgit.conf 30 install -m 0644 debian/examples/apache2.conf debian/cgit/etc/apache2/conf-available/cgit.conf
31
32override_dh_compress:
33 dh_compress -a -X.pdf