aboutsummaryrefslogtreecommitdiff
path: root/development/cgit
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-02-16 15:58:04 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-21 09:03:56 +0700
commit620d5c679434b85568679f8ffad778b203201d64 (patch)
tree45abe93f66d1b7cb333433ed7fabfccdbfdb707b /development/cgit
parentc2067d87a9cc1cc779f7bc1e063e863970bb00bc (diff)
development/cgit: Updated for version 0.11.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/cgit')
-rw-r--r--development/cgit/cgit.SlackBuild9
-rw-r--r--development/cgit/cgit.info10
-rw-r--r--development/cgit/patches/0001-filter-add-libravatar-email-filter-lua-script.patch45
3 files changed, 8 insertions, 56 deletions
diff --git a/development/cgit/cgit.SlackBuild b/development/cgit/cgit.SlackBuild
index 37b85b4c1ffde..a40859f50e1d3 100644
--- a/development/cgit/cgit.SlackBuild
+++ b/development/cgit/cgit.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cgit
-VERSION=${VERSION:-0.10.1}
+VERSION=${VERSION:-0.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,8 +55,8 @@ else
LIBDIRSUFFIX=""
fi
-CGIT_VERSION=${CGIT_VERSION:-v0.10.1}
-GIT_VERSION=${GIT_VERSION:-1.9.0}
+CGIT_VERSION=${CGIT_VERSION:-v0.11.0}
+GIT_VERSION=${GIT_VERSION:-2.3.0}
DOCS="cgitrc.5.txt COPYING README $CWD/config/cgitrc.sample \
$CWD/config/cgit-lighttpd.conf $CWD/config/cgit-httpd.conf \
@@ -78,9 +78,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# apply upstream patches
-for i in $CWD/patches/* ; do patch -p1 < $i ; done
-
# prepare sources
sed -i Makefile \
-e "s|-g -Wall -Igit|-Wall ${SLKCFLAGS} -Igit|" \
diff --git a/development/cgit/cgit.info b/development/cgit/cgit.info
index 977a202035dc6..66d8c96c5dad1 100644
--- a/development/cgit/cgit.info
+++ b/development/cgit/cgit.info
@@ -1,10 +1,10 @@
PRGNAM="cgit"
-VERSION="0.10.1"
+VERSION="0.11.0"
HOMEPAGE="http://git.zx2c4.com/cgit/about/"
-DOWNLOAD="https://github.com/zx2c4/cgit/archive/v0.10.1.tar.gz \
- http://ponce.cc/slackware/sources/repo/git-1.9.0.tar.xz"
-MD5SUM="e4adc12f086103a7dd4560cab28392a4 \
- 7debe72e09d6c725fd291d4d68c5f638"
+DOWNLOAD="https://github.com/zx2c4/cgit/archive/v0.11.0.tar.gz \
+ https://www.kernel.org/pub/software/scm/git/git-2.3.0.tar.xz"
+MD5SUM="f791ee8ce8f123c4d68265c053a8cbb7 \
+ e5880760d1f43f4f49b3bf94b9046eee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/cgit/patches/0001-filter-add-libravatar-email-filter-lua-script.patch b/development/cgit/patches/0001-filter-add-libravatar-email-filter-lua-script.patch
deleted file mode 100644
index d6a9a74ed477e..0000000000000
--- a/development/cgit/patches/0001-filter-add-libravatar-email-filter-lua-script.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From e22e985416929adb735bd952db00fce82d883914 Mon Sep 17 00:00:00 2001
-From: Christian Hesse <mail@eworm.de>
-Date: Thu, 13 Mar 2014 11:55:49 +0100
-Subject: [PATCH] filter: add libravatar email-filter lua script
-
----
- filters/email-libravatar.lua | 26 ++++++++++++++++++++++++++
- 1 file changed, 26 insertions(+)
- create mode 100644 filters/email-libravatar.lua
-
-diff --git a/filters/email-libravatar.lua b/filters/email-libravatar.lua
-new file mode 100644
-index 0000000..a248be4
---- /dev/null
-+++ b/filters/email-libravatar.lua
-@@ -0,0 +1,26 @@
-+-- This script may be used with the email-filter or repo.email-filter settings in cgitrc.
-+-- It adds libravatar icons to author names. It is designed to be used with the lua:
-+-- prefix in filters.
-+--
-+-- Requirements:
-+-- luacrypto >= 0.3
-+-- <http://mkottman.github.io/luacrypto/>
-+--
-+
-+local crypto = require("crypto")
-+
-+function filter_open(email, page)
-+ buffer = ""
-+ md5 = crypto.digest("md5", email:sub(2, -2):lower())
-+end
-+
-+function filter_close()
-+ html("<img src='//cdn.libravatar.org/avatar/" .. md5 .. "?s=13&amp;d=retro' width='13' height='13' alt='Libravatar' /> " .. buffer)
-+ return 0
-+end
-+
-+function filter_write(str)
-+ buffer = buffer .. str
-+end
-+
-+
---
-1.9.0
-