diff options
| -rw-r--r-- | debian/README.Debian | 18 | ||||
| -rw-r--r-- | debian/README.source | 10 | ||||
| -rw-r--r-- | debian/cgit.docs (renamed from debian/docs) | 2 | ||||
| -rwxr-xr-x | debian/rules | 3 |
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 @@ | |||
| 1 | cgit for Debian | 1 | cgit for Debian |
| 2 | --------------- | 2 | --------------- |
| 3 | 3 | ||
| 4 | <possible notes regarding this package - if none, delete this file> | 4 | To use with apache2 2.4 or later, enable /etc/apache2/conf-available/cgit.conf |
| 5 | and reload server, then open http://your-server/cgit/. | ||
| 6 | |||
| 7 | # a2enconf cgit.conf | ||
| 8 | # service apache2 reload | ||
| 9 | |||
| 10 | For apache2 prior to 2.4, make a symlink of cgit.conf in /etc/apache2/conf.d/ | ||
| 11 | manually instead. | ||
| 12 | |||
| 13 | # ln -s /etc/apache2/conf-available/cgit.conf /etc/apache2/conf.d | ||
| 14 | # service apache2 reload | ||
| 15 | |||
| 16 | Alternatively, you can include cgit.conf from <VirtualHost> defined in any site | ||
| 17 | configuration. | ||
| 18 | |||
| 19 | The configuration file is /etc/cgitrc or $CGIT_CONFIG if defined. You need to | ||
| 20 | add 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 @@ | |||
| 1 | cgit for Debian | 1 | cgit for Debian |
| 2 | --------------- | 2 | --------------- |
| 3 | 3 | ||
| 4 | <this file describes information about the source package, see Debian policy | 4 | cgit integrates the git codebase itself as the core libraries (libgit.a and |
| 5 | manual section 4.14. You WILL either need to modify or delete this file> | 5 | xdiff/lib.a) and the build system. The cgit source package contains the whole |
| 6 | git distribution of specific version in /git for that purpose. | ||
| 6 | 7 | ||
| 8 | Some attention would be needed to vulnerabilities in git which might be found | ||
| 9 | in future. | ||
| 7 | 10 | ||
| 11 | The most portion of /git is not relevant to cgit, so it would be better if we | ||
| 12 | could remove unneeded files from it to reduce package size and simplify | ||
| 13 | debian/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 @@ | |||
| 1 | README | 1 | README |
| 2 | AUTHORS | ||
| 2 | cgitrc.5.txt | 3 | cgitrc.5.txt |
| 3 | robots.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 | |||
| 32 | override_dh_compress: | ||
| 33 | dh_compress -a -X.pdf | ||
