Date: Friday, February 17, 2017 @ 17:35:35 Author: spupykin Revision: 212944
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: cgit/repos/community-staging-i686/ cgit/repos/community-staging-i686/PKGBUILD (from rev 212943, cgit/trunk/PKGBUILD) cgit/repos/community-staging-i686/apache.example.conf (from rev 212943, cgit/trunk/apache.example.conf) cgit/repos/community-staging-i686/cgit.install (from rev 212943, cgit/trunk/cgit.install) cgit/repos/community-staging-x86_64/ cgit/repos/community-staging-x86_64/PKGBUILD (from rev 212943, cgit/trunk/PKGBUILD) cgit/repos/community-staging-x86_64/apache.example.conf (from rev 212943, cgit/trunk/apache.example.conf) cgit/repos/community-staging-x86_64/cgit.install (from rev 212943, cgit/trunk/cgit.install) ----------------------------------------------+ community-staging-i686/PKGBUILD | 47 +++++++++++++++++++++++++ community-staging-i686/apache.example.conf | 23 ++++++++++++ community-staging-i686/cgit.install | 5 ++ community-staging-x86_64/PKGBUILD | 47 +++++++++++++++++++++++++ community-staging-x86_64/apache.example.conf | 23 ++++++++++++ community-staging-x86_64/cgit.install | 5 ++ 6 files changed, 150 insertions(+) Copied: cgit/repos/community-staging-i686/PKGBUILD (from rev 212943, cgit/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-02-17 17:35:35 UTC (rev 212944) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Patrick Palka <patr...@parcs.ath.cx> +# Contributor: Loui Chang <louipc.ist at gmail com> +# Contributor: Andreas Baumann <abaumann at yahoo dot com> + +pkgname=cgit +pkgver=1.1 +pkgrel=2 +pkgdesc="A web interface for git written in plain C" +arch=('i686' 'x86_64') +url="http://git.zx2c4.com/cgit/" +license=('GPL2') +depends=('openssl' 'luajit') +makedepends=('zlib' 'curl' 'asciidoc') +optdepends=('python-pygments: syntax highlighting support' + 'python-markdown: about page formated with markdown' + 'mime-types: serve file with correct content-type header') +install=cgit.install +source=("https://git.zx2c4.com/cgit/snapshot/cgit-$pkgver.tar.xz" + "apache.example.conf") +sha256sums=('0889af29be15fc981481caa09579f982b9740fe9fd2860ab87dff286f4635890' + '89927d462c0504863c163eb8a210e5d65db30ee6e4300ff6a2f92460e4f20a62') + +prepare() { + cd "$pkgname-$pkgver" + make get-git +} + +build() { + cd "$pkgname-$pkgver" + make + make doc-man +} + +package() { + cd "$pkgname-$pkgver" + + make CGIT_SCRIPT_PATH=/usr/share/webapps/cgit DESTDIR="$pkgdir" prefix=/usr install install-man + + 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" +} Copied: cgit/repos/community-staging-i686/apache.example.conf (from rev 212943, cgit/trunk/apache.example.conf) =================================================================== --- community-staging-i686/apache.example.conf (rev 0) +++ community-staging-i686/apache.example.conf 2017-02-17 17:35:35 UTC (rev 212944) @@ -0,0 +1,23 @@ +ScriptAlias /cgit/ "/usr/lib/cgit/cgit.cgi/" + +Alias /cgit-css "/usr/share/webapps/cgit/" + +<Directory "/usr/share/webapps/cgit/"> + AllowOverride None + Options None + Require all granted + AuthType Basic + AuthName cgit + AuthUserFile /etc/httpd/conf/passwd + Require user root +</Directory> + +<Directory "/usr/lib/cgit/"> + AllowOverride None + Options ExecCGI FollowSymlinks + Require all granted + AuthType Basic + AuthName cgit + AuthUserFile /etc/httpd/conf/passwd + Require user root +</Directory> Copied: cgit/repos/community-staging-i686/cgit.install (from rev 212943, cgit/trunk/cgit.install) =================================================================== --- community-staging-i686/cgit.install (rev 0) +++ community-staging-i686/cgit.install 2017-02-17 17:35:35 UTC (rev 212944) @@ -0,0 +1,5 @@ +post_install() { + chown -v http:http var/cache/cgit + echo "==> cgit looks at /etc/cgitrc for configuration. There is" + echo "==> an example configuration file in the cgitrc(5) man page." +} Copied: cgit/repos/community-staging-x86_64/PKGBUILD (from rev 212943, cgit/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-02-17 17:35:35 UTC (rev 212944) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Patrick Palka <patr...@parcs.ath.cx> +# Contributor: Loui Chang <louipc.ist at gmail com> +# Contributor: Andreas Baumann <abaumann at yahoo dot com> + +pkgname=cgit +pkgver=1.1 +pkgrel=2 +pkgdesc="A web interface for git written in plain C" +arch=('i686' 'x86_64') +url="http://git.zx2c4.com/cgit/" +license=('GPL2') +depends=('openssl' 'luajit') +makedepends=('zlib' 'curl' 'asciidoc') +optdepends=('python-pygments: syntax highlighting support' + 'python-markdown: about page formated with markdown' + 'mime-types: serve file with correct content-type header') +install=cgit.install +source=("https://git.zx2c4.com/cgit/snapshot/cgit-$pkgver.tar.xz" + "apache.example.conf") +sha256sums=('0889af29be15fc981481caa09579f982b9740fe9fd2860ab87dff286f4635890' + '89927d462c0504863c163eb8a210e5d65db30ee6e4300ff6a2f92460e4f20a62') + +prepare() { + cd "$pkgname-$pkgver" + make get-git +} + +build() { + cd "$pkgname-$pkgver" + make + make doc-man +} + +package() { + cd "$pkgname-$pkgver" + + make CGIT_SCRIPT_PATH=/usr/share/webapps/cgit DESTDIR="$pkgdir" prefix=/usr install install-man + + 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" +} Copied: cgit/repos/community-staging-x86_64/apache.example.conf (from rev 212943, cgit/trunk/apache.example.conf) =================================================================== --- community-staging-x86_64/apache.example.conf (rev 0) +++ community-staging-x86_64/apache.example.conf 2017-02-17 17:35:35 UTC (rev 212944) @@ -0,0 +1,23 @@ +ScriptAlias /cgit/ "/usr/lib/cgit/cgit.cgi/" + +Alias /cgit-css "/usr/share/webapps/cgit/" + +<Directory "/usr/share/webapps/cgit/"> + AllowOverride None + Options None + Require all granted + AuthType Basic + AuthName cgit + AuthUserFile /etc/httpd/conf/passwd + Require user root +</Directory> + +<Directory "/usr/lib/cgit/"> + AllowOverride None + Options ExecCGI FollowSymlinks + Require all granted + AuthType Basic + AuthName cgit + AuthUserFile /etc/httpd/conf/passwd + Require user root +</Directory> Copied: cgit/repos/community-staging-x86_64/cgit.install (from rev 212943, cgit/trunk/cgit.install) =================================================================== --- community-staging-x86_64/cgit.install (rev 0) +++ community-staging-x86_64/cgit.install 2017-02-17 17:35:35 UTC (rev 212944) @@ -0,0 +1,5 @@ +post_install() { + chown -v http:http var/cache/cgit + echo "==> cgit looks at /etc/cgitrc for configuration. There is" + echo "==> an example configuration file in the cgitrc(5) man page." +}