[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 7145502b592ff1f98eb3a0bcb1ae509264e30372 Author: Matoro Mahri matoro tk> AuthorDate: Fri May 17 18:11:07 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Sun May 19 23:08:59 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7145502b dev-libs/hiredis: Stabilize 1.1.0-r1 ppc, #899512 Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Ionen Wolkens gentoo.org> dev-libs/hiredis/hiredis-1.1.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild index 10058d6b8e66..00de629c89c3 100644 --- a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild @@ -13,7 +13,7 @@ LICENSE="BSD" # Always check "Upgrading from ..." in README # e.g. https://github.com/redis/hiredis#upgrading-to-110 SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 58eb0774d391881fe2b0192d42378d0f0b7bfdf8 Author: Matoro Mahri matoro tk> AuthorDate: Tue May 14 01:10:19 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri May 17 15:05:07 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58eb0774 dev-libs/hiredis: Stabilize 1.1.0-r1 arm, #899512 Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/hiredis/hiredis-1.1.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild index 3359fd46452f..10058d6b8e66 100644 --- a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild @@ -13,7 +13,7 @@ LICENSE="BSD" # Always check "Upgrading from ..." in README # e.g. https://github.com/redis/hiredis#upgrading-to-110 SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/files/, dev-libs/hiredis/
commit: 07cf4f6acae4827766ff465039c4bcfbe0fcbbf2 Author: Petr Vaněk gentoo org> AuthorDate: Sat Apr 20 20:49:53 2024 + Commit: Petr Vaněk gentoo org> CommitDate: Sat Apr 20 21:33:22 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07cf4f6a dev-libs/hiredis: avoid default -Werror Upstream introduced unconditional addition of -Werror flag in hiredis-1.2.0 in commit [1]. This was changed to conditional addition controlled by USE_WERROR variable later in commit [2]. This change backports it in form of patch. Additionally, emake newly takes arguments from local myconf array. [1] https://github.com/redis/hiredis/commit/5cbd1f2960662c18b1d2b2dac7352f2b5b1ba776 [2] https://github.com/redis/hiredis/commit/bff171c9fc83f8abed9a283a3da2dc91a5671419 Closes: https://bugs.gentoo.org/930336 Signed-off-by: Petr Vaněk gentoo.org> .../files/hiredis-1.2.0-conditional-werror.patch | 24 ++ dev-libs/hiredis/hiredis-1.2.0.ebuild | 23 - 2 files changed, 37 insertions(+), 10 deletions(-) diff --git a/dev-libs/hiredis/files/hiredis-1.2.0-conditional-werror.patch b/dev-libs/hiredis/files/hiredis-1.2.0-conditional-werror.patch new file mode 100644 index ..2ab7cf86e089 --- /dev/null +++ b/dev-libs/hiredis/files/hiredis-1.2.0-conditional-werror.patch @@ -0,0 +1,24 @@ +From bff171c9fc83f8abed9a283a3da2dc91a5671419 Mon Sep 17 00:00:00 2001 +From: Romain Geissler +Date: Thu, 13 Jul 2023 12:39:45 + +Subject: [PATCH] Allow disabling the -Werror flag. + +Upstream-commit: https://github.com/redis/hiredis/commit/bff171c9fc83f8abed9a283a3da2dc91a5671419 + +diff --git a/Makefile b/Makefile +index bd2106b1d..56e3d59be 100644 +--- a/Makefile b/Makefile +@@ -39,7 +39,11 @@ export REDIS_TEST_CONFIG + CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc') + CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++') + OPTIMIZATION?=-O3 +-WARNINGS=-Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers ++WARNINGS=-Wall -Wextra -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers ++USE_WERROR?=1 ++ifeq ($(USE_WERROR),1) ++ WARNINGS+=-Werror ++endif + DEBUG_FLAGS?= -g -ggdb + REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CPPFLAGS) $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS) $(PLATFORM_FLAGS) + REAL_LDFLAGS=$(LDFLAGS) diff --git a/dev-libs/hiredis/hiredis-1.2.0.ebuild b/dev-libs/hiredis/hiredis-1.2.0.ebuild index 6c1b7be7b083..10071f0716a4 100644 --- a/dev-libs/hiredis/hiredis-1.2.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.2.0.ebuild @@ -28,19 +28,22 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-1.1.0-disable-network-tests.patch + "${FILESDIR}"/${PN}-1.2.0-conditional-werror.patch # bug 930336 ) _build() { - emake \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - PREFIX="${EPREFIX}/usr" \ - LIBRARY_PATH="$(get_libdir)" \ - USE_SSL=$(usex ssl 1 0) \ - TEST_ASYNC=$(usex test 1 0) \ - DEBUG_FLAGS= \ - OPTIMIZATION= \ - "$@" + local myconf=( + AR="$(tc-getAR)" + CC="$(tc-getCC)" + PREFIX="${EPREFIX}/usr" + LIBRARY_PATH="$(get_libdir)" + USE_SSL=$(usex ssl 1 0) + TEST_ASYNC=$(usex test 1 0) + DEBUG_FLAGS= + OPTIMIZATION= + USE_WERROR=0 + ) + emake "${myconf[@]}" "$@" } src_compile() {
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 6bac0752f8b60b3d9d569ac4db5a62cfa2976dc9 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 20 11:23:23 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 20 11:23:23 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bac0752 dev-libs/hiredis: Stabilize 1.1.0-r1 x86, #899512 Signed-off-by: Michał Górny gentoo.org> dev-libs/hiredis/hiredis-1.1.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild index 4f5c5f80e235..3359fd46452f 100644 --- a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild @@ -13,7 +13,7 @@ LICENSE="BSD" # Always check "Upgrading from ..." in README # e.g. https://github.com/redis/hiredis#upgrading-to-110 SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 560819a16b8bd2c59ff06eb5bc5543fc28274133 Author: Sam James gentoo org> AuthorDate: Fri Apr 19 11:42:44 2024 + Commit: Sam James gentoo org> CommitDate: Fri Apr 19 11:42:44 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=560819a1 dev-libs/hiredis: Stabilize 1.1.0-r1 arm64, #899512 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.1.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild index 11f5fe0427b2..085db7b29585 100644 --- a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild @@ -13,7 +13,7 @@ LICENSE="BSD" # Always check "Upgrading from ..." in README # e.g. https://github.com/redis/hiredis#upgrading-to-110 SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 48b22483be727147c50d1cf59d38bf067ddeeeb1 Author: Sam James gentoo org> AuthorDate: Fri Apr 19 10:42:53 2024 + Commit: Sam James gentoo org> CommitDate: Fri Apr 19 10:42:53 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48b22483 dev-libs/hiredis: Stabilize 1.1.0-r1 ppc64, #899512 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.1.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild index ac1c84f95766..11f5fe0427b2 100644 --- a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild @@ -13,7 +13,7 @@ LICENSE="BSD" # Always check "Upgrading from ..." in README # e.g. https://github.com/redis/hiredis#upgrading-to-110 SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 5ce7c08c540bb6e9fd940b2b0df715c80ecda098 Author: Petr Vaněk gentoo org> AuthorDate: Fri Apr 19 09:53:14 2024 + Commit: Petr Vaněk gentoo org> CommitDate: Fri Apr 19 09:56:58 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce7c08c dev-libs/hiredis: remove unused sed The sed does nothing because the pattern no longer exists in the Makefile, it was removed in commit [1]. [1] https://github.com/redis/hiredis/commit/2cb203c1e99441172052f63afedd501ee2cedb65 Signed-off-by: Petr Vaněk gentoo.org> dev-libs/hiredis/hiredis-1.2.0.ebuild | 7 --- 1 file changed, 7 deletions(-) diff --git a/dev-libs/hiredis/hiredis-1.2.0.ebuild b/dev-libs/hiredis/hiredis-1.2.0.ebuild index 270f776b8fb1..6c1b7be7b083 100644 --- a/dev-libs/hiredis/hiredis-1.2.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.2.0.ebuild @@ -30,13 +30,6 @@ PATCHES=( "${FILESDIR}"/${PN}-1.1.0-disable-network-tests.patch ) -src_prepare() { - default - - # use GNU ld syntax on Solaris - sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die -} - _build() { emake \ AR="$(tc-getAR)" \
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 2799cb060ccd96724ef5f627ce94ab74547de2b9 Author: Petr Vaněk gentoo org> AuthorDate: Fri Apr 19 09:19:14 2024 + Commit: Petr Vaněk gentoo org> CommitDate: Fri Apr 19 09:35:47 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2799cb06 dev-libs/hiredis: correct hiredis-test parameter The -p parameter expects redis port, not PID. Tests still fail, but those issues were fixed in version 1.1.0, which is about to be stabilized, therefore, I don't think we have to spend time fixing them. Failures are most probably related to used redis server version, see comments in [1]. [1] https://github.com/redis/hiredis/commit/b455b33818be4dab51777433fcac0d15e0c221ec Closes: https://bugs.gentoo.org/864795 Closes: https://bugs.gentoo.org/866944 Closes: https://bugs.gentoo.org/880395 Signed-off-by: Petr Vaněk gentoo.org> dev-libs/hiredis/hiredis-1.0.2-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/hiredis/hiredis-1.0.2-r3.ebuild b/dev-libs/hiredis/hiredis-1.0.2-r3.ebuild index b990a555460f..178cf593343d 100644 --- a/dev-libs/hiredis/hiredis-1.0.2-r3.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -66,7 +66,7 @@ src_test() { _build hiredis-test "${EPREFIX}"/usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die - ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} + ./hiredis-test -h 127.0.0.1 -p ${REDIS_PORT} -s ${REDIS_SOCK} local ret=$? kill "$(<"${REDIS_PID}")" || die
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/files/, dev-libs/hiredis/
commit: becc53b8cb7709117c324281a147c2e260cd42d6 Author: Petr Vaněk gentoo org> AuthorDate: Fri Apr 19 08:39:10 2024 + Commit: Petr Vaněk gentoo org> CommitDate: Fri Apr 19 09:35:46 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=becc53b8 dev-libs/hiredis: fix tests for 1.1.0 It was necessary to correct test parameters, because the -p parameter expects redis port number, not PID. All previously disabled tests pass, however, new "Async connect timeout" test was introduced in 1.1.0 version which requires non-localhost IP address. This test is disabled by a new patch which replaced the original one. Closes: https://bugs.gentoo.org/920297 Signed-off-by: Petr Vaněk gentoo.org> .../files/hiredis-1.1.0-disable-network-tests.patch | 19 +++ dev-libs/hiredis/hiredis-1.1.0-r1.ebuild | 6 +++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/dev-libs/hiredis/files/hiredis-1.1.0-disable-network-tests.patch b/dev-libs/hiredis/files/hiredis-1.1.0-disable-network-tests.patch new file mode 100644 index ..0bfc281757f8 --- /dev/null +++ b/dev-libs/hiredis/files/hiredis-1.1.0-disable-network-tests.patch @@ -0,0 +1,19 @@ +Gentoo specific patch which disables test requiring non-localhost IP +address. + +diff --git a/test.c b/test.c +index c1065ff..ca21c30 100644 +--- a/test.c b/test.c +@@ -2151,7 +2151,7 @@ static void test_async_polling(struct config config) { + assert(astest.ac == NULL); + test_cond(astest.disconnect_status == REDIS_OK); + +-if (config.type == CONN_TCP || config.type == CONN_SSL) { ++if (0) { /* disabled because of blackhole ip */ + /* timeout can only be simulated with network */ + test("Async connect timeout: "); + config.tcp.host = "192.168.254.254"; /* blackhole ip */ +-- +2.43.2 + diff --git a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild index 193ec8133864..ac1c84f95766 100644 --- a/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -27,7 +27,7 @@ BDEPEND=" " PATCHES=( - "${FILESDIR}"/${PN}-1.0.0-disable-network-tests.patch + "${FILESDIR}"/${PN}-1.1.0-disable-network-tests.patch ) src_prepare() { @@ -73,7 +73,7 @@ src_test() { _build hiredis-test "${EPREFIX}"/usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die - ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} + ./hiredis-test -h 127.0.0.1 -p ${REDIS_PORT} -s ${REDIS_SOCK} local ret=$? kill "$(<"${REDIS_PID}")" || die
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: d108c3e245ad060e3f1777ef3b3b97ac25c5b4dd Author: Petr Vaněk gentoo org> AuthorDate: Fri Apr 19 09:34:15 2024 + Commit: Petr Vaněk gentoo org> CommitDate: Fri Apr 19 09:35:48 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d108c3e2 dev-libs/hiredis: add 1.2.0 Signed-off-by: Petr Vaněk gentoo.org> dev-libs/hiredis/Manifest | 1 + dev-libs/hiredis/hiredis-1.2.0.ebuild | 96 +++ 2 files changed, 97 insertions(+) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index 171a4ffec6a0..54d9108948d7 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,2 +1,3 @@ DIST hiredis-1.0.2.tar.gz 98139 BLAKE2B 86d872cfec3d4e925d5d68e4f4faf1301aa6d706bd0406a8080471e14afc2c25db13b9a0937d29baccd457611af8e46922b5379183c7470c9ae1860aac3af096 SHA512 86497a1c21869bbe535378885eee6dbd594ef96325966511a3513f81e501af0f5ac7fed864f3230372f3ac7a23c05bad477fa5aa90b9747c9fb1408028174f9b DIST hiredis-1.1.0.tar.gz 122002 BLAKE2B 74c23816e59ea241c68640f99970ae68536a1cd605ac1a7146bf52e355f5f74b3d39fb81be02741cf776c06b47b9d5acc7ec66bfdcf802dec3ed68fb28a82b1b SHA512 9dad012c144ed24de6aa413a3a10d19a9d0d9ece18dbc388406cd86c5b98cb66c76c586cb559c601ed13a75051d8921dc2882534cc3605513fde47d57276c3bb +DIST hiredis-1.2.0.tar.gz 126216 BLAKE2B 3f0b74205fb4ceb42fb4c1700a9bf95cf2ad2d9880ee1f2da9cbed6096cde5e918b01465ce9d6ec1b29b5934cfa6ab41000ed344a9983cebe6bd1bf64ac0ede1 SHA512 f8984abb29c09e7e6b56e656616c5155f36c53da4161a2d4c85688486411cadcdf20aa1adb9bda208c500b401c750871be1c8d58ba9df5328634d00e9d1b6589 diff --git a/dev-libs/hiredis/hiredis-1.2.0.ebuild b/dev-libs/hiredis/hiredis-1.2.0.ebuild new file mode 100644 index ..270f776b8fb1 --- /dev/null +++ b/dev-libs/hiredis/hiredis-1.2.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis; +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +# Always check "Upgrading from ..." in README +# e.g. https://github.com/redis/hiredis#upgrading-to-110 +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" +IUSE="examples ssl static-libs test" +RESTRICT="!test? ( test )" + +DEPEND="ssl? ( dev-libs/openssl:= )" +RDEPEND="${DEPEND}" +BDEPEND=" + test? ( + dev-db/redis + dev-libs/libevent + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.1.0-disable-network-tests.patch +) + +src_prepare() { + default + + # use GNU ld syntax on Solaris + sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die +} + +_build() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX}/usr" \ + LIBRARY_PATH="$(get_libdir)" \ + USE_SSL=$(usex ssl 1 0) \ + TEST_ASYNC=$(usex test 1 0) \ + DEBUG_FLAGS= \ + OPTIMIZATION= \ + "$@" +} + +src_compile() { + # The static lib re-uses the same objects as the shared lib, so + # overhead is low w/creating it all the time. It's also needed + # by the tests. + _build dynamic static hiredis{,_ssl}.pc +} + +src_test() { + # Compare with https://github.com/redis/hiredis/blob/648763c36e9f6493b13a77da35eb33ef0652b4e2/Makefile#L32 + local REDIS_PID="${T}"/hiredis.pid + local REDIS_SOCK="${T}"/hiredis.sock + local REDIS_PORT=56379 + local REDIS_TEST_CONFIG=" + daemonize yes + pidfile ${REDIS_PID} + port ${REDIS_PORT} + bind 127.0.0.1 + unixsocket //${REDIS_SOCK} + " + + _build hiredis-test + + "${EPREFIX}"/usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die + ./hiredis-test -h 127.0.0.1 -p ${REDIS_PORT} -s ${REDIS_SOCK} + local ret=$? + + kill "$(<"${REDIS_PID}")" || die + [[ ${ret} != "0" ]] && die "tests failed" +} + +src_install() { + _build PREFIX="${ED}/usr" install + + if ! use static-libs ; then + find "${ED}" -name '*.a' -delete || die + fi + + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + local DOCS=( CHANGELOG.md README.md ) + use examples && DOCS+=( examples ) + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 5e664103008aca17204231ff46d55c01362ea5b8 Author: Petr Vaněk atlas cz> AuthorDate: Wed Aug 16 14:50:47 2023 + Commit: Sam James gentoo org> CommitDate: Thu Aug 17 06:22:35 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e664103 dev-libs/hiredis: Correct prefix in hiredis_ssl.pc Ensure hiredis_ssl.pc is generated during the compile phase. Without this, it contains the $ED prefix from the install phase. It's safe to generate it, even if not installed when USE=-ssl is specified. Closes: https://bugs.gentoo.org/912367 Signed-off-by: Petr Vaněk atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/32345 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/{hiredis-1.0.2-r2.ebuild => hiredis-1.0.2-r3.ebuild} | 4 ++-- dev-libs/hiredis/{hiredis-1.1.0.ebuild => hiredis-1.1.0-r1.ebuild}| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-libs/hiredis/hiredis-1.0.2-r2.ebuild b/dev-libs/hiredis/hiredis-1.0.2-r3.ebuild similarity index 96% rename from dev-libs/hiredis/hiredis-1.0.2-r2.ebuild rename to dev-libs/hiredis/hiredis-1.0.2-r3.ebuild index 6290e448af16..b990a555460f 100644 --- a/dev-libs/hiredis/hiredis-1.0.2-r2.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -48,7 +48,7 @@ src_compile() { # The static lib re-uses the same objects as the shared lib, so # overhead is low w/creating it all the time. It's also needed # by the tests. - _build dynamic static hiredis.pc + _build dynamic static hiredis{,_ssl}.pc } src_test() { diff --git a/dev-libs/hiredis/hiredis-1.1.0.ebuild b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild similarity index 98% rename from dev-libs/hiredis/hiredis-1.1.0.ebuild rename to dev-libs/hiredis/hiredis-1.1.0-r1.ebuild index 4d173dd34c4d..193ec8133864 100644 --- a/dev-libs/hiredis/hiredis-1.1.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild @@ -54,7 +54,7 @@ src_compile() { # The static lib re-uses the same objects as the shared lib, so # overhead is low w/creating it all the time. It's also needed # by the tests. - _build dynamic static hiredis.pc + _build dynamic static hiredis{,_ssl}.pc } src_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/files/, dev-libs/hiredis/
commit: 6663909d307d2d6b05e1d83e763e11db918a67ce Author: John Helmert III gentoo org> AuthorDate: Tue May 23 04:22:00 2023 + Commit: John Helmert III gentoo org> CommitDate: Tue May 23 04:46:48 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6663909d dev-libs/hiredis: drop 0.14.1 Bug: https://bugs.gentoo.org/816318 Signed-off-by: John Helmert III gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/31137 dev-libs/hiredis/Manifest | 1 - .../hiredis-0.13.3-disable-network-tests.patch | 36 -- .../hiredis/files/hiredis-0.14.1-honor-AR.patch| 11 --- dev-libs/hiredis/hiredis-0.14.1.ebuild | 83 -- 4 files changed, 131 deletions(-) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index e56d2c6315f8..171a4ffec6a0 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,3 +1,2 @@ -DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f DIST hiredis-1.0.2.tar.gz 98139 BLAKE2B 86d872cfec3d4e925d5d68e4f4faf1301aa6d706bd0406a8080471e14afc2c25db13b9a0937d29baccd457611af8e46922b5379183c7470c9ae1860aac3af096 SHA512 86497a1c21869bbe535378885eee6dbd594ef96325966511a3513f81e501af0f5ac7fed864f3230372f3ac7a23c05bad477fa5aa90b9747c9fb1408028174f9b DIST hiredis-1.1.0.tar.gz 122002 BLAKE2B 74c23816e59ea241c68640f99970ae68536a1cd605ac1a7146bf52e355f5f74b3d39fb81be02741cf776c06b47b9d5acc7ec66bfdcf802dec3ed68fb28a82b1b SHA512 9dad012c144ed24de6aa413a3a10d19a9d0d9ece18dbc388406cd86c5b98cb66c76c586cb559c601ed13a75051d8921dc2882534cc3605513fde47d57276c3bb diff --git a/dev-libs/hiredis/files/hiredis-0.13.3-disable-network-tests.patch b/dev-libs/hiredis/files/hiredis-0.13.3-disable-network-tests.patch deleted file mode 100644 index 000e2537b5a0.. --- a/dev-libs/hiredis/files/hiredis-0.13.3-disable-network-tests.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git test.c test.c -index 8fde554..89ed6a0 100644 a/test.c -+++ b/test.c -@@ -343,6 +343,7 @@ static void test_free_null(void) { - static void test_blocking_connection_errors(void) { - redisContext *c; - -+#if 0 - test("Returns error when host cannot be resolved: "); - c = redisConnect((char*)"idontexist.test", 6379); - test_cond(c->err == REDIS_ERR_OTHER && -@@ -353,6 +354,7 @@ static void test_blocking_connection_errors(void) { - strcmp(c->errstr,"Temporary failure in name resolution") == 0 || - strcmp(c->errstr,"no address associated with name") == 0)); - redisFree(c); -+#endif - - test("Returns error when the port is not open: "); - c = redisConnect((char*)"localhost", 1); -@@ -773,6 +775,7 @@ int main(int argc, char **argv) { - test_blocking_connection_errors(); - test_free_null(); - -+#if 0 - printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port); - cfg.type = CONN_TCP; - test_blocking_connection(cfg); -@@ -781,6 +784,7 @@ int main(int argc, char **argv) { - test_invalid_timeout_errors(cfg); - test_append_formatted_commands(cfg); - if (throughput) test_throughput(cfg); -+#endif - - printf("\nTesting against Unix socket connection (%s):\n", cfg.unix.path); - cfg.type = CONN_UNIX; diff --git a/dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch b/dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch deleted file mode 100644 index 0bfcf0988e81.. --- a/dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch +++ /dev/null @@ -1,11 +0,0 @@ a/Makefile -+++ b/Makefile -@@ -51,7 +51,7 @@ DYLIB_MAJOR_NAME=$(LIBNAME).$(DYLIBSUFFIX).$(HIREDIS_MAJOR) - DYLIBNAME=$(LIBNAME).$(DYLIBSUFFIX) - DYLIB_MAKE_CMD=$(CC) -shared -Wl,-soname,$(DYLIB_MINOR_NAME) -o $(DYLIBNAME) $(LDFLAGS) - STLIBNAME=$(LIBNAME).$(STLIBSUFFIX) --STLIB_MAKE_CMD=ar rcs $(STLIBNAME) -+STLIB_MAKE_CMD=$(AR) rcs $(STLIBNAME) - - # Platform-specific overrides - uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild deleted file mode 100644 index 8711e421b030.. --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Minimalistic C client library for the Redis database" -HOMEPAGE="https://github.com/redis/hiredis; -SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/0.14" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~x64-solaris" -IUSE="examples static-libs test" -RESTRICT="!test? ( test
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 222715b22a8f4de7e20d39555ba661dfa6674ee5 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Mar 4 07:50:57 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Mar 4 07:50:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=222715b2 dev-libs/hiredis: Stabilize 1.1.0 sparc, #899512 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/hiredis/hiredis-1.1.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/hiredis/hiredis-1.1.0.ebuild b/dev-libs/hiredis/hiredis-1.1.0.ebuild index 04945ae5a369..4d173dd34c4d 100644 --- a/dev-libs/hiredis/hiredis-1.1.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ LICENSE="BSD" # Always check "Upgrading from ..." in README # e.g. https://github.com/redis/hiredis#upgrading-to-110 SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: e36b4dcc5f1d9eccb4cb4db173144b07813d2306 Author: WANG Xuerui gentoo org> AuthorDate: Tue Nov 29 16:26:53 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Tue Nov 29 18:04:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e36b4dcc dev-libs/hiredis: keyword 1.1.0 for ~loong Fails one test: > Testing asynchronous API against TCP connection (127.0.0.1:0): > Connection error: Connection refused But amd64 fails this too. Signed-off-by: WANG Xuerui gentoo.org> dev-libs/hiredis/hiredis-1.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.1.0.ebuild b/dev-libs/hiredis/hiredis-1.1.0.ebuild index 514234cce290..04945ae5a369 100644 --- a/dev-libs/hiredis/hiredis-1.1.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0.ebuild @@ -13,7 +13,7 @@ LICENSE="BSD" # Always check "Upgrading from ..." in README # e.g. https://github.com/redis/hiredis#upgrading-to-110 SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: a90b271f8487b431a535626db05e8ce63c7ad574 Author: Sam James gentoo org> AuthorDate: Thu Nov 17 01:34:23 2022 + Commit: Sam James gentoo org> CommitDate: Thu Nov 17 01:37:34 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90b271f dev-libs/hiredis: enable async tests Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.1.0.ebuild | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.1.0.ebuild b/dev-libs/hiredis/hiredis-1.1.0.ebuild index dc2110460101..514234cce290 100644 --- a/dev-libs/hiredis/hiredis-1.1.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0.ebuild @@ -19,7 +19,12 @@ RESTRICT="!test? ( test )" DEPEND="ssl? ( dev-libs/openssl:= )" RDEPEND="${DEPEND}" -BDEPEND="test? ( dev-db/redis )" +BDEPEND=" + test? ( + dev-db/redis + dev-libs/libevent + ) +" PATCHES=( "${FILESDIR}"/${PN}-1.0.0-disable-network-tests.patch @@ -39,6 +44,7 @@ _build() { PREFIX="${EPREFIX}/usr" \ LIBRARY_PATH="$(get_libdir)" \ USE_SSL=$(usex ssl 1 0) \ + TEST_ASYNC=$(usex test 1 0) \ DEBUG_FLAGS= \ OPTIMIZATION= \ "$@" @@ -52,6 +58,7 @@ src_compile() { } src_test() { + # Compare with https://github.com/redis/hiredis/blob/648763c36e9f6493b13a77da35eb33ef0652b4e2/Makefile#L32 local REDIS_PID="${T}"/hiredis.pid local REDIS_SOCK="${T}"/hiredis.sock local REDIS_PORT=56379
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 5974c3b9dfc9e366bd43108a4e1b8723defba644 Author: Sam James gentoo org> AuthorDate: Thu Nov 17 01:16:47 2022 + Commit: Sam James gentoo org> CommitDate: Thu Nov 17 01:16:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5974c3b9 dev-libs/hiredis: add README note Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.1.0.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-libs/hiredis/hiredis-1.1.0.ebuild b/dev-libs/hiredis/hiredis-1.1.0.ebuild index ff29bf657a84..dc2110460101 100644 --- a/dev-libs/hiredis/hiredis-1.1.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0.ebuild @@ -10,6 +10,8 @@ HOMEPAGE="https://github.com/redis/hiredis; SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" +# Always check "Upgrading from ..." in README +# e.g. https://github.com/redis/hiredis#upgrading-to-110 SLOT="0/$(ver_cut 1-2)" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: dc650c56050521d1b49c3f09c8ac0ad878503519 Author: Sam James gentoo org> AuthorDate: Thu Nov 17 01:09:35 2022 + Commit: Sam James gentoo org> CommitDate: Thu Nov 17 01:09:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc650c56 dev-libs/hiredis: add 1.1.0 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/Manifest | 1 + dev-libs/hiredis/hiredis-1.1.0.ebuild | 89 +++ 2 files changed, 90 insertions(+) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index 5fea35cb08ca..e56d2c6315f8 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,2 +1,3 @@ DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f DIST hiredis-1.0.2.tar.gz 98139 BLAKE2B 86d872cfec3d4e925d5d68e4f4faf1301aa6d706bd0406a8080471e14afc2c25db13b9a0937d29baccd457611af8e46922b5379183c7470c9ae1860aac3af096 SHA512 86497a1c21869bbe535378885eee6dbd594ef96325966511a3513f81e501af0f5ac7fed864f3230372f3ac7a23c05bad477fa5aa90b9747c9fb1408028174f9b +DIST hiredis-1.1.0.tar.gz 122002 BLAKE2B 74c23816e59ea241c68640f99970ae68536a1cd605ac1a7146bf52e355f5f74b3d39fb81be02741cf776c06b47b9d5acc7ec66bfdcf802dec3ed68fb28a82b1b SHA512 9dad012c144ed24de6aa413a3a10d19a9d0d9ece18dbc388406cd86c5b98cb66c76c586cb559c601ed13a75051d8921dc2882534cc3605513fde47d57276c3bb diff --git a/dev-libs/hiredis/hiredis-1.1.0.ebuild b/dev-libs/hiredis/hiredis-1.1.0.ebuild new file mode 100644 index ..a3cf72b485d0 --- /dev/null +++ b/dev-libs/hiredis/hiredis-1.1.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis; +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +# 1.0.1 erroneously bumped SONAME but we're stuck with it now. Force another +# rebuild so everybody is on the right one though (1.0.0). +SLOT="0/1.0.2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" +IUSE="examples ssl static-libs test" +RESTRICT="!test? ( test )" + +DEPEND="ssl? ( dev-libs/openssl:= )" +RDEPEND="${DEPEND}" +BDEPEND="test? ( dev-db/redis )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.0-disable-network-tests.patch +) + +src_prepare() { + default + + # use GNU ld syntax on Solaris + sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die +} + +_build() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX}/usr" \ + LIBRARY_PATH="$(get_libdir)" \ + USE_SSL=$(usex ssl 1 0) \ + DEBUG_FLAGS= \ + OPTIMIZATION= \ + "$@" +} + +src_compile() { + # The static lib re-uses the same objects as the shared lib, so + # overhead is low w/creating it all the time. It's also needed + # by the tests. + _build dynamic static hiredis.pc +} + +src_test() { + local REDIS_PID="${T}"/hiredis.pid + local REDIS_SOCK="${T}"/hiredis.sock + local REDIS_PORT=56379 + local REDIS_TEST_CONFIG=" + daemonize yes + pidfile ${REDIS_PID} + port ${REDIS_PORT} + bind 127.0.0.1 + unixsocket //${REDIS_SOCK} + " + + _build hiredis-test + + "${EPREFIX}"/usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die + ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} + local ret=$? + + kill "$(<"${REDIS_PID}")" || die + [[ ${ret} != "0" ]] && die "tests failed" +} + +src_install() { + _build PREFIX="${ED}/usr" install + + if ! use static-libs ; then + find "${ED}" -name '*.a' -delete || die + fi + + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + local DOCS=( CHANGELOG.md README.md ) + use examples && DOCS+=( examples ) + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 61ed8e50340be597f02e4070c2f81dabc0070636 Author: Sam James gentoo org> AuthorDate: Thu Nov 17 01:13:26 2022 + Commit: Sam James gentoo org> CommitDate: Thu Nov 17 01:13:26 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61ed8e50 dev-libs/hiredis: update EAPI 7 -> 8 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.1.0.ebuild | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dev-libs/hiredis/hiredis-1.1.0.ebuild b/dev-libs/hiredis/hiredis-1.1.0.ebuild index a3cf72b485d0..ff29bf657a84 100644 --- a/dev-libs/hiredis/hiredis-1.1.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.1.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs @@ -10,9 +10,7 @@ HOMEPAGE="https://github.com/redis/hiredis; SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" -# 1.0.1 erroneously bumped SONAME but we're stuck with it now. Force another -# rebuild so everybody is on the right one though (1.0.0). -SLOT="0/1.0.2" +SLOT="0/$(ver_cut 1-2)" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 54d0b5d06a06a4bd2bf6d5b5966d282c6b3d0f0a Author: Sam James gentoo org> AuthorDate: Wed Mar 16 01:24:04 2022 + Commit: Sam James gentoo org> CommitDate: Wed Mar 16 02:23:02 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54d0b5d0 dev-libs/hiredis: fix RDEPEND Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/{hiredis-1.0.2-r1.ebuild => hiredis-1.0.2-r2.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild b/dev-libs/hiredis/hiredis-1.0.2-r2.ebuild similarity index 97% rename from dev-libs/hiredis/hiredis-1.0.2-r1.ebuild rename to dev-libs/hiredis/hiredis-1.0.2-r2.ebuild index 5ff9381ea657..6290e448af16 100644 --- a/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )" DEPEND="ssl? ( dev-libs/openssl:= )" -RDEPEND="${RDEPEND}" +RDEPEND="${DEPEND}" BDEPEND="test? ( dev-db/redis )" PATCHES=(
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: f3240fe68f6bd1c9d17f4584e963dee5e5306028 Author: Sam James gentoo org> AuthorDate: Sat Jan 1 09:35:58 2022 + Commit: Sam James gentoo org> CommitDate: Sat Jan 1 09:38:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3240fe6 dev-libs/hiredis: drop 1.0.0-r1 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/Manifest| 1 - dev-libs/hiredis/hiredis-1.0.0-r1.ebuild | 87 2 files changed, 88 deletions(-) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index 017828759b4c..5fea35cb08ca 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,3 +1,2 @@ DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f -DIST hiredis-1.0.0.tar.gz 97507 BLAKE2B 247852d53be96e36dbdd7d4d8cfbda4406aa66281f26c28c3f80ab4593679122fd59430b2d5f04d20126b4459fc75af0a1fd67f1ee1db691d8db575debad2b61 SHA512 eb56201121eecdbfc8d42e8c2c141ae77bea248eeb36687ac6835c9b2404f5475beb351c4d8539d552db4d88e933bb2bd5b73f165e62b130bb11aeff39928e69 DIST hiredis-1.0.2.tar.gz 98139 BLAKE2B 86d872cfec3d4e925d5d68e4f4faf1301aa6d706bd0406a8080471e14afc2c25db13b9a0937d29baccd457611af8e46922b5379183c7470c9ae1860aac3af096 SHA512 86497a1c21869bbe535378885eee6dbd594ef96325966511a3513f81e501af0f5ac7fed864f3230372f3ac7a23c05bad477fa5aa90b9747c9fb1408028174f9b diff --git a/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild b/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild deleted file mode 100644 index 29a0b6bb7431.. --- a/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Minimalistic C client library for the Redis database" -HOMEPAGE="https://github.com/redis/hiredis; -SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/1.0.0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" -IUSE="examples ssl static-libs test" -RESTRICT="!test? ( test )" - -DEPEND="ssl? ( dev-libs/openssl:= )" -RDEPEND="${RDEPEND}" -BDEPEND="test? ( dev-db/redis )" - -PATCHES=( - "${FILESDIR}"/${PN}-1.0.0-disable-network-tests.patch -) - -src_prepare() { - default - - # use GNU ld syntax on Solaris - sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die -} - -_build() { - emake \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - PREFIX="${EPREFIX}/usr" \ - LIBRARY_PATH="$(get_libdir)" \ - USE_SSL=$(usex ssl 1 0) \ - DEBUG_FLAGS= \ - OPTIMIZATION= \ - "$@" -} - -src_compile() { - # The static lib re-uses the same objects as the shared lib, so - # overhead is low w/creating it all the time. It's also needed - # by the tests. - _build dynamic static hiredis.pc -} - -src_test() { - local REDIS_PID="${T}"/hiredis.pid - local REDIS_SOCK="${T}"/hiredis.sock - local REDIS_PORT=56379 - local REDIS_TEST_CONFIG=" - daemonize yes - pidfile ${REDIS_PID} - port ${REDIS_PORT} - bind 127.0.0.1 - unixsocket //${REDIS_SOCK} - " - - _build hiredis-test - - "${EPREFIX}"/usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die - ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} - local ret=$? - - kill "$(<"${REDIS_PID}")" || die - [[ ${ret} != "0" ]] && die "tests failed" -} - -src_install() { - _build PREFIX="${ED}/usr" install - - if ! use static-libs ; then - find "${ED}" -name '*.a' -delete || die - fi - - insinto /usr/$(get_libdir)/pkgconfig - doins ${PN}.pc - - local DOCS=( CHANGELOG.md README.md ) - use examples && DOCS+=( examples ) - einstalldocs -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 79e35c0e7ec7b4cf9e1e365c44fdf5e88ce5c8c9 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Nov 19 06:46:05 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Nov 19 06:46:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79e35c0e dev-libs/hiredis: Stabilize 1.0.2-r1 arm, #820170 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/hiredis/hiredis-1.0.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild b/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild index 7a7c75517a0a..e8add65d60ec 100644 --- a/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild @@ -13,7 +13,7 @@ LICENSE="BSD" # 1.0.1 erroneously bumped SONAME but we're stuck with it now. Force another # rebuild so everybody is on the right one though (1.0.0). SLOT="0/1.0.2" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: d320baad9a026c4cf77c515e4a27a8b7a8b45bd7 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Nov 19 06:46:08 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Nov 19 06:46:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d320baad dev-libs/hiredis: Stabilize 1.0.2-r1 arm64, #820170 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/hiredis/hiredis-1.0.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild b/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild index e8add65d60ec..5ff9381ea657 100644 --- a/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild @@ -13,7 +13,7 @@ LICENSE="BSD" # 1.0.1 erroneously bumped SONAME but we're stuck with it now. Force another # rebuild so everybody is on the right one though (1.0.0). SLOT="0/1.0.2" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: ecd47ee00dd11dd0a398e14ad53ea5d1e6d3e427 Author: Sam James gentoo org> AuthorDate: Sun Oct 31 09:40:15 2021 + Commit: Sam James gentoo org> CommitDate: Sun Oct 31 09:40:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecd47ee0 dev-libs/hiredis: drop 1.0.1-r1 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/Manifest| 1 - dev-libs/hiredis/hiredis-1.0.1-r1.ebuild | 87 2 files changed, 88 deletions(-) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index 51fbe74315c..017828759b4 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,4 +1,3 @@ DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f DIST hiredis-1.0.0.tar.gz 97507 BLAKE2B 247852d53be96e36dbdd7d4d8cfbda4406aa66281f26c28c3f80ab4593679122fd59430b2d5f04d20126b4459fc75af0a1fd67f1ee1db691d8db575debad2b61 SHA512 eb56201121eecdbfc8d42e8c2c141ae77bea248eeb36687ac6835c9b2404f5475beb351c4d8539d552db4d88e933bb2bd5b73f165e62b130bb11aeff39928e69 -DIST hiredis-1.0.1.tar.gz 97937 BLAKE2B 476bb3607aabe2147eead61c98de325f4dbd2d7c7439513ea0cd98980fc151a64798647757e46feb61e8914e47b42963bf128c938c94c42c448369065532166f SHA512 87909f78171cf4deeb3d030484b55fbd1a7f7f27f33636f90e169a900ddc5c5ec447d2df34739ada3cf35a50d647cb4fcbe2754f4521d18f770f1cf8ed962909 DIST hiredis-1.0.2.tar.gz 98139 BLAKE2B 86d872cfec3d4e925d5d68e4f4faf1301aa6d706bd0406a8080471e14afc2c25db13b9a0937d29baccd457611af8e46922b5379183c7470c9ae1860aac3af096 SHA512 86497a1c21869bbe535378885eee6dbd594ef96325966511a3513f81e501af0f5ac7fed864f3230372f3ac7a23c05bad477fa5aa90b9747c9fb1408028174f9b diff --git a/dev-libs/hiredis/hiredis-1.0.1-r1.ebuild b/dev-libs/hiredis/hiredis-1.0.1-r1.ebuild deleted file mode 100644 index b1397aa2a4d..000 --- a/dev-libs/hiredis/hiredis-1.0.1-r1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Minimalistic C client library for the Redis database" -HOMEPAGE="https://github.com/redis/hiredis; -SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/1.0.1" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" -IUSE="examples ssl static-libs test" -RESTRICT="!test? ( test )" - -DEPEND="ssl? ( dev-libs/openssl:= )" -RDEPEND="${RDEPEND}" -BDEPEND="test? ( dev-db/redis )" - -PATCHES=( - "${FILESDIR}"/${PN}-1.0.0-disable-network-tests.patch -) - -src_prepare() { - default - - # use GNU ld syntax on Solaris - sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die -} - -_build() { - emake \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - PREFIX="${EPREFIX}/usr" \ - LIBRARY_PATH="$(get_libdir)" \ - USE_SSL=$(usex ssl 1 0) \ - DEBUG_FLAGS= \ - OPTIMIZATION= \ - "$@" -} - -src_compile() { - # The static lib re-uses the same objects as the shared lib, so - # overhead is low w/creating it all the time. It's also needed - # by the tests. - _build dynamic static hiredis.pc -} - -src_test() { - local REDIS_PID="${T}"/hiredis.pid - local REDIS_SOCK="${T}"/hiredis.sock - local REDIS_PORT=56379 - local REDIS_TEST_CONFIG=" - daemonize yes - pidfile ${REDIS_PID} - port ${REDIS_PORT} - bind 127.0.0.1 - unixsocket //${REDIS_SOCK} - " - - _build hiredis-test - - "${EPREFIX}"/usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die - ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} - local ret=$? - - kill "$(<"${REDIS_PID}")" || die - [[ ${ret} != "0" ]] && die "tests failed" -} - -src_install() { - _build PREFIX="${ED}/usr" install - - if ! use static-libs ; then - find "${ED}" -name '*.a' -delete || die - fi - - insinto /usr/$(get_libdir)/pkgconfig - doins ${PN}.pc - - local DOCS=( CHANGELOG.md README.md ) - use examples && DOCS+=( examples ) - einstalldocs -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 4fd93c485f31b0f8b0ab41c1e0d475e57621a9ae Author: Sam James gentoo org> AuthorDate: Sun Oct 31 09:39:46 2021 + Commit: Sam James gentoo org> CommitDate: Sun Oct 31 09:39:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd93c48 dev-libs/hiredis: fix 1.0.2 subslot I'm not sure what I was thinking earlier. Unlucky consumer who rebuilt against the erroneous 1.0.1 will want it and it's gone now. Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/{hiredis-1.0.2.ebuild => hiredis-1.0.2-r1.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-libs/hiredis/hiredis-1.0.2.ebuild b/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild similarity index 92% rename from dev-libs/hiredis/hiredis-1.0.2.ebuild rename to dev-libs/hiredis/hiredis-1.0.2-r1.ebuild index f5cbc3c1edc..7a7c75517a0 100644 --- a/dev-libs/hiredis/hiredis-1.0.2.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.2-r1.ebuild @@ -10,9 +10,9 @@ HOMEPAGE="https://github.com/redis/hiredis; SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" -# 1.0.1 erroneously bumped SONAME but keep 1.0.1 here instead of the last -# real ABI break (1.0.0) to avoid forcing another set of rebuilds for folks. -SLOT="0/1.0.1" +# 1.0.1 erroneously bumped SONAME but we're stuck with it now. Force another +# rebuild so everybody is on the right one though (1.0.0). +SLOT="0/1.0.2" KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 5990cd8e238ae07bd630524c27be6a9b2cec84d8 Author: Sam James gentoo org> AuthorDate: Sun Oct 31 03:08:21 2021 + Commit: Sam James gentoo org> CommitDate: Sun Oct 31 03:08:21 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5990cd8e dev-libs/hiredis: add 1.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/Manifest | 1 + dev-libs/hiredis/hiredis-1.0.2.ebuild | 89 +++ 2 files changed, 90 insertions(+) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index 314ee23696f..51fbe74315c 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,3 +1,4 @@ DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f DIST hiredis-1.0.0.tar.gz 97507 BLAKE2B 247852d53be96e36dbdd7d4d8cfbda4406aa66281f26c28c3f80ab4593679122fd59430b2d5f04d20126b4459fc75af0a1fd67f1ee1db691d8db575debad2b61 SHA512 eb56201121eecdbfc8d42e8c2c141ae77bea248eeb36687ac6835c9b2404f5475beb351c4d8539d552db4d88e933bb2bd5b73f165e62b130bb11aeff39928e69 DIST hiredis-1.0.1.tar.gz 97937 BLAKE2B 476bb3607aabe2147eead61c98de325f4dbd2d7c7439513ea0cd98980fc151a64798647757e46feb61e8914e47b42963bf128c938c94c42c448369065532166f SHA512 87909f78171cf4deeb3d030484b55fbd1a7f7f27f33636f90e169a900ddc5c5ec447d2df34739ada3cf35a50d647cb4fcbe2754f4521d18f770f1cf8ed962909 +DIST hiredis-1.0.2.tar.gz 98139 BLAKE2B 86d872cfec3d4e925d5d68e4f4faf1301aa6d706bd0406a8080471e14afc2c25db13b9a0937d29baccd457611af8e46922b5379183c7470c9ae1860aac3af096 SHA512 86497a1c21869bbe535378885eee6dbd594ef96325966511a3513f81e501af0f5ac7fed864f3230372f3ac7a23c05bad477fa5aa90b9747c9fb1408028174f9b diff --git a/dev-libs/hiredis/hiredis-1.0.2.ebuild b/dev-libs/hiredis/hiredis-1.0.2.ebuild new file mode 100644 index 000..68ece94713d --- /dev/null +++ b/dev-libs/hiredis/hiredis-1.0.2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis; +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +# 1.0.1 erroneously bumped SONAME but keep 1.0.1 here instead of the last +# real ABI break (1.0.0) to avoid forcing another set of rebuilds for folks. +SLOT="0/1.0.1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" +IUSE="examples ssl static-libs test" +RESTRICT="!test? ( test )" + +DEPEND="ssl? ( dev-libs/openssl:= )" +RDEPEND="${RDEPEND}" +BDEPEND="test? ( dev-db/redis )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.0-disable-network-tests.patch +) + +src_prepare() { + default + + # use GNU ld syntax on Solaris + sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die +} + +_build() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX}/usr" \ + LIBRARY_PATH="$(get_libdir)" \ + USE_SSL=$(usex ssl 1 0) \ + DEBUG_FLAGS= \ + OPTIMIZATION= \ + "$@" +} + +src_compile() { + # The static lib re-uses the same objects as the shared lib, so + # overhead is low w/creating it all the time. It's also needed + # by the tests. + _build dynamic static hiredis.pc +} + +src_test() { + local REDIS_PID="${T}"/hiredis.pid + local REDIS_SOCK="${T}"/hiredis.sock + local REDIS_PORT=56379 + local REDIS_TEST_CONFIG=" + daemonize yes + pidfile ${REDIS_PID} + port ${REDIS_PORT} + bind 127.0.0.1 + unixsocket //${REDIS_SOCK} + " + + _build hiredis-test + + "${EPREFIX}"/usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die + ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} + local ret=$? + + kill "$(<"${REDIS_PID}")" || die + [[ ${ret} != "0" ]] && die "tests failed" +} + +src_install() { + _build PREFIX="${ED}/usr" install + + if ! use static-libs ; then + find "${ED}" -name '*.a' -delete || die + fi + + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + local DOCS=( CHANGELOG.md README.md ) + use examples && DOCS+=( examples ) + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: fe88423c1783e18a01607f088f9253515b5a78eb Author: Sam James gentoo org> AuthorDate: Sun Oct 31 03:08:36 2021 + Commit: Sam James gentoo org> CommitDate: Sun Oct 31 03:08:39 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe88423c dev-libs/hiredis: stabilize 1.0.2 for amd64, ppc, ppc64, sparc, x86 Identical to 1.0.1 w/o SONAME change. Bug: https://bugs.gentoo.org/820170 Closes: https://bugs.gentoo.org/820386 Closes: https://github.com/gentoo/gentoo/pull/22714 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.2.ebuild b/dev-libs/hiredis/hiredis-1.0.2.ebuild index 68ece94713d..f5cbc3c1edc 100644 --- a/dev-libs/hiredis/hiredis-1.0.2.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.2.ebuild @@ -13,7 +13,7 @@ LICENSE="BSD" # 1.0.1 erroneously bumped SONAME but keep 1.0.1 here instead of the last # real ABI break (1.0.0) to avoid forcing another set of rebuilds for folks. SLOT="0/1.0.1" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 9f410c09b870adfd7307af838c85745a4bc468ea Author: Sam James gentoo org> AuthorDate: Wed Oct 27 03:33:48 2021 + Commit: Sam James gentoo org> CommitDate: Wed Oct 27 03:35:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f410c09 dev-libs/hiredis: revbump for subslot change We need a revbump to propagate subslot changes, otherwise we're just relying on preserve-libs to not leave users with broken binaries. (Not sure whether the change was intentional upstream but it's definitely happened, so let's go with it.) Fixes: 714f6c8ea46dd70e5b8178b174fac513978a503f Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/{hiredis-1.0.1.ebuild => hiredis-1.0.1-r1.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/dev-libs/hiredis/hiredis-1.0.1.ebuild b/dev-libs/hiredis/hiredis-1.0.1-r1.ebuild similarity index 100% rename from dev-libs/hiredis/hiredis-1.0.1.ebuild rename to dev-libs/hiredis/hiredis-1.0.1-r1.ebuild
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 714f6c8ea46dd70e5b8178b174fac513978a503f Author: Sven Wegener gentoo org> AuthorDate: Tue Oct 26 20:46:25 2021 + Commit: Sven Wegener gentoo org> CommitDate: Tue Oct 26 21:33:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=714f6c8e dev-libs/hiredis: Update sub-slot for automatic rebuild The soname of the library has been updated from libhiredis.so.1.0.0 to libhiredis.so.1.0.1. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sven Wegener gentoo.org> dev-libs/hiredis/hiredis-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.1.ebuild b/dev-libs/hiredis/hiredis-1.0.1.ebuild index 14c35f3d68c..b1397aa2a4d 100644 --- a/dev-libs/hiredis/hiredis-1.0.1.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.1.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/redis/hiredis; SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" -SLOT="0/1.0.0" +SLOT="0/1.0.1" KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 3611287f701a297ca38c4dff4fb241180d383836 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Oct 26 13:29:58 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Oct 26 13:29:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3611287f dev-libs/hiredis: x86 stable wrt bug #820170 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/hiredis/hiredis-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.1.ebuild b/dev-libs/hiredis/hiredis-1.0.1.ebuild index 4c743829e51..14c35f3d68c 100644 --- a/dev-libs/hiredis/hiredis-1.0.1.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: d35337abeab8ec1e3fb8132149d27053efd5cef0 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Oct 26 13:28:13 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Oct 26 13:28:13 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d35337ab dev-libs/hiredis: amd64 stable wrt bug #820170 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/hiredis/hiredis-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.1.ebuild b/dev-libs/hiredis/hiredis-1.0.1.ebuild index ac4eb912051..4c743829e51 100644 --- a/dev-libs/hiredis/hiredis-1.0.1.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 87920a9fb16d6e77ad9379fa6bb84ec724334045 Author: Sam James gentoo org> AuthorDate: Tue Oct 26 03:15:35 2021 + Commit: Sam James gentoo org> CommitDate: Tue Oct 26 03:15:35 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87920a9f dev-libs/hiredis: Stabilize 1.0.1 sparc, #820170 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.1.ebuild b/dev-libs/hiredis/hiredis-1.0.1.ebuild index bcfcee355a1..ac4eb912051 100644 --- a/dev-libs/hiredis/hiredis-1.0.1.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 0eca962374f703b3cbc1b24ce7d9b747224439fb Author: Sam James gentoo org> AuthorDate: Tue Oct 26 03:15:20 2021 + Commit: Sam James gentoo org> CommitDate: Tue Oct 26 03:15:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eca9623 dev-libs/hiredis: Stabilize 1.0.1 ppc64, #820170 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.1.ebuild b/dev-libs/hiredis/hiredis-1.0.1.ebuild index f3a771d6491..bcfcee355a1 100644 --- a/dev-libs/hiredis/hiredis-1.0.1.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 4d0ac827176e637323842c312e8301ebe8dedfe3 Author: Sam James gentoo org> AuthorDate: Tue Oct 26 03:15:17 2021 + Commit: Sam James gentoo org> CommitDate: Tue Oct 26 03:15:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d0ac827 dev-libs/hiredis: Stabilize 1.0.1 ppc, #820170 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.1.ebuild b/dev-libs/hiredis/hiredis-1.0.1.ebuild index 29725e58a6b..f3a771d6491 100644 --- a/dev-libs/hiredis/hiredis-1.0.1.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 24428f0153ac66a130c29e4c9a91b161f3da6278 Author: Sam James gentoo org> AuthorDate: Tue Oct 5 04:07:00 2021 + Commit: Sam James gentoo org> CommitDate: Tue Oct 5 04:08:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24428f01 dev-libs/hiredis: add 1.0.1 Bug: https://bugs.gentoo.org/816318 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/Manifest | 1 + dev-libs/hiredis/hiredis-1.0.1.ebuild | 87 +++ 2 files changed, 88 insertions(+) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index bee3dbedda0..314ee23696f 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,2 +1,3 @@ DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f DIST hiredis-1.0.0.tar.gz 97507 BLAKE2B 247852d53be96e36dbdd7d4d8cfbda4406aa66281f26c28c3f80ab4593679122fd59430b2d5f04d20126b4459fc75af0a1fd67f1ee1db691d8db575debad2b61 SHA512 eb56201121eecdbfc8d42e8c2c141ae77bea248eeb36687ac6835c9b2404f5475beb351c4d8539d552db4d88e933bb2bd5b73f165e62b130bb11aeff39928e69 +DIST hiredis-1.0.1.tar.gz 97937 BLAKE2B 476bb3607aabe2147eead61c98de325f4dbd2d7c7439513ea0cd98980fc151a64798647757e46feb61e8914e47b42963bf128c938c94c42c448369065532166f SHA512 87909f78171cf4deeb3d030484b55fbd1a7f7f27f33636f90e169a900ddc5c5ec447d2df34739ada3cf35a50d647cb4fcbe2754f4521d18f770f1cf8ed962909 diff --git a/dev-libs/hiredis/hiredis-1.0.1.ebuild b/dev-libs/hiredis/hiredis-1.0.1.ebuild new file mode 100644 index 000..29725e58a6b --- /dev/null +++ b/dev-libs/hiredis/hiredis-1.0.1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis; +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/1.0.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" +IUSE="examples ssl static-libs test" +RESTRICT="!test? ( test )" + +DEPEND="ssl? ( dev-libs/openssl:= )" +RDEPEND="${RDEPEND}" +BDEPEND="test? ( dev-db/redis )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.0-disable-network-tests.patch +) + +src_prepare() { + default + + # use GNU ld syntax on Solaris + sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die +} + +_build() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX}/usr" \ + LIBRARY_PATH="$(get_libdir)" \ + USE_SSL=$(usex ssl 1 0) \ + DEBUG_FLAGS= \ + OPTIMIZATION= \ + "$@" +} + +src_compile() { + # The static lib re-uses the same objects as the shared lib, so + # overhead is low w/creating it all the time. It's also needed + # by the tests. + _build dynamic static hiredis.pc +} + +src_test() { + local REDIS_PID="${T}"/hiredis.pid + local REDIS_SOCK="${T}"/hiredis.sock + local REDIS_PORT=56379 + local REDIS_TEST_CONFIG=" + daemonize yes + pidfile ${REDIS_PID} + port ${REDIS_PORT} + bind 127.0.0.1 + unixsocket //${REDIS_SOCK} + " + + _build hiredis-test + + "${EPREFIX}"/usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die + ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} + local ret=$? + + kill "$(<"${REDIS_PID}")" || die + [[ ${ret} != "0" ]] && die "tests failed" +} + +src_install() { + _build PREFIX="${ED}/usr" install + + if ! use static-libs ; then + find "${ED}" -name '*.a' -delete || die + fi + + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + local DOCS=( CHANGELOG.md README.md ) + use examples && DOCS+=( examples ) + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 974502b85dd5db2529bc3f44f7bb9959e376885d Author: Marek Szuba gentoo org> AuthorDate: Mon Jul 26 15:19:23 2021 + Commit: Marek Szuba gentoo org> CommitDate: Mon Jul 26 15:45:22 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=974502b8 dev-libs/hiredis: keyword 1.0.0-r1 for ~riscv Signed-off-by: Marek Szuba gentoo.org> dev-libs/hiredis/hiredis-1.0.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild b/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild index 3b7f0a53ba6..29a0b6bb743 100644 --- a/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 106893f0269be3e1922e23e8395c4e32464c819d Author: Sam James gentoo org> AuthorDate: Mon Jun 21 03:36:49 2021 + Commit: Sam James gentoo org> CommitDate: Mon Jun 21 10:37:08 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=106893f0 dev-libs/hiredis: fix *DEPEND * Redis is needed as a BDEPEND for tests. * Add missing subslot operator for OpenSSL given it's going to break ABI from 1.1.x -> 3.x. * Set RDEPEND="${DEPEND}". Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/{hiredis-1.0.0.ebuild => hiredis-1.0.0-r1.ebuild} | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild similarity index 95% rename from dev-libs/hiredis/hiredis-1.0.0.ebuild rename to dev-libs/hiredis/hiredis-1.0.0-r1.ebuild index b66961f6faf..3b7f0a53ba6 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild @@ -15,10 +15,9 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~x64-sola IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )" -DEPEND=" - ssl? ( dev-libs/openssl ) - test? ( dev-db/redis ) -" +DEPEND="ssl? ( dev-libs/openssl:= )" +RDEPEND="${RDEPEND}" +BDEPEND="test? ( dev-db/redis )" PATCHES=( "${FILESDIR}"/${PN}-1.0.0-disable-network-tests.patch
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 6b6515f9da372efc0899614f2d1abcba2382b4bb Author: Sam James gentoo org> AuthorDate: Mon Mar 22 22:34:48 2021 + Commit: Sam James gentoo org> CommitDate: Tue Mar 23 04:48:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b6515f9 dev-libs/hiredis: style changes * Don't quote EAPI * Use Bash tests, not POSIX * Define PATCHES in global scope * sam-style semicolons Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 20 +++- dev-libs/hiredis/hiredis-1.0.0.ebuild | 27 --- 2 files changed, 27 insertions(+), 20 deletions(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index d3827b66b40..814420c 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=7 inherit toolchain-funcs @@ -17,11 +17,12 @@ RESTRICT="!test? ( test )" DEPEND="test? ( dev-db/redis )" +PATCHES=( + "${FILESDIR}"/${PN}-0.13.3-disable-network-tests.patch + "${FILESDIR}"/${PN}-0.14.1-honor-AR.patch +) + src_prepare() { - local PATCHES=( - "${FILESDIR}"/${PN}-0.13.3-disable-network-tests.patch - "${FILESDIR}"/${PN}-0.14.1-honor-AR.patch - ) default # use GNU ld syntax on Solaris @@ -58,17 +59,18 @@ src_test() { _build hiredis-test - /usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die + "${EPREFIX}"/usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} local ret=$? kill "$(<"${REDIS_PID}")" || die - [ ${ret} != "0" ] && die "tests failed" + [[ ${ret} != "0" ]] && die "tests failed" } src_install() { _build PREFIX="${ED}/usr" install - if ! use static-libs; then + + if ! use static-libs ; then find "${ED}" -name '*.a' -delete || die fi diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index 20d56c4f2eb..b9046749771 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=7 inherit toolchain-funcs @@ -17,12 +17,14 @@ RESTRICT="!test? ( test )" DEPEND=" ssl? ( dev-libs/openssl ) - test? ( dev-db/redis )" + test? ( dev-db/redis ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.0-disable-network-tests.patch +) src_prepare() { - local PATCHES=( - "${FILESDIR}/${PN}-1.0.0-disable-network-tests.patch" - ) default # use GNU ld syntax on Solaris @@ -52,25 +54,28 @@ src_test() { local REDIS_PID="${T}"/hiredis.pid local REDIS_SOCK="${T}"/hiredis.sock local REDIS_PORT=56379 - local REDIS_TEST_CONFIG="daemonize yes + local REDIS_TEST_CONFIG=" + daemonize yes pidfile ${REDIS_PID} port ${REDIS_PORT} bind 127.0.0.1 - unixsocket //${REDIS_SOCK}" + unixsocket //${REDIS_SOCK} + " _build hiredis-test - /usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die + "${EPREFIX}"/usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} local ret=$? kill "$(<"${REDIS_PID}")" || die - [ ${ret} != "0" ] && die "tests failed" + [[ ${ret} != "0" ]] && die "tests failed" } src_install() { _build PREFIX="${ED}/usr" install - if ! use static-libs; then + + if ! use static-libs ; then find "${ED}" -name '*.a' -delete || die fi
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/, net-libs/libpcap/, net-libs/libpcap/files/
commit: 3710296030a5439c1034dba302d249ad0736e7bb Author: Sam James gentoo org> AuthorDate: Thu Mar 4 05:29:09 2021 + Commit: Sam James gentoo org> CommitDate: Thu Mar 4 05:29:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37102960 Revert "dev-libs/hiredis: remove 0.14.1" This reverts commit 3cb8d20c8f4e3d211e1acfc05cb7fc3ea4dc3a2d. Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/Manifest | 1 + dev-libs/hiredis/hiredis-0.14.1.ebuild| 81 ++ net-libs/libpcap/files/libpcap-1.8.1-usbmon.patch | 16 + net-libs/libpcap/libpcap-1.9.1-r3.ebuild | 84 +++ 4 files changed, 182 insertions(+) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index 8da38f2fc13..bee3dbedda0 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1 +1,2 @@ +DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f DIST hiredis-1.0.0.tar.gz 97507 BLAKE2B 247852d53be96e36dbdd7d4d8cfbda4406aa66281f26c28c3f80ab4593679122fd59430b2d5f04d20126b4459fc75af0a1fd67f1ee1db691d8db575debad2b61 SHA512 eb56201121eecdbfc8d42e8c2c141ae77bea248eeb36687ac6835c9b2404f5475beb351c4d8539d552db4d88e933bb2bd5b73f165e62b130bb11aeff39928e69 diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild new file mode 100644 index 000..d3827b66b40 --- /dev/null +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis; +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/0.14" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~x64-solaris" +IUSE="examples static-libs test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-db/redis )" + +src_prepare() { + local PATCHES=( + "${FILESDIR}"/${PN}-0.13.3-disable-network-tests.patch + "${FILESDIR}"/${PN}-0.14.1-honor-AR.patch + ) + default + + # use GNU ld syntax on Solaris + sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die +} + +_build() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX}/usr" \ + LIBRARY_PATH="$(get_libdir)" \ + DEBUG_FLAGS= \ + OPTIMIZATION= \ + "$@" +} + +src_compile() { + # The static lib re-uses the same objects as the shared lib, so + # overhead is low w/creating it all the time. It's also needed + # by the tests. + _build dynamic static hiredis.pc +} + +src_test() { + local REDIS_PID="${T}"/hiredis.pid + local REDIS_SOCK="${T}"/hiredis.sock + local REDIS_PORT=56379 + local REDIS_TEST_CONFIG="daemonize yes + pidfile ${REDIS_PID} + port ${REDIS_PORT} + bind 127.0.0.1 + unixsocket //${REDIS_SOCK}" + + _build hiredis-test + + /usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die + ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} + local ret=$? + + kill "$(<"${REDIS_PID}")" || die + [ ${ret} != "0" ] && die "tests failed" +} + +src_install() { + _build PREFIX="${ED}/usr" install + if ! use static-libs; then + find "${ED}" -name '*.a' -delete || die + fi + + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + local DOCS=( CHANGELOG.md README.md ) + use examples && DOCS+=( examples ) + einstalldocs +} diff --git a/net-libs/libpcap/files/libpcap-1.8.1-usbmon.patch b/net-libs/libpcap/files/libpcap-1.8.1-usbmon.patch new file mode 100644 index 000..0b69e43a3f7 --- /dev/null +++ b/net-libs/libpcap/files/libpcap-1.8.1-usbmon.patch @@ -0,0 +1,16 @@ +--- a/configure.ac b/configure.ac +@@ -1493,10 +1493,9 @@ + AC_DEFINE(PCAP_SUPPORT_USB, 1, [target host supports USB sniffing]) + USB_SRC=pcap-usb-linux.c + AC_MSG_RESULT(yes) +- ac_usb_dev_name=`udevinfo -q name -p /sys/class/usb_device/usbmon 2>/dev/null` +- if test $? -ne 0 ; then +-ac_usb_dev_name="usbmon" +- fi ++ ++ ac_usb_dev_name="usbmon" ++ + AC_DEFINE_UNQUOTED(LINUX_USB_MON_DEV, "/dev/$ac_usb_dev_name", [path for device for USB sniffing]) + AC_MSG_NOTICE(Device for USB sniffing is /dev/$ac_usb_dev_name) + # diff --git
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: acb68db444c105623c1cc6893d9667c5bb51fe37 Author: Sam James gentoo org> AuthorDate: Fri Feb 5 06:11:20 2021 + Commit: Sam James gentoo org> CommitDate: Fri Feb 5 06:11:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acb68db4 dev-libs/hiredis: adopt package Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-libs/hiredis/metadata.xml b/dev-libs/hiredis/metadata.xml index babc01fd3f4..acda7373e62 100644 --- a/dev-libs/hiredis/metadata.xml +++ b/dev-libs/hiredis/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd;> - + +s...@gentoo.org +Sam James + Reflect ABI of libhiredis.so.
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: eb0da63e7dc99186b07e7fca56a191983b580b8f Author: Sam James gentoo org> AuthorDate: Fri Dec 18 14:23:05 2020 + Commit: Sam James gentoo org> CommitDate: Fri Dec 18 14:23:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb0da63e dev-libs/hiredis: Stabilize 1.0.0 s390, #753407 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index be1b0006171..20d56c4f2eb 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: d4b2557e0cf31e2c64f5df5c6748f52da3fbbae4 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Nov 25 23:25:18 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Nov 25 23:25:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b2557e dev-libs/hiredis: drop down to ~hppa Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +- dev-libs/hiredis/hiredis-1.0.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index c930d36b325..d3827b66b40 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.14" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~x64-solaris" IUSE="examples static-libs test" RESTRICT="!test? ( test )" diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index 5ca5e35b261..be1b0006171 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: e4d3910fce71c06f6f625d6b1ceb161a2d0dc284 Author: Sam James gentoo org> AuthorDate: Fri Nov 13 23:32:59 2020 + Commit: Sam James gentoo org> CommitDate: Fri Nov 13 23:32:59 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4d3910f dev-libs/hiredis: Stabilize 1.0.0 amd64, #753407 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index ba1df99d97c..33ae5c527a8 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 ~sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 ~sparc x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: d3492bd73486b3998cc2a52976ce105428d1199e Author: Sam James gentoo org> AuthorDate: Sat Nov 7 20:54:37 2020 + Commit: Sam James gentoo org> CommitDate: Sat Nov 7 20:54:37 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3492bd7 dev-libs/hiredis: Stabilize 1.0.0 arm64, #753407 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index c4d8372d2e0..69d0787204e 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ppc ppc64 ~s390 ~sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 1f4ad944320c5a981e891e9c751f6381e2d7e1d6 Author: Sam James gentoo org> AuthorDate: Sat Nov 7 20:55:38 2020 + Commit: Sam James gentoo org> CommitDate: Sat Nov 7 20:55:38 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f4ad944 dev-libs/hiredis: Stabilize 1.0.0 arm, #753407 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/hiredis-1.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index 69d0787204e..55f3b466df9 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ppc ppc64 ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 ~sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 59d757c90dfc85b5c5ea8e5c84879385b6707067 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 7 20:24:14 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 7 20:34:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d757c9 dev-libs/hiredis: stable 1.0.0 for ppc64 stable wrt bug #753407 Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-libs/hiredis/hiredis-1.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index db3442a9ae5..c4d8372d2e0 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~s390 ~sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 04de7f7f13a7cde467416e41cee0020080abf209 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 7 20:12:24 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 7 20:22:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04de7f7f dev-libs/hiredis: stable 1.0.0 for ppc stable wrt bug #753407 Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-libs/hiredis/hiredis-1.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index 35622e20844..db3442a9ae5 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 4ad5ff93d0a3ef5a5b04e34431d0dca6716b7919 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 7 20:08:39 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 7 20:10:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad5ff93 dev-libs/hiredis: stable 1.0.0 for hppa stable wrt bug #753407 Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> dev-libs/hiredis/hiredis-1.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index e8536113a2f..35622e20844 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris" IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: cee7d0f5f8c8fc7d4467e495f733ff80624a1ae0 Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Oct 26 16:37:04 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Oct 26 16:37:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee7d0f5 dev-libs/hiredis: fix deletion of static libs Closes: https://bugs.gentoo.org/749396 Closes: https://github.com/gentoo/gentoo/pull/18014 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +- dev-libs/hiredis/hiredis-1.0.0.ebuild | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index b0bf2fbfaed..c930d36b325 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -69,7 +69,7 @@ src_test() { src_install() { _build PREFIX="${ED}/usr" install if ! use static-libs; then - rm "${ED}/usr/$(get_libdir)/libhiredis.a" || die + find "${ED}" -name '*.a' -delete || die fi insinto /usr/$(get_libdir)/pkgconfig diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index d11dddc289c..e8536113a2f 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -71,8 +71,7 @@ src_test() { src_install() { _build PREFIX="${ED}/usr" install if ! use static-libs; then - rm "${ED}/usr/$(get_libdir)/libhiredis.a" \ - "${ED}/usr/$(get_libdir)/libhiredis_ssl.a" || die + find "${ED}" -name '*.a' -delete || die fi insinto /usr/$(get_libdir)/pkgconfig
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 0bb3a5eb81aabd628ba03ec01486abc64e34e1a1 Author: Petr Vaněk atlas cz> AuthorDate: Thu Oct 8 15:03:31 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Oct 12 12:39:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb3a5eb dev-libs/hiredis: make ssl support available Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Petr Vaněk atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/17853 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/hiredis/hiredis-1.0.0.ebuild | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index f65824d561b..d11dddc289c 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -12,10 +12,12 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris" -IUSE="examples static-libs test" +IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )" -DEPEND="test? ( dev-db/redis )" +DEPEND=" + ssl? ( dev-libs/openssl ) + test? ( dev-db/redis )" src_prepare() { local PATCHES=( @@ -33,6 +35,7 @@ _build() { CC="$(tc-getCC)" \ PREFIX="${EPREFIX}/usr" \ LIBRARY_PATH="$(get_libdir)" \ + USE_SSL=$(usex ssl 1 0) \ DEBUG_FLAGS= \ OPTIMIZATION= \ "$@" @@ -68,7 +71,8 @@ src_test() { src_install() { _build PREFIX="${ED}/usr" install if ! use static-libs; then - rm "${ED}/usr/$(get_libdir)/libhiredis.a" || die + rm "${ED}/usr/$(get_libdir)/libhiredis.a" \ + "${ED}/usr/$(get_libdir)/libhiredis_ssl.a" || die fi insinto /usr/$(get_libdir)/pkgconfig
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/, dev-libs/hiredis/files/
commit: c1badd3b7cb84cdfd37e40c81258eb8e933c95a8 Author: Sam James gentoo org> AuthorDate: Thu Oct 8 19:02:35 2020 + Commit: Sam James gentoo org> CommitDate: Thu Oct 8 19:02:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1badd3b dev-libs/hiredis: bump to 1.0.0 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> dev-libs/hiredis/Manifest | 1 + .../hiredis-1.0.0-disable-network-tests.patch | 53 ++ dev-libs/hiredis/hiredis-1.0.0.ebuild | 80 ++ 3 files changed, 134 insertions(+) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index 6cc58a1f9b4..bee3dbedda0 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1 +1,2 @@ DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f +DIST hiredis-1.0.0.tar.gz 97507 BLAKE2B 247852d53be96e36dbdd7d4d8cfbda4406aa66281f26c28c3f80ab4593679122fd59430b2d5f04d20126b4459fc75af0a1fd67f1ee1db691d8db575debad2b61 SHA512 eb56201121eecdbfc8d42e8c2c141ae77bea248eeb36687ac6835c9b2404f5475beb351c4d8539d552db4d88e933bb2bd5b73f165e62b130bb11aeff39928e69 diff --git a/dev-libs/hiredis/files/hiredis-1.0.0-disable-network-tests.patch b/dev-libs/hiredis/files/hiredis-1.0.0-disable-network-tests.patch new file mode 100644 index 000..c8a5822c8ef --- /dev/null +++ b/dev-libs/hiredis/files/hiredis-1.0.0-disable-network-tests.patch @@ -0,0 +1,53 @@ +diff --git a/test.c b/test.c +index c0eeca7..5d70471 100644 +--- a/test.c b/test.c +@@ -641,6 +641,7 @@ static void test_blocking_connection_errors(void) { + struct addrinfo *ai_tmp = NULL; + + int rv = getaddrinfo(HIREDIS_BAD_DOMAIN, "6379", , _tmp); ++#if 0 + if (rv != 0) { + // Address does *not* exist + test("Returns error when host cannot be resolved: "); +@@ -662,6 +663,7 @@ static void test_blocking_connection_errors(void) { + printf("Skipping NXDOMAIN test. Found evil ISP!\n"); + freeaddrinfo(ai_tmp); + } ++#endif + + #ifndef _WIN32 + test("Returns error when the port is not open: "); +@@ -670,10 +672,12 @@ static void test_blocking_connection_errors(void) { + strcmp(c->errstr,"Connection refused") == 0); + redisFree(c); + ++#if 0 + test("Returns error when the unix_sock socket path doesn't accept connections: "); + c = redisConnectUnix((char*)"/tmp/idontexist.sock"); + test_cond(c->err == REDIS_ERR_IO); /* Don't care about the message... */ + redisFree(c); ++#endif + #endif + } + +diff --git a/test.c b/test.c +index 1e8fce1..91625ca 100644 +--- a/test.c b/test.c +@@ -1324,6 +1324,7 @@ int main(int argc, char **argv) { + test_blocking_connection_errors(); + test_free_null(); + ++#if 0 + printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port); + cfg.type = CONN_TCP; + test_blocking_connection(cfg); +@@ -1332,6 +1333,7 @@ int main(int argc, char **argv) { + test_invalid_timeout_errors(cfg); + test_append_formatted_commands(cfg); + if (throughput) test_throughput(cfg); ++#endif + + printf("\nTesting against Unix socket connection (%s): ", cfg.unix_sock.path); + if (test_unix_socket) { diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild new file mode 100644 index 000..f65824d561b --- /dev/null +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis; +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/1.0.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris" +IUSE="examples static-libs test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-db/redis )" + +src_prepare() { + local PATCHES=( + "${FILESDIR}/${PN}-1.0.0-disable-network-tests.patch" + ) + default + + # use GNU ld syntax on Solaris + sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die +} + +_build() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX}/usr" \ + LIBRARY_PATH="$(get_libdir)" \ + DEBUG_FLAGS= \ + OPTIMIZATION= \ + "$@" +} + +src_compile() { + # The static lib re-uses the same objects as the shared lib, so + # overhead is low w/creating it all
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/files/, dev-libs/hiredis/
commit: 529ac465f12bf9ead54425ac142154d86389ae2a Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Jul 23 17:10:27 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Jul 23 17:10:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=529ac465 dev-libs/hiredis: don't call AR directly While here, update other vars we pass to Makefile. Closes: https://bugs.gentoo.org/723704 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann gentoo.org> dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch | 11 +++ dev-libs/hiredis/hiredis-0.14.1.ebuild | 10 ++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch b/dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch new file mode 100644 index 000..0bfcf0988e8 --- /dev/null +++ b/dev-libs/hiredis/files/hiredis-0.14.1-honor-AR.patch @@ -0,0 +1,11 @@ +--- a/Makefile b/Makefile +@@ -51,7 +51,7 @@ DYLIB_MAJOR_NAME=$(LIBNAME).$(DYLIBSUFFIX).$(HIREDIS_MAJOR) + DYLIBNAME=$(LIBNAME).$(DYLIBSUFFIX) + DYLIB_MAKE_CMD=$(CC) -shared -Wl,-soname,$(DYLIB_MINOR_NAME) -o $(DYLIBNAME) $(LDFLAGS) + STLIBNAME=$(LIBNAME).$(STLIBSUFFIX) +-STLIB_MAKE_CMD=ar rcs $(STLIBNAME) ++STLIB_MAKE_CMD=$(AR) rcs $(STLIBNAME) + + # Platform-specific overrides + uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index 9028b420d2d..b0bf2fbfaed 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -18,7 +18,10 @@ RESTRICT="!test? ( test )" DEPEND="test? ( dev-db/redis )" src_prepare() { - local PATCHES=( "${FILESDIR}/${PN}-0.13.3-disable-network-tests.patch" ) + local PATCHES=( + "${FILESDIR}"/${PN}-0.13.3-disable-network-tests.patch + "${FILESDIR}"/${PN}-0.14.1-honor-AR.patch + ) default # use GNU ld syntax on Solaris @@ -31,9 +34,8 @@ _build() { CC="$(tc-getCC)" \ PREFIX="${EPREFIX}/usr" \ LIBRARY_PATH="$(get_libdir)" \ - ARCH= \ - DEBUG= \ - OPTIMIZATION="${CPPFLAGS}" \ + DEBUG_FLAGS= \ + OPTIMIZATION= \ "$@" }
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 2acf7b525f116eb46f7a62ee404f7d62bb18c712 Author: Sam James (sam_c) cmpct info> AuthorDate: Thu Apr 9 03:40:15 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sun Apr 12 06:29:06 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2acf7b52 dev-libs/hiredis: drop vulnerable Bug: https://bugs.gentoo.org/710734 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sam James (sam_c) cmpct.info> Closes: https://github.com/gentoo/gentoo/pull/15272 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/hiredis/Manifest | 2 - dev-libs/hiredis/hiredis-0.13.3.ebuild | 79 -- dev-libs/hiredis/hiredis-0.14.0.ebuild | 79 -- 3 files changed, 160 deletions(-) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index f67130eed2a..6cc58a1f9b4 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,3 +1 @@ -DIST hiredis-0.13.3.tar.gz 58291 BLAKE2B 2af5853475a48b1f05c17100197633af61663a23a1259c702545938367b6a5b9fc09b886e12f57d27f23db3f5c636bb42d7e58887cc1481b7016cea405345ddb SHA512 0d8b71d5ee4105e8aa308795afc2c1f60a04b0bfe8ae873d800a0c157882ec307efa04a8d0e63b538fd3fc3f88eedf4d46cb87c8937e2403927aeb7e434c -DIST hiredis-0.14.0.tar.gz 63061 BLAKE2B 1923a63317f5f4a5bcbc9f8fd35e11fda15c30bb766d377f3be1eaf961cf34339e16b9b7c468b5bf07e513db4913c564e49eb29a2684b945db6c914b07d01905 SHA512 57a81a35b4750f0ca9dba830789483667f8ca1559f13b0ebdc3fab3e34ad16b2809f9734cf88157041263784e11447556b7a748bfb7ef318a60bb5dda3e358a0 DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild deleted file mode 100644 index 01aa7b487e7..000 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -DESCRIPTION="Minimalistic C client library for the Redis database" -HOMEPAGE="https://github.com/redis/hiredis; -SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/0.13" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~x64-solaris" -IUSE="examples static-libs test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-db/redis )" - -src_prepare() { - local PATCHES=( "${FILESDIR}/${PN}-0.13.3-disable-network-tests.patch" ) - default - - # use GNU ld syntax on Solaris - sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die -} - -_build() { - emake \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - PREFIX="${EPREFIX}/usr" \ - LIBRARY_PATH="$(get_libdir)" \ - ARCH= \ - DEBUG= \ - OPTIMIZATION="${CPPFLAGS}" \ - "$@" -} - -src_compile() { - # The static lib re-uses the same objects as the shared lib, so - # overhead is low w/creating it all the time. It's also needed - # by the tests. - _build dynamic static hiredis.pc -} - -src_test() { - local REDIS_PID="${T}"/hiredis.pid - local REDIS_SOCK="${T}"/hiredis.sock - local REDIS_PORT=56379 - local REDIS_TEST_CONFIG="daemonize yes - pidfile ${REDIS_PID} - port ${REDIS_PORT} - bind 127.0.0.1 - unixsocket //${REDIS_SOCK}" - - _build hiredis-test - - /usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die - ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} - local ret=$? - - kill "$(<"${REDIS_PID}")" || die - [ ${ret} != "0" ] && die "tests failed" -} - -src_install() { - _build PREFIX="${ED%/}/usr" install - if use static-libs; then - rm "${ED%/}/usr/$(get_libdir)/libhiredis.a" || die - fi - - insinto /usr/$(get_libdir)/pkgconfig - doins ${PN}.pc - - local DOCS=( CHANGELOG.md README.md ) - use examples && DOCS+=( examples ) - einstalldocs -} diff --git a/dev-libs/hiredis/hiredis-0.14.0.ebuild b/dev-libs/hiredis/hiredis-0.14.0.ebuild deleted file mode 100644 index 5ce5a79e75d..000 --- a/dev-libs/hiredis/hiredis-0.14.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit toolchain-funcs - -DESCRIPTION="Minimalistic C client library for the Redis database" -HOMEPAGE="https://github.com/redis/hiredis; -SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 06d904507e18a903226bf799a921dc3c44692429 Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Apr 10 22:55:44 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Apr 10 23:00:24 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d90450 Revert "dev-libs/hiredis: security cleanup" This reverts commit 7e63f04c278459cbb77c1631048619f55139b948. gentoo.org> dev-libs/hiredis/Manifest | 2 + dev-libs/hiredis/hiredis-0.13.3.ebuild | 79 ++ dev-libs/hiredis/hiredis-0.14.0.ebuild | 79 ++ 3 files changed, 160 insertions(+) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index 6cc58a1f9b4..f67130eed2a 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1 +1,3 @@ +DIST hiredis-0.13.3.tar.gz 58291 BLAKE2B 2af5853475a48b1f05c17100197633af61663a23a1259c702545938367b6a5b9fc09b886e12f57d27f23db3f5c636bb42d7e58887cc1481b7016cea405345ddb SHA512 0d8b71d5ee4105e8aa308795afc2c1f60a04b0bfe8ae873d800a0c157882ec307efa04a8d0e63b538fd3fc3f88eedf4d46cb87c8937e2403927aeb7e434c +DIST hiredis-0.14.0.tar.gz 63061 BLAKE2B 1923a63317f5f4a5bcbc9f8fd35e11fda15c30bb766d377f3be1eaf961cf34339e16b9b7c468b5bf07e513db4913c564e49eb29a2684b945db6c914b07d01905 SHA512 57a81a35b4750f0ca9dba830789483667f8ca1559f13b0ebdc3fab3e34ad16b2809f9734cf88157041263784e11447556b7a748bfb7ef318a60bb5dda3e358a0 DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild new file mode 100644 index 000..01aa7b487e7 --- /dev/null +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis; +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/0.13" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~x64-solaris" +IUSE="examples static-libs test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-db/redis )" + +src_prepare() { + local PATCHES=( "${FILESDIR}/${PN}-0.13.3-disable-network-tests.patch" ) + default + + # use GNU ld syntax on Solaris + sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die +} + +_build() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX}/usr" \ + LIBRARY_PATH="$(get_libdir)" \ + ARCH= \ + DEBUG= \ + OPTIMIZATION="${CPPFLAGS}" \ + "$@" +} + +src_compile() { + # The static lib re-uses the same objects as the shared lib, so + # overhead is low w/creating it all the time. It's also needed + # by the tests. + _build dynamic static hiredis.pc +} + +src_test() { + local REDIS_PID="${T}"/hiredis.pid + local REDIS_SOCK="${T}"/hiredis.sock + local REDIS_PORT=56379 + local REDIS_TEST_CONFIG="daemonize yes + pidfile ${REDIS_PID} + port ${REDIS_PORT} + bind 127.0.0.1 + unixsocket //${REDIS_SOCK}" + + _build hiredis-test + + /usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die + ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} + local ret=$? + + kill "$(<"${REDIS_PID}")" || die + [ ${ret} != "0" ] && die "tests failed" +} + +src_install() { + _build PREFIX="${ED%/}/usr" install + if use static-libs; then + rm "${ED%/}/usr/$(get_libdir)/libhiredis.a" || die + fi + + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + local DOCS=( CHANGELOG.md README.md ) + use examples && DOCS+=( examples ) + einstalldocs +} diff --git a/dev-libs/hiredis/hiredis-0.14.0.ebuild b/dev-libs/hiredis/hiredis-0.14.0.ebuild new file mode 100644 index 000..5ce5a79e75d --- /dev/null +++ b/dev-libs/hiredis/hiredis-0.14.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis; +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/0.14" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris" +IUSE="examples
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 7e63f04c278459cbb77c1631048619f55139b948 Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Apr 10 22:12:13 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Apr 10 22:12:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e63f04c dev-libs/hiredis: security cleanup Bug: https://bugs.gentoo.org/710734 Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann gentoo.org> dev-libs/hiredis/Manifest | 2 - dev-libs/hiredis/hiredis-0.13.3.ebuild | 79 -- dev-libs/hiredis/hiredis-0.14.0.ebuild | 79 -- 3 files changed, 160 deletions(-) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index f67130eed2a..6cc58a1f9b4 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,3 +1 @@ -DIST hiredis-0.13.3.tar.gz 58291 BLAKE2B 2af5853475a48b1f05c17100197633af61663a23a1259c702545938367b6a5b9fc09b886e12f57d27f23db3f5c636bb42d7e58887cc1481b7016cea405345ddb SHA512 0d8b71d5ee4105e8aa308795afc2c1f60a04b0bfe8ae873d800a0c157882ec307efa04a8d0e63b538fd3fc3f88eedf4d46cb87c8937e2403927aeb7e434c -DIST hiredis-0.14.0.tar.gz 63061 BLAKE2B 1923a63317f5f4a5bcbc9f8fd35e11fda15c30bb766d377f3be1eaf961cf34339e16b9b7c468b5bf07e513db4913c564e49eb29a2684b945db6c914b07d01905 SHA512 57a81a35b4750f0ca9dba830789483667f8ca1559f13b0ebdc3fab3e34ad16b2809f9734cf88157041263784e11447556b7a748bfb7ef318a60bb5dda3e358a0 DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild deleted file mode 100644 index 01aa7b487e7..000 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -DESCRIPTION="Minimalistic C client library for the Redis database" -HOMEPAGE="https://github.com/redis/hiredis; -SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/0.13" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~x64-solaris" -IUSE="examples static-libs test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-db/redis )" - -src_prepare() { - local PATCHES=( "${FILESDIR}/${PN}-0.13.3-disable-network-tests.patch" ) - default - - # use GNU ld syntax on Solaris - sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die -} - -_build() { - emake \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - PREFIX="${EPREFIX}/usr" \ - LIBRARY_PATH="$(get_libdir)" \ - ARCH= \ - DEBUG= \ - OPTIMIZATION="${CPPFLAGS}" \ - "$@" -} - -src_compile() { - # The static lib re-uses the same objects as the shared lib, so - # overhead is low w/creating it all the time. It's also needed - # by the tests. - _build dynamic static hiredis.pc -} - -src_test() { - local REDIS_PID="${T}"/hiredis.pid - local REDIS_SOCK="${T}"/hiredis.sock - local REDIS_PORT=56379 - local REDIS_TEST_CONFIG="daemonize yes - pidfile ${REDIS_PID} - port ${REDIS_PORT} - bind 127.0.0.1 - unixsocket //${REDIS_SOCK}" - - _build hiredis-test - - /usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die - ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} - local ret=$? - - kill "$(<"${REDIS_PID}")" || die - [ ${ret} != "0" ] && die "tests failed" -} - -src_install() { - _build PREFIX="${ED%/}/usr" install - if use static-libs; then - rm "${ED%/}/usr/$(get_libdir)/libhiredis.a" || die - fi - - insinto /usr/$(get_libdir)/pkgconfig - doins ${PN}.pc - - local DOCS=( CHANGELOG.md README.md ) - use examples && DOCS+=( examples ) - einstalldocs -} diff --git a/dev-libs/hiredis/hiredis-0.14.0.ebuild b/dev-libs/hiredis/hiredis-0.14.0.ebuild deleted file mode 100644 index 5ce5a79e75d..000 --- a/dev-libs/hiredis/hiredis-0.14.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit toolchain-funcs - -DESCRIPTION="Minimalistic C client library for the Redis database" -HOMEPAGE="https://github.com/redis/hiredis; -SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/0.14" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: dd7e8feca0ce65b5e779adb21fd3445451c19f9a Author: Mart Raudsepp gentoo org> AuthorDate: Wed Apr 1 22:34:44 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Wed Apr 1 22:34:44 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd7e8fec dev-libs/hiredis: arm64 stable (bug #710734) Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index 009a259326d..d3fb1a8236e 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.14" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~x64-solaris" IUSE="examples static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 4f4cc7edebba67e01a59edd9236a72a3eed090a6 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Mar 23 17:06:33 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Mar 23 18:06:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f4cc7ed dev-libs/hiredis: stable 0.14.1 for hppa, bug #710734 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index 425314bdf37..4ae2a086050 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.14" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ppc ~ppc64 s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ~ppc64 s390 sparc x86 ~x64-solaris" IUSE="examples static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 005b9e5b1b624e284fae857a5c1e876f063b61ca Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Mar 23 11:04:34 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Mar 23 11:04:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=005b9e5b dev-libs/hiredis: ppc stable wrt bug #710734 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index a4f4d10ec02..425314bdf37 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.14" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ppc ~ppc64 s390 sparc x86 ~x64-solaris" IUSE="examples static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: a7405c6a42fe4d6c875e6a4334ed31b679a7b702 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Mar 22 10:43:32 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Mar 22 10:43:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7405c6a dev-libs/hiredis: ia64 stable wrt bug #710734 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="ia64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index 5f247c1cea4..a4f4d10ec02 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.14" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 s390 sparc x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 s390 sparc x86 ~x64-solaris" IUSE="examples static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: ddfbd671e9147152c709dbc783e44c2b87859652 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Mar 22 10:37:03 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Mar 22 10:37:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddfbd671 dev-libs/hiredis: x86 stable wrt bug #710734 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index 7ef8702467e..5f247c1cea4 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.14" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 s390 sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 s390 sparc x86 ~x64-solaris" IUSE="examples static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: dc538da961a44fec677d9b388bee844058745ac5 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Mar 22 10:29:52 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Mar 22 10:29:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc538da9 dev-libs/hiredis: arm stable wrt bug #710734 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index 3b155136d3e..7ef8702467e 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.14" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 s390 sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 s390 sparc ~x86 ~x64-solaris" IUSE="examples static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: c758d3b359c4bdbbc9006ab2355cd08779738ad7 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Mar 21 16:24:54 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Mar 21 16:24:54 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c758d3b3 dev-libs/hiredis: amd64 stable wrt bug #710734 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index 047e446236d..3b155136d3e 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.14" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 s390 sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 s390 sparc ~x86 ~x64-solaris" IUSE="examples static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: d006615ba4c35339b645a1cc1d5527e2d09af387 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Mar 21 16:20:15 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Mar 21 16:20:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d006615b dev-libs/hiredis: sparc stable wrt bug #710734 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index e7e86673929..047e446236d 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.14" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 s390 sparc ~x86 ~x64-solaris" IUSE="examples static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 802b25b0ead20946ce9453bfb5d72aca2220a713 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Mar 21 16:19:09 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Mar 21 16:19:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802b25b0 dev-libs/hiredis: s390 stable wrt bug #710734 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="s390" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/hiredis/hiredis-0.14.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild index 5ce5a79e75d..e7e86673929 100644 --- a/dev-libs/hiredis/hiredis-0.14.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.14" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 s390 ~sparc ~x86 ~x64-solaris" IUSE="examples static-libs test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: b5156bbc233ee9e74417ccde7bc7430be672cb9f Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Mar 20 20:21:57 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Mar 20 20:21:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5156bbc dev-libs/hiredis: bump to v0.14.1 Bug: https://bugs.gentoo.org/710734 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Thomas Deutschmann gentoo.org> dev-libs/hiredis/Manifest | 1 + dev-libs/hiredis/hiredis-0.14.1.ebuild | 79 ++ 2 files changed, 80 insertions(+) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index f34a3040d70..f67130eed2a 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,2 +1,3 @@ DIST hiredis-0.13.3.tar.gz 58291 BLAKE2B 2af5853475a48b1f05c17100197633af61663a23a1259c702545938367b6a5b9fc09b886e12f57d27f23db3f5c636bb42d7e58887cc1481b7016cea405345ddb SHA512 0d8b71d5ee4105e8aa308795afc2c1f60a04b0bfe8ae873d800a0c157882ec307efa04a8d0e63b538fd3fc3f88eedf4d46cb87c8937e2403927aeb7e434c DIST hiredis-0.14.0.tar.gz 63061 BLAKE2B 1923a63317f5f4a5bcbc9f8fd35e11fda15c30bb766d377f3be1eaf961cf34339e16b9b7c468b5bf07e513db4913c564e49eb29a2684b945db6c914b07d01905 SHA512 57a81a35b4750f0ca9dba830789483667f8ca1559f13b0ebdc3fab3e34ad16b2809f9734cf88157041263784e11447556b7a748bfb7ef318a60bb5dda3e358a0 +DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f diff --git a/dev-libs/hiredis/hiredis-0.14.1.ebuild b/dev-libs/hiredis/hiredis-0.14.1.ebuild new file mode 100644 index 000..5ce5a79e75d --- /dev/null +++ b/dev-libs/hiredis/hiredis-0.14.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis; +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/0.14" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris" +IUSE="examples static-libs test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-db/redis )" + +src_prepare() { + local PATCHES=( "${FILESDIR}/${PN}-0.13.3-disable-network-tests.patch" ) + default + + # use GNU ld syntax on Solaris + sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die +} + +_build() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX}/usr" \ + LIBRARY_PATH="$(get_libdir)" \ + ARCH= \ + DEBUG= \ + OPTIMIZATION="${CPPFLAGS}" \ + "$@" +} + +src_compile() { + # The static lib re-uses the same objects as the shared lib, so + # overhead is low w/creating it all the time. It's also needed + # by the tests. + _build dynamic static hiredis.pc +} + +src_test() { + local REDIS_PID="${T}"/hiredis.pid + local REDIS_SOCK="${T}"/hiredis.sock + local REDIS_PORT=56379 + local REDIS_TEST_CONFIG="daemonize yes + pidfile ${REDIS_PID} + port ${REDIS_PORT} + bind 127.0.0.1 + unixsocket //${REDIS_SOCK}" + + _build hiredis-test + + /usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die + ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} + local ret=$? + + kill "$(<"${REDIS_PID}")" || die + [ ${ret} != "0" ] && die "tests failed" +} + +src_install() { + _build PREFIX="${ED}/usr" install + if ! use static-libs; then + rm "${ED}/usr/$(get_libdir)/libhiredis.a" || die + fi + + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + local DOCS=( CHANGELOG.md README.md ) + use examples && DOCS+=( examples ) + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 35a31490e10134dfacead33b97686749e61c6652 Author: Tomas Mozes gmail com> AuthorDate: Thu Oct 25 07:16:54 2018 + Commit: Michał Górny gentoo org> CommitDate: Fri Oct 26 09:50:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35a31490 dev-libs/hiredis: bump to 0.14.0 Bug: https://bugs.gentoo.org/669484 Closes: https://bugs.gentoo.org/669554 Signed-off-by: Tomáš Mózes gmail.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10223 Signed-off-by: Michał Górny gentoo.org> dev-libs/hiredis/Manifest | 1 + dev-libs/hiredis/hiredis-0.14.0.ebuild | 78 ++ 2 files changed, 79 insertions(+) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index a97852fe607..f34a3040d70 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1 +1,2 @@ DIST hiredis-0.13.3.tar.gz 58291 BLAKE2B 2af5853475a48b1f05c17100197633af61663a23a1259c702545938367b6a5b9fc09b886e12f57d27f23db3f5c636bb42d7e58887cc1481b7016cea405345ddb SHA512 0d8b71d5ee4105e8aa308795afc2c1f60a04b0bfe8ae873d800a0c157882ec307efa04a8d0e63b538fd3fc3f88eedf4d46cb87c8937e2403927aeb7e434c +DIST hiredis-0.14.0.tar.gz 63061 BLAKE2B 1923a63317f5f4a5bcbc9f8fd35e11fda15c30bb766d377f3be1eaf961cf34339e16b9b7c468b5bf07e513db4913c564e49eb29a2684b945db6c914b07d01905 SHA512 57a81a35b4750f0ca9dba830789483667f8ca1559f13b0ebdc3fab3e34ad16b2809f9734cf88157041263784e11447556b7a748bfb7ef318a60bb5dda3e358a0 diff --git a/dev-libs/hiredis/hiredis-0.14.0.ebuild b/dev-libs/hiredis/hiredis-0.14.0.ebuild new file mode 100644 index 000..ab120cee20d --- /dev/null +++ b/dev-libs/hiredis/hiredis-0.14.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis; +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/0.14" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x64-solaris" +IUSE="examples static-libs test" + +DEPEND="test? ( dev-db/redis )" + +src_prepare() { + local PATCHES=( "${FILESDIR}/${PN}-0.13.3-disable-network-tests.patch" ) + default + + # use GNU ld syntax on Solaris + sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die +} + +_build() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX%/}/usr" \ + LIBRARY_PATH="$(get_libdir)" \ + ARCH= \ + DEBUG= \ + OPTIMIZATION="${CPPFLAGS}" \ + "$@" +} + +src_compile() { + # The static lib re-uses the same objects as the shared lib, so + # overhead is low w/creating it all the time. It's also needed + # by the tests. + _build dynamic static hiredis.pc +} + +src_test() { + local REDIS_PID="${T}"/hiredis.pid + local REDIS_SOCK="${T}"/hiredis.sock + local REDIS_PORT=56379 + local REDIS_TEST_CONFIG="daemonize yes + pidfile ${REDIS_PID} + port ${REDIS_PORT} + bind 127.0.0.1 + unixsocket //${REDIS_SOCK}" + + _build hiredis-test + + /usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die + ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} + local ret=$? + + kill "$(<"${REDIS_PID}")" || die + [ ${ret} != "0" ] && die "tests failed" +} + +src_install() { + _build PREFIX="${ED%/}/usr" install + if ! use static-libs; then + rm "${ED%/}/usr/$(get_libdir)/libhiredis.a" || die + fi + + insinto /usr/$(get_libdir)/pkgconfig + doins ${PN}.pc + + local DOCS=( CHANGELOG.md README.md ) + use examples && DOCS+=( examples ) + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 29dfad1e34be570cc02823b56486215a26c86753 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Jun 8 11:10:27 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Jun 8 11:10:27 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29dfad1e dev-libs/hiredis: restore s390 keywords Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-libs/hiredis/hiredis-0.13.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild index 5ba57f6d832..f9c5caf202a 100644 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.13" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/files/
commit: e10264b4210893fbc2c7f622c1a3f44a4ff745f6 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sat Aug 19 13:06:07 2017 + Commit: Michael Palimaka gentoo org> CommitDate: Sat Sep 2 14:46:02 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e10264b4 dev-libs/hiredis: remove unused patches .../hiredis-0.11.0-disable-network-tests.patch | 33 .../hiredis-0.13.1-disable-network-tests.patch | 36 -- 2 files changed, 69 deletions(-) diff --git a/dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch b/dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch deleted file mode 100644 index a67503861c2..000 --- a/dev-libs/hiredis/files/hiredis-0.11.0-disable-network-tests.patch +++ /dev/null @@ -1,33 +0,0 @@ test.c.orig 2013-02-05 10:45:22.0 -0500 -+++ test.c 2013-02-05 10:43:19.0 -0500 -@@ -282,12 +282,14 @@ - static void test_blocking_connection_errors(void) { - redisContext *c; - -+/* - test("Returns error when host cannot be resolved: "); - c = redisConnect((char*)"idontexist.local", 6379); - test_cond(c->err == REDIS_ERR_OTHER && - (strcmp(c->errstr,"Name or service not known") == 0 || - strcmp(c->errstr,"Can't resolve: idontexist.local") == 0)); - redisFree(c); -+*/ - - test("Returns error when the port is not open: "); - c = redisConnect((char*)"localhost", 1); -@@ -634,6 +636,7 @@ - test_reply_reader(); - test_blocking_connection_errors(); - -+/* - printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port); - cfg.type = CONN_TCP; - test_blocking_connection(cfg); -@@ -645,6 +648,7 @@ - test_blocking_connection(cfg); - test_blocking_io_errors(cfg); - if (throughput) test_throughput(cfg); -+*/ - - if (fails) { - printf("*** %d TESTS FAILED ***\n", fails); diff --git a/dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch b/dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch deleted file mode 100644 index 2fcbb076d5d..000 --- a/dev-libs/hiredis/files/hiredis-0.13.1-disable-network-tests.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git test.c test.c -index 8fde554..89ed6a0 100644 test.c -+++ test.c -@@ -343,6 +343,7 @@ static void test_free_null(void) { - static void test_blocking_connection_errors(void) { - redisContext *c; - -+#if 0 - test("Returns error when host cannot be resolved: "); - c = redisConnect((char*)"idontexist.test", 6379); - test_cond(c->err == REDIS_ERR_OTHER && -@@ -353,6 +354,7 @@ static void test_blocking_connection_errors(void) { - strcmp(c->errstr,"Temporary failure in name resolution") == 0 || - strcmp(c->errstr,"no address associated with name") == 0)); - redisFree(c); -+#endif - - test("Returns error when the port is not open: "); - c = redisConnect((char*)"localhost", 1); -@@ -773,6 +775,7 @@ int main(int argc, char **argv) { - test_blocking_connection_errors(); - test_free_null(); - -+#if 0 - printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port); - cfg.type = CONN_TCP; - test_blocking_connection(cfg); -@@ -781,6 +784,7 @@ int main(int argc, char **argv) { - test_invalid_timeout_errors(cfg); - test_append_formatted_commands(cfg); - if (throughput) test_throughput(cfg); -+#endif - - printf("\nTesting against Unix socket connection (%s):\n", cfg.unix.path); - cfg.type = CONN_UNIX;
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 0c67481084aee655c331e99fdb9c8b5d3f76239c Author: Michael Weber gentoo org> AuthorDate: Wed Mar 1 10:41:18 2017 + Commit: Michael Weber gentoo org> CommitDate: Wed Mar 1 10:42:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c674810 dev-libs/hiredis: arm64 stable (needed by syslog-ng) Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="ppc64" dev-libs/hiredis/hiredis-0.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild index 693baf9ba53..5ba57f6d832 100644 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.13" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 8b5d3146567624499863c5d5a3fab08b819f28a8 Author: Michael Palimaka gentoo org> AuthorDate: Fri Feb 24 23:56:26 2017 + Commit: Michael Palimaka gentoo org> CommitDate: Fri Feb 24 23:57:33 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b5d3146 dev-libs/hiredis: remove old Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-libs/hiredis/Manifest | 2 - dev-libs/hiredis/hiredis-0.11.0-r1.ebuild | 50 dev-libs/hiredis/hiredis-0.13.1.ebuild| 77 --- 3 files changed, 129 deletions(-) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index 030a7ccdb6..e70e39f05a 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,3 +1 @@ -DIST hiredis-0.11.0.tar.gz 42137 SHA256 ff7b2849e55bf3589eecced7125934feb9645c36a4d490d001dc08c93553eafd SHA512 a506c3e09267bd431dea87fdb7f9a44fb1d4795cbecb31323fe2fb9d66c10351fbf6d931fdaf2731fc2d0a985234e5d6ba0c9e694374d2f414294d27b6f060b8 WHIRLPOOL 0d4d4385452b4fe3aabc7cbdbef95914fea685a65f44a6b2addaec8f0f7779ed7f72c50cfbb976e1838553746ae90f2ce8685c208727e450738ff2bb29cca144 -DIST hiredis-0.13.1.tar.gz 54912 SHA256 8865105e15331156a74b64aafbfd3f8c784a8375e003a55512dcca3d82168487 SHA512 70b533a6cfbc3ce2b64018978e4f4460ca9a204ede92b571638ed4f04960199be0704cff16fcaf368e5c997a01e3b2da98e3c556c2f05c8316381f989684fcf1 WHIRLPOOL 6b2884217544a78153b33d4bc758f8d5bfe2cf29a16c768df7ffefbe7def43c7ae1477f1826790fdc64999b272bd33f72e10a968e606324366cb2b5539a0df71 DIST hiredis-0.13.3.tar.gz 58291 SHA256 717e6fc8dc2819bef522deaca516de9e51b9dfa68fe393b7db5c3b6079196f78 SHA512 0d8b71d5ee4105e8aa308795afc2c1f60a04b0bfe8ae873d800a0c157882ec307efa04a8d0e63b538fd3fc3f88eedf4d46cb87c8937e2403927aeb7e434c WHIRLPOOL 511f86f680a005bd1fa75494707bf5a16670c3f2b7ac0fd61684546368868a2545fa7aa74b63e3865be8ec7cb301417c5a945fe090de398066f098bef01d664b diff --git a/dev-libs/hiredis/hiredis-0.11.0-r1.ebuild b/dev-libs/hiredis/hiredis-0.11.0-r1.ebuild deleted file mode 100644 index 1c82e737e8..00 --- a/dev-libs/hiredis/hiredis-0.11.0-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit eutils multilib - -DESCRIPTION="Minimalistic C client library for the Redis database" -HOMEPAGE="https://github.com/redis/hiredis; -SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x64-solaris" -IUSE="static-libs" - -src_prepare() { - epatch "${FILESDIR}/${P}-disable-network-tests.patch" - - # use GNU ld syntax on Solaris - sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die -} - -_emake() { - emake \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - ARCH= \ - DEBUG= \ - OPTIMIZATION="${CPPFLAGS}" \ - "$@" -} - -src_compile() { - # The static lib re-uses the same objects as the shared lib, so - # overhead is low w/creating it all the time. It's also needed - # by the tests. - _emake dynamic static -} - -src_test() { - _emake test -} - -src_install() { - _emake PREFIX="${ED}/usr" LIBRARY_PATH="$(get_libdir)" install - use static-libs || rm "${ED}/usr/$(get_libdir)/libhiredis.a" - dodoc CHANGELOG.md README.md -} diff --git a/dev-libs/hiredis/hiredis-0.13.1.ebuild b/dev-libs/hiredis/hiredis-0.13.1.ebuild deleted file mode 100644 index 6d9684d43b..00 --- a/dev-libs/hiredis/hiredis-0.13.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils multilib - -DESCRIPTION="Minimalistic C client library for the Redis database" -HOMEPAGE="https://github.com/redis/hiredis; -SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 hppa ppc64 ~x86 ~x86-fbsd ~x64-solaris" -IUSE="examples static-libs test" - -DEPEND="test? ( dev-db/redis )" - -src_prepare() { - epatch "${FILESDIR}/${P}-disable-network-tests.patch" - - # use GNU ld syntax on Solaris - sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die -} - -_build() { - emake \ - AR="$(tc-getAR)" \ - CC="$(tc-getCC)" \ - PREFIX="${EPREFIX%/}/usr" \ - LIBRARY_PATH="$(get_libdir)" \ - ARCH= \ - DEBUG= \ - OPTIMIZATION="${CPPFLAGS}" \ - "$@" -} - -src_compile() { - # The static lib re-uses the same objects as the shared lib, so - # overhead is low w/creating it all the time. It's also needed - # by the tests. - _build dynamic static hiredis.pc -} - -src_test() { -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 52a21b9f2f2e85ea69349a811e0469dff596544b Author: Markus Meier gentoo org> AuthorDate: Fri Feb 24 17:55:00 2017 + Commit: Markus Meier gentoo org> CommitDate: Fri Feb 24 17:55:00 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52a21b9f dev-libs/hiredis: arm stable, bug #585646 Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --include-arches="arm" dev-libs/hiredis/hiredis-0.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild index fb3986b513..6a25e23633 100644 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.13" -KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 48a52e7096948d4e88bb12919b020b17cd8fb884 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Feb 16 17:25:26 2017 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Feb 16 17:25:26 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48a52e70 dev-libs/hiredis: x86 stable wrt bug #585646 Package-Manager: portage-2.3.3 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-libs/hiredis/hiredis-0.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild index e947878807..a64ab1a28f 100644 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.13" -KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc ~x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 35fafc3c2ff5a52c1e428ec065f1582d2f06c5f0 Author: Michael Weber gentoo org> AuthorDate: Wed Feb 15 23:13:38 2017 + Commit: Michael Weber gentoo org> CommitDate: Wed Feb 15 23:13:54 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35fafc3c dev-libs/hiredis: ppc ppc64 stable (bug 585646). Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-libs/hiredis/hiredis-0.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild index 9aadb09d96..e947878807 100644 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.13" -KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc ~x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 6b589ea3708d775ee7f9b8871487c4486e321565 Author: Tobias Klausmann gentoo org> AuthorDate: Sun Jan 22 09:25:49 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Sun Jan 22 09:30:21 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b589ea3 dev-libs/hiredis-0.13.3-r0: stable on alpha Gentoo-Bug: 585646 dev-libs/hiredis/hiredis-0.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild index 4a45479..9aadb09 100644 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.13" -KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 7170c7709dda754d192987e60945757b6b38ece6 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Jan 14 12:24:47 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Sat Jan 14 12:24:47 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7170c770 dev-libs/hiredis: Stable for HPPA (bug #585646). Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --ignore-arches dev-libs/hiredis/hiredis-0.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild index 856b190..4a45479 100644 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.13" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 2f9871342910e98bdc5566030da89a3e9def5480 Author: Aaron Bauman gentoo org> AuthorDate: Fri Jan 6 03:24:08 2017 + Commit: Aaron Bauman gentoo org> CommitDate: Fri Jan 6 03:24:08 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f987134 dev-libs/hiredis: amd64 stable wrt bug #585646 dev-libs/hiredis/hiredis-0.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild index ae24f7a..856b190 100644 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.13" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/, profiles/arch/sparc/, profiles/arch/ia64/
commit: f525b962d648804ad36fd7f347fd70b6de239592 Author: Pacho Ramos gentoo org> AuthorDate: Mon Jan 2 16:09:59 2017 + Commit: Pacho Ramos gentoo org> CommitDate: Mon Jan 2 16:19:05 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f525b962 arch/{ia64,sparc}/package.use.stable.mask: don't stabilize redis on this arches dev-libs/hiredis/hiredis-0.13.3.ebuild | 4 ++-- profiles/arch/ia64/package.use.stable.mask | 4 profiles/arch/sparc/package.use.stable.mask | 4 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild index b54ef83..cdbc92a 100644 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -12,7 +12,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.13" -KEYWORDS="~amd64 ~hppa ~ppc64 ~x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )" diff --git a/profiles/arch/ia64/package.use.stable.mask b/profiles/arch/ia64/package.use.stable.mask index a6d39e9..d06a87b 100644 --- a/profiles/arch/ia64/package.use.stable.mask +++ b/profiles/arch/ia64/package.use.stable.mask @@ -18,6 +18,10 @@ #--- END OF EXAMPLES --- +# Pacho Ramos(02 Jan 2017) +# Don't stabilize redis +dev-libs/hiredis test + # Pacho Ramos (02 Jul 2014) # Mask due Gnome3 not going to be stabilized on this arch dev-util/geany-plugins devhelp gtkspell markdown webkit diff --git a/profiles/arch/sparc/package.use.stable.mask b/profiles/arch/sparc/package.use.stable.mask index bc72fed..b80c136 100644 --- a/profiles/arch/sparc/package.use.stable.mask +++ b/profiles/arch/sparc/package.use.stable.mask @@ -18,6 +18,10 @@ #--- END OF EXAMPLES --- +# Pacho Ramos (02 Jan 2017) +# Don't stabilize redis +dev-libs/hiredis test + # Gilles Dartiguelongue (13 Nov 2016) # Remove when stabilized, see bug #538828 <=x11-base/xorg-drivers-1.17 input_devices_libinput
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: adc5276d2df4878e6c8c302be7dffd25cb04 Author: Pacho Ramos gentoo org> AuthorDate: Mon Jan 2 16:18:26 2017 + Commit: Pacho Ramos gentoo org> CommitDate: Mon Jan 2 16:19:10 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adc5276d dev-libs/hiredis: Rekeyword on arches that now have all deps ok Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-libs/hiredis/hiredis-0.13.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild index cdbc92a..ae24f7a 100644 --- a/dev-libs/hiredis/hiredis-0.13.3.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/0.13" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 2d27d4cc81cad683d5f55fafc09f7aafd6ebbbca Author: Jeroen Roovers gentoo org> AuthorDate: Mon Oct 3 14:54:55 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Mon Oct 3 14:55:08 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d27d4cc dev-libs/hiredis: Stable for HPPA PPC64 (bug #585646). Package-Manager: portage-2.3.1 RepoMan-Options: --ignore-arches dev-libs/hiredis/hiredis-0.13.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/hiredis/hiredis-0.13.1.ebuild b/dev-libs/hiredis/hiredis-0.13.1.ebuild index 964b713..6d9684d 100644 --- a/dev-libs/hiredis/hiredis-0.13.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -12,7 +12,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha amd64 ~hppa ~ppc64 ~x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="alpha amd64 hppa ppc64 ~x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 192abffd9c23ae20d501aaca5f23a3a446cf293a Author: Tobias Klausmann gentoo org> AuthorDate: Mon Oct 3 12:15:30 2016 + Commit: Tobias Klausmann gentoo org> CommitDate: Mon Oct 3 12:15:30 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=192abffd dev-libs/hiredis-0.13.1-r0: stable on alpha Gentoo-Bug: 585646 dev-libs/hiredis/hiredis-0.13.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/hiredis/hiredis-0.13.1.ebuild b/dev-libs/hiredis/hiredis-0.13.1.ebuild index fad5136..964b713 100644 --- a/dev-libs/hiredis/hiredis-0.13.1.ebuild +++ b/dev-libs/hiredis/hiredis-0.13.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~hppa ~ppc64 ~x86 ~x86-fbsd ~x64-solaris" +KEYWORDS="alpha amd64 ~hppa ~ppc64 ~x86 ~x86-fbsd ~x64-solaris" IUSE="examples static-libs test" DEPEND="test? ( dev-db/redis )"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/files/, dev-libs/hiredis/
commit: 10beaf0d821c58e1779a2f001add50f25a9c6676 Author: Thomas Deutschmann gentoo org> AuthorDate: Wed Aug 24 00:33:44 2016 + Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Aug 24 00:57:20 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10beaf0d dev-libs/hiredis: Bump to v0.13.3 Gentoo-Bug: https://bugs.gentoo.org/585648 Package-Manager: portage-2.3.0 dev-libs/hiredis/Manifest | 1 + .../hiredis-0.13.3-disable-network-tests.patch | 36 ++ dev-libs/hiredis/hiredis-0.13.3.ebuild | 79 ++ dev-libs/hiredis/metadata.xml | 3 + 4 files changed, 119 insertions(+) diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest index 97b6add..030a7cc 100644 --- a/dev-libs/hiredis/Manifest +++ b/dev-libs/hiredis/Manifest @@ -1,2 +1,3 @@ DIST hiredis-0.11.0.tar.gz 42137 SHA256 ff7b2849e55bf3589eecced7125934feb9645c36a4d490d001dc08c93553eafd SHA512 a506c3e09267bd431dea87fdb7f9a44fb1d4795cbecb31323fe2fb9d66c10351fbf6d931fdaf2731fc2d0a985234e5d6ba0c9e694374d2f414294d27b6f060b8 WHIRLPOOL 0d4d4385452b4fe3aabc7cbdbef95914fea685a65f44a6b2addaec8f0f7779ed7f72c50cfbb976e1838553746ae90f2ce8685c208727e450738ff2bb29cca144 DIST hiredis-0.13.1.tar.gz 54912 SHA256 8865105e15331156a74b64aafbfd3f8c784a8375e003a55512dcca3d82168487 SHA512 70b533a6cfbc3ce2b64018978e4f4460ca9a204ede92b571638ed4f04960199be0704cff16fcaf368e5c997a01e3b2da98e3c556c2f05c8316381f989684fcf1 WHIRLPOOL 6b2884217544a78153b33d4bc758f8d5bfe2cf29a16c768df7ffefbe7def43c7ae1477f1826790fdc64999b272bd33f72e10a968e606324366cb2b5539a0df71 +DIST hiredis-0.13.3.tar.gz 58291 SHA256 717e6fc8dc2819bef522deaca516de9e51b9dfa68fe393b7db5c3b6079196f78 SHA512 0d8b71d5ee4105e8aa308795afc2c1f60a04b0bfe8ae873d800a0c157882ec307efa04a8d0e63b538fd3fc3f88eedf4d46cb87c8937e2403927aeb7e434c WHIRLPOOL 511f86f680a005bd1fa75494707bf5a16670c3f2b7ac0fd61684546368868a2545fa7aa74b63e3865be8ec7cb301417c5a945fe090de398066f098bef01d664b diff --git a/dev-libs/hiredis/files/hiredis-0.13.3-disable-network-tests.patch b/dev-libs/hiredis/files/hiredis-0.13.3-disable-network-tests.patch new file mode 100644 index ..000e253 --- /dev/null +++ b/dev-libs/hiredis/files/hiredis-0.13.3-disable-network-tests.patch @@ -0,0 +1,36 @@ +diff --git test.c test.c +index 8fde554..89ed6a0 100644 +--- a/test.c b/test.c +@@ -343,6 +343,7 @@ static void test_free_null(void) { + static void test_blocking_connection_errors(void) { + redisContext *c; + ++#if 0 + test("Returns error when host cannot be resolved: "); + c = redisConnect((char*)"idontexist.test", 6379); + test_cond(c->err == REDIS_ERR_OTHER && +@@ -353,6 +354,7 @@ static void test_blocking_connection_errors(void) { + strcmp(c->errstr,"Temporary failure in name resolution") == 0 || + strcmp(c->errstr,"no address associated with name") == 0)); + redisFree(c); ++#endif + + test("Returns error when the port is not open: "); + c = redisConnect((char*)"localhost", 1); +@@ -773,6 +775,7 @@ int main(int argc, char **argv) { + test_blocking_connection_errors(); + test_free_null(); + ++#if 0 + printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port); + cfg.type = CONN_TCP; + test_blocking_connection(cfg); +@@ -781,6 +784,7 @@ int main(int argc, char **argv) { + test_invalid_timeout_errors(cfg); + test_append_formatted_commands(cfg); + if (throughput) test_throughput(cfg); ++#endif + + printf("\nTesting against Unix socket connection (%s):\n", cfg.unix.path); + cfg.type = CONN_UNIX; diff --git a/dev-libs/hiredis/hiredis-0.13.3.ebuild b/dev-libs/hiredis/hiredis-0.13.3.ebuild new file mode 100644 index ..b54ef83 --- /dev/null +++ b/dev-libs/hiredis/hiredis-0.13.3.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="Minimalistic C client library for the Redis database" +HOMEPAGE="https://github.com/redis/hiredis; +SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/0.13" +KEYWORDS="~amd64 ~hppa ~ppc64 ~x86 ~x86-fbsd ~x64-solaris" +IUSE="examples static-libs test" + +DEPEND="test? ( dev-db/redis )" + +src_prepare() { + local PATCHES=( "${FILESDIR}/${PN}-0.13.3-disable-network-tests.patch" ) + default + + # use GNU ld syntax on Solaris + sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die +} + +_build() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + PREFIX="${EPREFIX%/}/usr" \ + LIBRARY_PATH="$(get_libdir)" \ + ARCH= \ + DEBUG= \ + OPTIMIZATION="${CPPFLAGS}" \ + "$@" +} + +src_compile() { + # The static lib re-uses the same
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: a72c771f7e4392f9c24ecc954c212f7d8f833873 Author: Michael Palimaka gentoo org> AuthorDate: Thu Aug 11 17:23:22 2016 + Commit: Michael Palimaka gentoo org> CommitDate: Thu Aug 11 17:23:30 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a72c771f dev-libs/hiredis: remove old Package-Manager: portage-2.3.0 dev-libs/hiredis/hiredis-0.11.0.ebuild | 46 -- 1 file changed, 46 deletions(-) diff --git a/dev-libs/hiredis/hiredis-0.11.0.ebuild b/dev-libs/hiredis/hiredis-0.11.0.ebuild deleted file mode 100644 index 9010add..000 --- a/dev-libs/hiredis/hiredis-0.11.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit eutils multilib - -DESCRIPTION="Minimalistic C client library for the Redis database" -HOMEPAGE="https://github.com/redis/hiredis; -SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~x86 ~x86-fbsd ~x64-solaris" -IUSE="debug" - -DEPEND="" -RDEPEND="${DEPEND}" - -DOCS="CHANGELOG.md README.md" - -src_prepare() { - epatch "${FILESDIR}/${P}-disable-network-tests.patch" - - # use GNU ld syntax on Solaris - sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die -} - -src_compile() { - - if ! use debug; then - emake CC="$(tc-getCC)" ARCH= DEBUG= - else - emake CC="$(tc-getCC)" ARCH= - fi -} - -src_test() { - emake test -} - -src_install() { - emake PREFIX="${ED}/usr" LIBRARY_PATH="$(get_libdir)" install - dodoc ${DOCS} -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/
commit: 43167d7dfa01ef45bcbdbffe31ca31a95ef39e9a Author: Pacho Ramos gentoo org> AuthorDate: Sat Aug 6 12:40:24 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Sat Aug 6 12:46:16 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43167d7d dev-libs/hiredis: Cleanup per bug #231477 Package-Manager: portage-2.3.0 dev-libs/hiredis/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/dev-libs/hiredis/metadata.xml b/dev-libs/hiredis/metadata.xml index 9713f0c..8320586 100644 --- a/dev-libs/hiredis/metadata.xml +++ b/dev-libs/hiredis/metadata.xml @@ -1,10 +1,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - -neurog...@gentoo.org -Jesus Rivero - redis/hiredis