From c8b33b787429d73c1f78d9ff6373a422b74291b1 Mon Sep 17 00:00:00 2001 From: YAEGASHI Takeshi Date: Sun, 16 Feb 2014 18:35:02 +0900 Subject: Add docs, wont compress pdf files 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 @@ cgit for Debian --------------- - +To use with apache2 2.4 or later, enable /etc/apache2/conf-available/cgit.conf +and reload server, then open http://your-server/cgit/. + + # a2enconf cgit.conf + # service apache2 reload + +For apache2 prior to 2.4, make a symlink of cgit.conf in /etc/apache2/conf.d/ +manually instead. + + # ln -s /etc/apache2/conf-available/cgit.conf /etc/apache2/conf.d + # service apache2 reload + +Alternatively, you can include cgit.conf from defined in any site +configuration. + +The configuration file is /etc/cgitrc or $CGIT_CONFIG if defined. You need to +add repository definitions in the file. See cgitrc(5) for more details. -- YAEGASHI Takeshi 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 @@ cgit for Debian --------------- - +cgit integrates the git codebase itself as the core libraries (libgit.a and +xdiff/lib.a) and the build system. The cgit source package contains the whole +git distribution of specific version in /git for that purpose. +Some attention would be needed to vulnerabilities in git which might be found +in future. +The most portion of /git is not relevant to cgit, so it would be better if we +could remove unneeded files from it to reduce package size and simplify +debian/copyright. -- YAEGASHI Takeshi Fri, 14 Feb 2014 20:57:51 +0900 diff --git a/debian/cgit.docs b/debian/cgit.docs new file mode 100644 index 0000000..260845e --- /dev/null +++ b/debian/cgit.docs @@ -0,0 +1,3 @@ +README +AUTHORS +cgitrc.5.txt diff --git a/debian/docs b/debian/docs deleted file mode 100644 index 95c5dc9..0000000 --- a/debian/docs +++ /dev/null @@ -1,3 +0,0 @@ -README -cgitrc.5.txt -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: dh_auto_install -- $(MAKE_ARGS) install-doc install -m 0644 debian/examples/cgitrc debian/cgit/etc install -m 0644 debian/examples/apache2.conf debian/cgit/etc/apache2/conf-available/cgit.conf + +override_dh_compress: + dh_compress -a -X.pdf -- cgit v0.10.1