[arch-commits] Commit in redis/repos (24 files)
Sergej Pupykin
spupykin at archlinux.org
Wed Oct 26 17:10:51 UTC 2016
Date: Wednesday, October 26, 2016 @ 17:10:51
Author: spupykin
Revision: 193719
archrelease: copy trunk to community-i686, community-x86_64
Added:
redis/repos/community-i686/PKGBUILD
(from rev 193718, redis/trunk/PKGBUILD)
redis/repos/community-i686/redis-2.8.11-use-system-jemalloc.patch
(from rev 193718, redis/trunk/redis-2.8.11-use-system-jemalloc.patch)
redis/repos/community-i686/redis.conf-sane-defaults.patch
(from rev 193718, redis/trunk/redis.conf-sane-defaults.patch)
redis/repos/community-i686/redis.install
(from rev 193718, redis/trunk/redis.install)
redis/repos/community-i686/redis.logrotate
(from rev 193718, redis/trunk/redis.logrotate)
redis/repos/community-i686/redis.service
(from rev 193718, redis/trunk/redis.service)
redis/repos/community-x86_64/PKGBUILD
(from rev 193718, redis/trunk/PKGBUILD)
redis/repos/community-x86_64/redis-2.8.11-use-system-jemalloc.patch
(from rev 193718, redis/trunk/redis-2.8.11-use-system-jemalloc.patch)
redis/repos/community-x86_64/redis.conf-sane-defaults.patch
(from rev 193718, redis/trunk/redis.conf-sane-defaults.patch)
redis/repos/community-x86_64/redis.install
(from rev 193718, redis/trunk/redis.install)
redis/repos/community-x86_64/redis.logrotate
(from rev 193718, redis/trunk/redis.logrotate)
redis/repos/community-x86_64/redis.service
(from rev 193718, redis/trunk/redis.service)
Deleted:
redis/repos/community-i686/PKGBUILD
redis/repos/community-i686/redis-2.8.11-use-system-jemalloc.patch
redis/repos/community-i686/redis.conf-sane-defaults.patch
redis/repos/community-i686/redis.install
redis/repos/community-i686/redis.logrotate
redis/repos/community-i686/redis.service
redis/repos/community-x86_64/PKGBUILD
redis/repos/community-x86_64/redis-2.8.11-use-system-jemalloc.patch
redis/repos/community-x86_64/redis.conf-sane-defaults.patch
redis/repos/community-x86_64/redis.install
redis/repos/community-x86_64/redis.logrotate
redis/repos/community-x86_64/redis.service
---------------------------------------------------------+
/PKGBUILD | 102 ++++++++++++++
/redis-2.8.11-use-system-jemalloc.patch | 30 ++++
/redis.conf-sane-defaults.patch | 24 +++
/redis.install | 16 ++
/redis.logrotate | 10 +
/redis.service | 44 ++++++
community-i686/PKGBUILD | 51 -------
community-i686/redis-2.8.11-use-system-jemalloc.patch | 15 --
community-i686/redis.conf-sane-defaults.patch | 12 -
community-i686/redis.install | 8 -
community-i686/redis.logrotate | 5
community-i686/redis.service | 22 ---
community-x86_64/PKGBUILD | 51 -------
community-x86_64/redis-2.8.11-use-system-jemalloc.patch | 15 --
community-x86_64/redis.conf-sane-defaults.patch | 12 -
community-x86_64/redis.install | 8 -
community-x86_64/redis.logrotate | 5
community-x86_64/redis.service | 22 ---
18 files changed, 226 insertions(+), 226 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-i686/PKGBUILD 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
-# Contributor: nofxx <x@<nick>.com>
-
-pkgname=redis
-pkgver=3.2.4
-pkgrel=1
-pkgdesc='Advanced key-value store'
-arch=('i686' 'x86_64')
-url='http://redis.io/'
-license=('BSD')
-depends=('jemalloc' 'grep' 'shadow')
-backup=('etc/redis.conf'
- 'etc/logrotate.d/redis')
-install=redis.install
-source=(http://download.redis.io/releases/redis-$pkgver.tar.gz
- redis.service
- redis.logrotate
- redis.conf-sane-defaults.patch
- redis-2.8.11-use-system-jemalloc.patch)
-md5sums=('2f8b49e8004fbbfc807ca7f5faeabec8'
- 'afa0f4a9000c26c3323e83fe34883e23'
- '9e2d75b7a9dc421122d673fe520ef17f'
- 'bdb0faad84d0931b7ed202a0a7baff84'
- '2ae176578f538e37a67a463258302bc6')
-
-prepare() {
- cd $pkgname-$pkgver
- patch -p1 -i ../redis.conf-sane-defaults.patch
- patch -p1 -i ../redis-2.8.11-use-system-jemalloc.patch
-}
-
-build() {
- make -C $pkgname-$pkgver
-}
-
-package() {
- cd $pkgname-$pkgver
- make PREFIX="$pkgdir"/usr install
-
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/redis/LICENSE
- install -Dm644 redis.conf "$pkgdir"/etc/redis.conf
- install -Dm644 ../redis.service "$pkgdir"/usr/lib/systemd/system/redis.service
-
- # files kept for compatibility with installations made before 2.8.13-2
- install -Dm644 ../redis.logrotate "$pkgdir"/etc/logrotate.d/redis
-
- ln -sf redis-server $pkgdir/usr/bin/redis-sentinel
-}
Copied: redis/repos/community-i686/PKGBUILD (from rev 193718, redis/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
+# Contributor: nofxx <x@<nick>.com>
+
+pkgname=redis
+pkgver=3.2.5
+pkgrel=1
+pkgdesc='Advanced key-value store'
+arch=('i686' 'x86_64')
+url='http://redis.io/'
+license=('BSD')
+depends=('jemalloc' 'grep' 'shadow')
+backup=('etc/redis.conf'
+ 'etc/logrotate.d/redis')
+install=redis.install
+source=(http://download.redis.io/releases/redis-$pkgver.tar.gz
+ redis.service
+ redis.logrotate
+ redis.conf-sane-defaults.patch
+ redis-2.8.11-use-system-jemalloc.patch)
+md5sums=('d3d2b4dd4b2a3e07ee6f63c526b66b08'
+ 'afa0f4a9000c26c3323e83fe34883e23'
+ '9e2d75b7a9dc421122d673fe520ef17f'
+ 'bdb0faad84d0931b7ed202a0a7baff84'
+ '2ae176578f538e37a67a463258302bc6')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../redis.conf-sane-defaults.patch
+# patch -p1 -i ../redis-2.8.11-use-system-jemalloc.patch
+}
+
+build() {
+ make -C $pkgname-$pkgver
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make PREFIX="$pkgdir"/usr install
+
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/redis/LICENSE
+ install -Dm644 redis.conf "$pkgdir"/etc/redis.conf
+ install -Dm644 ../redis.service "$pkgdir"/usr/lib/systemd/system/redis.service
+
+ # files kept for compatibility with installations made before 2.8.13-2
+ install -Dm644 ../redis.logrotate "$pkgdir"/etc/logrotate.d/redis
+
+ ln -sf redis-server $pkgdir/usr/bin/redis-sentinel
+}
Deleted: community-i686/redis-2.8.11-use-system-jemalloc.patch
===================================================================
--- community-i686/redis-2.8.11-use-system-jemalloc.patch 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-i686/redis-2.8.11-use-system-jemalloc.patch 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,15 +0,0 @@
-Index: redis-2.8.11/src/Makefile
-===================================================================
---- redis-2.8.11.orig/src/Makefile
-+++ redis-2.8.11/src/Makefile
-@@ -84,8 +84,8 @@ endif
-
- ifeq ($(MALLOC),jemalloc)
- DEPENDENCY_TARGETS+= jemalloc
-- FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
-- FINAL_LIBS+= ../deps/jemalloc/lib/libjemalloc.a -ldl
-+ FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
-+ FINAL_LIBS+= -ljemalloc -ldl
- endif
-
- REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)
Copied: redis/repos/community-i686/redis-2.8.11-use-system-jemalloc.patch (from rev 193718, redis/trunk/redis-2.8.11-use-system-jemalloc.patch)
===================================================================
--- community-i686/redis-2.8.11-use-system-jemalloc.patch (rev 0)
+++ community-i686/redis-2.8.11-use-system-jemalloc.patch 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,15 @@
+Index: redis-2.8.11/src/Makefile
+===================================================================
+--- redis-2.8.11.orig/src/Makefile
++++ redis-2.8.11/src/Makefile
+@@ -84,8 +84,8 @@ endif
+
+ ifeq ($(MALLOC),jemalloc)
+ DEPENDENCY_TARGETS+= jemalloc
+- FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
+- FINAL_LIBS+= ../deps/jemalloc/lib/libjemalloc.a -ldl
++ FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
++ FINAL_LIBS+= -ljemalloc -ldl
+ endif
+
+ REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)
Deleted: community-i686/redis.conf-sane-defaults.patch
===================================================================
--- community-i686/redis.conf-sane-defaults.patch 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-i686/redis.conf-sane-defaults.patch 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,12 +0,0 @@
-diff -wbBur redis-3.2.1/redis.conf redis-3.2.1.my/redis.conf
---- redis-3.2.1/redis.conf 2016-06-17 16:15:21.000000000 +0300
-+++ redis-3.2.1.my/redis.conf 2016-06-22 18:06:23.687046141 +0300
-@@ -244,7 +244,7 @@
- # The Append Only File will also be created inside this directory.
- #
- # Note that you must specify a directory here, not a file name.
--dir ./
-+dir /var/lib/redis/
-
- ################################# REPLICATION #################################
-
Copied: redis/repos/community-i686/redis.conf-sane-defaults.patch (from rev 193718, redis/trunk/redis.conf-sane-defaults.patch)
===================================================================
--- community-i686/redis.conf-sane-defaults.patch (rev 0)
+++ community-i686/redis.conf-sane-defaults.patch 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,12 @@
+diff -wbBur redis-3.2.1/redis.conf redis-3.2.1.my/redis.conf
+--- redis-3.2.1/redis.conf 2016-06-17 16:15:21.000000000 +0300
++++ redis-3.2.1.my/redis.conf 2016-06-22 18:06:23.687046141 +0300
+@@ -244,7 +244,7 @@
+ # The Append Only File will also be created inside this directory.
+ #
+ # Note that you must specify a directory here, not a file name.
+-dir ./
++dir /var/lib/redis/
+
+ ################################# REPLICATION #################################
+
Deleted: community-i686/redis.install
===================================================================
--- community-i686/redis.install 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-i686/redis.install 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,8 +0,0 @@
-post_install() {
- getent group redis >/dev/null || groupadd --system redis
- getent passwd redis >/dev/null || useradd --system -g redis \
- -d /var/lib/redis -s /bin/false redis
-
- install -dm700 var/lib/redis
- chown redis:redis var/lib/redis
-}
Copied: redis/repos/community-i686/redis.install (from rev 193718, redis/trunk/redis.install)
===================================================================
--- community-i686/redis.install (rev 0)
+++ community-i686/redis.install 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,8 @@
+post_install() {
+ getent group redis >/dev/null || groupadd --system redis
+ getent passwd redis >/dev/null || useradd --system -g redis \
+ -d /var/lib/redis -s /bin/false redis
+
+ install -dm700 var/lib/redis
+ chown redis:redis var/lib/redis
+}
Deleted: community-i686/redis.logrotate
===================================================================
--- community-i686/redis.logrotate 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-i686/redis.logrotate 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,5 +0,0 @@
-/var/log/redis.log {
- notifempty
- copytruncate
- missingok
-}
Copied: redis/repos/community-i686/redis.logrotate (from rev 193718, redis/trunk/redis.logrotate)
===================================================================
--- community-i686/redis.logrotate (rev 0)
+++ community-i686/redis.logrotate 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,5 @@
+/var/log/redis.log {
+ notifempty
+ copytruncate
+ missingok
+}
Deleted: community-i686/redis.service
===================================================================
--- community-i686/redis.service 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-i686/redis.service 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,22 +0,0 @@
-[Unit]
-Description=Advanced key-value store
-After=network.target
-
-[Service]
-Type=simple
-User=redis
-Group=redis
-ExecStart=/usr/bin/redis-server /etc/redis.conf
-ExecStop=/usr/bin/redis-cli shutdown
-CapabilityBoundingSet=
-PrivateTmp=true
-PrivateDevices=true
-ProtectSystem=full
-ProtectHome=true
-NoNewPrivileges=true
-RuntimeDirectory=redis
-RuntimeDirectoryMode=755
-LimitNOFILE=10032
-
-[Install]
-WantedBy=multi-user.target
Copied: redis/repos/community-i686/redis.service (from rev 193718, redis/trunk/redis.service)
===================================================================
--- community-i686/redis.service (rev 0)
+++ community-i686/redis.service 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,22 @@
+[Unit]
+Description=Advanced key-value store
+After=network.target
+
+[Service]
+Type=simple
+User=redis
+Group=redis
+ExecStart=/usr/bin/redis-server /etc/redis.conf
+ExecStop=/usr/bin/redis-cli shutdown
+CapabilityBoundingSet=
+PrivateTmp=true
+PrivateDevices=true
+ProtectSystem=full
+ProtectHome=true
+NoNewPrivileges=true
+RuntimeDirectory=redis
+RuntimeDirectoryMode=755
+LimitNOFILE=10032
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-x86_64/PKGBUILD 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
-# Contributor: nofxx <x@<nick>.com>
-
-pkgname=redis
-pkgver=3.2.4
-pkgrel=1
-pkgdesc='Advanced key-value store'
-arch=('i686' 'x86_64')
-url='http://redis.io/'
-license=('BSD')
-depends=('jemalloc' 'grep' 'shadow')
-backup=('etc/redis.conf'
- 'etc/logrotate.d/redis')
-install=redis.install
-source=(http://download.redis.io/releases/redis-$pkgver.tar.gz
- redis.service
- redis.logrotate
- redis.conf-sane-defaults.patch
- redis-2.8.11-use-system-jemalloc.patch)
-md5sums=('2f8b49e8004fbbfc807ca7f5faeabec8'
- 'afa0f4a9000c26c3323e83fe34883e23'
- '9e2d75b7a9dc421122d673fe520ef17f'
- 'bdb0faad84d0931b7ed202a0a7baff84'
- '2ae176578f538e37a67a463258302bc6')
-
-prepare() {
- cd $pkgname-$pkgver
- patch -p1 -i ../redis.conf-sane-defaults.patch
- patch -p1 -i ../redis-2.8.11-use-system-jemalloc.patch
-}
-
-build() {
- make -C $pkgname-$pkgver
-}
-
-package() {
- cd $pkgname-$pkgver
- make PREFIX="$pkgdir"/usr install
-
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/redis/LICENSE
- install -Dm644 redis.conf "$pkgdir"/etc/redis.conf
- install -Dm644 ../redis.service "$pkgdir"/usr/lib/systemd/system/redis.service
-
- # files kept for compatibility with installations made before 2.8.13-2
- install -Dm644 ../redis.logrotate "$pkgdir"/etc/logrotate.d/redis
-
- ln -sf redis-server $pkgdir/usr/bin/redis-sentinel
-}
Copied: redis/repos/community-x86_64/PKGBUILD (from rev 193718, redis/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
+# Contributor: nofxx <x@<nick>.com>
+
+pkgname=redis
+pkgver=3.2.5
+pkgrel=1
+pkgdesc='Advanced key-value store'
+arch=('i686' 'x86_64')
+url='http://redis.io/'
+license=('BSD')
+depends=('jemalloc' 'grep' 'shadow')
+backup=('etc/redis.conf'
+ 'etc/logrotate.d/redis')
+install=redis.install
+source=(http://download.redis.io/releases/redis-$pkgver.tar.gz
+ redis.service
+ redis.logrotate
+ redis.conf-sane-defaults.patch
+ redis-2.8.11-use-system-jemalloc.patch)
+md5sums=('d3d2b4dd4b2a3e07ee6f63c526b66b08'
+ 'afa0f4a9000c26c3323e83fe34883e23'
+ '9e2d75b7a9dc421122d673fe520ef17f'
+ 'bdb0faad84d0931b7ed202a0a7baff84'
+ '2ae176578f538e37a67a463258302bc6')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../redis.conf-sane-defaults.patch
+# patch -p1 -i ../redis-2.8.11-use-system-jemalloc.patch
+}
+
+build() {
+ make -C $pkgname-$pkgver
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make PREFIX="$pkgdir"/usr install
+
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/redis/LICENSE
+ install -Dm644 redis.conf "$pkgdir"/etc/redis.conf
+ install -Dm644 ../redis.service "$pkgdir"/usr/lib/systemd/system/redis.service
+
+ # files kept for compatibility with installations made before 2.8.13-2
+ install -Dm644 ../redis.logrotate "$pkgdir"/etc/logrotate.d/redis
+
+ ln -sf redis-server $pkgdir/usr/bin/redis-sentinel
+}
Deleted: community-x86_64/redis-2.8.11-use-system-jemalloc.patch
===================================================================
--- community-x86_64/redis-2.8.11-use-system-jemalloc.patch 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-x86_64/redis-2.8.11-use-system-jemalloc.patch 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,15 +0,0 @@
-Index: redis-2.8.11/src/Makefile
-===================================================================
---- redis-2.8.11.orig/src/Makefile
-+++ redis-2.8.11/src/Makefile
-@@ -84,8 +84,8 @@ endif
-
- ifeq ($(MALLOC),jemalloc)
- DEPENDENCY_TARGETS+= jemalloc
-- FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
-- FINAL_LIBS+= ../deps/jemalloc/lib/libjemalloc.a -ldl
-+ FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
-+ FINAL_LIBS+= -ljemalloc -ldl
- endif
-
- REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)
Copied: redis/repos/community-x86_64/redis-2.8.11-use-system-jemalloc.patch (from rev 193718, redis/trunk/redis-2.8.11-use-system-jemalloc.patch)
===================================================================
--- community-x86_64/redis-2.8.11-use-system-jemalloc.patch (rev 0)
+++ community-x86_64/redis-2.8.11-use-system-jemalloc.patch 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,15 @@
+Index: redis-2.8.11/src/Makefile
+===================================================================
+--- redis-2.8.11.orig/src/Makefile
++++ redis-2.8.11/src/Makefile
+@@ -84,8 +84,8 @@ endif
+
+ ifeq ($(MALLOC),jemalloc)
+ DEPENDENCY_TARGETS+= jemalloc
+- FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
+- FINAL_LIBS+= ../deps/jemalloc/lib/libjemalloc.a -ldl
++ FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
++ FINAL_LIBS+= -ljemalloc -ldl
+ endif
+
+ REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)
Deleted: community-x86_64/redis.conf-sane-defaults.patch
===================================================================
--- community-x86_64/redis.conf-sane-defaults.patch 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-x86_64/redis.conf-sane-defaults.patch 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,12 +0,0 @@
-diff -wbBur redis-3.2.1/redis.conf redis-3.2.1.my/redis.conf
---- redis-3.2.1/redis.conf 2016-06-17 16:15:21.000000000 +0300
-+++ redis-3.2.1.my/redis.conf 2016-06-22 18:06:23.687046141 +0300
-@@ -244,7 +244,7 @@
- # The Append Only File will also be created inside this directory.
- #
- # Note that you must specify a directory here, not a file name.
--dir ./
-+dir /var/lib/redis/
-
- ################################# REPLICATION #################################
-
Copied: redis/repos/community-x86_64/redis.conf-sane-defaults.patch (from rev 193718, redis/trunk/redis.conf-sane-defaults.patch)
===================================================================
--- community-x86_64/redis.conf-sane-defaults.patch (rev 0)
+++ community-x86_64/redis.conf-sane-defaults.patch 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,12 @@
+diff -wbBur redis-3.2.1/redis.conf redis-3.2.1.my/redis.conf
+--- redis-3.2.1/redis.conf 2016-06-17 16:15:21.000000000 +0300
++++ redis-3.2.1.my/redis.conf 2016-06-22 18:06:23.687046141 +0300
+@@ -244,7 +244,7 @@
+ # The Append Only File will also be created inside this directory.
+ #
+ # Note that you must specify a directory here, not a file name.
+-dir ./
++dir /var/lib/redis/
+
+ ################################# REPLICATION #################################
+
Deleted: community-x86_64/redis.install
===================================================================
--- community-x86_64/redis.install 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-x86_64/redis.install 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,8 +0,0 @@
-post_install() {
- getent group redis >/dev/null || groupadd --system redis
- getent passwd redis >/dev/null || useradd --system -g redis \
- -d /var/lib/redis -s /bin/false redis
-
- install -dm700 var/lib/redis
- chown redis:redis var/lib/redis
-}
Copied: redis/repos/community-x86_64/redis.install (from rev 193718, redis/trunk/redis.install)
===================================================================
--- community-x86_64/redis.install (rev 0)
+++ community-x86_64/redis.install 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,8 @@
+post_install() {
+ getent group redis >/dev/null || groupadd --system redis
+ getent passwd redis >/dev/null || useradd --system -g redis \
+ -d /var/lib/redis -s /bin/false redis
+
+ install -dm700 var/lib/redis
+ chown redis:redis var/lib/redis
+}
Deleted: community-x86_64/redis.logrotate
===================================================================
--- community-x86_64/redis.logrotate 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-x86_64/redis.logrotate 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,5 +0,0 @@
-/var/log/redis.log {
- notifempty
- copytruncate
- missingok
-}
Copied: redis/repos/community-x86_64/redis.logrotate (from rev 193718, redis/trunk/redis.logrotate)
===================================================================
--- community-x86_64/redis.logrotate (rev 0)
+++ community-x86_64/redis.logrotate 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,5 @@
+/var/log/redis.log {
+ notifempty
+ copytruncate
+ missingok
+}
Deleted: community-x86_64/redis.service
===================================================================
--- community-x86_64/redis.service 2016-10-26 17:10:21 UTC (rev 193718)
+++ community-x86_64/redis.service 2016-10-26 17:10:51 UTC (rev 193719)
@@ -1,22 +0,0 @@
-[Unit]
-Description=Advanced key-value store
-After=network.target
-
-[Service]
-Type=simple
-User=redis
-Group=redis
-ExecStart=/usr/bin/redis-server /etc/redis.conf
-ExecStop=/usr/bin/redis-cli shutdown
-CapabilityBoundingSet=
-PrivateTmp=true
-PrivateDevices=true
-ProtectSystem=full
-ProtectHome=true
-NoNewPrivileges=true
-RuntimeDirectory=redis
-RuntimeDirectoryMode=755
-LimitNOFILE=10032
-
-[Install]
-WantedBy=multi-user.target
Copied: redis/repos/community-x86_64/redis.service (from rev 193718, redis/trunk/redis.service)
===================================================================
--- community-x86_64/redis.service (rev 0)
+++ community-x86_64/redis.service 2016-10-26 17:10:51 UTC (rev 193719)
@@ -0,0 +1,22 @@
+[Unit]
+Description=Advanced key-value store
+After=network.target
+
+[Service]
+Type=simple
+User=redis
+Group=redis
+ExecStart=/usr/bin/redis-server /etc/redis.conf
+ExecStop=/usr/bin/redis-cli shutdown
+CapabilityBoundingSet=
+PrivateTmp=true
+PrivateDevices=true
+ProtectSystem=full
+ProtectHome=true
+NoNewPrivileges=true
+RuntimeDirectory=redis
+RuntimeDirectoryMode=755
+LimitNOFILE=10032
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list