diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-10-06 15:32:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-22 08:23:15 +0000 |
commit | afdaeb151fb51d71bb4b7f2103479a059889dc0a (patch) | |
tree | bb019749de4ce5b47bf7dd226ba2e2ec8000bcdf /testing/redis | |
parent | 048e21753f5be9a3b4bd914fcfb2d1f6974ba9b5 (diff) | |
download | aports-afdaeb151fb51d71bb4b7f2103479a059889dc0a.tar.bz2 aports-afdaeb151fb51d71bb4b7f2103479a059889dc0a.tar.xz |
testing/redis: upgrade to 2.6.16
Diffstat (limited to 'testing/redis')
-rw-r--r-- | testing/redis/APKBUILD | 36 |
1 files changed, 27 insertions, 9 deletions
diff --git a/testing/redis/APKBUILD b/testing/redis/APKBUILD index 2d215a5b19..82716755bf 100644 --- a/testing/redis/APKBUILD +++ b/testing/redis/APKBUILD @@ -1,28 +1,35 @@ # Contributor: V.Krishn <vkrishn4@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=redis -pkgver=2.4.16 +pkgver=2.6.16 pkgrel=0 pkgdesc="Advanced key-value store" -url="http://redis.googlecode.com" +url="http://redis.io/" arch="all" license="BSD" depends="" depends_dev="" -makedepends="" +makedepends="jemalloc-dev" install="redis.pre-install" subpackages="" pkgusers="redis" pkggroups="redis" source="http://redis.googlecode.com/files/$pkgname-$pkgver.tar.gz - redis.initd - redis.logrotate - redis.confd" + redis.initd + redis.logrotate + redis.confd + redis-unbundle-jemalloc.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { + local i cd "$_builddir" - sed -i -e 's|^daemonize .*|daemonize yes|' \ + for i in $source; do + case $i in + *.patch) msg $i; patch -p2 -i "$srcdir"/$i || return 1;; + esac + done + sed -i -e 's|^daemonize .*|daemonize yes|' \ -e 's|^dir .*|dir /var/lib/redis/|' \ -e 's|^logfile .*|logfile /var/log/redis/redis\.log|' \ -e 's|^pidfile .*|pidfile /var/run/redis/redis\.pid|' \ @@ -66,7 +73,18 @@ package() { } -md5sums="6b3fffc8c58ebc0849a1046695d4556b redis-2.4.16.tar.gz +md5sums="ca1b81bd56fe0c5e2c8ec443a95c908d redis-2.6.16.tar.gz 7fb0daf8dcfcda6fd6291dc0291ce579 redis.initd f49b80f4418f456dbf865a32443d4d1d redis.logrotate -bf204d560e41b854297c60aff8d862d5 redis.confd" +bf204d560e41b854297c60aff8d862d5 redis.confd +a8c70ad9cc2633f87ac44eb78a1f6de9 redis-unbundle-jemalloc.patch" +sha256sums="81490918dcf82d124b36e48b0a9911bfba3f13abba04d8c89820324eff7df03a redis-2.6.16.tar.gz +527c5200ac9bb7862ce048f728ca6a8091dc8efdabe8f4e81145212738ae3472 redis.initd +197d9b212eec3b8cd33878ba224f9a79b6f98a43c0663caf7e084c7969beb3f9 redis.logrotate +97d50b2bee2df995317b505d459c31fe4abe74e670028f0335febdd6e4e31486 redis.confd +ebc7cd565a9b5476d0211e6bf86840aa2bd2b73f995608743affc3e1c1dad982 redis-unbundle-jemalloc.patch" +sha512sums="469a29e2a755543a3b2c3deb467a72ae62b81c54a60ed1baf6f9d5687ef4b87c22d9cec6a43cec43dd90d4b5561f5bbcd2448f6edf8a784041233b80d9403b0b redis-2.6.16.tar.gz +cc5645e864aea72c247baf3fe344378e906392bec03b571280229fcc88698298a7574a7980ea8eead8626fa6b83ff3fac61abd8967f3dc35fb833c9a380d0bd1 redis.initd +706cfedb7fb320649c7ad02845d7477b85ce1e5d9dced39b938c6f754e6e9eb666e22f6eddc4cbffa3f63a1f6fb6f3221244e5bcd8fa92706c256aa1fe50ff41 redis.logrotate +d87aad6185300c99cc9b6a478c83bf62c450fb2c225592d74cc43a3adb93e19d8d2a42cc279907b385aa73a7b9c77b66828dbfb001009edc16a604abb2087e99 redis.confd +743810a1d6224b8ebd5443f3db4bd4df863ac3c969862bc347b42489edce90a2699e5dca85eedc53db471d578e3a22dc806ee14cba1f5d261561a7c77a25388e redis-unbundle-jemalloc.patch" |