[arch-commits] Commit in redis/repos/community-x86_64 (14 files)

Andrew Crerar andrewsc at archlinux.org
Wed Jan 24 22:37:02 UTC 2018


    Date: Wednesday, January 24, 2018 @ 22:37:01
  Author: andrewsc
Revision: 286709

archrelease: copy trunk to community-x86_64

Added:
  redis/repos/community-x86_64/PKGBUILD
    (from rev 286708, redis/trunk/PKGBUILD)
  redis/repos/community-x86_64/redis-2.8.11-use-system-jemalloc.patch
    (from rev 286708, redis/trunk/redis-2.8.11-use-system-jemalloc.patch)
  redis/repos/community-x86_64/redis.conf-sane-defaults.patch
    (from rev 286708, redis/trunk/redis.conf-sane-defaults.patch)
  redis/repos/community-x86_64/redis.logrotate
    (from rev 286708, redis/trunk/redis.logrotate)
  redis/repos/community-x86_64/redis.service
    (from rev 286708, redis/trunk/redis.service)
  redis/repos/community-x86_64/redis.sysusers
    (from rev 286708, redis/trunk/redis.sysusers)
  redis/repos/community-x86_64/redis.tmpfiles
    (from rev 286708, redis/trunk/redis.tmpfiles)
Deleted:
  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.logrotate
  redis/repos/community-x86_64/redis.service
  redis/repos/community-x86_64/redis.sysusers
  redis/repos/community-x86_64/redis.tmpfiles

----------------------------------------+
 PKGBUILD                               |  110 +++++++++++++++----------------
 redis-2.8.11-use-system-jemalloc.patch |   30 ++++----
 redis.conf-sane-defaults.patch         |   24 +++---
 redis.logrotate                        |   10 +-
 redis.service                          |   44 ++++++------
 redis.sysusers                         |    2 
 redis.tmpfiles                         |    2 
 7 files changed, 111 insertions(+), 111 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-24 22:36:15 UTC (rev 286708)
+++ PKGBUILD	2018-01-24 22:37:01 UTC (rev 286709)
@@ -1,55 +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=4.0.6
-pkgrel=1
-pkgdesc='Advanced key-value store'
-arch=('x86_64')
-url='http://redis.io/'
-license=('BSD')
-depends=('jemalloc' 'grep' 'shadow')
-backup=('etc/redis.conf'
-        'etc/logrotate.d/redis')
-source=(http://download.redis.io/releases/redis-$pkgver.tar.gz
-        redis.service redis.sysusers redis.tmpfiles
-        redis.logrotate
-        redis.conf-sane-defaults.patch
-        redis-2.8.11-use-system-jemalloc.patch)
-sha256sums=('769b5d69ec237c3e0481a262ff5306ce30db9b5c8ceb14d1023491ca7be5f6fa'
-            'cceff2a097d9041a0c73caeb5c33e849af783c6a12db866f24b8417ac3ac9d11'
-            '78f6ab83408956a9afaf28689128f382545c901f172cd5b670724c73f6896d5d'
-            '09dcc8522899dc3d1e9362989aa4acb5a3996d700b9a44f22ebb5b9667b88183'
-            '8b4c2caabb4f54157ad91ca472423112b1803685ad18ed11b60463d78494df13'
-            '22cd3b9f7e9b17647a615d009b50603e7978b0af26c3e2c53560e57573b996ed'
-            '9720468ede366893c32f34616c6d8670e790309757ae0abc0f49402089a7a672')
-
-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
-
-  install -Dm644 "$srcdir"/redis.sysusers "$pkgdir"/usr/lib/sysusers.d/redis.conf
-  install -Dm644 "$srcdir"/redis.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/redis.conf
-}

Copied: redis/repos/community-x86_64/PKGBUILD (from rev 286708, redis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-24 22:37:01 UTC (rev 286709)
@@ -0,0 +1,55 @@
+# $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=4.0.7
+pkgrel=1
+pkgdesc='Advanced key-value store'
+arch=('x86_64')
+url='http://redis.io/'
+license=('BSD')
+depends=('jemalloc' 'grep' 'shadow')
+backup=('etc/redis.conf'
+        'etc/logrotate.d/redis')
+source=(http://download.redis.io/releases/redis-$pkgver.tar.gz
+        redis.service redis.sysusers redis.tmpfiles
+        redis.logrotate
+        redis.conf-sane-defaults.patch
+        redis-2.8.11-use-system-jemalloc.patch)
+sha512sums=('6f317d9e76224b2a2b047dc8f56b126ea85ee5c6112c4c6238cb5cdfa3a83756bff3a82b106b00d1124a93d210a900d836587b8d9563916f19274de0e84c4c6b'
+            '86018ddd6625f918295e10f9478da361f73a6dbd6c6b8e4b974201669bcccbd4dba443bb0844be68f6ab8d5a1762b32af04c5e12df53b1f0ea812b790d9f4e37'
+            '2227dfb41bf5112f91716f011862ba5fade220aea3b6a8134a5a05ee3af6d1cca05b08d793a486be97df98780bf43ac5dc4e5e9989ae0c5cd4e1eedb6cee5d71'
+            '68f7bc12e3b95cb199b71255c6aa5bfaa431fbabbc7d2308e54347c0d35e6d8091c4a79a5a6b56494ab3a294f9389e3ec63902931920862f60b1ffe77222eeeb'
+            'df11492df0458b224f75fff31475d39b85116cba6deb06d80d0fd8c467d221db51a2a8f5fc5d2e3e8239c0718e1cf5dc12e99cac9019cb99d3f11835ad00aa5d'
+            'fe9748e0ab326e429f4183016b5aeb772199cd4688371c320811c25f8de2fcb7bc34955b359612c1a287e83b4afaba3b7fd6a6567fad66c04e8482cc802f3b50'
+            'ab2c1c6b650e47312f55b433139c00d1781e4a8f8d8ec3310fac1aff7e1b45e9c1cb843eff205ef8e2a9f7251944ee37347a8a486ecb017f5da6b5e3a23dc75d')
+
+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
+
+  install -Dm644 "$srcdir"/redis.sysusers "$pkgdir"/usr/lib/sysusers.d/redis.conf
+  install -Dm644 "$srcdir"/redis.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/redis.conf
+}

Deleted: redis-2.8.11-use-system-jemalloc.patch
===================================================================
--- redis-2.8.11-use-system-jemalloc.patch	2018-01-24 22:36:15 UTC (rev 286708)
+++ redis-2.8.11-use-system-jemalloc.patch	2018-01-24 22:37:01 UTC (rev 286709)
@@ -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
-+	FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
-+	FINAL_LIBS+= -ljemalloc
- endif
- 
- REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)

Copied: redis/repos/community-x86_64/redis-2.8.11-use-system-jemalloc.patch (from rev 286708, redis/trunk/redis-2.8.11-use-system-jemalloc.patch)
===================================================================
--- redis-2.8.11-use-system-jemalloc.patch	                        (rev 0)
+++ redis-2.8.11-use-system-jemalloc.patch	2018-01-24 22:37:01 UTC (rev 286709)
@@ -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
++	FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc
++	FINAL_LIBS+= -ljemalloc
+ endif
+ 
+ REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)

Deleted: redis.conf-sane-defaults.patch
===================================================================
--- redis.conf-sane-defaults.patch	2018-01-24 22:36:15 UTC (rev 286708)
+++ redis.conf-sane-defaults.patch	2018-01-24 22:37:01 UTC (rev 286709)
@@ -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 286708, redis/trunk/redis.conf-sane-defaults.patch)
===================================================================
--- redis.conf-sane-defaults.patch	                        (rev 0)
+++ redis.conf-sane-defaults.patch	2018-01-24 22:37:01 UTC (rev 286709)
@@ -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: redis.logrotate
===================================================================
--- redis.logrotate	2018-01-24 22:36:15 UTC (rev 286708)
+++ redis.logrotate	2018-01-24 22:37:01 UTC (rev 286709)
@@ -1,5 +0,0 @@
-/var/log/redis.log {
-   notifempty
-   copytruncate
-   missingok
-}

Copied: redis/repos/community-x86_64/redis.logrotate (from rev 286708, redis/trunk/redis.logrotate)
===================================================================
--- redis.logrotate	                        (rev 0)
+++ redis.logrotate	2018-01-24 22:37:01 UTC (rev 286709)
@@ -0,0 +1,5 @@
+/var/log/redis.log {
+   notifempty
+   copytruncate
+   missingok
+}

Deleted: redis.service
===================================================================
--- redis.service	2018-01-24 22:36:15 UTC (rev 286708)
+++ redis.service	2018-01-24 22:37:01 UTC (rev 286709)
@@ -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 286708, redis/trunk/redis.service)
===================================================================
--- redis.service	                        (rev 0)
+++ redis.service	2018-01-24 22:37:01 UTC (rev 286709)
@@ -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: redis.sysusers
===================================================================
--- redis.sysusers	2018-01-24 22:36:15 UTC (rev 286708)
+++ redis.sysusers	2018-01-24 22:37:01 UTC (rev 286709)
@@ -1 +0,0 @@
-u redis - "Redis in-memory data structure store" /var/lib/redis

Copied: redis/repos/community-x86_64/redis.sysusers (from rev 286708, redis/trunk/redis.sysusers)
===================================================================
--- redis.sysusers	                        (rev 0)
+++ redis.sysusers	2018-01-24 22:37:01 UTC (rev 286709)
@@ -0,0 +1 @@
+u redis - "Redis in-memory data structure store" /var/lib/redis

Deleted: redis.tmpfiles
===================================================================
--- redis.tmpfiles	2018-01-24 22:36:15 UTC (rev 286708)
+++ redis.tmpfiles	2018-01-24 22:37:01 UTC (rev 286709)
@@ -1 +0,0 @@
-d /var/lib/redis 0700 redis redis

Copied: redis/repos/community-x86_64/redis.tmpfiles (from rev 286708, redis/trunk/redis.tmpfiles)
===================================================================
--- redis.tmpfiles	                        (rev 0)
+++ redis.tmpfiles	2018-01-24 22:37:01 UTC (rev 286709)
@@ -0,0 +1 @@
+d /var/lib/redis 0700 redis redis



More information about the arch-commits mailing list