Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/redis/
Date: Thu, 26 Dec 2019 21:47:21
Message-Id: 1577286842.47bdb48493752c1c988ddd7b21195c6bfef3428a.robbat2@gentoo
1 commit: 47bdb48493752c1c988ddd7b21195c6bfef3428a
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Tue Nov 12 13:01:49 2019 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 25 15:14:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47bdb484
7
8 dev-db/redis: drop old
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.17
11 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
12
13 dev-db/redis/Manifest | 7 +-
14 dev-db/redis/redis-4.0.10.ebuild | 142 -----------------------------------
15 dev-db/redis/redis-4.0.11.ebuild | 142 -----------------------------------
16 dev-db/redis/redis-4.0.12.ebuild | 142 -----------------------------------
17 dev-db/redis/redis-4.0.13.ebuild | 142 -----------------------------------
18 dev-db/redis/redis-5.0.3.ebuild | 153 --------------------------------------
19 dev-db/redis/redis-5.0.4.ebuild | 156 ---------------------------------------
20 7 files changed, 1 insertion(+), 883 deletions(-)
21
22 diff --git a/dev-db/redis/Manifest b/dev-db/redis/Manifest
23 index 8d23c64f950..ca3b67623d6 100644
24 --- a/dev-db/redis/Manifest
25 +++ b/dev-db/redis/Manifest
26 @@ -1,9 +1,4 @@
27 -DIST redis-4.0.10.tar.gz 1738465 BLAKE2B 572cbb3d2d5d7209f81ebd53ee68f40b404d0e4623bd1864845bf1f47135d4e097a6974d346ffd845d848c39ace6d3fb9f1a347e0c9d16d06d22aed7a8b3ae7b SHA512 0978dabaf637e61889d492fd3629acd58ca8fb0c0088cdd7036ffd1a7ed3f018c107039d4c96bd61d0b7d35757df2366d051f57d77ffb5642aca0e5651b30603
28 -DIST redis-4.0.11.tar.gz 1739656 BLAKE2B d94f380ad1600e58942cc5b27b512984396cdbb06ea6e947c7d7ce5b8ecdb8a2a56c6356af2caa82a96887a610716c9575b78eb2f46da89efb940febc1c30f22 SHA512 f0054af9ca2143731a397b2b21285387707b7f40d9326ba15225feb1a2ff470fab5194308342f63bbe1081f84c7e9ef19543c5a8e3eae49e17bfc515c64201f0
29 -DIST redis-4.0.12.tar.gz 1740544 BLAKE2B 620dba8b81fc76a46880c3a4a7ee9d9835e7b19e6d321598a717892f6f03fa805db79847442744a2af8f77ae403b6e1df02299da9a0835f6092a74e3804dde48 SHA512 d19020f7ebed9ad5d04c6e1cb7e2a49dd1e226fe17d86e860df11bcb798c61c09f6f9fc3572a7ee32232ac34ec5eb1d6189f8139b5991bd87297c5243c3b54d2
30 -DIST redis-4.0.13.tar.gz 1740715 BLAKE2B 73d129906b2a2ceb91d1144f8c8aeb970221f7ef4d1d0f0bac0aada6976ba6b2b4fdbe7cca29e350e8258986ee2607526896fcfb90536596a5fd556c6186faa6 SHA512 c220420bf6cb2781a3fb9e002188b1663743c89c262fd5aff02e585c969b56e7691fe1073e7427e6d38cf7b5a096f86b83af84cfa6b01a5bdf56048789e0bb70
31 DIST redis-4.0.14.tar.gz 1740967 BLAKE2B d9122565ba890416d8936db936bc1410af840cc7617b485b94428891806d5889f5f02c2e722a7e68fe6c0b2690c1ef3479cc8837c55fb154f2b43af9986647a4 SHA512 7730a4083962046f8fee674a8ce95e1d3e8c8dcc2d64a65491dc3b851413b2d745942be7a94ee77074aa530da5f3d458c4e7388d7950a8495d8ee9f4862b7e06
32 DIST redis-4.0.2.tar.gz 1713990 BLAKE2B 307ab76b336f7520e14a23a1577c46e1b63cc5a5a5b6afb725cb87934fbcb62107085671fd1072d1142ce8e92f069e6b6064c9f4468335bc6997897c8f494471 SHA512 1458909c6fc16cff8ca5e6dddff23b988ee1e447f2d0bccf5941553b22bab6abb851732b3fe53dafb8a69d6c0939c3ce7e0686d51e03be720fb018c038d3b1b4
33 -DIST redis-5.0.3.tar.gz 1959445 BLAKE2B d1c3247d77aa3b1076d0e1a0dcce74dcfb14a0ad3776603ef8154d7868f9f3efcf2138cb08581eee1974e9d76658d07456d6e9795391321b1f1f8bca7f9d40f5 SHA512 5915b14502438bf7c3f56e38640dda54b095bd87501aefa6e386c9cef48e8d1e625e980643d128d91b8cab26dd51d5d99ca66fa638dc04e5ba315fe43f11f58b
34 -DIST redis-5.0.4.tar.gz 1966337 BLAKE2B 9195e970d7c987c2540da3a89f4fc33620f6a45ed243fa24715fe20f174d5e569e5ff940834176b3f26b13d9cca95f1d2914d65ad71f295787553c6bb8552089 SHA512 336929c81a476e2a23a64f867823d70c3aab66fb0098eef2e61630be6522ff2f6af680169ffcae35d559758b2c6b56f88c5a953a538291fea886449cba33b8ad
35 DIST redis-5.0.5.tar.gz 1975750 BLAKE2B 3a0463685ae30f9d38e96d7324ae624474f02311e22e186460834920babc35ff343d84e8cb78a2cee0d45d9ba1c01944c783c88892b6580d83bc1cdec64a3e94 SHA512 78215ec02b7184e05788c7a368146ea53095a877a0e09174b4c9f175aeb9ba9174023c19e33bf62e4513b848e1841538d398e7c0a651c5c947255c1691cb4586
36 +DIST redis-5.0.7.tar.gz 1984203 BLAKE2B a4e65784ae5d673833d1a6df73800d95ca4d8db7ec045c166027d0c372291e2f5fa2ccc4fe8d4a081b7a967c154fcf03d4b097c5d7b05755a52b465e441ad7ee SHA512 75c1d4bcca3e28d80f6b6942f0153ff33538d706339c69bddd2646c36f88b901c77dde09fba5629ba90ace00077e45d37b0a822a863f9f737ef9a79eb7093d9d
37
38 diff --git a/dev-db/redis/redis-4.0.10.ebuild b/dev-db/redis/redis-4.0.10.ebuild
39 deleted file mode 100644
40 index be27d0c369e..00000000000
41 --- a/dev-db/redis/redis-4.0.10.ebuild
42 +++ /dev/null
43 @@ -1,142 +0,0 @@
44 -# Copyright 1999-2019 Gentoo Authors
45 -# Distributed under the terms of the GNU General Public License v2
46 -
47 -EAPI=6
48 -
49 -inherit autotools eutils flag-o-matic systemd toolchain-funcs user
50 -
51 -DESCRIPTION="A persistent caching system, key-value and data structures database"
52 -HOMEPAGE="https://redis.io"
53 -SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
54 -
55 -LICENSE="BSD"
56 -KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
57 -IUSE="+jemalloc tcmalloc luajit test"
58 -RESTRICT="!test? ( test )"
59 -SLOT="0"
60 -
61 -# Redis does NOT build with Lua 5.2 or newer at this time.
62 -# This should link correctly with both unslotted & slotted Lua, without
63 -# changes.
64 -RDEPEND="
65 - luajit? ( dev-lang/luajit:2 )
66 - !luajit? ( || ( dev-lang/lua:5.1 =dev-lang/lua-5.1*:0 ) )
67 - tcmalloc? ( dev-util/google-perftools )
68 - jemalloc? ( >=dev-libs/jemalloc-3.2 )"
69 -
70 -DEPEND="
71 - ${RDEPEND}
72 - virtual/pkgconfig
73 - >=sys-devel/autoconf-2.63
74 - test? ( dev-lang/tcl:0= )"
75 -
76 -REQUIRED_USE="?? ( tcmalloc jemalloc )"
77 -
78 -S="${WORKDIR}/${PN}-${PV/_/-}"
79 -
80 -pkg_setup() {
81 - enewgroup redis 75
82 - enewuser redis 75 -1 /var/lib/redis redis
83 -}
84 -
85 -src_prepare() {
86 - eapply \
87 - "${FILESDIR}"/${PN}-3.2.3-config.patch \
88 - "${FILESDIR}"/${PN}-4.0.1-shared.patch \
89 - "${FILESDIR}"/${PN}-4.0.1-sharedlua.patch \
90 - "${FILESDIR}"/${PN}-sentinel-4.0.6-config.patch
91 - eapply_user
92 -
93 - # Copy lua modules into build dir
94 - cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
95 - cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
96 - # Append cflag for lua_cjson
97 - # https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
98 - append-cflags "-DENABLE_CJSON_GLOBAL"
99 -
100 - # now we will rewrite present Makefiles
101 - local makefiles="" MKF
102 - for MKF in $(find -name 'Makefile' | cut -b 3-); do
103 - mv "${MKF}" "${MKF}.in"
104 - sed -i -e 's:$(CC):@CC@:g' \
105 - -e 's:$(CFLAGS):@AM_CFLAGS@:g' \
106 - -e 's: $(DEBUG)::g' \
107 - -e 's:$(OBJARCH)::g' \
108 - -e 's:ARCH:TARCH:g' \
109 - -e '/^CCOPT=/s:$: $(LDFLAGS):g' \
110 - "${MKF}.in" \
111 - || die "Sed failed for ${MKF}"
112 - makefiles+=" ${MKF}"
113 - done
114 - # autodetection of compiler and settings; generates the modified Makefiles
115 - cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
116 -
117 - # Use the correct pkgconfig name for Lua
118 - has_version 'dev-lang/lua:5.1' \
119 - && LUAPKGCONFIG=lua5.1 \
120 - || LUAPKGCONFIG=lua
121 - sed -i \
122 - -e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
123 - -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
124 - -e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${LUAPKGCONFIG},g" \
125 - configure.ac || die "Sed failed for configure.ac"
126 - eautoreconf
127 -}
128 -
129 -src_configure() {
130 - econf \
131 - $(use_with luajit)
132 -
133 - # Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
134 - # also, don't define ANSI/c99 for lua twice
135 - sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
136 -}
137 -
138 -src_compile() {
139 - tc-export CC AR RANLIB
140 -
141 - local myconf=""
142 -
143 - if use tcmalloc; then
144 - myconf="${myconf} USE_TCMALLOC=yes"
145 - elif use jemalloc; then
146 - myconf="${myconf} JEMALLOC_SHARED=yes"
147 - else
148 - myconf="${myconf} MALLOC=yes"
149 - fi
150 -
151 - emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
152 -}
153 -
154 -src_install() {
155 - insinto /etc/
156 - doins redis.conf sentinel.conf
157 - use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
158 - fperms 0644 /etc/{redis,sentinel}.conf
159 -
160 - newconfd "${FILESDIR}/redis.confd-r1" redis
161 - newinitd "${FILESDIR}/redis.initd-5" redis
162 -
163 - systemd_newunit "${FILESDIR}/redis.service-2" redis.service
164 - systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
165 -
166 - newconfd "${FILESDIR}/redis-sentinel.confd" redis-sentinel
167 - newinitd "${FILESDIR}/redis-sentinel.initd" redis-sentinel
168 -
169 - insinto /etc/logrotate.d/
170 - newins "${FILESDIR}/${PN}.logrotate" ${PN}
171 -
172 - dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
173 -
174 - dobin src/redis-cli
175 - dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
176 - fperms 0750 /usr/sbin/redis-benchmark
177 - dosym redis-server /usr/sbin/redis-sentinel
178 -
179 - if use prefix; then
180 - diropts -m0750
181 - else
182 - diropts -m0750 -o redis -g redis
183 - fi
184 - keepdir /var/{log,lib}/redis
185 -}
186
187 diff --git a/dev-db/redis/redis-4.0.11.ebuild b/dev-db/redis/redis-4.0.11.ebuild
188 deleted file mode 100644
189 index ee922018685..00000000000
190 --- a/dev-db/redis/redis-4.0.11.ebuild
191 +++ /dev/null
192 @@ -1,142 +0,0 @@
193 -# Copyright 1999-2019 Gentoo Authors
194 -# Distributed under the terms of the GNU General Public License v2
195 -
196 -EAPI=6
197 -
198 -inherit autotools eutils flag-o-matic systemd toolchain-funcs user
199 -
200 -DESCRIPTION="A persistent caching system, key-value and data structures database"
201 -HOMEPAGE="https://redis.io"
202 -SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
203 -
204 -LICENSE="BSD"
205 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
206 -IUSE="+jemalloc tcmalloc luajit test"
207 -RESTRICT="!test? ( test )"
208 -SLOT="0"
209 -
210 -# Redis does NOT build with Lua 5.2 or newer at this time.
211 -# This should link correctly with both unslotted & slotted Lua, without
212 -# changes.
213 -RDEPEND="
214 - luajit? ( dev-lang/luajit:2 )
215 - !luajit? ( || ( dev-lang/lua:5.1 =dev-lang/lua-5.1*:0 ) )
216 - tcmalloc? ( dev-util/google-perftools )
217 - jemalloc? ( >=dev-libs/jemalloc-3.2 )"
218 -
219 -DEPEND="
220 - ${RDEPEND}
221 - virtual/pkgconfig
222 - >=sys-devel/autoconf-2.63
223 - test? ( dev-lang/tcl:0= )"
224 -
225 -REQUIRED_USE="?? ( tcmalloc jemalloc )"
226 -
227 -S="${WORKDIR}/${PN}-${PV/_/-}"
228 -
229 -pkg_setup() {
230 - enewgroup redis 75
231 - enewuser redis 75 -1 /var/lib/redis redis
232 -}
233 -
234 -src_prepare() {
235 - eapply \
236 - "${FILESDIR}"/${PN}-3.2.3-config.patch \
237 - "${FILESDIR}"/${PN}-4.0.1-shared.patch \
238 - "${FILESDIR}"/${PN}-4.0.1-sharedlua.patch \
239 - "${FILESDIR}"/${PN}-sentinel-4.0.6-config.patch
240 - eapply_user
241 -
242 - # Copy lua modules into build dir
243 - cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
244 - cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
245 - # Append cflag for lua_cjson
246 - # https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
247 - append-cflags "-DENABLE_CJSON_GLOBAL"
248 -
249 - # now we will rewrite present Makefiles
250 - local makefiles="" MKF
251 - for MKF in $(find -name 'Makefile' | cut -b 3-); do
252 - mv "${MKF}" "${MKF}.in"
253 - sed -i -e 's:$(CC):@CC@:g' \
254 - -e 's:$(CFLAGS):@AM_CFLAGS@:g' \
255 - -e 's: $(DEBUG)::g' \
256 - -e 's:$(OBJARCH)::g' \
257 - -e 's:ARCH:TARCH:g' \
258 - -e '/^CCOPT=/s:$: $(LDFLAGS):g' \
259 - "${MKF}.in" \
260 - || die "Sed failed for ${MKF}"
261 - makefiles+=" ${MKF}"
262 - done
263 - # autodetection of compiler and settings; generates the modified Makefiles
264 - cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
265 -
266 - # Use the correct pkgconfig name for Lua
267 - has_version 'dev-lang/lua:5.1' \
268 - && LUAPKGCONFIG=lua5.1 \
269 - || LUAPKGCONFIG=lua
270 - sed -i \
271 - -e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
272 - -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
273 - -e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${LUAPKGCONFIG},g" \
274 - configure.ac || die "Sed failed for configure.ac"
275 - eautoreconf
276 -}
277 -
278 -src_configure() {
279 - econf \
280 - $(use_with luajit)
281 -
282 - # Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
283 - # also, don't define ANSI/c99 for lua twice
284 - sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
285 -}
286 -
287 -src_compile() {
288 - tc-export CC AR RANLIB
289 -
290 - local myconf=""
291 -
292 - if use tcmalloc; then
293 - myconf="${myconf} USE_TCMALLOC=yes"
294 - elif use jemalloc; then
295 - myconf="${myconf} JEMALLOC_SHARED=yes"
296 - else
297 - myconf="${myconf} MALLOC=yes"
298 - fi
299 -
300 - emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
301 -}
302 -
303 -src_install() {
304 - insinto /etc/
305 - doins redis.conf sentinel.conf
306 - use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
307 - fperms 0644 /etc/{redis,sentinel}.conf
308 -
309 - newconfd "${FILESDIR}/redis.confd-r1" redis
310 - newinitd "${FILESDIR}/redis.initd-5" redis
311 -
312 - systemd_newunit "${FILESDIR}/redis.service-2" redis.service
313 - systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
314 -
315 - newconfd "${FILESDIR}/redis-sentinel.confd" redis-sentinel
316 - newinitd "${FILESDIR}/redis-sentinel.initd" redis-sentinel
317 -
318 - insinto /etc/logrotate.d/
319 - newins "${FILESDIR}/${PN}.logrotate" ${PN}
320 -
321 - dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
322 -
323 - dobin src/redis-cli
324 - dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
325 - fperms 0750 /usr/sbin/redis-benchmark
326 - dosym redis-server /usr/sbin/redis-sentinel
327 -
328 - if use prefix; then
329 - diropts -m0750
330 - else
331 - diropts -m0750 -o redis -g redis
332 - fi
333 - keepdir /var/{log,lib}/redis
334 -}
335
336 diff --git a/dev-db/redis/redis-4.0.12.ebuild b/dev-db/redis/redis-4.0.12.ebuild
337 deleted file mode 100644
338 index ee922018685..00000000000
339 --- a/dev-db/redis/redis-4.0.12.ebuild
340 +++ /dev/null
341 @@ -1,142 +0,0 @@
342 -# Copyright 1999-2019 Gentoo Authors
343 -# Distributed under the terms of the GNU General Public License v2
344 -
345 -EAPI=6
346 -
347 -inherit autotools eutils flag-o-matic systemd toolchain-funcs user
348 -
349 -DESCRIPTION="A persistent caching system, key-value and data structures database"
350 -HOMEPAGE="https://redis.io"
351 -SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
352 -
353 -LICENSE="BSD"
354 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
355 -IUSE="+jemalloc tcmalloc luajit test"
356 -RESTRICT="!test? ( test )"
357 -SLOT="0"
358 -
359 -# Redis does NOT build with Lua 5.2 or newer at this time.
360 -# This should link correctly with both unslotted & slotted Lua, without
361 -# changes.
362 -RDEPEND="
363 - luajit? ( dev-lang/luajit:2 )
364 - !luajit? ( || ( dev-lang/lua:5.1 =dev-lang/lua-5.1*:0 ) )
365 - tcmalloc? ( dev-util/google-perftools )
366 - jemalloc? ( >=dev-libs/jemalloc-3.2 )"
367 -
368 -DEPEND="
369 - ${RDEPEND}
370 - virtual/pkgconfig
371 - >=sys-devel/autoconf-2.63
372 - test? ( dev-lang/tcl:0= )"
373 -
374 -REQUIRED_USE="?? ( tcmalloc jemalloc )"
375 -
376 -S="${WORKDIR}/${PN}-${PV/_/-}"
377 -
378 -pkg_setup() {
379 - enewgroup redis 75
380 - enewuser redis 75 -1 /var/lib/redis redis
381 -}
382 -
383 -src_prepare() {
384 - eapply \
385 - "${FILESDIR}"/${PN}-3.2.3-config.patch \
386 - "${FILESDIR}"/${PN}-4.0.1-shared.patch \
387 - "${FILESDIR}"/${PN}-4.0.1-sharedlua.patch \
388 - "${FILESDIR}"/${PN}-sentinel-4.0.6-config.patch
389 - eapply_user
390 -
391 - # Copy lua modules into build dir
392 - cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
393 - cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
394 - # Append cflag for lua_cjson
395 - # https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
396 - append-cflags "-DENABLE_CJSON_GLOBAL"
397 -
398 - # now we will rewrite present Makefiles
399 - local makefiles="" MKF
400 - for MKF in $(find -name 'Makefile' | cut -b 3-); do
401 - mv "${MKF}" "${MKF}.in"
402 - sed -i -e 's:$(CC):@CC@:g' \
403 - -e 's:$(CFLAGS):@AM_CFLAGS@:g' \
404 - -e 's: $(DEBUG)::g' \
405 - -e 's:$(OBJARCH)::g' \
406 - -e 's:ARCH:TARCH:g' \
407 - -e '/^CCOPT=/s:$: $(LDFLAGS):g' \
408 - "${MKF}.in" \
409 - || die "Sed failed for ${MKF}"
410 - makefiles+=" ${MKF}"
411 - done
412 - # autodetection of compiler and settings; generates the modified Makefiles
413 - cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
414 -
415 - # Use the correct pkgconfig name for Lua
416 - has_version 'dev-lang/lua:5.1' \
417 - && LUAPKGCONFIG=lua5.1 \
418 - || LUAPKGCONFIG=lua
419 - sed -i \
420 - -e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
421 - -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
422 - -e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${LUAPKGCONFIG},g" \
423 - configure.ac || die "Sed failed for configure.ac"
424 - eautoreconf
425 -}
426 -
427 -src_configure() {
428 - econf \
429 - $(use_with luajit)
430 -
431 - # Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
432 - # also, don't define ANSI/c99 for lua twice
433 - sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
434 -}
435 -
436 -src_compile() {
437 - tc-export CC AR RANLIB
438 -
439 - local myconf=""
440 -
441 - if use tcmalloc; then
442 - myconf="${myconf} USE_TCMALLOC=yes"
443 - elif use jemalloc; then
444 - myconf="${myconf} JEMALLOC_SHARED=yes"
445 - else
446 - myconf="${myconf} MALLOC=yes"
447 - fi
448 -
449 - emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
450 -}
451 -
452 -src_install() {
453 - insinto /etc/
454 - doins redis.conf sentinel.conf
455 - use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
456 - fperms 0644 /etc/{redis,sentinel}.conf
457 -
458 - newconfd "${FILESDIR}/redis.confd-r1" redis
459 - newinitd "${FILESDIR}/redis.initd-5" redis
460 -
461 - systemd_newunit "${FILESDIR}/redis.service-2" redis.service
462 - systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
463 -
464 - newconfd "${FILESDIR}/redis-sentinel.confd" redis-sentinel
465 - newinitd "${FILESDIR}/redis-sentinel.initd" redis-sentinel
466 -
467 - insinto /etc/logrotate.d/
468 - newins "${FILESDIR}/${PN}.logrotate" ${PN}
469 -
470 - dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
471 -
472 - dobin src/redis-cli
473 - dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
474 - fperms 0750 /usr/sbin/redis-benchmark
475 - dosym redis-server /usr/sbin/redis-sentinel
476 -
477 - if use prefix; then
478 - diropts -m0750
479 - else
480 - diropts -m0750 -o redis -g redis
481 - fi
482 - keepdir /var/{log,lib}/redis
483 -}
484
485 diff --git a/dev-db/redis/redis-4.0.13.ebuild b/dev-db/redis/redis-4.0.13.ebuild
486 deleted file mode 100644
487 index ee922018685..00000000000
488 --- a/dev-db/redis/redis-4.0.13.ebuild
489 +++ /dev/null
490 @@ -1,142 +0,0 @@
491 -# Copyright 1999-2019 Gentoo Authors
492 -# Distributed under the terms of the GNU General Public License v2
493 -
494 -EAPI=6
495 -
496 -inherit autotools eutils flag-o-matic systemd toolchain-funcs user
497 -
498 -DESCRIPTION="A persistent caching system, key-value and data structures database"
499 -HOMEPAGE="https://redis.io"
500 -SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
501 -
502 -LICENSE="BSD"
503 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
504 -IUSE="+jemalloc tcmalloc luajit test"
505 -RESTRICT="!test? ( test )"
506 -SLOT="0"
507 -
508 -# Redis does NOT build with Lua 5.2 or newer at this time.
509 -# This should link correctly with both unslotted & slotted Lua, without
510 -# changes.
511 -RDEPEND="
512 - luajit? ( dev-lang/luajit:2 )
513 - !luajit? ( || ( dev-lang/lua:5.1 =dev-lang/lua-5.1*:0 ) )
514 - tcmalloc? ( dev-util/google-perftools )
515 - jemalloc? ( >=dev-libs/jemalloc-3.2 )"
516 -
517 -DEPEND="
518 - ${RDEPEND}
519 - virtual/pkgconfig
520 - >=sys-devel/autoconf-2.63
521 - test? ( dev-lang/tcl:0= )"
522 -
523 -REQUIRED_USE="?? ( tcmalloc jemalloc )"
524 -
525 -S="${WORKDIR}/${PN}-${PV/_/-}"
526 -
527 -pkg_setup() {
528 - enewgroup redis 75
529 - enewuser redis 75 -1 /var/lib/redis redis
530 -}
531 -
532 -src_prepare() {
533 - eapply \
534 - "${FILESDIR}"/${PN}-3.2.3-config.patch \
535 - "${FILESDIR}"/${PN}-4.0.1-shared.patch \
536 - "${FILESDIR}"/${PN}-4.0.1-sharedlua.patch \
537 - "${FILESDIR}"/${PN}-sentinel-4.0.6-config.patch
538 - eapply_user
539 -
540 - # Copy lua modules into build dir
541 - cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
542 - cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
543 - # Append cflag for lua_cjson
544 - # https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
545 - append-cflags "-DENABLE_CJSON_GLOBAL"
546 -
547 - # now we will rewrite present Makefiles
548 - local makefiles="" MKF
549 - for MKF in $(find -name 'Makefile' | cut -b 3-); do
550 - mv "${MKF}" "${MKF}.in"
551 - sed -i -e 's:$(CC):@CC@:g' \
552 - -e 's:$(CFLAGS):@AM_CFLAGS@:g' \
553 - -e 's: $(DEBUG)::g' \
554 - -e 's:$(OBJARCH)::g' \
555 - -e 's:ARCH:TARCH:g' \
556 - -e '/^CCOPT=/s:$: $(LDFLAGS):g' \
557 - "${MKF}.in" \
558 - || die "Sed failed for ${MKF}"
559 - makefiles+=" ${MKF}"
560 - done
561 - # autodetection of compiler and settings; generates the modified Makefiles
562 - cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
563 -
564 - # Use the correct pkgconfig name for Lua
565 - has_version 'dev-lang/lua:5.1' \
566 - && LUAPKGCONFIG=lua5.1 \
567 - || LUAPKGCONFIG=lua
568 - sed -i \
569 - -e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
570 - -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
571 - -e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${LUAPKGCONFIG},g" \
572 - configure.ac || die "Sed failed for configure.ac"
573 - eautoreconf
574 -}
575 -
576 -src_configure() {
577 - econf \
578 - $(use_with luajit)
579 -
580 - # Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
581 - # also, don't define ANSI/c99 for lua twice
582 - sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
583 -}
584 -
585 -src_compile() {
586 - tc-export CC AR RANLIB
587 -
588 - local myconf=""
589 -
590 - if use tcmalloc; then
591 - myconf="${myconf} USE_TCMALLOC=yes"
592 - elif use jemalloc; then
593 - myconf="${myconf} JEMALLOC_SHARED=yes"
594 - else
595 - myconf="${myconf} MALLOC=yes"
596 - fi
597 -
598 - emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
599 -}
600 -
601 -src_install() {
602 - insinto /etc/
603 - doins redis.conf sentinel.conf
604 - use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
605 - fperms 0644 /etc/{redis,sentinel}.conf
606 -
607 - newconfd "${FILESDIR}/redis.confd-r1" redis
608 - newinitd "${FILESDIR}/redis.initd-5" redis
609 -
610 - systemd_newunit "${FILESDIR}/redis.service-2" redis.service
611 - systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
612 -
613 - newconfd "${FILESDIR}/redis-sentinel.confd" redis-sentinel
614 - newinitd "${FILESDIR}/redis-sentinel.initd" redis-sentinel
615 -
616 - insinto /etc/logrotate.d/
617 - newins "${FILESDIR}/${PN}.logrotate" ${PN}
618 -
619 - dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
620 -
621 - dobin src/redis-cli
622 - dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
623 - fperms 0750 /usr/sbin/redis-benchmark
624 - dosym redis-server /usr/sbin/redis-sentinel
625 -
626 - if use prefix; then
627 - diropts -m0750
628 - else
629 - diropts -m0750 -o redis -g redis
630 - fi
631 - keepdir /var/{log,lib}/redis
632 -}
633
634 diff --git a/dev-db/redis/redis-5.0.3.ebuild b/dev-db/redis/redis-5.0.3.ebuild
635 deleted file mode 100644
636 index c40f7c3c47c..00000000000
637 --- a/dev-db/redis/redis-5.0.3.ebuild
638 +++ /dev/null
639 @@ -1,153 +0,0 @@
640 -# Copyright 1999-2019 Gentoo Authors
641 -# Distributed under the terms of the GNU General Public License v2
642 -
643 -EAPI=6
644 -
645 -inherit autotools eapi7-ver flag-o-matic systemd toolchain-funcs user
646 -
647 -DESCRIPTION="A persistent caching system, key-value and data structures database"
648 -HOMEPAGE="https://redis.io"
649 -SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
650 -
651 -LICENSE="BSD"
652 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
653 -IUSE="+jemalloc tcmalloc luajit test"
654 -RESTRICT="!test? ( test )"
655 -SLOT="0"
656 -
657 -# Redis does NOT build with Lua 5.2 or newer at this time.
658 -# This should link correctly with both unslotted & slotted Lua, without
659 -# changes.
660 -RDEPEND="
661 - luajit? ( dev-lang/luajit:2 )
662 - !luajit? ( || ( dev-lang/lua:5.1 =dev-lang/lua-5.1*:0 ) )
663 - tcmalloc? ( dev-util/google-perftools )
664 - jemalloc? ( >=dev-libs/jemalloc-5.1:= )"
665 -
666 -DEPEND="
667 - ${RDEPEND}
668 - virtual/pkgconfig
669 - test? ( dev-lang/tcl:0= )"
670 -
671 -REQUIRED_USE="?? ( tcmalloc jemalloc )"
672 -
673 -pkg_setup() {
674 - enewgroup redis 75
675 - enewuser redis 75 -1 /var/lib/redis redis
676 -}
677 -
678 -src_prepare() {
679 - eapply \
680 - "${FILESDIR}"/${PN}-3.2.3-config.patch \
681 - "${FILESDIR}"/${PN}-5.0-shared.patch \
682 - "${FILESDIR}"/${PN}-5.0-sharedlua.patch \
683 - "${FILESDIR}"/${PN}-sentinel-5.0-config.patch
684 - eapply_user
685 -
686 - # Copy lua modules into build dir
687 - cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
688 - cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
689 - # Append cflag for lua_cjson
690 - # https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
691 - append-cflags "-DENABLE_CJSON_GLOBAL"
692 -
693 - # now we will rewrite present Makefiles
694 - local makefiles="" MKF
695 - for MKF in $(find -name 'Makefile' | cut -b 3-); do
696 - mv "${MKF}" "${MKF}.in"
697 - sed -i -e 's:$(CC):@CC@:g' \
698 - -e 's:$(CFLAGS):@AM_CFLAGS@:g' \
699 - -e 's: $(DEBUG)::g' \
700 - -e 's:$(OBJARCH)::g' \
701 - -e 's:ARCH:TARCH:g' \
702 - -e '/^CCOPT=/s:$: $(LDFLAGS):g' \
703 - "${MKF}.in" \
704 - || die "Sed failed for ${MKF}"
705 - makefiles+=" ${MKF}"
706 - done
707 - # autodetection of compiler and settings; generates the modified Makefiles
708 - cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
709 -
710 - # Use the correct pkgconfig name for Lua
711 - if false && has_version 'dev-lang/lua:5.3'; then
712 - # Lua5.3 gives:
713 - #lua_bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
714 - LUAPKGCONFIG=lua5.3
715 - elif false && has_version 'dev-lang/lua:5.2'; then
716 - # Lua5.2 fails with:
717 - # scripting.c:(.text+0x1f9b): undefined reference to `lua_open'
718 - # Because lua_open because lua_newstate in 5.2
719 - LUAPKGCONFIG=lua5.2
720 - elif has_version 'dev-lang/lua:5.1'; then
721 - LUAPKGCONFIG=lua5.1
722 - else
723 - LUAPKGCONFIG=lua
724 - fi
725 - # The upstream configure script handles luajit specially, and is not
726 - # effected by these changes.
727 - einfo "Selected LUAPKGCONFIG=${LUAPKGCONFIG}"
728 - sed -i \
729 - -e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
730 - -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
731 - -e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${LUAPKGCONFIG},g" \
732 - configure.ac || die "Sed failed for configure.ac"
733 - eautoreconf
734 -}
735 -
736 -src_configure() {
737 - econf \
738 - $(use_with luajit)
739 -
740 - # Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
741 - # also, don't define ANSI/c99 for lua twice
742 - sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
743 -}
744 -
745 -src_compile() {
746 - tc-export CC AR RANLIB
747 -
748 - local myconf=""
749 -
750 - if use tcmalloc; then
751 - myconf="${myconf} USE_TCMALLOC=yes"
752 - elif use jemalloc; then
753 - myconf="${myconf} JEMALLOC_SHARED=yes"
754 - else
755 - myconf="${myconf} MALLOC=yes"
756 - fi
757 -
758 - emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
759 -}
760 -
761 -src_install() {
762 - insinto /etc/
763 - doins redis.conf sentinel.conf
764 - use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
765 - fperms 0644 /etc/{redis,sentinel}.conf
766 -
767 - newconfd "${FILESDIR}/redis.confd-r1" redis
768 - newinitd "${FILESDIR}/redis.initd-5" redis
769 -
770 - systemd_newunit "${FILESDIR}/redis.service-2" redis.service
771 - systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
772 -
773 - newconfd "${FILESDIR}/redis-sentinel.confd" redis-sentinel
774 - newinitd "${FILESDIR}/redis-sentinel.initd" redis-sentinel
775 -
776 - insinto /etc/logrotate.d/
777 - newins "${FILESDIR}/${PN}.logrotate" ${PN}
778 -
779 - dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
780 -
781 - dobin src/redis-cli
782 - dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
783 - fperms 0750 /usr/sbin/redis-benchmark
784 - dosym redis-server /usr/sbin/redis-sentinel
785 -
786 - if use prefix; then
787 - diropts -m0750
788 - else
789 - diropts -m0750 -o redis -g redis
790 - fi
791 - keepdir /var/{log,lib}/redis
792 -}
793
794 diff --git a/dev-db/redis/redis-5.0.4.ebuild b/dev-db/redis/redis-5.0.4.ebuild
795 deleted file mode 100644
796 index 1b0f17be18b..00000000000
797 --- a/dev-db/redis/redis-5.0.4.ebuild
798 +++ /dev/null
799 @@ -1,156 +0,0 @@
800 -# Copyright 1999-2019 Gentoo Authors
801 -# Distributed under the terms of the GNU General Public License v2
802 -
803 -EAPI=7
804 -
805 -inherit autotools flag-o-matic systemd toolchain-funcs user
806 -
807 -DESCRIPTION="A persistent caching system, key-value and data structures database"
808 -HOMEPAGE="https://redis.io"
809 -SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
810 -
811 -LICENSE="BSD"
812 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
813 -IUSE="+jemalloc tcmalloc luajit test"
814 -RESTRICT="!test? ( test )"
815 -SLOT="0"
816 -
817 -# Redis does NOT build with Lua 5.2 or newer at this time.
818 -# This should link correctly with both unslotted & slotted Lua, without
819 -# changes.
820 -RDEPEND="
821 - luajit? ( dev-lang/luajit:2 )
822 - !luajit? ( || ( dev-lang/lua:5.1 =dev-lang/lua-5.1*:0 ) )
823 - tcmalloc? ( dev-util/google-perftools )
824 - jemalloc? ( >=dev-libs/jemalloc-5.1:= )"
825 -
826 -BDEPEND="
827 - ${RDEPEND}
828 - virtual/pkgconfig"
829 -
830 -# Tcl is only needed in the CHOST test env
831 -DEPEND="${RDEPEND}
832 - test? ( dev-lang/tcl:0= )"
833 -
834 -REQUIRED_USE="?? ( tcmalloc jemalloc )"
835 -
836 -pkg_setup() {
837 - enewgroup redis 75
838 - enewuser redis 75 -1 /var/lib/redis redis
839 -}
840 -
841 -src_prepare() {
842 - eapply \
843 - "${FILESDIR}"/${PN}-3.2.3-config.patch \
844 - "${FILESDIR}"/${PN}-5.0-shared.patch \
845 - "${FILESDIR}"/${PN}-5.0-sharedlua.patch \
846 - "${FILESDIR}"/${PN}-sentinel-5.0-config.patch
847 - eapply_user
848 -
849 - # Copy lua modules into build dir
850 - cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
851 - cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
852 - # Append cflag for lua_cjson
853 - # https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
854 - append-cflags "-DENABLE_CJSON_GLOBAL"
855 -
856 - # now we will rewrite present Makefiles
857 - local makefiles="" MKF
858 - for MKF in $(find -name 'Makefile' | cut -b 3-); do
859 - mv "${MKF}" "${MKF}.in"
860 - sed -i -e 's:$(CC):@CC@:g' \
861 - -e 's:$(CFLAGS):@AM_CFLAGS@:g' \
862 - -e 's: $(DEBUG)::g' \
863 - -e 's:$(OBJARCH)::g' \
864 - -e 's:ARCH:TARCH:g' \
865 - -e '/^CCOPT=/s:$: $(LDFLAGS):g' \
866 - "${MKF}.in" \
867 - || die "Sed failed for ${MKF}"
868 - makefiles+=" ${MKF}"
869 - done
870 - # autodetection of compiler and settings; generates the modified Makefiles
871 - cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
872 -
873 - # Use the correct pkgconfig name for Lua
874 - if false && has_version 'dev-lang/lua:5.3'; then
875 - # Lua5.3 gives:
876 - #lua_bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
877 - LUAPKGCONFIG=lua5.3
878 - elif false && has_version 'dev-lang/lua:5.2'; then
879 - # Lua5.2 fails with:
880 - # scripting.c:(.text+0x1f9b): undefined reference to `lua_open'
881 - # Because lua_open because lua_newstate in 5.2
882 - LUAPKGCONFIG=lua5.2
883 - elif has_version 'dev-lang/lua:5.1'; then
884 - LUAPKGCONFIG=lua5.1
885 - else
886 - LUAPKGCONFIG=lua
887 - fi
888 - # The upstream configure script handles luajit specially, and is not
889 - # effected by these changes.
890 - einfo "Selected LUAPKGCONFIG=${LUAPKGCONFIG}"
891 - sed -i \
892 - -e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
893 - -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
894 - -e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${LUAPKGCONFIG},g" \
895 - configure.ac || die "Sed failed for configure.ac"
896 - eautoreconf
897 -}
898 -
899 -src_configure() {
900 - econf \
901 - $(use_with luajit)
902 -
903 - # Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
904 - # also, don't define ANSI/c99 for lua twice
905 - sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
906 -}
907 -
908 -src_compile() {
909 - tc-export CC AR RANLIB
910 -
911 - local myconf=""
912 -
913 - if use tcmalloc; then
914 - myconf="${myconf} USE_TCMALLOC=yes"
915 - elif use jemalloc; then
916 - myconf="${myconf} JEMALLOC_SHARED=yes"
917 - else
918 - myconf="${myconf} MALLOC=yes"
919 - fi
920 -
921 - emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
922 -}
923 -
924 -src_install() {
925 - insinto /etc/
926 - doins redis.conf sentinel.conf
927 - use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
928 - fperms 0644 /etc/{redis,sentinel}.conf
929 -
930 - newconfd "${FILESDIR}/redis.confd-r1" redis
931 - newinitd "${FILESDIR}/redis.initd-5" redis
932 -
933 - systemd_newunit "${FILESDIR}/redis.service-3" redis.service
934 - systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles-2" redis.conf
935 -
936 - newconfd "${FILESDIR}/redis-sentinel.confd" redis-sentinel
937 - newinitd "${FILESDIR}/redis-sentinel.initd" redis-sentinel
938 -
939 - insinto /etc/logrotate.d/
940 - newins "${FILESDIR}/${PN}.logrotate" ${PN}
941 -
942 - dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
943 -
944 - dobin src/redis-cli
945 - dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
946 - fperms 0750 /usr/sbin/redis-benchmark
947 - dosym redis-server /usr/sbin/redis-sentinel
948 -
949 - if use prefix; then
950 - diropts -m0750
951 - else
952 - diropts -m0750 -o redis -g redis
953 - fi
954 - keepdir /var/{log,lib}/redis
955 -}