summaryrefslogtreecommitdiff
path: root/extra/memcached
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-07 03:30:07 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-07 03:30:07 +0000
commitbd5b8fe0fe2355ad0df744ed310d12b8a70c51f9 (patch)
tree193748868eafd7f5d1fb754757fa956bb3070ae6 /extra/memcached
parent3b88fa9d064e61705923ef42381b467bc8ecfd32 (diff)
Tue Jan 7 03:27:41 UTC 2014
Diffstat (limited to 'extra/memcached')
-rw-r--r--extra/memcached/PKGBUILD17
-rw-r--r--extra/memcached/memcached.service1
2 files changed, 12 insertions, 6 deletions
diff --git a/extra/memcached/PKGBUILD b/extra/memcached/PKGBUILD
index 2de510c5d..d743e3091 100644
--- a/extra/memcached/PKGBUILD
+++ b/extra/memcached/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 185263 2013-05-12 16:29:01Z dan $
+# $Id: PKGBUILD 203228 2014-01-05 23:07:05Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
# Contributor: Michael Irwin <6d6469@gmail.com>
pkgname=memcached
-pkgver=1.4.15
-pkgrel=2
+pkgver=1.4.17
+pkgrel=1
pkgdesc="A distributed memory object caching system"
arch=(i686 x86_64)
url="http://memcached.org/"
@@ -12,10 +12,10 @@ license=('GPL')
depends=('libevent')
optdepends=('perl: for memcached-tool usage')
install=memcached.install
-source=(http://memcached.googlecode.com/files/$pkgname-$pkgver.tar.gz
+source=(http://www.memcached.org/files/$pkgname-$pkgver.tar.gz
memcached.service)
-sha256sums=('169721ab7a7531add6ae9f6b14b6b5641725fe0b1f0bdf5c3a4327725901e2b4'
- '453cad82bddb25fac43fd5cedc5702b9b6c6abaf7498e21445facf20f25f53a6')
+sha256sums=('d9173ef6d99ba798c982ea4566cb4f0e64eb23859fdbf9926a89999d8cdc0458'
+ 'e768a48192aefa2e2f443c86b3c085043005ffc313da40f3074c060a18c8359d')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -23,6 +23,11 @@ build() {
make
}
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make test
+}
+
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
diff --git a/extra/memcached/memcached.service b/extra/memcached/memcached.service
index c6e15fb7c..8b04b1c35 100644
--- a/extra/memcached/memcached.service
+++ b/extra/memcached/memcached.service
@@ -6,6 +6,7 @@ After=network.target
User=memcached
# Remove '-l 127.0.0.1' to listen on all addresses
ExecStart=/usr/bin/memcached -l 127.0.0.1
+Restart=always
[Install]
WantedBy=multi-user.target