aboutsummaryrefslogtreecommitdiffstats
path: root/main/redis/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-23 03:15:33 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-23 03:17:05 +0100
commitb7cf5a4c4fed46ded1489e65f64c4664457502fb (patch)
tree7b786c6447110874115ca348618aa5ba6ac5a20c /main/redis/APKBUILD
parentd891968e86c12711d78e4b7cb8a0cdeb49c49b8a (diff)
downloadaports-b7cf5a4c4fed46ded1489e65f64c4664457502fb.tar.bz2
aports-b7cf5a4c4fed46ded1489e65f64c4664457502fb.tar.xz
main/redis: upgrade to 3.2.4
Diffstat (limited to 'main/redis/APKBUILD')
-rw-r--r--main/redis/APKBUILD31
1 files changed, 12 insertions, 19 deletions
diff --git a/main/redis/APKBUILD b/main/redis/APKBUILD
index 489c974bc7..705a26fe18 100644
--- a/main/redis/APKBUILD
+++ b/main/redis/APKBUILD
@@ -1,17 +1,15 @@
# Contributor: V.Krishn <vkrishn4@gmail.com>
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=redis
-pkgver=3.2.3
+pkgver=3.2.4
pkgrel=0
pkgdesc="Advanced key-value store"
url="http://redis.io/"
arch="all"
license="BSD"
depends=""
-depends_dev=""
makedepends="linux-headers"
install="redis.pre-install"
-subpackages=""
pkgusers="redis"
pkggroups="redis"
source="http://download.redis.io/releases/$pkgname-$pkgver.tar.gz
@@ -19,16 +17,12 @@ source="http://download.redis.io/releases/$pkgname-$pkgver.tar.gz
redis.logrotate
redis.confd
"
+builddir="$srcdir/$pkgname-$pkgver"
-_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare || return 1
+
+ cd "$builddir"
sed -i -e 's|^daemonize .*|daemonize yes|' \
-e 's|^dir .*|dir /var/lib/redis/|' \
-e 's|^logfile .*|logfile /var/log/redis/redis\.log|' \
@@ -38,7 +32,7 @@ prepare() {
}
build() {
- cd "$_builddir"
+ cd "$builddir"
make PREFIX=/usr \
INSTALL_BIN="$pkgdir"/usr/bin \
MALLOC=libc \
@@ -46,7 +40,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
mkdir -p "$pkgdir"/usr/bin
install -d -o redis -g redis \
"$pkgdir"/var/lib/redis \
@@ -54,7 +48,7 @@ package() {
"$pkgdir"/var/run/redis \
|| return 1
- install -D -m755 "$_builddir/COPYING" \
+ install -D -m755 "$builddir/COPYING" \
"$pkgdir/usr/share/licenses/redis/COPYING" || return 1
install -D -m755 "$srcdir/redis.initd" "$pkgdir/etc/init.d/redis" \
&& install -Dm644 "$srcdir/redis.logrotate" \
@@ -62,7 +56,7 @@ package() {
&& install -Dm644 "$srcdir/redis.confd" \
"$pkgdir/etc/conf.d/redis" \
|| return 1
- install -D -m644 "$_builddir/redis.conf" "$pkgdir/etc/redis.conf" \
+ install -D -m644 "$builddir/redis.conf" "$pkgdir/etc/redis.conf" \
|| retrun 1
make PREFIX=/usr \
@@ -70,16 +64,15 @@ package() {
install || return 1
}
-
-md5sums="138209b54dfc9819e6aea7b9503f8bd3 redis-3.2.3.tar.gz
+md5sums="2f8b49e8004fbbfc807ca7f5faeabec8 redis-3.2.4.tar.gz
e284cbbb7fcddbcb573bcd8318366316 redis.initd
ed0a5e40633e82c52c50f8bf0ed93ae0 redis.logrotate
bf204d560e41b854297c60aff8d862d5 redis.confd"
-sha256sums="674e9c38472e96491b7d4f7b42c38b71b5acbca945856e209cb428fbc6135f15 redis-3.2.3.tar.gz
+sha256sums="2ad042c5a6c508223adeb9c91c6b1ae091394b4026f73997281e28914c9369f1 redis-3.2.4.tar.gz
0cc974108792aa49c7d2cddcb0d53c4223acdf38652ffac6b6b76e835ebcaf78 redis.initd
aa078c4757fc426710310a0688cc1ab728acb7a2afa648e28b2ecbd57d003c0d redis.logrotate
97d50b2bee2df995317b505d459c31fe4abe74e670028f0335febdd6e4e31486 redis.confd"
-sha512sums="373643d384a3b68ca5d0486101a342e3843ffa81b0ead49a66c1aa1d92d9a51924bc1f5a1b1068718902a05c242183fbd62c9179d3fe36e9b77f37f3ddf81975 redis-3.2.3.tar.gz
+sha512sums="de32ad9283102ee7d877cae8ea736d5876e4304b8ed46362f131e8b6dfb7aafa4ba3f9481c5f432f47633c9b3b0209797aa1b0976041f081db1924b93ed8ac96 redis-3.2.4.tar.gz
91b663f802aea9a473195940d3bf2ce3ca2af4e5b6e61a2d28ebbfe502ef2c764b574b7e87c49e60345d1a5d6b73d12920924c93b26be110c2ce824023347b6f redis.initd
6d17d169b40a7e23a0a2894eff0f3e2fe8e4461b36f2a9d45468f0abd84ea1035d679b4c0a34029bce093147f9c7bb697e843c113c17769d38c934d4a78a5848 redis.logrotate
d87aad6185300c99cc9b6a478c83bf62c450fb2c225592d74cc43a3adb93e19d8d2a42cc279907b385aa73a7b9c77b66828dbfb001009edc16a604abb2087e99 redis.confd"