summaryrefslogtreecommitdiff
path: root/community/cgit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/cgit
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/cgit')
-rw-r--r--community/cgit/PKGBUILD45
-rw-r--r--community/cgit/apache.example.conf25
-rw-r--r--community/cgit/cgit.install7
3 files changed, 0 insertions, 77 deletions
diff --git a/community/cgit/PKGBUILD b/community/cgit/PKGBUILD
deleted file mode 100644
index e6ce816b2..000000000
--- a/community/cgit/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 91791 2013-05-27 21:33:26Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Current Maintainer: Patrick Palka <patrick@parcs.ath.cx>
-# Previous Maintainer: Loui Chang <louipc.ist at gmail com>
-# Contributor: Andreas Baumann <abaumann at yahoo dot com>
-# Development: http://closure.ath.cx/aur-dev
-
-pkgname=cgit
-pkgver=0.9.2
-_gitver=1.8.3
-pkgrel=1
-pkgdesc="A web interface for git written in plain C"
-arch=('i686' 'x86_64')
-url="http://hjemli.net/git/cgit"
-license=('GPL')
-depends=('openssl')
-makedepends=('zlib' 'curl' 'asciidoc')
-install=cgit.install
-source=("http://git.zx2c4.com/cgit/snapshot/cgit-$pkgver.tar.xz"
- "git-${_gitver}.tar.gz::https://github.com/git/git/archive/v${_gitver}.tar.gz"
- "apache.example.conf")
-md5sums=('fe11018eff8d79caad112f4fac64b90f'
- '73224d3dc86c4999cc49484b49c9acc4'
- 'bd5696bea0654bfcf98f249b1a36737d')
-
-build() {
- cd "$pkgname-$pkgver"
- _cgit_gitver=`grep 'GIT_VER = ' Makefile | cut -f3 -d\ `
- [ "x${_gitver}" == "x${_cgit_gitver}" ] || { msg "Bad git version"; return 1; }
- rm -rf git/*
- mv ../git-${_gitver}/* git/
- make
- make doc-man
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make CGIT_SCRIPT_PATH=/usr/share/webapps/cgit DESTDIR="$pkgdir" install install-man
- install -vDm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
- install -vd "$pkgdir/var/cache/$pkgname"
- install -vDm0644 $srcdir/apache.example.conf $pkgdir/etc/webapps/cgit/apache.example.conf
- mkdir -p $pkgdir/usr/lib/cgit
- mv $pkgdir/usr/share/webapps/cgit/cgit.cgi $pkgdir/usr/lib/cgit
- ln -sf ../../../lib/cgit/cgit.cgi $pkgdir/usr/share/webapps/cgit/cgit.cgi
-}
diff --git a/community/cgit/apache.example.conf b/community/cgit/apache.example.conf
deleted file mode 100644
index 9beb27db3..000000000
--- a/community/cgit/apache.example.conf
+++ /dev/null
@@ -1,25 +0,0 @@
-ScriptAlias /cgit/ "/usr/lib/cgit/cgit.cgi/"
-
-Alias /cgit-css "/usr/share/webapps/cgit/"
-
-<Directory "/usr/share/webapps/cgit/">
- AllowOverride None
- Options None
- Order allow,deny
- Allow from all
- AuthType Basic
- AuthName cgit
- AuthUserFile /etc/httpd/conf/passwd
- Require user root
-</Directory>
-
-<Directory "/usr/lib/cgit/">
- AllowOverride None
- Options ExecCGI FollowSymlinks
- Order allow,deny
- Allow from all
- AuthType Basic
- AuthName cgit
- AuthUserFile /etc/httpd/conf/passwd
- Require user root
-</Directory>
diff --git a/community/cgit/cgit.install b/community/cgit/cgit.install
deleted file mode 100644
index 7d696ada9..000000000
--- a/community/cgit/cgit.install
+++ /dev/null
@@ -1,7 +0,0 @@
-post_install() {
- echo -n "Setting ownership of /var/cache/cgit to http:http ... "
- chown -v http:http var/cache/cgit
- echo "done."
- echo -n "cgit looks at /etc/cgitrc for configuration. there is "
- echo "an example configuration file in its manpage."
-}