[arch-commits] Commit in cgit/repos/community-x86_64 (6 files)
Christian Hesse
eworm at archlinux.org
Fri Aug 3 15:43:46 UTC 2018
Date: Friday, August 3, 2018 @ 15:43:46
Author: eworm
Revision: 367537
archrelease: copy trunk to community-x86_64
Added:
cgit/repos/community-x86_64/PKGBUILD
(from rev 367536, cgit/trunk/PKGBUILD)
cgit/repos/community-x86_64/apache.example.conf
(from rev 367536, cgit/trunk/apache.example.conf)
cgit/repos/community-x86_64/cgit.install
(from rev 367536, cgit/trunk/cgit.install)
Deleted:
cgit/repos/community-x86_64/PKGBUILD
cgit/repos/community-x86_64/apache.example.conf
cgit/repos/community-x86_64/cgit.install
---------------------+
PKGBUILD | 100 +++++++++++++++++++++++++-------------------------
apache.example.conf | 46 +++++++++++------------
cgit.install | 10 ++---
3 files changed, 78 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-03 15:43:37 UTC (rev 367536)
+++ PKGBUILD 2018-08-03 15:43:46 UTC (rev 367537)
@@ -1,50 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Patrick Palka <patrick at parcs.ath.cx>
-# Contributor: Loui Chang <louipc.ist at gmail com>
-# Contributor: Andreas Baumann <abaumann at yahoo dot com>
-
-pkgname=cgit
-pkgver=1.2
-pkgrel=1
-pkgdesc="A web interface for git written in plain C"
-arch=('x86_64')
-url="http://git.zx2c4.com/cgit/"
-license=('GPL2')
-depends=('openssl' 'luajit')
-makedepends=('zlib' 'curl' 'asciidoc')
-optdepends=('groff: about page using man page syntax'
- 'python-pygments: syntax highlighting support'
- 'python-docutils: about page formatted with reStructuredText'
- 'python-markdown: about page formatted 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,asc}
- "apache.example.conf")
-sha256sums=('d5622ba7c3eb87de402da6fe3a092219546a917ff627966e99c9f18ba32a4832'
- 'SKIP'
- '89927d462c0504863c163eb8a210e5d65db30ee6e4300ff6a2f92460e4f20a62')
-validpgpkeys=('AB9942E6D4A4CFC3412620A749FC7012A5DE03AE') # Jason A. Donenfeld
-
-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-x86_64/PKGBUILD (from rev 367536, cgit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-03 15:43:46 UTC (rev 367537)
@@ -0,0 +1,50 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Patrick Palka <patrick at parcs.ath.cx>
+# Contributor: Loui Chang <louipc.ist at gmail com>
+# Contributor: Andreas Baumann <abaumann at yahoo dot com>
+
+pkgname=cgit
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="A web interface for git written in plain C"
+arch=('x86_64')
+url="http://git.zx2c4.com/cgit/"
+license=('GPL2')
+depends=('openssl' 'luajit')
+makedepends=('zlib' 'curl' 'asciidoc')
+optdepends=('groff: about page using man page syntax'
+ 'python-pygments: syntax highlighting support'
+ 'python-docutils: about page formatted with reStructuredText'
+ 'python-markdown: about page formatted 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,asc}
+ "apache.example.conf")
+sha256sums=('3c547c146340fb16d4134326e7524bfb28ffa681284f1e3914bde1c27a9182bf'
+ 'SKIP'
+ '89927d462c0504863c163eb8a210e5d65db30ee6e4300ff6a2f92460e4f20a62')
+validpgpkeys=('AB9942E6D4A4CFC3412620A749FC7012A5DE03AE') # Jason A. Donenfeld
+
+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"
+}
Deleted: apache.example.conf
===================================================================
--- apache.example.conf 2018-08-03 15:43:37 UTC (rev 367536)
+++ apache.example.conf 2018-08-03 15:43:46 UTC (rev 367537)
@@ -1,23 +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
- 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-x86_64/apache.example.conf (from rev 367536, cgit/trunk/apache.example.conf)
===================================================================
--- apache.example.conf (rev 0)
+++ apache.example.conf 2018-08-03 15:43:46 UTC (rev 367537)
@@ -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>
Deleted: cgit.install
===================================================================
--- cgit.install 2018-08-03 15:43:37 UTC (rev 367536)
+++ cgit.install 2018-08-03 15:43:46 UTC (rev 367537)
@@ -1,5 +0,0 @@
-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-x86_64/cgit.install (from rev 367536, cgit/trunk/cgit.install)
===================================================================
--- cgit.install (rev 0)
+++ cgit.install 2018-08-03 15:43:46 UTC (rev 367537)
@@ -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."
+}
More information about the arch-commits
mailing list