extra/memcached to 1.6.9-1

This commit is contained in:
Kevin Mihelich 2021-03-25 22:55:34 +00:00
parent 9fcc6d2a20
commit 98a3ed0da5

View file

@ -6,27 +6,30 @@
# - remove depend on libseccomp, don't configure with --enable-seccomp; problematic on ARM # - remove depend on libseccomp, don't configure with --enable-seccomp; problematic on ARM
pkgname=memcached pkgname=memcached
pkgver=1.6.7 pkgver=1.6.9
pkgrel=1 pkgrel=1
pkgdesc='Distributed memory object caching system' pkgdesc='Distributed memory object caching system'
url='https://memcached.org/' url='https://memcached.org/'
arch=('x86_64') arch=('x86_64')
license=('GPL') license=('GPL')
depends=('libevent') depends=('glibc' 'libevent')
optdepends=('perl: for memcached-tool usage') optdepends=('perl: for memcached-tool usage')
source=(https://www.memcached.org/files/${pkgname}-${pkgver}.tar.gz source=(https://www.memcached.org/files/${pkgname}-${pkgver}.tar.gz
memcached.service.patch memcached.service.patch
memcached.tmpfiles memcached.tmpfiles
memcached.sysusers) memcached.sysusers
sha512sums=('8b4c44ae4da8577cc5431aaca6118fdba27c42418a51a6d319d9040a975371a2fda9fcea2cb44c3d20c92f08961cb5f0ddd28c2f4cd12986b73c9342d91ea2c8' memcached-1.6.8-seccomp-rt_sigreturn.patch)
sha512sums=('2169225aefe6bd7481d919ae3ef95ed85d2ed595f49daceeb13d2dc268097d4aee98cf604824fca103efcdffa7461bb26814209906a5dabf1a5d30af43f6a66c'
'dd21f49062054c601469f9abc9ee39a0f06c604e8805e7bc9bf2cfa65429962f93e7ac67764257c578fc15b1e75394956f350162c99b084c76a6e14d9331f31f' 'dd21f49062054c601469f9abc9ee39a0f06c604e8805e7bc9bf2cfa65429962f93e7ac67764257c578fc15b1e75394956f350162c99b084c76a6e14d9331f31f'
'960705ff74d25afed477e0b2a5872a3a4fb49ed3105a351f0d0224abc947778f9dbda81e80be94ab636da4a8411a9dd56a8fd4513e5b86a3096a14fa67f1548b' '960705ff74d25afed477e0b2a5872a3a4fb49ed3105a351f0d0224abc947778f9dbda81e80be94ab636da4a8411a9dd56a8fd4513e5b86a3096a14fa67f1548b'
'e6ddcab9a6fee024072b6363ef60aa176ed258369bf3a17d475f19b1f410ffd6195b9c5737dc5b1371e8974b44bdbdaa109927acaeb54fb40302a5d67d7c13a8') 'e6ddcab9a6fee024072b6363ef60aa176ed258369bf3a17d475f19b1f410ffd6195b9c5737dc5b1371e8974b44bdbdaa109927acaeb54fb40302a5d67d7c13a8'
'8fa35ad24b80e5a00d4a3de5625d8dc819d38c53aa5a5c7c43dfddbb4103d27bad08210c11d3415740104766676c5c614de0b317996bb16b55adc471b6dbb73b')
prepare() { prepare() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
patch -Np1 < ../memcached.service.patch patch -Np1 < ../memcached.service.patch
sed -e 's/^##safer##//g' -i scripts/*.service sed -e 's/^##safer##//g' -i scripts/*.service
patch -Np1 < ../memcached-1.6.8-seccomp-rt_sigreturn.patch
} }
build() { build() {