diff options
author | tcely <tcely@users.noreply.github.com> | 2018-03-06 00:10:06 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-03-06 18:37:46 +0000 |
commit | c841e21fce76e6bd4e5675155b97c31c3c4a1aab (patch) | |
tree | af95e28e519d168035c142f4103f765a70b00b59 /main/memcached/APKBUILD | |
parent | 894c438def09d5b71e129774baa92538ad7ce532 (diff) | |
download | aports-c841e21fce76e6bd4e5675155b97c31c3c4a1aab.tar.bz2 aports-c841e21fce76e6bd4e5675155b97c31c3c4a1aab.tar.xz |
main/memcached: Upgrade to 1.5.6
Add patch for seccomp musl fixes.
Diffstat (limited to 'main/memcached/APKBUILD')
-rw-r--r-- | main/memcached/APKBUILD | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/main/memcached/APKBUILD b/main/memcached/APKBUILD index cc500b5fdc..69fa064cce 100644 --- a/main/memcached/APKBUILD +++ b/main/memcached/APKBUILD @@ -1,29 +1,41 @@ # Contributor: Jeff Bilyk <jbilyk@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=memcached -pkgver=1.5.5 -pkgrel=1 +pkgver=1.5.6 +pkgrel=0 pkgdesc="Distributed memory object caching system" url="http://memcached.org/" arch="all" license="BSD" -makedepends="cyrus-sasl-dev libevent-dev libseccomp-dev linux-headers" +depends_dev="${pkgname}=${pkgver}-r${pkgrel}" +makedepends="$depends_dev cyrus-sasl-dev libevent-dev libseccomp-dev linux-headers" install="$pkgname.pre-install" subpackages="$pkgname-dev $pkgname-doc" -source="http://www.memcached.org/files/${pkgname}-${pkgver}.tar.gz +source="https://www.memcached.org/files/${pkgname}-${pkgver}.tar.gz + $pkgname.seccomp-musl.patch $pkgname.confd $pkgname.initd" -builddir="${srcdir}/${pkgname}-${pkgver}" +builddir="$srcdir/$pkgname-$pkgver" build() { + # extstore is broken on 32-bit + # https://github.com/memcached/memcached/issues/319 + local _extstore='--enable-extstore' + case "$CARCH" in + (x86) + _extstore='' + ;; + esac + cd "$builddir" ./configure \ - --build=$CBUILD \ - --host=$CHOST \ + --build="$CBUILD" \ + --host="$CHOST" \ --prefix=/usr \ --enable-sasl \ --enable-sasl-pwdb \ - --enable-seccomp + --enable-seccomp \ + $_extstore make } @@ -41,9 +53,11 @@ package() { "$pkgdir/etc/conf.d/$pkgname" } -sha1sums="29cb75cc234dbaceed6e89db029af8363706f0fe memcached-1.5.4.tar.gz +sha1sums="ca35929e74b132c2495a6957cfdc80556337fb90 memcached-1.5.6.tar.gz +76e40b4e2a7c5198e78c8c7ce9b21d18f902399a memcached.seccomp-musl.patch a9c12a750a354c8d33849d106e285ddba150b6d2 memcached.confd 4092666ae58207034e0de40d25b15c6b6cd31b5f memcached.initd" -sha512sums="38883600398b5d9378bb57508ed94b80ed2c4ef0e2610e328a60bcb79268f85c67c99159993040b36eac964138822862fa78f62c649560abc4818233b1b2f3d0 memcached-1.5.5.tar.gz +sha512sums="b8bb3b69358a476c6f11f42e89565dd0261cba3f1eaa6b0999dba7c2cb2d7c5e9ca24dedc6b7fd46ec78e40e52d66fe4694ebafd6bbd4557d25d66757d9024a4 memcached-1.5.6.tar.gz +a84c0a22cf722b88462635cfec77892b3cff58dec880e89706c1797b56d5b924ad26e57db25e563d35d466d760b3c48ea9818cfc97269997e1ed701a2db3d0f4 memcached.seccomp-musl.patch 31bd788433b8021ed332f86d291e7f03222ae234520e52ba673b581d5da2adf5656e8f73e8b985df73258dea9b2a1b8ef36195163fe47a92fda59825deedfed4 memcached.confd 9615769b14175a25b50c9871b48c0635b5397ebe45231b43ee29a603eceb7b16bfc5ac744017b89b19082209c09597b3038a03ed0d5d9b45c60454d5b2717a55 memcached.initd" |