summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-03-17 11:13:10 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-03-17 11:13:10 -0700
commitaa9d3e38d6d0763bbfe1bd2f2af686410d8ab83d (patch)
tree53e22e46e73ce7881bdbf028a7e60385e90608c6 /app-misc
parentnet-im/skypeforlinux: Remove 'chrome-sandbox' binary (diff)
downloadgentoo-aa9d3e38d6d0763bbfe1bd2f2af686410d8ab83d.tar.gz
gentoo-aa9d3e38d6d0763bbfe1bd2f2af686410d8ab83d.tar.bz2
gentoo-aa9d3e38d6d0763bbfe1bd2f2af686410d8ab83d.zip
app-misc/jq: remove vunlerable version (bug #636382)
Bug: https://bugs.gentoo.org/636382 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/jq/Manifest1
-rw-r--r--app-misc/jq/jq-1.5-r3.ebuild60
2 files changed, 0 insertions, 61 deletions
diff --git a/app-misc/jq/Manifest b/app-misc/jq/Manifest
index d57b21c2677f..a96abba55084 100644
--- a/app-misc/jq/Manifest
+++ b/app-misc/jq/Manifest
@@ -1,2 +1 @@
-DIST jq-1.5.tar.gz 739309 BLAKE2B 9d36db80fa9365d9967c9e1691e723d5237e7db2ddef43e06391bb97ba3a163f07c79906b9cf94d4b53f20598dc8ccacaff9e54ff3c32387fef1b3d484c13e73 SHA512 4a0bb069ae875f47731d7d84ae6b82240703dc7a694cfb0aee4c7e9639defe7ba9af575d17dc32bda4426b80c186cc8dcd4505f3a6bcbe16b39e9b13097da238
DIST jq-1.6.tar.gz 1750584 BLAKE2B c9be1314e9d027247de63492ee362e996ef85faf45a47ee421cad95ebde9188bff8d3fc7db64e717ab922e1052f3b1c1500f5589fc5b2199ab66effb000e442d SHA512 5da71f53c325257f1f546a2520fe47828b495c953270df25ea0e37741463fdda72f0ba4d5b05b25114ec30f27a559344c2b024bacabf610759f4e3e9efadb480
diff --git a/app-misc/jq/jq-1.5-r3.ebuild b/app-misc/jq/jq-1.5-r3.ebuild
deleted file mode 100644
index b64204f809c6..000000000000
--- a/app-misc/jq/jq-1.5-r3.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools ltprune
-
-DESCRIPTION="A lightweight and flexible command-line JSON processor"
-HOMEPAGE="https://stedolan.github.com/jq/"
-SRC_URI="https://github.com/stedolan/jq/releases/download/${P}/${P}.tar.gz"
-
-LICENSE="MIT CC-BY-3.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x64-macos"
-IUSE="oniguruma static-libs"
-
-DEPEND="
- >=sys-devel/bison-3.0
- sys-devel/flex
- oniguruma? ( dev-libs/oniguruma:=[static-libs?] )
-"
-RDEPEND="
- !static-libs? (
- oniguruma? ( dev-libs/oniguruma[static-libs?] )
- )
-"
-
-src_prepare() {
- local PATCHES=(
- "${FILESDIR}"/${PN}-1.5-dynamic-link.patch
- "${FILESDIR}"/${PN}-1.5-remove-automagic-dep-on-oniguruma.patch
- "${FILESDIR}"/${PN}-1.5-heap_buffer_overflow_in_tokenadd.patch
- )
-
- use oniguruma || { sed -i 's:tests/onigtest::' Makefile.am || die; }
- sed -i '/^dist_doc_DATA/d' Makefile.am || die
- sed -i -r "s:(m4_define\(\[jq_version\],) .+\):\1 \[${PV}\]):" \
- configure.ac || die
-
- default
- eautoreconf
-}
-
-src_configure() {
- local econfargs=(
- # don't try to rebuild docs
- --disable-docs
- --disable-valgrind
- $(use_enable static-libs static)
- $(use_with oniguruma)
- )
- econf "${econfargs[@]}"
-}
-
-src_install() {
- local DOCS=( AUTHORS README )
- default
-
- use static-libs || prune_libtool_files
-}