From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E659138350 for ; Fri, 10 Apr 2020 22:12:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1D0DE092D; Fri, 10 Apr 2020 22:12:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6DAC2E092D for ; Fri, 10 Apr 2020 22:12:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B48B934DDF2 for ; Fri, 10 Apr 2020 22:12:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9E359C for ; Fri, 10 Apr 2020 22:12:25 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1586556733.7e63f04c278459cbb77c1631048619f55139b948.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/hiredis/Manifest dev-libs/hiredis/hiredis-0.13.3.ebuild dev-libs/hiredis/hiredis-0.14.0.ebuild X-VCS-Directories: dev-libs/hiredis/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 7e63f04c278459cbb77c1631048619f55139b948 X-VCS-Branch: master Date: Fri, 10 Apr 2020 22:12:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d371b786-a041-488f-850c-10b9b03b639a X-Archives-Hash: 692eabe8341e950631b24cb6d906f868 commit: 7e63f04c278459cbb77c1631048619f55139b948 Author: Thomas Deutschmann gentoo org> AuthorDate: Fri Apr 10 22:12:13 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Fri Apr 10 22:12:13 2020 +0000 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 0d8b71d5ee4105e8aaeeee308795afc2c1f60a04b0bfe8ae873d800a0c157882ec307efa04a8d0e63b538fd3fc3f88eedf4d46cb87c8937e2403927aeb7e434c -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..00000000000 --- 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..00000000000 --- 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 ~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 -}