public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/redis/
Date: Sat,  1 Jan 2022 09:38:55 +0000 (UTC)	[thread overview]
Message-ID: <1641029914.ead0cbbf6bca2037bdd280f55ce9a0a93f933220.sam@gentoo> (raw)

commit:     ead0cbbf6bca2037bdd280f55ce9a0a93f933220
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  1 09:36:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  1 09:38:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ead0cbbf

dev-db/redis: drop 5.0.13, 6.0.15, 6.2.5

Bug: https://bugs.gentoo.org/816282
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/redis/Manifest            |   3 -
 dev-db/redis/redis-5.0.13.ebuild | 164 ---------------------------------
 dev-db/redis/redis-6.0.15.ebuild | 189 ---------------------------------------
 dev-db/redis/redis-6.2.5.ebuild  | 189 ---------------------------------------
 4 files changed, 545 deletions(-)

diff --git a/dev-db/redis/Manifest b/dev-db/redis/Manifest
index c5282e8ff2df..ac46e3ff43fc 100644
--- a/dev-db/redis/Manifest
+++ b/dev-db/redis/Manifest
@@ -1,6 +1,3 @@
-DIST redis-5.0.13.tar.gz 1995566 BLAKE2B 1020b26162d212f980fd07bfe1879120306c7e796cde7e48dfcc1c3aa555a0a25299c17ad65515cc54be3c354bff58cefe67bba5dfc26f6b24d56a46debfa267 SHA512 9784193a53b459a2e4937e8f0d18652a0677d29746e359e5f8ffddeea4cea305f10c8eeae9007e49c0ba9ebedb9b603aced61592ba3302e5b64be78020b3b4bf
 DIST redis-5.0.14.tar.gz 2000179 BLAKE2B 77d3ed09a81450dbf806edd017785b82c50bb059aab44c82bc4ab784b7f03d5c58f9372b96c857831f84d278771dcf223f42ca05af790f0dc10ecdde211fd149 SHA512 513299ae8b967a659d54812fab4dfdfaf0081b20136a3d89b6a761e93548583c96436fedb84baa4d23385b42110ef615527efc3690b873f5bec7793403fe7eaf
-DIST redis-6.0.15.tar.gz 2282471 BLAKE2B b7f37a76d2a16e0f84f51a737e2c23ebc27750ece790cf800a0f70bfd481db01d82dc68511f80e5935dc73d70f02716a4f9005d4d177ecf3f2a0c5290ecd41ff SHA512 e7ba123798a11e1c68dd6d3ebb0586bed4f2bb33755871f1577f7e0229f826b468c2130c31bcc85a64ce7ff54e280df0a7c60e0882f3ed2a11d43e7819fe8b9e
 DIST redis-6.0.16.tar.gz 2288647 BLAKE2B f3552cc0d27cbc5cf6556792da9a75d01ff70d372484c95d2af8b24ec902a8086b9c3f4e53513df982fe135963432bfb527334926dd494e50d2cc618ab813f39 SHA512 83bb72448f9943e3d015cb4d961eb2eae21602ef1f90ca52ca8ab7c6918b0ab979db9f61f3981df27b2286894f4864f4588c3a52fa988e30e9419b0967998845
-DIST redis-6.2.5.tar.gz 2465302 BLAKE2B 51cc672ab432bb87560151521289d04e8fefb8e4df820f58a9b742131a0f1960c0019dec42a601bad827ec2a172375b88b6cf32a19aef42964e18f5a7a911c40 SHA512 8c54451032cbb627ec2827251556cba2010e56544baca7ea117b5afd2c2add484acbedd3baf21bdb8fd10672602cf52294a4e26b135c1406d7a723c048275e3a
 DIST redis-6.2.6.tar.gz 2476542 BLAKE2B d139479432171294911d99e7e8c2327dbbc6682ea49de761c4bb4089a2efd814926f2f8823dca1826b4a61dd9ccf79abb22878c9463ac92870481b43d8a7fff7 SHA512 9b947d26fd9e208627ed22d318ab3d0775ab0be46d98db1c1d158feac671b984e75ce33e647d196face9643f80768af47e678be1b4e1ddd3eb56dff467c46022

diff --git a/dev-db/redis/redis-5.0.13.ebuild b/dev-db/redis/redis-5.0.13.ebuild
deleted file mode 100644
index a8ec106eeb4d..000000000000
--- a/dev-db/redis/redis-5.0.13.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic systemd toolchain-funcs tmpfiles
-
-DESCRIPTION="A persistent caching system, key-value and data structures database"
-HOMEPAGE="https://redis.io"
-SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="+jemalloc tcmalloc luajit test"
-RESTRICT="!test? ( test )"
-
-# Redis does NOT build with Lua 5.2 or newer at this time.
-COMMON_DEPEND="
-	luajit? ( dev-lang/luajit:2 )
-	!luajit? ( dev-lang/lua:5.1 )
-	tcmalloc? ( dev-util/google-perftools )
-	jemalloc? ( >=dev-libs/jemalloc-5.1:= )"
-
-RDEPEND="
-	${COMMON_DEPEND}
-	acct-group/redis
-	acct-user/redis"
-
-BDEPEND="
-	${COMMON_DEPEND}
-	virtual/pkgconfig"
-
-# Tcl is only needed in the CHOST test env
-DEPEND="
-	${COMMON_DEPEND}
-	test? ( dev-lang/tcl:0= )"
-
-REQUIRED_USE="?? ( tcmalloc jemalloc )"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-3.2.3-config.patch
-	"${FILESDIR}"/${PN}-5.0-shared.patch
-	"${FILESDIR}"/${PN}-5.0-sharedlua.patch
-	"${FILESDIR}"/${PN}-5.0.8-ppc-atomic.patch
-	"${FILESDIR}"/${PN}-sentinel-5.0-config.patch
-)
-
-src_prepare() {
-	default
-
-	# don't call ar directly
-	sed -e '/^STLIB_MAKE_CMD/s/ar/$(AR)/g' \
-		-i deps/hiredis/Makefile || die
-
-	# Copy lua modules into build dir
-	cp deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c src/ || die
-	cp deps/lua/src/{fpconv,strbuf}.h src/ || die
-	# Append cflag for lua_cjson
-	# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
-	append-cflags "-DENABLE_CJSON_GLOBAL"
-
-	# now we will rewrite present Makefiles
-	local makefiles="" MKF
-	for MKF in $(find -name 'Makefile' | cut -b 3-); do
-		mv "${MKF}" "${MKF}.in"
-		sed -i	-e 's:$(CC):@CC@:g' \
-			-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
-			-e 's: $(DEBUG)::g' \
-			-e 's:$(OBJARCH)::g' \
-			-e 's:ARCH:TARCH:g' \
-			-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
-			"${MKF}.in" \
-		|| die "Sed failed for ${MKF}"
-		makefiles+=" ${MKF}"
-	done
-	# autodetection of compiler and settings; generates the modified Makefiles
-	cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
-
-	# Use the correct pkgconfig name for Lua
-	if false && has_version 'dev-lang/lua:5.3'; then
-		# Lua5.3 gives:
-		#lua_bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
-		LUAPKGCONFIG=lua5.3
-	elif false && has_version 'dev-lang/lua:5.2'; then
-		# Lua5.2 fails with:
-		# scripting.c:(.text+0x1f9b): undefined reference to `lua_open'
-		# Because lua_open because lua_newstate in 5.2
-		LUAPKGCONFIG=lua5.2
-	elif has_version 'dev-lang/lua:5.1'; then
-		LUAPKGCONFIG=lua5.1
-	else
-		LUAPKGCONFIG=lua
-	fi
-	# The upstream configure script handles luajit specially, and is not
-	# effected by these changes.
-	einfo "Selected LUAPKGCONFIG=${LUAPKGCONFIG}"
-	sed -i	\
-		-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
-		-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
-		-e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${LUAPKGCONFIG},g" \
-		configure.ac || die "Sed failed for configure.ac"
-	eautoreconf
-}
-
-src_configure() {
-	econf $(use_with luajit)
-
-	# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
-	# also, don't define ANSI/c99 for lua twice
-	sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
-}
-
-src_compile() {
-	local myconf=""
-
-	if use tcmalloc; then
-		myconf="${myconf} USE_TCMALLOC=yes"
-	elif use jemalloc; then
-		myconf="${myconf} JEMALLOC_SHARED=yes"
-	else
-		myconf="${myconf} MALLOC=yes"
-	fi
-
-	tc-export AR CC RANLIB
-	emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}"
-}
-
-src_install() {
-	insinto /etc/
-	doins redis.conf sentinel.conf
-	use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
-	fperms 0644 /etc/{redis,sentinel}.conf
-
-	newconfd "${FILESDIR}/redis.confd-r1" redis
-	newinitd "${FILESDIR}/redis.initd-5" redis
-
-	systemd_newunit "${FILESDIR}/redis.service-3" redis.service
-	newtmpfiles "${FILESDIR}/redis.tmpfiles-2" redis.conf
-
-	newconfd "${FILESDIR}/redis-sentinel.confd" redis-sentinel
-	newinitd "${FILESDIR}/redis-sentinel.initd" redis-sentinel
-
-	insinto /etc/logrotate.d/
-	newins "${FILESDIR}/${PN}.logrotate" ${PN}
-
-	dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
-
-	dobin src/redis-cli
-	dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
-	fperms 0750 /usr/sbin/redis-benchmark
-	dosym redis-server /usr/sbin/redis-sentinel
-
-	if use prefix; then
-		diropts -m0750
-	else
-		diropts -m0750 -o redis -g redis
-	fi
-	keepdir /var/{log,lib}/redis
-}
-
-pkg_postinst() {
-	tmpfiles_process redis.conf
-}

diff --git a/dev-db/redis/redis-6.0.15.ebuild b/dev-db/redis/redis-6.0.15.ebuild
deleted file mode 100644
index 347c229d7386..000000000000
--- a/dev-db/redis/redis-6.0.15.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Redis does NOT build with Lua 5.2 or newer at this time:
-#  - 5.3 and 5.4 give:
-# lua_bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
-#  - 5.2 fails with:
-# scripting.c:(.text+0x1f9b): undefined reference to `lua_open'
-#    because lua_open became lua_newstate in 5.2
-LUA_COMPAT=( lua5-1 luajit )
-
-inherit autotools flag-o-matic lua-single systemd toolchain-funcs tmpfiles
-
-DESCRIPTION="A persistent caching system, key-value and data structures database"
-HOMEPAGE="https://redis.io"
-SRC_URI="https://download.redis.io/releases/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="+jemalloc ssl systemd tcmalloc test"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
-	${LUA_DEPS}
-	jemalloc? ( >=dev-libs/jemalloc-5.1:= )
-	ssl? ( dev-libs/openssl:0= )
-	systemd? ( sys-apps/systemd:= )
-	tcmalloc? ( dev-util/google-perftools )
-"
-
-RDEPEND="
-	${COMMON_DEPEND}
-	acct-group/redis
-	acct-user/redis
-"
-
-BDEPEND="
-	${COMMON_DEPEND}
-	virtual/pkgconfig
-"
-
-# Tcl is only needed in the CHOST test env
-DEPEND="
-	${COMMON_DEPEND}
-	test? (
-		dev-lang/tcl:0=
-		ssl? ( dev-tcltk/tls )
-	)"
-
-REQUIRED_USE="?? ( jemalloc tcmalloc )
-	${LUA_REQUIRED_USE}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-3.2.3-config.patch
-	"${FILESDIR}"/${PN}-5.0-shared.patch
-	"${FILESDIR}"/${PN}-6.0.12-sharedlua.patch
-	"${FILESDIR}"/${PN}-5.0.8-ppc-atomic.patch
-	"${FILESDIR}"/${PN}-sentinel-5.0-config.patch
-)
-
-src_prepare() {
-	default
-
-	# unstable on jemalloc
-	> tests/unit/memefficiency.tcl || die
-
-	# Copy lua modules into build dir
-	cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
-	cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
-	# Append cflag for lua_cjson
-	# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
-	append-cflags "-DENABLE_CJSON_GLOBAL"
-
-	# now we will rewrite present Makefiles
-	local makefiles="" MKF
-	for MKF in $(find -name 'Makefile' | cut -b 3-); do
-		mv "${MKF}" "${MKF}.in"
-		sed -i	-e 's:$(CC):@CC@:g' \
-			-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
-			-e 's: $(DEBUG)::g' \
-			-e 's:$(OBJARCH)::g' \
-			-e 's:ARCH:TARCH:g' \
-			-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
-			"${MKF}.in" \
-		|| die "Sed failed for ${MKF}"
-		makefiles+=" ${MKF}"
-	done
-	# autodetection of compiler and settings; generates the modified Makefiles
-	cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
-
-	# Use the correct pkgconfig name for Lua.
-	# The upstream configure script handles luajit specially, and is not
-	# effected by these changes.
-	sed -i	\
-		-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
-		-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
-		-e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${ELUA},g" \
-		configure.ac || die "Sed failed for configure.ac"
-	eautoreconf
-}
-
-src_configure() {
-	econf $(use_with lua_single_target_luajit luajit)
-
-	# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
-	# also, don't define ANSI/c99 for lua twice
-	sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
-}
-
-src_compile() {
-	local myconf=""
-
-	if use jemalloc; then
-		myconf+="MALLOC=jemalloc"
-	elif use tcmalloc; then
-		myconf+="MALLOC=tcmalloc"
-	else
-		myconf+="MALLOC=libc"
-	fi
-
-	if use ssl; then
-		myconf+=" BUILD_TLS=yes"
-	fi
-
-	export USE_SYSTEMD=$(usex systemd)
-
-	tc-export AR CC RANLIB
-	emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}"
-}
-
-src_test() {
-	# Known to fail with FEATURES=usersandbox
-	if has usersandbox ${FEATURES}; then
-		ewarn "You are emerging ${P} with 'usersandbox' enabled." \
-			"Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
-	fi
-
-	if use ssl; then
-		./utils/gen-test-certs.sh
-		./runtest --tls
-	else
-		./runtest
-	fi
-}
-
-src_install() {
-	insinto /etc/redis
-	doins redis.conf sentinel.conf
-	use prefix || fowners -R redis:redis /etc/redis /etc/redis/{redis,sentinel}.conf
-	fperms 0750 /etc/redis
-	fperms 0644 /etc/redis/{redis,sentinel}.conf
-
-	newconfd "${FILESDIR}/redis.confd-r2" redis
-	newinitd "${FILESDIR}/redis.initd-6" redis
-
-	systemd_newunit "${FILESDIR}/redis.service-4" redis.service
-	newtmpfiles "${FILESDIR}/redis.tmpfiles-2" redis.conf
-
-	newconfd "${FILESDIR}/redis-sentinel.confd-r1" redis-sentinel
-	newinitd "${FILESDIR}/redis-sentinel.initd-r1" redis-sentinel
-
-	insinto /etc/logrotate.d/
-	newins "${FILESDIR}/${PN}.logrotate" ${PN}
-
-	dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
-
-	dobin src/redis-cli
-	dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
-	fperms 0750 /usr/sbin/redis-benchmark
-	dosym redis-server /usr/sbin/redis-sentinel
-
-	if use prefix; then
-		diropts -m0750
-	else
-		diropts -m0750 -o redis -g redis
-	fi
-	keepdir /var/{log,lib}/redis
-}
-
-pkg_postinst() {
-	tmpfiles_process redis.conf
-
-	ewarn "The default redis configuration file location changed to:"
-	ewarn "  /etc/redis/{redis,sentinel}.conf"
-	ewarn "Please apply your changes to the new configuration files."
-}

diff --git a/dev-db/redis/redis-6.2.5.ebuild b/dev-db/redis/redis-6.2.5.ebuild
deleted file mode 100644
index ebe779b0841d..000000000000
--- a/dev-db/redis/redis-6.2.5.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Redis does NOT build with Lua 5.2 or newer at this time:
-#  - 5.3 and 5.4 give:
-# lua_bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
-#  - 5.2 fails with:
-# scripting.c:(.text+0x1f9b): undefined reference to `lua_open'
-#    because lua_open became lua_newstate in 5.2
-LUA_COMPAT=( lua5-1 luajit )
-
-inherit autotools flag-o-matic lua-single systemd toolchain-funcs tmpfiles
-
-DESCRIPTION="A persistent caching system, key-value and data structures database"
-HOMEPAGE="https://redis.io"
-SRC_URI="https://download.redis.io/releases/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="+jemalloc ssl systemd tcmalloc test"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
-	${LUA_DEPS}
-	jemalloc? ( >=dev-libs/jemalloc-5.1:= )
-	ssl? ( dev-libs/openssl:0= )
-	systemd? ( sys-apps/systemd:= )
-	tcmalloc? ( dev-util/google-perftools )
-"
-
-RDEPEND="
-	${COMMON_DEPEND}
-	acct-group/redis
-	acct-user/redis
-"
-
-BDEPEND="
-	${COMMON_DEPEND}
-	virtual/pkgconfig
-"
-
-# Tcl is only needed in the CHOST test env
-DEPEND="
-	${COMMON_DEPEND}
-	test? (
-		dev-lang/tcl:0=
-		ssl? ( dev-tcltk/tls )
-	)"
-
-REQUIRED_USE="?? ( jemalloc tcmalloc )
-	${LUA_REQUIRED_USE}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-6.2.1-config.patch
-	"${FILESDIR}"/${PN}-5.0-shared.patch
-	"${FILESDIR}"/${PN}-6.2.1-sharedlua.patch
-	"${FILESDIR}"/${PN}-6.2.3-ppc-atomic.patch
-	"${FILESDIR}"/${PN}-sentinel-5.0-config.patch
-)
-
-src_prepare() {
-	default
-
-	# unstable on jemalloc
-	> tests/unit/memefficiency.tcl || die
-
-	# Copy lua modules into build dir
-	cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
-	cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
-	# Append cflag for lua_cjson
-	# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
-	append-cflags "-DENABLE_CJSON_GLOBAL"
-
-	# now we will rewrite present Makefiles
-	local makefiles="" MKF
-	for MKF in $(find -name 'Makefile' | cut -b 3-); do
-		mv "${MKF}" "${MKF}.in"
-		sed -i	-e 's:$(CC):@CC@:g' \
-			-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
-			-e 's: $(DEBUG)::g' \
-			-e 's:$(OBJARCH)::g' \
-			-e 's:ARCH:TARCH:g' \
-			-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
-			"${MKF}.in" \
-		|| die "Sed failed for ${MKF}"
-		makefiles+=" ${MKF}"
-	done
-	# autodetection of compiler and settings; generates the modified Makefiles
-	cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
-
-	# Use the correct pkgconfig name for Lua.
-	# The upstream configure script handles luajit specially, and is not
-	# effected by these changes.
-	sed -i	\
-		-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
-		-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
-		-e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${ELUA},g" \
-		configure.ac || die "Sed failed for configure.ac"
-	eautoreconf
-}
-
-src_configure() {
-	econf $(use_with lua_single_target_luajit luajit)
-
-	# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
-	# also, don't define ANSI/c99 for lua twice
-	sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
-}
-
-src_compile() {
-	local myconf=""
-
-	if use jemalloc; then
-		myconf+="MALLOC=jemalloc"
-	elif use tcmalloc; then
-		myconf+="MALLOC=tcmalloc"
-	else
-		myconf+="MALLOC=libc"
-	fi
-
-	if use ssl; then
-		myconf+=" BUILD_TLS=yes"
-	fi
-
-	export USE_SYSTEMD=$(usex systemd)
-
-	tc-export AR CC RANLIB
-	emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}"
-}
-
-src_test() {
-	# Known to fail with FEATURES=usersandbox
-	if has usersandbox ${FEATURES}; then
-		ewarn "You are emerging ${P} with 'usersandbox' enabled." \
-			"Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
-	fi
-
-	if use ssl; then
-		./utils/gen-test-certs.sh
-		./runtest --tls
-	else
-		./runtest
-	fi
-}
-
-src_install() {
-	insinto /etc/redis
-	doins redis.conf sentinel.conf
-	use prefix || fowners -R redis:redis /etc/redis /etc/redis/{redis,sentinel}.conf
-	fperms 0750 /etc/redis
-	fperms 0644 /etc/redis/{redis,sentinel}.conf
-
-	newconfd "${FILESDIR}/redis.confd-r2" redis
-	newinitd "${FILESDIR}/redis.initd-6" redis
-
-	systemd_newunit "${FILESDIR}/redis.service-4" redis.service
-	newtmpfiles "${FILESDIR}/redis.tmpfiles-2" redis.conf
-
-	newconfd "${FILESDIR}/redis-sentinel.confd-r1" redis-sentinel
-	newinitd "${FILESDIR}/redis-sentinel.initd-r1" redis-sentinel
-
-	insinto /etc/logrotate.d/
-	newins "${FILESDIR}/${PN}.logrotate" ${PN}
-
-	dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
-
-	dobin src/redis-cli
-	dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
-	fperms 0750 /usr/sbin/redis-benchmark
-	dosym redis-server /usr/sbin/redis-sentinel
-
-	if use prefix; then
-		diropts -m0750
-	else
-		diropts -m0750 -o redis -g redis
-	fi
-	keepdir /var/{log,lib}/redis
-}
-
-pkg_postinst() {
-	tmpfiles_process redis.conf
-
-	ewarn "The default redis configuration file location changed to:"
-	ewarn "  /etc/redis/{redis,sentinel}.conf"
-	ewarn "Please apply your changes to the new configuration files."
-}


             reply	other threads:[~2022-01-01  9:39 UTC|newest]

Thread overview: 374+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-01  9:38 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-04  9:50 [gentoo-commits] repo/gentoo:master commit in: dev-db/redis/ Jakov Smolić
2024-10-04  9:50 Jakov Smolić
2024-10-04  9:50 Jakov Smolić
2024-10-03 15:36 Petr Vaněk
2024-10-03 15:36 Petr Vaněk
2024-10-03 15:36 Petr Vaněk
2024-10-01  9:08 Jakov Smolić
2024-10-01  9:08 Jakov Smolić
2024-08-14 20:42 Petr Vaněk
2024-08-14 20:42 Petr Vaněk
2024-07-17 10:25 Petr Vaněk
2024-06-20 21:46 Sam James
2024-06-20 20:35 Arthur Zamarin
2024-06-20 18:14 Arthur Zamarin
2024-06-20 13:04 Sam James
2024-06-20  7:27 Sam James
2024-05-19 12:42 Petr Vaněk
2024-03-13 21:57 Petr Vaněk
2024-03-13 21:42 Sam James
2024-01-19 10:18 Petr Vaněk
2024-01-12  8:31 Arthur Zamarin
2024-01-12  8:31 Arthur Zamarin
2024-01-12  8:17 Arthur Zamarin
2024-01-12  8:17 Arthur Zamarin
2024-01-11 10:45 Sam James
2024-01-11 10:45 Sam James
2024-01-11 10:32 Sam James
2024-01-11 10:32 Sam James
2024-01-09 13:54 Petr Vaněk
2024-01-09 13:54 Petr Vaněk
2023-12-05  6:52 Joonas Niilola
2023-12-05  6:52 Joonas Niilola
2023-12-05  6:52 Joonas Niilola
2023-11-29 17:13 Sam James
2023-11-29 17:13 Sam James
2023-11-29 17:13 Sam James
2023-11-29 14:42 Arthur Zamarin
2023-11-29 14:42 Arthur Zamarin
2023-11-29 14:42 Arthur Zamarin
2023-11-17 11:09 Sam James
2023-10-29  4:32 Sam James
2023-10-29  4:32 Sam James
2023-10-29  4:32 Sam James
2023-10-19 12:17 Sam James
2023-10-10 16:22 Sam James
2023-10-10 16:04 Arthur Zamarin
2023-10-10 16:03 Arthur Zamarin
2023-10-10 15:09 Arthur Zamarin
2023-10-10 15:09 Arthur Zamarin
2023-09-24  5:51 Joonas Niilola
2023-09-23 22:53 Sam James
2023-09-23 22:53 Sam James
2023-09-23 16:57 Arthur Zamarin
2023-09-09  5:03 Sam James
2023-09-09  5:03 Sam James
2023-09-09  5:03 Sam James
2023-07-25  4:56 John Helmert III
2023-07-25  4:56 John Helmert III
2023-07-15  3:10 Sam James
2023-07-15  3:10 Sam James
2023-07-13  5:25 Joonas Niilola
2023-07-13  5:25 Joonas Niilola
2023-07-12  9:46 Sam James
2023-07-12  9:46 Sam James
2023-07-12  9:17 Sam James
2023-07-12  9:17 Sam James
2023-07-12  7:00 Sam James
2023-07-12  7:00 Sam James
2023-05-07  6:17 Joonas Niilola
2023-05-07  6:17 Joonas Niilola
2023-05-05  9:40 Arthur Zamarin
2023-05-05  9:40 Arthur Zamarin
2023-05-04 11:20 Arthur Zamarin
2023-05-04 11:20 Arthur Zamarin
2023-05-04 10:54 Jakov Smolić
2023-05-04 10:54 Jakov Smolić
2023-04-18  4:29 Sam James
2023-04-18  4:29 Sam James
2023-03-31  7:14 Joonas Niilola
2023-03-24 14:28 Arthur Zamarin
2023-03-22 22:36 Sam James
2023-03-22 22:36 Sam James
2023-03-22  1:20 Sam James
2023-03-22  1:20 Sam James
2023-03-06 16:26 Arthur Zamarin
2023-03-06 16:26 Arthur Zamarin
2023-03-06 14:31 Arthur Zamarin
2023-03-06 14:31 Arthur Zamarin
2023-03-06 13:44 Arthur Zamarin
2023-03-06 13:44 Arthur Zamarin
2023-03-06  7:06 Joonas Niilola
2023-03-06  7:06 Joonas Niilola
2023-03-06  7:06 Joonas Niilola
2023-03-06  7:06 Joonas Niilola
2023-03-04  7:18 Sam James
2023-03-04  7:18 Sam James
2023-03-04  7:18 Sam James
2023-01-19  8:01 Joonas Niilola
2023-01-19  8:01 Joonas Niilola
2023-01-18 21:54 Sam James
2023-01-18 21:54 Sam James
2023-01-18 21:54 Sam James
2023-01-18 21:54 Sam James
2023-01-18 21:54 Sam James
2023-01-18 21:54 Sam James
2023-01-17 15:40 Sam James
2023-01-17  1:53 Sam James
2023-01-17  1:53 Sam James
2022-12-18 17:15 Joonas Niilola
2022-12-18 17:15 Joonas Niilola
2022-12-12 17:47 Sam James
2022-12-12 17:47 Sam James
2022-11-23  0:24 John Helmert III
2022-11-22 15:41 Arthur Zamarin
2022-11-22 15:41 Arthur Zamarin
2022-11-22 15:41 Arthur Zamarin
2022-11-22 15:41 Arthur Zamarin
2022-11-16  6:37 Arthur Zamarin
2022-11-16  6:37 Arthur Zamarin
2022-11-14  7:57 Joonas Niilola
2022-11-14  7:57 Joonas Niilola
2022-11-14  7:57 Joonas Niilola
2022-11-14  7:57 Joonas Niilola
2022-11-12 15:50 Arthur Zamarin
2022-11-12 15:50 Arthur Zamarin
2022-11-12 11:59 Arthur Zamarin
2022-11-12 11:59 Arthur Zamarin
2022-09-27  7:40 Arthur Zamarin
2022-09-26  6:42 Arthur Zamarin
2022-09-26  6:33 Arthur Zamarin
2022-09-26  0:18 Sam James
2022-09-25  8:00 Arthur Zamarin
2022-09-25  8:00 Arthur Zamarin
2022-09-25  6:29 Joonas Niilola
2022-09-25  6:29 Joonas Niilola
2022-09-22  5:47 Sam James
2022-07-26  4:26 Sam James
2022-07-26  4:26 Sam James
2022-07-26  4:26 Sam James
2022-07-26  4:26 Sam James
2022-07-25  7:11 Agostino Sarubbo
2022-07-25  7:10 Agostino Sarubbo
2022-07-25  7:09 Agostino Sarubbo
2022-07-25  4:19 Sam James
2022-07-24  6:08 Joonas Niilola
2022-07-24  6:08 Joonas Niilola
2022-07-24  1:04 Sam James
2022-07-13  7:39 Agostino Sarubbo
2022-07-12 16:14 Arthur Zamarin
2022-07-12 16:14 Arthur Zamarin
2022-07-12  9:09 Agostino Sarubbo
2022-07-12  8:57 Sam James
2022-07-12  8:57 Sam James
2022-07-09  7:49 Sam James
2022-07-04 20:07 John Helmert III
2022-07-04 10:34 Agostino Sarubbo
2022-07-04  6:55 Agostino Sarubbo
2022-07-04  6:54 Agostino Sarubbo
2022-07-04  6:53 Agostino Sarubbo
2022-07-04  6:53 Agostino Sarubbo
2022-07-04  6:51 Agostino Sarubbo
2022-07-03 17:28 Arthur Zamarin
2022-07-02 14:55 Sam James
2022-07-02 14:55 Sam James
2022-06-15 21:07 Sam James
2022-06-15 21:07 Sam James
2022-06-15 21:07 Sam James
2022-06-12 20:36 Sam James
2022-06-12 20:36 Sam James
2022-06-12 20:36 Sam James
2022-06-12 20:36 Sam James
2022-06-12 20:36 Sam James
2022-06-12 20:36 Sam James
2022-06-09  8:36 Sam James
2022-05-22  2:13 Kenton Groombridge
2022-05-17 11:54 WANG Xuerui
2022-05-03  2:28 Sam James
2022-04-29  4:11 Sam James
2022-04-28  2:18 Sam James
2022-04-25 18:51 Sam James
2021-11-20 15:34 Arthur Zamarin
2021-11-20 15:34 Arthur Zamarin
2021-11-20 15:34 Arthur Zamarin
2021-10-12  0:10 Sam James
2021-10-12  0:10 Sam James
2021-10-12  0:10 Sam James
2021-10-07  6:03 Agostino Sarubbo
2021-10-06 23:06 Sam James
2021-10-06 23:06 Sam James
2021-10-06 23:06 Sam James
2021-10-06  6:47 Agostino Sarubbo
2021-10-06  6:47 Agostino Sarubbo
2021-10-06  6:06 Agostino Sarubbo
2021-10-04 22:03 Sam James
2021-10-04 21:53 Sam James
2021-10-04 21:53 Sam James
2021-10-04 21:53 Sam James
2021-08-09 16:31 Sam James
2021-07-26 15:45 Marek Szuba
2021-07-26  0:54 Sam James
2021-07-26  0:54 Sam James
2021-07-26  0:54 Sam James
2021-07-26  0:54 Sam James
2021-07-26  0:54 Sam James
2021-07-26  0:54 Sam James
2021-07-26  0:54 Sam James
2021-07-26  0:54 Sam James
2021-07-26  0:54 Sam James
2021-07-26  0:53 Sam James
2021-07-26  0:53 Sam James
2021-07-26  0:53 Sam James
2021-07-26  0:53 Sam James
2021-07-26  0:53 Sam James
2021-07-26  0:53 Sam James
2021-07-26  0:48 Sam James
2021-07-23  7:19 Agostino Sarubbo
2021-07-23  7:18 Agostino Sarubbo
2021-07-22  3:23 Sam James
2021-07-22  3:23 Sam James
2021-07-22  3:23 Sam James
2021-07-06  4:14 Sam James
2021-07-05  6:58 Agostino Sarubbo
2021-07-05  6:58 Agostino Sarubbo
2021-07-04 22:17 Sam James
2021-07-04 10:29 Sergei Trofimovich
2021-06-25 12:10 Marek Szuba
2021-06-17  5:03 Sam James
2021-06-11  1:11 Sam James
2021-06-06 22:10 Sam James
2021-06-03  8:23 Sam James
2021-06-02 22:42 Sam James
2021-06-02 19:01 Sam James
2021-06-02 19:01 Sam James
2021-06-02 14:33 Sergei Trofimovich
2021-06-01 15:18 Sam James
2021-06-01 15:18 Sam James
2021-05-10 13:20 Sergei Trofimovich
2021-05-07 14:36 Sam James
2021-05-07 14:36 Sam James
2021-05-07 13:33 Sam James
2021-05-07 13:32 Sam James
2021-05-07 13:31 Sam James
2021-05-07 13:30 Sam James
2021-05-06 10:02 Sam James
2021-05-04 21:41 Sam James
2021-03-31 11:54 Thomas Deutschmann
2021-03-28 11:04 Sam James
2021-03-28 11:04 Sam James
2021-03-27  0:37 Sam James
2021-03-25 23:42 Sam James
2021-03-25 23:42 Sam James
2021-03-15  1:40 Thomas Deutschmann
2021-03-14 22:11 Sam James
2021-03-14 22:11 Sam James
2021-03-14  1:20 Sam James
2021-03-14  1:20 Sam James
2021-03-12  8:13 Mikle Kolyada
2021-03-12  8:13 Mikle Kolyada
2021-03-04  4:37 Sam James
2021-03-04  4:22 Sam James
2021-03-04  4:19 Sam James
2021-01-22 22:13 Sam James
2021-01-21 23:23 Sam James
2021-01-18  3:34 Sam James
2021-01-13 19:33 Sam James
2021-01-06 18:43 Fabian Groffen
2020-12-16 23:20 Sam James
2020-11-12 15:34 Sam James
2020-11-11 22:11 Sam James
2020-11-11 18:51 Sam James
2020-11-11 15:39 Sam James
2020-11-10 15:29 Thomas Deutschmann
2020-11-10 15:29 Thomas Deutschmann
2020-10-26 16:17 Thomas Deutschmann
2020-08-27 18:12 Aaron Bauman
2020-08-05  1:16 Sam James
2020-08-01  9:01 Sergei Trofimovich
2020-08-01  8:53 Sergei Trofimovich
2020-07-29  4:09 Sam James
2020-07-28 21:25 Sergei Trofimovich
2020-07-26 16:22 Thomas Deutschmann
2020-07-26 16:22 Thomas Deutschmann
2020-06-23 17:25 Sergei Trofimovich
2020-06-12 14:33 Thomas Deutschmann
2020-06-12 14:33 Thomas Deutschmann
2020-06-12 14:33 Thomas Deutschmann
2020-05-31  4:27 Robin H. Johnson
2020-05-31  4:27 Robin H. Johnson
2020-05-14 22:47 Aaron Bauman
2020-01-01 22:58 Aaron Bauman
2020-01-01 12:53 Agostino Sarubbo
2019-12-30 16:12 Agostino Sarubbo
2019-12-30 15:33 Agostino Sarubbo
2019-12-30 12:57 Agostino Sarubbo
2019-12-26 21:47 Robin H. Johnson
2019-12-26 21:47 Robin H. Johnson
2019-07-28 10:42 Mikle Kolyada
2019-07-21 21:49 Aaron Bauman
2019-07-18 18:35 Sergei Trofimovich
2019-07-18 11:43 Agostino Sarubbo
2019-07-17 15:24 Agostino Sarubbo
2019-07-15 14:17 Agostino Sarubbo
2019-07-11 21:27 Robin H. Johnson
2019-04-18  5:11 Robin H. Johnson
2019-04-18  5:11 Robin H. Johnson
2019-04-18  5:11 Robin H. Johnson
2019-04-14 18:43 Alexys Jacob
2019-03-25  4:18 Robin H. Johnson
2019-03-04  1:35 Thomas Deutschmann
2018-12-15  7:06 Robin H. Johnson
2018-12-15  7:06 Robin H. Johnson
2018-12-15  7:06 Robin H. Johnson
2018-11-12 18:57 Thomas Deutschmann
2018-11-12 18:57 Thomas Deutschmann
2018-10-26 13:18 Thomas Deutschmann
2018-09-13 15:02 Thomas Deutschmann
2018-08-23  0:22 Thomas Deutschmann
2018-07-07 10:47 Markus Meier
2018-07-07 10:47 Markus Meier
2018-06-21 16:08 Mart Raudsepp
2018-06-21 16:08 Mart Raudsepp
2018-06-18 15:43 Agostino Sarubbo
2018-06-17 23:29 Thomas Deutschmann
2018-06-17 21:12 Thomas Deutschmann
2018-06-17 21:12 Thomas Deutschmann
2018-05-27 11:24 Mikle Kolyada
2018-04-22 21:23 Matt Turner
2018-04-22 21:23 Matt Turner
2018-04-18 18:23 Craig Andrews
2018-03-04 11:39 Mart Raudsepp
2018-02-05 22:19 Robin H. Johnson
2018-02-05 21:27 Markus Meier
2018-02-05 21:27 Markus Meier
2018-01-27  6:44 Robin H. Johnson
2017-10-29 11:24 Manuel Rüger
2017-10-28 23:18 Sergei Trofimovich
2017-10-28 23:18 Sergei Trofimovich
2017-10-27 13:49 Thomas Deutschmann
2017-10-09  0:13 Robin H. Johnson
2017-10-09  0:13 Robin H. Johnson
2017-10-09  0:13 Robin H. Johnson
2017-10-08 23:24 Robin H. Johnson
2017-08-26 17:13 Michał Górny
2017-08-16 22:39 Robin H. Johnson
2017-06-23  4:37 Markus Meier
2017-06-21 12:17 Agostino Sarubbo
2017-06-18 14:01 Agostino Sarubbo
2017-04-24 18:45 Göktürk Yüksek
2017-03-01 10:43 Michael Weber
2017-03-01 10:43 Michael Weber
2017-02-15 23:14 Michael Weber
2017-01-14 12:10 Jeroen Roovers
2016-11-29 17:33 Markus Meier
2016-11-20 13:08 Agostino Sarubbo
2016-11-20 13:04 Agostino Sarubbo
2016-11-19 13:55 Agostino Sarubbo
2016-11-19 13:53 Agostino Sarubbo
2016-11-19 11:24 Alexys Jacob
2016-11-19 11:17 Alexys Jacob
2016-10-03 14:55 Jeroen Roovers
2016-05-28  8:30 Pacho Ramos
2016-04-21 14:42 Robin H. Johnson
2016-01-26  1:57 Zac Medico
2015-12-07  8:48 Anthony G. Basile
2015-11-25  8:54 Agostino Sarubbo
2015-11-24  9:30 Alexys Jacob
2015-11-24  9:30 Alexys Jacob
2015-10-06 12:19 Alexys Jacob
2015-10-01 20:45 Markus Meier
2015-08-28 10:29 Alexys Jacob
2015-08-28 10:24 Alexys Jacob
2015-08-28 10:20 Alexys Jacob
2015-08-28 10:16 Alexys Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1641029914.ead0cbbf6bca2037bdd280f55ce9a0a93f933220.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox